Calculus Examples

Find the 2nd Derivative y=cos(x)+tan(x)
Step 1
Find the first derivative.
Tap for more steps...
Step 1.1
By the Sum Rule, the derivative of with respect to is .
Step 1.2
The derivative of with respect to is .
Step 1.3
The derivative of with respect to is .
Step 2
Find the second derivative.
Tap for more steps...
Step 2.1
By the Sum Rule, the derivative of with respect to is .
Step 2.2
Evaluate .
Tap for more steps...
Step 2.2.1
Since is constant with respect to , the derivative of with respect to is .
Step 2.2.2
The derivative of with respect to is .
Step 2.3
Evaluate .
Tap for more steps...
Step 2.3.1
Differentiate using the chain rule, which states that is where and .
Tap for more steps...
Step 2.3.1.1
To apply the Chain Rule, set as .
Step 2.3.1.2
Differentiate using the Power Rule which states that is where .
Step 2.3.1.3
Replace all occurrences of with .
Step 2.3.2
The derivative of with respect to is .
Step 2.3.3
Raise to the power of .
Step 2.3.4
Raise to the power of .
Step 2.3.5
Use the power rule to combine exponents.
Step 2.3.6
Add and .
Step 2.4
Simplify.
Tap for more steps...
Step 2.4.1
Reorder terms.
Step 2.4.2
Simplify each term.
Tap for more steps...
Step 2.4.2.1
Rewrite in terms of sines and cosines.
Step 2.4.2.2
Apply the product rule to .
Step 2.4.2.3
One to any power is one.
Step 2.4.2.4
Combine and .
Step 2.4.2.5
Rewrite in terms of sines and cosines.
Step 2.4.2.6
Combine.
Step 2.4.2.7
Multiply by by adding the exponents.
Tap for more steps...
Step 2.4.2.7.1
Multiply by .
Tap for more steps...
Step 2.4.2.7.1.1
Raise to the power of .
Step 2.4.2.7.1.2
Use the power rule to combine exponents.
Step 2.4.2.7.2
Add and .
Step 2.4.3
Simplify each term.
Tap for more steps...
Step 2.4.3.1
Factor out of .
Step 2.4.3.2
Separate fractions.
Step 2.4.3.3
Convert from to .
Step 2.4.3.4
Multiply by .
Step 2.4.3.5
Separate fractions.
Step 2.4.3.6
Convert from to .
Step 2.4.3.7
Divide by .
Step 3
Find the third derivative.
Tap for more steps...
Step 3.1
By the Sum Rule, the derivative of with respect to is .
Step 3.2
Evaluate .
Tap for more steps...
Step 3.2.1
Since is constant with respect to , the derivative of with respect to is .
Step 3.2.2
Differentiate using the Product Rule which states that is where and .
Step 3.2.3
The derivative of with respect to is .
Step 3.2.4
Differentiate using the chain rule, which states that is where and .
Tap for more steps...
Step 3.2.4.1
To apply the Chain Rule, set as .
Step 3.2.4.2
Differentiate using the Power Rule which states that is where .
Step 3.2.4.3
Replace all occurrences of with .
Step 3.2.5
The derivative of with respect to is .
Step 3.2.6
Multiply by by adding the exponents.
Tap for more steps...
Step 3.2.6.1
Use the power rule to combine exponents.
Step 3.2.6.2
Add and .
Step 3.2.7
Raise to the power of .
Step 3.2.8
Raise to the power of .
Step 3.2.9
Use the power rule to combine exponents.
Step 3.2.10
Add and .
Step 3.2.11
Raise to the power of .
Step 3.2.12
Raise to the power of .
Step 3.2.13
Use the power rule to combine exponents.
Step 3.2.14
Add and .
Step 3.3
Evaluate .
Tap for more steps...
Step 3.3.1
Since is constant with respect to , the derivative of with respect to is .
Step 3.3.2
The derivative of with respect to is .
Step 3.3.3
Multiply by .
Step 3.3.4
Multiply by .
Step 3.4
Simplify.
Tap for more steps...
Step 3.4.1
Apply the distributive property.
Step 3.4.2
Multiply by .
Step 3.4.3
Reorder terms.
Step 3.4.4
Simplify each term.
Tap for more steps...
Step 3.4.4.1
Rewrite in terms of sines and cosines.
Step 3.4.4.2
Apply the product rule to .
Step 3.4.4.3
One to any power is one.
Step 3.4.4.4
Combine and .
Step 3.4.4.5
Rewrite in terms of sines and cosines.
Step 3.4.4.6
Apply the product rule to .
Step 3.4.4.7
Combine.
Step 3.4.4.8
Multiply by by adding the exponents.
Tap for more steps...
Step 3.4.4.8.1
Use the power rule to combine exponents.
Step 3.4.4.8.2
Add and .
Step 3.4.4.9
Rewrite in terms of sines and cosines.
Step 3.4.4.10
Apply the product rule to .
Step 3.4.4.11
One to any power is one.
Step 3.4.4.12
Combine and .
Step 3.4.5
Simplify each term.
Tap for more steps...
Step 3.4.5.1
Multiply by .
Step 3.4.5.2
Factor out of .
Step 3.4.5.3
Separate fractions.
Step 3.4.5.4
Convert from to .
Step 3.4.5.5
Multiply by .
Step 3.4.5.6
Multiply by .
Step 3.4.5.7
Separate fractions.
Step 3.4.5.8
Convert from to .
Step 3.4.5.9
Divide by .
Step 3.4.5.10
Multiply by .
Step 3.4.5.11
Separate fractions.
Step 3.4.5.12
Convert from to .
Step 3.4.5.13
Divide by .
Step 4
Find the fourth derivative.
Tap for more steps...
Step 4.1
By the Sum Rule, the derivative of with respect to is .
Step 4.2
Evaluate .
Tap for more steps...
Step 4.2.1
Since is constant with respect to , the derivative of with respect to is .
Step 4.2.2
Differentiate using the Product Rule which states that is where and .
Step 4.2.3
Differentiate using the chain rule, which states that is where and .
Tap for more steps...
Step 4.2.3.1
To apply the Chain Rule, set as .
Step 4.2.3.2
Differentiate using the Power Rule which states that is where .
Step 4.2.3.3
Replace all occurrences of with .
Step 4.2.4
The derivative of with respect to is .
Step 4.2.5
Differentiate using the chain rule, which states that is where and .
Tap for more steps...
Step 4.2.5.1
To apply the Chain Rule, set as .
Step 4.2.5.2
Differentiate using the Power Rule which states that is where .
Step 4.2.5.3
Replace all occurrences of with .
Step 4.2.6
The derivative of with respect to is .
Step 4.2.7
Multiply by by adding the exponents.
Tap for more steps...
Step 4.2.7.1
Move .
Step 4.2.7.2
Use the power rule to combine exponents.
Step 4.2.7.3
Add and .
Step 4.2.8
Move to the left of .
Step 4.2.9
Raise to the power of .
Step 4.2.10
Raise to the power of .
Step 4.2.11
Use the power rule to combine exponents.
Step 4.2.12
Add and .
Step 4.2.13
Multiply by by adding the exponents.
Tap for more steps...
Step 4.2.13.1
Move .
Step 4.2.13.2
Multiply by .
Tap for more steps...
Step 4.2.13.2.1
Raise to the power of .
Step 4.2.13.2.2
Use the power rule to combine exponents.
Step 4.2.13.3
Add and .
Step 4.2.14
Move to the left of .
Step 4.3
Evaluate .
Tap for more steps...
Step 4.3.1
Since is constant with respect to , the derivative of with respect to is .
Step 4.3.2
Differentiate using the chain rule, which states that is where and .
Tap for more steps...
Step 4.3.2.1
To apply the Chain Rule, set as .
Step 4.3.2.2
Differentiate using the Power Rule which states that is where .
Step 4.3.2.3
Replace all occurrences of with .
Step 4.3.3
The derivative of with respect to is .
Step 4.3.4
Raise to the power of .
Step 4.3.5
Use the power rule to combine exponents.
Step 4.3.6
Add and .
Step 4.3.7
Multiply by .
Step 4.4
The derivative of with respect to is .
Step 4.5
Simplify.
Tap for more steps...
Step 4.5.1
Apply the distributive property.
Step 4.5.2
Combine terms.
Tap for more steps...
Step 4.5.2.1
Multiply by .
Step 4.5.2.2
Multiply by .
Step 4.5.2.3
Add and .
Step 4.5.3
Simplify each term.
Tap for more steps...
Step 4.5.3.1
Rewrite in terms of sines and cosines.
Step 4.5.3.2
Apply the product rule to .
Step 4.5.3.3
One to any power is one.
Step 4.5.3.4
Combine and .
Step 4.5.3.5
Rewrite in terms of sines and cosines.
Step 4.5.3.6
Combine.
Step 4.5.3.7
Multiply by by adding the exponents.
Tap for more steps...
Step 4.5.3.7.1
Multiply by .
Tap for more steps...
Step 4.5.3.7.1.1
Raise to the power of .
Step 4.5.3.7.1.2
Use the power rule to combine exponents.
Step 4.5.3.7.2
Add and .
Step 4.5.3.8
Rewrite in terms of sines and cosines.
Step 4.5.3.9
Apply the product rule to .
Step 4.5.3.10
Combine and .
Step 4.5.3.11
Rewrite in terms of sines and cosines.
Step 4.5.3.12
Apply the product rule to .
Step 4.5.3.13
Combine.
Step 4.5.3.14
Multiply by by adding the exponents.
Tap for more steps...
Step 4.5.3.14.1
Use the power rule to combine exponents.
Step 4.5.3.14.2
Add and .
Step 4.5.3.15
Simplify the numerator.
Tap for more steps...
Step 4.5.3.15.1
One to any power is one.
Step 4.5.3.15.2
Multiply by .
Step 4.5.4
Simplify each term.
Tap for more steps...
Step 4.5.4.1
Factor out of .
Step 4.5.4.2
Separate fractions.
Step 4.5.4.3
Convert from to .
Step 4.5.4.4
Multiply by .
Step 4.5.4.5
Separate fractions.
Step 4.5.4.6
Convert from to .
Step 4.5.4.7
Divide by .
Step 4.5.4.8
Multiply by .
Step 4.5.4.9
Factor out of .
Step 4.5.4.10
Separate fractions.
Step 4.5.4.11
Convert from to .
Step 4.5.4.12
Multiply by .
Step 4.5.4.13
Multiply by .
Step 4.5.4.14
Separate fractions.
Step 4.5.4.15
Convert from to .
Step 4.5.4.16
Divide by .