Calculus Examples

Evaluate the Integral integral from 0 to pi/4 of cos(x)-sin(x) with respect to x
Step 1
Split the single integral into multiple integrals.
Step 2
The integral of with respect to is .
Step 3
Since is constant with respect to , move out of the integral.
Step 4
The integral of with respect to is .
Step 5
Simplify the answer.
Tap for more steps...
Step 5.1
Substitute and simplify.
Tap for more steps...
Step 5.1.1
Evaluate at and at .
Step 5.1.2
Evaluate at and at .
Step 5.2
Simplify.
Tap for more steps...
Step 5.2.1
The exact value of is .
Step 5.2.2
The exact value of is .
Step 5.2.3
The exact value of is .
Step 5.2.4
The exact value of is .
Step 5.2.5
Multiply by .
Step 5.2.6
Add and .
Step 5.2.7
To write as a fraction with a common denominator, multiply by .
Step 5.2.8
Combine and .
Step 5.2.9
Combine the numerators over the common denominator.
Step 5.2.10
Multiply by .
Step 5.3
Simplify.
Tap for more steps...
Step 5.3.1
Apply the distributive property.
Step 5.3.2
Cancel the common factor of .
Tap for more steps...
Step 5.3.2.1
Move the leading negative in into the numerator.
Step 5.3.2.2
Factor out of .
Step 5.3.2.3
Cancel the common factor.
Step 5.3.2.4
Rewrite the expression.
Step 5.3.3
Multiply by .
Step 5.3.4
Multiply by .
Step 5.3.5
Multiply by .
Step 5.3.6
Add and .
Step 5.3.7
Cancel the common factor of and .
Tap for more steps...
Step 5.3.7.1
Factor out of .
Step 5.3.7.2
Factor out of .
Step 5.3.7.3
Factor out of .
Step 5.3.7.4
Cancel the common factors.
Tap for more steps...
Step 5.3.7.4.1
Factor out of .
Step 5.3.7.4.2
Cancel the common factor.
Step 5.3.7.4.3
Rewrite the expression.
Step 5.3.7.4.4
Divide by .
Step 6
The result can be shown in multiple forms.
Exact Form:
Decimal Form: