Calculus Examples

Find the Antiderivative (sin(x)-cos(x))^2
Step 1
Write as a function.
Step 2
The function can be found by finding the indefinite integral of the derivative .
Step 3
Set up the integral to solve.
Step 4
Simplify.
Tap for more steps...
Step 4.1
Rewrite as .
Step 4.2
Expand using the FOIL Method.
Tap for more steps...
Step 4.2.1
Apply the distributive property.
Step 4.2.2
Apply the distributive property.
Step 4.2.3
Apply the distributive property.
Step 4.3
Simplify and combine like terms.
Tap for more steps...
Step 4.3.1
Simplify each term.
Tap for more steps...
Step 4.3.1.1
Multiply .
Tap for more steps...
Step 4.3.1.1.1
Raise to the power of .
Step 4.3.1.1.2
Raise to the power of .
Step 4.3.1.1.3
Use the power rule to combine exponents.
Step 4.3.1.1.4
Add and .
Step 4.3.1.2
Rewrite using the commutative property of multiplication.
Step 4.3.1.3
Multiply .
Tap for more steps...
Step 4.3.1.3.1
Multiply by .
Step 4.3.1.3.2
Multiply by .
Step 4.3.1.3.3
Raise to the power of .
Step 4.3.1.3.4
Raise to the power of .
Step 4.3.1.3.5
Use the power rule to combine exponents.
Step 4.3.1.3.6
Add and .
Step 4.3.2
Reorder the factors of .
Step 4.3.3
Subtract from .
Step 4.4
Move .
Step 4.5
Apply pythagorean identity.
Step 5
Split the single integral into multiple integrals.
Step 6
Apply the constant rule.
Step 7
Since is constant with respect to , move out of the integral.
Step 8
Let . Then , so . Rewrite using and .
Tap for more steps...
Step 8.1
Let . Find .
Tap for more steps...
Step 8.1.1
Differentiate .
Step 8.1.2
The derivative of with respect to is .
Step 8.2
Rewrite the problem using and .
Step 9
Since is constant with respect to , move out of the integral.
Step 10
Multiply by .
Step 11
By the Power Rule, the integral of with respect to is .
Step 12
Simplify.
Tap for more steps...
Step 12.1
Simplify.
Step 12.2
Simplify.
Tap for more steps...
Step 12.2.1
Combine and .
Step 12.2.2
Cancel the common factor of .
Tap for more steps...
Step 12.2.2.1
Cancel the common factor.
Step 12.2.2.2
Rewrite the expression.
Step 12.2.3
Multiply by .
Step 13
Replace all occurrences of with .
Step 14
The answer is the antiderivative of the function .