Calculus Examples

Evaluate the Integral integral from 0 to pi of (sin(x))/(1+cos(x)) with respect to x
π0sin(x)1+cos(x)dxπ0sin(x)1+cos(x)dx
Step 1
Let u=1+cos(x)u=1+cos(x). Then du=-sin(x)dxdu=sin(x)dx, so -du=sin(x)dxdu=sin(x)dx. Rewrite using uu and dduu.
Tap for more steps...
Step 1.1
Let u=1+cos(x)u=1+cos(x). Find dudxdudx.
Tap for more steps...
Step 1.1.1
Differentiate 1+cos(x)1+cos(x).
ddx[1+cos(x)]ddx[1+cos(x)]
Step 1.1.2
Differentiate.
Tap for more steps...
Step 1.1.2.1
By the Sum Rule, the derivative of 1+cos(x)1+cos(x) with respect to xx is ddx[1]+ddx[cos(x)]ddx[1]+ddx[cos(x)].
ddx[1]+ddx[cos(x)]ddx[1]+ddx[cos(x)]
Step 1.1.2.2
Since 11 is constant with respect to xx, the derivative of 11 with respect to xx is 00.
0+ddx[cos(x)]0+ddx[cos(x)]
0+ddx[cos(x)]0+ddx[cos(x)]
Step 1.1.3
The derivative of cos(x)cos(x) with respect to xx is -sin(x)sin(x).
0-sin(x)0sin(x)
Step 1.1.4
Subtract sin(x)sin(x) from 00.
-sin(x)sin(x)
-sin(x)sin(x)
Step 1.2
Substitute the lower limit in for xx in u=1+cos(x)u=1+cos(x).
ulower=1+cos(0)ulower=1+cos(0)
Step 1.3
Simplify.
Tap for more steps...
Step 1.3.1
The exact value of cos(0)cos(0) is 11.
ulower=1+1ulower=1+1
Step 1.3.2
Add 11 and 11.
ulower=2ulower=2
ulower=2ulower=2
Step 1.4
Substitute the upper limit in for xx in u=1+cos(x)u=1+cos(x).
uupper=1+cos(π)uupper=1+cos(π)
Step 1.5
Simplify.
Tap for more steps...
Step 1.5.1
Simplify each term.
Tap for more steps...
Step 1.5.1.1
Apply the reference angle by finding the angle with equivalent trig values in the first quadrant. Make the expression negative because cosine is negative in the second quadrant.
uupper=1-cos(0)uupper=1cos(0)
Step 1.5.1.2
The exact value of cos(0)cos(0) is 11.
uupper=1-11uupper=111
Step 1.5.1.3
Multiply -11 by 11.
uupper=1-1uupper=11
uupper=1-1uupper=11
Step 1.5.2
Subtract 1 from 1.
uupper=0
uupper=0
Step 1.6
The values found for ulower and uupper will be used to evaluate the definite integral.
ulower=2
uupper=0
Step 1.7
Rewrite the problem using u, du, and the new limits of integration.
02-1udu
02-1udu
Step 2
Split the fraction into multiple fractions.
02-1udu
Step 3
Since -1 is constant with respect to u, move -1 out of the integral.
-021udu
Step 4
The integral of 1u with respect to u is ln(|u|).
-(ln(|u|)]02)
Step 5
Evaluate ln(|u|) at 0 and at 2.
-(ln(|0|)-ln(|2|))
Step 6
Use the quotient property of logarithms, logb(x)-logb(y)=logb(xy).
-ln(|0||2|)
Step 7
Simplify.
Tap for more steps...
Step 7.1
The absolute value is the distance between a number and zero. The distance between 0 and 0 is 0.
-ln(0|2|)
Step 7.2
The absolute value is the distance between a number and zero. The distance between 0 and 2 is 2.
-ln(02)
Step 7.3
Divide 0 by 2.
-ln(0)
Step 7.4
The natural logarithm of zero is undefined.
Undefined
-ln(0)
Step 8
The natural logarithm of zero is undefined.
Undefined
 [x2  12  π  xdx ]