Calculus Examples

Find the Antiderivative (tan(x)+cot(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 in terms of sines and cosines, then cancel the common factors.
Tap for more steps...
Step 4.3.1.2.1
Reorder and .
Step 4.3.1.2.2
Rewrite in terms of sines and cosines.
Step 4.3.1.2.3
Cancel the common factors.
Step 4.3.1.3
Rewrite in terms of sines and cosines, then cancel the common factors.
Tap for more steps...
Step 4.3.1.3.1
Rewrite in terms of sines and cosines.
Step 4.3.1.3.2
Cancel the common factors.
Step 4.3.1.4
Multiply .
Tap for more steps...
Step 4.3.1.4.1
Raise to the power of .
Step 4.3.1.4.2
Raise to the power of .
Step 4.3.1.4.3
Use the power rule to combine exponents.
Step 4.3.1.4.4
Add and .
Step 4.3.2
Add and .
Step 5
Split the single integral into multiple integrals.
Step 6
Using the Pythagorean Identity, rewrite as .
Step 7
Split the single integral into multiple integrals.
Step 8
Apply the constant rule.
Step 9
Since the derivative of is , the integral of is .
Step 10
Apply the constant rule.
Step 11
Using the Pythagorean Identity, rewrite as .
Step 12
Split the single integral into multiple integrals.
Step 13
Apply the constant rule.
Step 14
Since the derivative of is , the integral of is .
Step 15
Simplify.
Tap for more steps...
Step 15.1
Simplify.
Tap for more steps...
Step 15.1.1
Add and .
Step 15.1.2
Subtract from .
Step 15.1.3
Add and .
Step 15.2
Simplify.
Step 16
The answer is the antiderivative of the function .