Enter a problem...
Calculus Examples
Step 1
Write as a function.
Step 2
Step 2.1
Since is constant with respect to , the derivative of with respect to is .
Step 2.2
Differentiate using the Product Rule which states that is where and .
Step 2.3
Differentiate using the chain rule, which states that is where and .
Step 2.3.1
To apply the Chain Rule, set as .
Step 2.3.2
Differentiate using the Power Rule which states that is where .
Step 2.3.3
Replace all occurrences of with .
Step 2.4
Differentiate.
Step 2.4.1
By the Sum Rule, the derivative of with respect to is .
Step 2.4.2
Differentiate using the Power Rule which states that is where .
Step 2.4.3
Since is constant with respect to , the derivative of with respect to is .
Step 2.4.4
Simplify the expression.
Step 2.4.4.1
Add and .
Step 2.4.4.2
Multiply by .
Step 2.4.5
Differentiate using the Power Rule which states that is where .
Step 2.4.6
Multiply by .
Step 2.5
Simplify.
Step 2.5.1
Apply the distributive property.
Step 2.5.2
Multiply by .
Step 2.5.3
Factor out of .
Step 2.5.3.1
Factor out of .
Step 2.5.3.2
Factor out of .
Step 2.5.3.3
Factor out of .
Step 2.5.4
Add and .
Step 2.5.5
Rewrite as .
Step 2.5.6
Expand using the FOIL Method.
Step 2.5.6.1
Apply the distributive property.
Step 2.5.6.2
Apply the distributive property.
Step 2.5.6.3
Apply the distributive property.
Step 2.5.7
Simplify and combine like terms.
Step 2.5.7.1
Simplify each term.
Step 2.5.7.1.1
Multiply by .
Step 2.5.7.1.2
Move to the left of .
Step 2.5.7.1.3
Multiply by .
Step 2.5.7.2
Subtract from .
Step 2.5.8
Apply the distributive property.
Step 2.5.9
Simplify.
Step 2.5.9.1
Multiply by .
Step 2.5.9.2
Multiply by .
Step 2.5.10
Expand by multiplying each term in the first expression by each term in the second expression.
Step 2.5.11
Simplify each term.
Step 2.5.11.1
Rewrite using the commutative property of multiplication.
Step 2.5.11.2
Multiply by by adding the exponents.
Step 2.5.11.2.1
Move .
Step 2.5.11.2.2
Multiply by .
Step 2.5.11.2.2.1
Raise to the power of .
Step 2.5.11.2.2.2
Use the power rule to combine exponents.
Step 2.5.11.2.3
Add and .
Step 2.5.11.3
Multiply by .
Step 2.5.11.4
Multiply by .
Step 2.5.11.5
Rewrite using the commutative property of multiplication.
Step 2.5.11.6
Multiply by by adding the exponents.
Step 2.5.11.6.1
Move .
Step 2.5.11.6.2
Multiply by .
Step 2.5.11.7
Multiply by .
Step 2.5.11.8
Multiply by .
Step 2.5.11.9
Multiply by .
Step 2.5.11.10
Multiply by .
Step 2.5.12
Subtract from .
Step 2.5.13
Add and .
Step 3
Step 3.1
By the Sum Rule, the derivative of with respect to is .
Step 3.2
Evaluate .
Step 3.2.1
Since is constant with respect to , the derivative of with respect to is .
Step 3.2.2
Differentiate using the Power Rule which states that is where .
Step 3.2.3
Multiply by .
Step 3.3
Evaluate .
Step 3.3.1
Since is constant with respect to , the derivative of with respect to is .
Step 3.3.2
Differentiate using the Power Rule which states that is where .
Step 3.3.3
Multiply by .
Step 3.4
Evaluate .
Step 3.4.1
Since is constant with respect to , the derivative of with respect to is .
Step 3.4.2
Differentiate using the Power Rule which states that is where .
Step 3.4.3
Multiply by .
Step 3.5
Differentiate using the Constant Rule.
Step 3.5.1
Since is constant with respect to , the derivative of with respect to is .
Step 3.5.2
Add and .
Step 4
To find the local maximum and minimum values of the function, set the derivative equal to and solve.
Step 5
Step 5.1
Find the first derivative.
Step 5.1.1
Since is constant with respect to , the derivative of with respect to is .
Step 5.1.2
Differentiate using the Product Rule which states that is where and .
Step 5.1.3
Differentiate using the chain rule, which states that is where and .
Step 5.1.3.1
To apply the Chain Rule, set as .
Step 5.1.3.2
Differentiate using the Power Rule which states that is where .
Step 5.1.3.3
Replace all occurrences of with .
Step 5.1.4
Differentiate.
Step 5.1.4.1
By the Sum Rule, the derivative of with respect to is .
Step 5.1.4.2
Differentiate using the Power Rule which states that is where .
Step 5.1.4.3
Since is constant with respect to , the derivative of with respect to is .
Step 5.1.4.4
Simplify the expression.
Step 5.1.4.4.1
Add and .
Step 5.1.4.4.2
Multiply by .
Step 5.1.4.5
Differentiate using the Power Rule which states that is where .
Step 5.1.4.6
Multiply by .
Step 5.1.5
Simplify.
Step 5.1.5.1
Apply the distributive property.
Step 5.1.5.2
Multiply by .
Step 5.1.5.3
Factor out of .
Step 5.1.5.3.1
Factor out of .
Step 5.1.5.3.2
Factor out of .
Step 5.1.5.3.3
Factor out of .
Step 5.1.5.4
Add and .
Step 5.1.5.5
Rewrite as .
Step 5.1.5.6
Expand using the FOIL Method.
Step 5.1.5.6.1
Apply the distributive property.
Step 5.1.5.6.2
Apply the distributive property.
Step 5.1.5.6.3
Apply the distributive property.
Step 5.1.5.7
Simplify and combine like terms.
Step 5.1.5.7.1
Simplify each term.
Step 5.1.5.7.1.1
Multiply by .
Step 5.1.5.7.1.2
Move to the left of .
Step 5.1.5.7.1.3
Multiply by .
Step 5.1.5.7.2
Subtract from .
Step 5.1.5.8
Apply the distributive property.
Step 5.1.5.9
Simplify.
Step 5.1.5.9.1
Multiply by .
Step 5.1.5.9.2
Multiply by .
Step 5.1.5.10
Expand by multiplying each term in the first expression by each term in the second expression.
Step 5.1.5.11
Simplify each term.
Step 5.1.5.11.1
Rewrite using the commutative property of multiplication.
Step 5.1.5.11.2
Multiply by by adding the exponents.
Step 5.1.5.11.2.1
Move .
Step 5.1.5.11.2.2
Multiply by .
Step 5.1.5.11.2.2.1
Raise to the power of .
Step 5.1.5.11.2.2.2
Use the power rule to combine exponents.
Step 5.1.5.11.2.3
Add and .
Step 5.1.5.11.3
Multiply by .
Step 5.1.5.11.4
Multiply by .
Step 5.1.5.11.5
Rewrite using the commutative property of multiplication.
Step 5.1.5.11.6
Multiply by by adding the exponents.
Step 5.1.5.11.6.1
Move .
Step 5.1.5.11.6.2
Multiply by .
Step 5.1.5.11.7
Multiply by .
Step 5.1.5.11.8
Multiply by .
Step 5.1.5.11.9
Multiply by .
Step 5.1.5.11.10
Multiply by .
Step 5.1.5.12
Subtract from .
Step 5.1.5.13
Add and .
Step 5.2
The first derivative of with respect to is .
Step 6
Step 6.1
Set the first derivative equal to .
Step 6.2
Factor the left side of the equation.
Step 6.2.1
Factor out of .
Step 6.2.1.1
Factor out of .
Step 6.2.1.2
Factor out of .
Step 6.2.1.3
Factor out of .
Step 6.2.1.4
Factor out of .
Step 6.2.1.5
Factor out of .
Step 6.2.1.6
Factor out of .
Step 6.2.1.7
Factor out of .
Step 6.2.2
Factor using the rational roots test.
Step 6.2.2.1
If a polynomial function has integer coefficients, then every rational zero will have the form where is a factor of the constant and is a factor of the leading coefficient.
Step 6.2.2.2
Find every combination of . These are the possible roots of the polynomial function.
Step 6.2.2.3
Substitute and simplify the expression. In this case, the expression is equal to so is a root of the polynomial.
Step 6.2.2.3.1
Substitute into the polynomial.
Step 6.2.2.3.2
Raise to the power of .
Step 6.2.2.3.3
Multiply by .
Step 6.2.2.3.4
Raise to the power of .
Step 6.2.2.3.5
Multiply by .
Step 6.2.2.3.6
Subtract from .
Step 6.2.2.3.7
Multiply by .
Step 6.2.2.3.8
Add and .
Step 6.2.2.3.9
Subtract from .
Step 6.2.2.4
Since is a known root, divide the polynomial by to find the quotient polynomial. This polynomial can then be used to find the remaining roots.
Step 6.2.2.5
Divide by .
Step 6.2.2.5.1
Set up the polynomials to be divided. If there is not a term for every exponent, insert one with a value of .
| - | - | + | - |
Step 6.2.2.5.2
Divide the highest order term in the dividend by the highest order term in divisor .
| - | - | + | - |
Step 6.2.2.5.3
Multiply the new quotient term by the divisor.
| - | - | + | - | ||||||||
| + | - |
Step 6.2.2.5.4
The expression needs to be subtracted from the dividend, so change all the signs in
| - | - | + | - | ||||||||
| - | + |
Step 6.2.2.5.5
After changing the signs, add the last dividend from the multiplied polynomial to find the new dividend.
| - | - | + | - | ||||||||
| - | + | ||||||||||
| - |
Step 6.2.2.5.6
Pull the next terms from the original dividend down into the current dividend.
| - | - | + | - | ||||||||
| - | + | ||||||||||
| - | + |
Step 6.2.2.5.7
Divide the highest order term in the dividend by the highest order term in divisor .
| - | |||||||||||
| - | - | + | - | ||||||||
| - | + | ||||||||||
| - | + |
Step 6.2.2.5.8
Multiply the new quotient term by the divisor.
| - | |||||||||||
| - | - | + | - | ||||||||
| - | + | ||||||||||
| - | + | ||||||||||
| - | + |
Step 6.2.2.5.9
The expression needs to be subtracted from the dividend, so change all the signs in
| - | |||||||||||
| - | - | + | - | ||||||||
| - | + | ||||||||||
| - | + | ||||||||||
| + | - |
Step 6.2.2.5.10
After changing the signs, add the last dividend from the multiplied polynomial to find the new dividend.
| - | |||||||||||
| - | - | + | - | ||||||||
| - | + | ||||||||||
| - | + | ||||||||||
| + | - | ||||||||||
| + |
Step 6.2.2.5.11
Pull the next terms from the original dividend down into the current dividend.
| - | |||||||||||
| - | - | + | - | ||||||||
| - | + | ||||||||||
| - | + | ||||||||||
| + | - | ||||||||||
| + | - |
Step 6.2.2.5.12
Divide the highest order term in the dividend by the highest order term in divisor .
| - | + | ||||||||||
| - | - | + | - | ||||||||
| - | + | ||||||||||
| - | + | ||||||||||
| + | - | ||||||||||
| + | - |
Step 6.2.2.5.13
Multiply the new quotient term by the divisor.
| - | + | ||||||||||
| - | - | + | - | ||||||||
| - | + | ||||||||||
| - | + | ||||||||||
| + | - | ||||||||||
| + | - | ||||||||||
| + | - |
Step 6.2.2.5.14
The expression needs to be subtracted from the dividend, so change all the signs in
| - | + | ||||||||||
| - | - | + | - | ||||||||
| - | + | ||||||||||
| - | + | ||||||||||
| + | - | ||||||||||
| + | - | ||||||||||
| - | + |
Step 6.2.2.5.15
After changing the signs, add the last dividend from the multiplied polynomial to find the new dividend.
| - | + | ||||||||||
| - | - | + | - | ||||||||
| - | + | ||||||||||
| - | + | ||||||||||
| + | - | ||||||||||
| + | - | ||||||||||
| - | + | ||||||||||
Step 6.2.2.5.16
Since the remander is , the final answer is the quotient.
Step 6.2.2.6
Write as a set of factors.
Step 6.2.3
Factor.
Step 6.2.3.1
Factor using the perfect square rule.
Step 6.2.3.1.1
Rewrite as .
Step 6.2.3.1.2
Check that the middle term is two times the product of the numbers being squared in the first term and third term.
Step 6.2.3.1.3
Rewrite the polynomial.
Step 6.2.3.1.4
Factor using the perfect square trinomial rule , where and .
Step 6.2.3.2
Remove unnecessary parentheses.
Step 6.3
If any individual factor on the left side of the equation is equal to , the entire expression will be equal to .
Step 6.4
Set equal to and solve for .
Step 6.4.1
Set equal to .
Step 6.4.2
Solve for .
Step 6.4.2.1
Add to both sides of the equation.
Step 6.4.2.2
Divide each term in by and simplify.
Step 6.4.2.2.1
Divide each term in by .
Step 6.4.2.2.2
Simplify the left side.
Step 6.4.2.2.2.1
Cancel the common factor of .
Step 6.4.2.2.2.1.1
Cancel the common factor.
Step 6.4.2.2.2.1.2
Divide by .
Step 6.5
Set equal to and solve for .
Step 6.5.1
Set equal to .
Step 6.5.2
Solve for .
Step 6.5.2.1
Set the equal to .
Step 6.5.2.2
Add to both sides of the equation.
Step 6.6
The final solution is all the values that make true.
Step 7
Step 7.1
The domain of the expression is all real numbers except where the expression is undefined. In this case, there is no real number that makes the expression undefined.
Step 8
Critical points to evaluate.
Step 9
Evaluate the second derivative at . If the second derivative is positive, then this is a local minimum. If it is negative, then this is a local maximum.
Step 10
Step 10.1
Simplify each term.
Step 10.1.1
Apply the product rule to .
Step 10.1.2
One to any power is one.
Step 10.1.3
Raise to the power of .
Step 10.1.4
Cancel the common factor of .
Step 10.1.4.1
Factor out of .
Step 10.1.4.2
Cancel the common factor.
Step 10.1.4.3
Rewrite the expression.
Step 10.1.5
Cancel the common factor of .
Step 10.1.5.1
Factor out of .
Step 10.1.5.2
Cancel the common factor.
Step 10.1.5.3
Rewrite the expression.
Step 10.2
Simplify by adding and subtracting.
Step 10.2.1
Subtract from .
Step 10.2.2
Add and .
Step 11
is a local minimum because the value of the second derivative is positive. This is referred to as the second derivative test.
is a local minimum
Step 12
Step 12.1
Replace the variable with in the expression.
Step 12.2
Simplify the result.
Step 12.2.1
Cancel the common factor of .
Step 12.2.1.1
Cancel the common factor.
Step 12.2.1.2
Rewrite the expression.
Step 12.2.2
Multiply by .
Step 12.2.3
To write as a fraction with a common denominator, multiply by .
Step 12.2.4
Combine and .
Step 12.2.5
Combine the numerators over the common denominator.
Step 12.2.6
Simplify the numerator.
Step 12.2.6.1
Multiply by .
Step 12.2.6.2
Subtract from .
Step 12.2.7
Move the negative in front of the fraction.
Step 12.2.8
Use the power rule to distribute the exponent.
Step 12.2.8.1
Apply the product rule to .
Step 12.2.8.2
Apply the product rule to .
Step 12.2.9
Raise to the power of .
Step 12.2.10
Raise to the power of .
Step 12.2.11
Raise to the power of .
Step 12.2.12
The final answer is .
Step 13
Evaluate the second derivative at . If the second derivative is positive, then this is a local minimum. If it is negative, then this is a local maximum.
Step 14
Step 14.1
Simplify each term.
Step 14.1.1
Raise to the power of .
Step 14.1.2
Multiply by .
Step 14.1.3
Multiply by .
Step 14.2
Simplify by adding and subtracting.
Step 14.2.1
Subtract from .
Step 14.2.2
Add and .
Step 15
Step 15.1
Split into separate intervals around the values that make the first derivative or undefined.
Step 15.2
Substitute any number, such as , from the interval in the first derivative to check if the result is negative or positive.
Step 15.2.1
Replace the variable with in the expression.
Step 15.2.2
Simplify the result.
Step 15.2.2.1
Simplify each term.
Step 15.2.2.1.1
Raising to any positive power yields .
Step 15.2.2.1.2
Multiply by .
Step 15.2.2.1.3
Raising to any positive power yields .
Step 15.2.2.1.4
Multiply by .
Step 15.2.2.1.5
Multiply by .
Step 15.2.2.2
Simplify by adding and subtracting.
Step 15.2.2.2.1
Add and .
Step 15.2.2.2.2
Add and .
Step 15.2.2.2.3
Subtract from .
Step 15.2.2.3
The final answer is .
Step 15.3
Substitute any number, such as , from the interval in the first derivative to check if the result is negative or positive.
Step 15.3.1
Replace the variable with in the expression.
Step 15.3.2
Simplify the result.
Step 15.3.2.1
Simplify each term.
Step 15.3.2.1.1
One to any power is one.
Step 15.3.2.1.2
Multiply by .
Step 15.3.2.1.3
One to any power is one.
Step 15.3.2.1.4
Multiply by .
Step 15.3.2.1.5
Multiply by .
Step 15.3.2.2
Simplify by adding and subtracting.
Step 15.3.2.2.1
Subtract from .
Step 15.3.2.2.2
Add and .
Step 15.3.2.2.3
Subtract from .
Step 15.3.2.3
The final answer is .
Step 15.4
Substitute any number, such as , from the interval in the first derivative to check if the result is negative or positive.
Step 15.4.1
Replace the variable with in the expression.
Step 15.4.2
Simplify the result.
Step 15.4.2.1
Simplify each term.
Step 15.4.2.1.1
Raise to the power of .
Step 15.4.2.1.2
Multiply by .
Step 15.4.2.1.3
Raise to the power of .
Step 15.4.2.1.4
Multiply by .
Step 15.4.2.1.5
Multiply by .
Step 15.4.2.2
Simplify by adding and subtracting.
Step 15.4.2.2.1
Subtract from .
Step 15.4.2.2.2
Add and .
Step 15.4.2.2.3
Subtract from .
Step 15.4.2.3
The final answer is .
Step 15.5
Since the first derivative changed signs from negative to positive around , then is a local minimum.
is a local minimum
Step 15.6
Since the first derivative did not change signs around , this is not a local maximum or minimum.
Not a local maximum or minimum
Step 15.7
These are the local extrema for .
is a local minimum
is a local minimum
Step 16