Calculus Examples

Find the Maximum/Minimum Value -x(x+2)(x-2)
Step 1
Find the first derivative of the function.
Tap for more steps...
Step 1.1
Since is constant with respect to , the derivative of with respect to is .
Step 1.2
Differentiate using the Product Rule which states that is where and .
Step 1.3
Differentiate.
Tap for more steps...
Step 1.3.1
By the Sum Rule, the derivative of with respect to is .
Step 1.3.2
Differentiate using the Power Rule which states that is where .
Step 1.3.3
Since is constant with respect to , the derivative of with respect to is .
Step 1.3.4
Simplify the expression.
Tap for more steps...
Step 1.3.4.1
Add and .
Step 1.3.4.2
Multiply by .
Step 1.4
Differentiate using the Product Rule which states that is where and .
Step 1.5
Differentiate.
Tap for more steps...
Step 1.5.1
By the Sum Rule, the derivative of with respect to is .
Step 1.5.2
Differentiate using the Power Rule which states that is where .
Step 1.5.3
Since is constant with respect to , the derivative of with respect to is .
Step 1.5.4
Simplify the expression.
Tap for more steps...
Step 1.5.4.1
Add and .
Step 1.5.4.2
Multiply by .
Step 1.5.5
Differentiate using the Power Rule which states that is where .
Step 1.5.6
Simplify by adding terms.
Tap for more steps...
Step 1.5.6.1
Multiply by .
Step 1.5.6.2
Add and .
Step 1.6
Simplify.
Tap for more steps...
Step 1.6.1
Apply the distributive property.
Step 1.6.2
Apply the distributive property.
Step 1.6.3
Apply the distributive property.
Step 1.6.4
Apply the distributive property.
Step 1.6.5
Apply the distributive property.
Step 1.6.6
Apply the distributive property.
Step 1.6.7
Combine terms.
Tap for more steps...
Step 1.6.7.1
Raise to the power of .
Step 1.6.7.2
Raise to the power of .
Step 1.6.7.3
Use the power rule to combine exponents.
Step 1.6.7.4
Add and .
Step 1.6.7.5
Move to the left of .
Step 1.6.7.6
Multiply by .
Step 1.6.7.7
Raise to the power of .
Step 1.6.7.8
Raise to the power of .
Step 1.6.7.9
Use the power rule to combine exponents.
Step 1.6.7.10
Add and .
Step 1.6.7.11
Multiply by .
Step 1.6.7.12
Multiply by .
Step 1.6.7.13
Multiply by .
Step 1.6.7.14
Move to the left of .
Step 1.6.7.15
Multiply by .
Step 1.6.7.16
Multiply by .
Step 1.6.7.17
Multiply by .
Step 1.6.7.18
Subtract from .
Step 1.6.7.19
Subtract from .
Step 1.6.7.20
Add and .
Step 1.6.7.21
Add and .
Step 2
Find the second derivative of the function.
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
Differentiate using the Power Rule which states that is where .
Step 2.2.3
Multiply by .
Step 2.3
Differentiate using the Constant Rule.
Tap for more steps...
Step 2.3.1
Since is constant with respect to , the derivative of with respect to is .
Step 2.3.2
Add and .
Step 3
To find the local maximum and minimum values of the function, set the derivative equal to and solve.
Step 4
Find the first derivative.
Tap for more steps...
Step 4.1
Find the first derivative.
Tap for more steps...
Step 4.1.1
Since is constant with respect to , the derivative of with respect to is .
Step 4.1.2
Differentiate using the Product Rule which states that is where and .
Step 4.1.3
Differentiate.
Tap for more steps...
Step 4.1.3.1
By the Sum Rule, the derivative of with respect to is .
Step 4.1.3.2
Differentiate using the Power Rule which states that is where .
Step 4.1.3.3
Since is constant with respect to , the derivative of with respect to is .
Step 4.1.3.4
Simplify the expression.
Tap for more steps...
Step 4.1.3.4.1
Add and .
Step 4.1.3.4.2
Multiply by .
Step 4.1.4
Differentiate using the Product Rule which states that is where and .
Step 4.1.5
Differentiate.
Tap for more steps...
Step 4.1.5.1
By the Sum Rule, the derivative of with respect to is .
Step 4.1.5.2
Differentiate using the Power Rule which states that is where .
Step 4.1.5.3
Since is constant with respect to , the derivative of with respect to is .
Step 4.1.5.4
Simplify the expression.
Tap for more steps...
Step 4.1.5.4.1
Add and .
Step 4.1.5.4.2
Multiply by .
Step 4.1.5.5
Differentiate using the Power Rule which states that is where .
Step 4.1.5.6
Simplify by adding terms.
Tap for more steps...
Step 4.1.5.6.1
Multiply by .
Step 4.1.5.6.2
Add and .
Step 4.1.6
Simplify.
Tap for more steps...
Step 4.1.6.1
Apply the distributive property.
Step 4.1.6.2
Apply the distributive property.
Step 4.1.6.3
Apply the distributive property.
Step 4.1.6.4
Apply the distributive property.
Step 4.1.6.5
Apply the distributive property.
Step 4.1.6.6
Apply the distributive property.
Step 4.1.6.7
Combine terms.
Tap for more steps...
Step 4.1.6.7.1
Raise to the power of .
Step 4.1.6.7.2
Raise to the power of .
Step 4.1.6.7.3
Use the power rule to combine exponents.
Step 4.1.6.7.4
Add and .
Step 4.1.6.7.5
Move to the left of .
Step 4.1.6.7.6
Multiply by .
Step 4.1.6.7.7
Raise to the power of .
Step 4.1.6.7.8
Raise to the power of .
Step 4.1.6.7.9
Use the power rule to combine exponents.
Step 4.1.6.7.10
Add and .
Step 4.1.6.7.11
Multiply by .
Step 4.1.6.7.12
Multiply by .
Step 4.1.6.7.13
Multiply by .
Step 4.1.6.7.14
Move to the left of .
Step 4.1.6.7.15
Multiply by .
Step 4.1.6.7.16
Multiply by .
Step 4.1.6.7.17
Multiply by .
Step 4.1.6.7.18
Subtract from .
Step 4.1.6.7.19
Subtract from .
Step 4.1.6.7.20
Add and .
Step 4.1.6.7.21
Add and .
Step 4.2
The first derivative of with respect to is .
Step 5
Set the first derivative equal to then solve the equation .
Tap for more steps...
Step 5.1
Set the first derivative equal to .
Step 5.2
Subtract from both sides of the equation.
Step 5.3
Divide each term in by and simplify.
Tap for more steps...
Step 5.3.1
Divide each term in by .
Step 5.3.2
Simplify the left side.
Tap for more steps...
Step 5.3.2.1
Cancel the common factor of .
Tap for more steps...
Step 5.3.2.1.1
Cancel the common factor.
Step 5.3.2.1.2
Divide by .
Step 5.3.3
Simplify the right side.
Tap for more steps...
Step 5.3.3.1
Dividing two negative values results in a positive value.
Step 5.4
Take the specified root of both sides of the equation to eliminate the exponent on the left side.
Step 5.5
Simplify .
Tap for more steps...
Step 5.5.1
Rewrite as .
Step 5.5.2
Simplify the numerator.
Tap for more steps...
Step 5.5.2.1
Rewrite as .
Step 5.5.2.2
Pull terms out from under the radical, assuming positive real numbers.
Step 5.5.3
Multiply by .
Step 5.5.4
Combine and simplify the denominator.
Tap for more steps...
Step 5.5.4.1
Multiply by .
Step 5.5.4.2
Raise to the power of .
Step 5.5.4.3
Raise to the power of .
Step 5.5.4.4
Use the power rule to combine exponents.
Step 5.5.4.5
Add and .
Step 5.5.4.6
Rewrite as .
Tap for more steps...
Step 5.5.4.6.1
Use to rewrite as .
Step 5.5.4.6.2
Apply the power rule and multiply exponents, .
Step 5.5.4.6.3
Combine and .
Step 5.5.4.6.4
Cancel the common factor of .
Tap for more steps...
Step 5.5.4.6.4.1
Cancel the common factor.
Step 5.5.4.6.4.2
Rewrite the expression.
Step 5.5.4.6.5
Evaluate the exponent.
Step 5.6
The complete solution is the result of both the positive and negative portions of the solution.
Tap for more steps...
Step 5.6.1
First, use the positive value of the to find the first solution.
Step 5.6.2
Next, use the negative value of the to find the second solution.
Step 5.6.3
The complete solution is the result of both the positive and negative portions of the solution.
Step 6
Find the values where the derivative is undefined.
Tap for more steps...
Step 6.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 7
Critical points to evaluate.
Step 8
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 9
Evaluate the second derivative.
Tap for more steps...
Step 9.1
Cancel the common factor of .
Tap for more steps...
Step 9.1.1
Factor out of .
Step 9.1.2
Cancel the common factor.
Step 9.1.3
Rewrite the expression.
Step 9.2
Multiply by .
Step 10
is a local maximum because the value of the second derivative is negative. This is referred to as the second derivative test.
is a local maximum
Step 11
Find the y-value when .
Tap for more steps...
Step 11.1
Replace the variable with in the expression.
Step 11.2
Simplify the result.
Tap for more steps...
Step 11.2.1
Apply the distributive property.
Step 11.2.2
Multiply .
Tap for more steps...
Step 11.2.2.1
Multiply by .
Step 11.2.2.2
Multiply by .
Step 11.2.2.3
Raise to the power of .
Step 11.2.2.4
Raise to the power of .
Step 11.2.2.5
Use the power rule to combine exponents.
Step 11.2.2.6
Add and .
Step 11.2.2.7
Multiply by .
Step 11.2.3
Multiply .
Tap for more steps...
Step 11.2.3.1
Multiply by .
Step 11.2.3.2
Combine and .
Step 11.2.3.3
Multiply by .
Step 11.2.4
Simplify each term.
Tap for more steps...
Step 11.2.4.1
Rewrite as .
Tap for more steps...
Step 11.2.4.1.1
Use to rewrite as .
Step 11.2.4.1.2
Apply the power rule and multiply exponents, .
Step 11.2.4.1.3
Combine and .
Step 11.2.4.1.4
Cancel the common factor of .
Tap for more steps...
Step 11.2.4.1.4.1
Cancel the common factor.
Step 11.2.4.1.4.2
Rewrite the expression.
Step 11.2.4.1.5
Evaluate the exponent.
Step 11.2.4.2
Multiply by .
Step 11.2.4.3
Cancel the common factor of and .
Tap for more steps...
Step 11.2.4.3.1
Factor out of .
Step 11.2.4.3.2
Cancel the common factors.
Tap for more steps...
Step 11.2.4.3.2.1
Factor out of .
Step 11.2.4.3.2.2
Cancel the common factor.
Step 11.2.4.3.2.3
Rewrite the expression.
Step 11.2.4.4
Move the negative in front of the fraction.
Step 11.2.5
Expand using the FOIL Method.
Tap for more steps...
Step 11.2.5.1
Apply the distributive property.
Step 11.2.5.2
Apply the distributive property.
Step 11.2.5.3
Apply the distributive property.
Step 11.2.6
Simplify and combine like terms.
Tap for more steps...
Step 11.2.6.1
Simplify each term.
Tap for more steps...
Step 11.2.6.1.1
Multiply .
Tap for more steps...
Step 11.2.6.1.1.1
Multiply by .
Step 11.2.6.1.1.2
Multiply by .
Step 11.2.6.1.1.3
Multiply by .
Step 11.2.6.1.2
Multiply .
Tap for more steps...
Step 11.2.6.1.2.1
Multiply by .
Step 11.2.6.1.2.2
Combine and .
Step 11.2.6.1.2.3
Multiply by .
Step 11.2.6.1.3
Multiply .
Tap for more steps...
Step 11.2.6.1.3.1
Multiply by .
Step 11.2.6.1.3.2
Multiply by .
Step 11.2.6.1.3.3
Raise to the power of .
Step 11.2.6.1.3.4
Raise to the power of .
Step 11.2.6.1.3.5
Use the power rule to combine exponents.
Step 11.2.6.1.3.6
Add and .
Step 11.2.6.1.3.7
Multiply by .
Step 11.2.6.1.4
Rewrite as .
Tap for more steps...
Step 11.2.6.1.4.1
Use to rewrite as .
Step 11.2.6.1.4.2
Apply the power rule and multiply exponents, .
Step 11.2.6.1.4.3
Combine and .
Step 11.2.6.1.4.4
Cancel the common factor of .
Tap for more steps...
Step 11.2.6.1.4.4.1
Cancel the common factor.
Step 11.2.6.1.4.4.2
Rewrite the expression.
Step 11.2.6.1.4.5
Evaluate the exponent.
Step 11.2.6.1.5
Multiply by .
Step 11.2.6.1.6
Cancel the common factor of and .
Tap for more steps...
Step 11.2.6.1.6.1
Factor out of .
Step 11.2.6.1.6.2
Cancel the common factors.
Tap for more steps...
Step 11.2.6.1.6.2.1
Factor out of .
Step 11.2.6.1.6.2.2
Cancel the common factor.
Step 11.2.6.1.6.2.3
Rewrite the expression.
Step 11.2.6.1.7
Multiply .
Tap for more steps...
Step 11.2.6.1.7.1
Multiply by .
Step 11.2.6.1.7.2
Combine and .
Step 11.2.6.1.7.3
Multiply by .
Step 11.2.6.2
To write as a fraction with a common denominator, multiply by .
Step 11.2.6.3
Write each expression with a common denominator of , by multiplying each by an appropriate factor of .
Tap for more steps...
Step 11.2.6.3.1
Multiply by .
Step 11.2.6.3.2
Multiply by .
Step 11.2.6.4
Combine the numerators over the common denominator.
Step 11.2.6.5
To write as a fraction with a common denominator, multiply by .
Step 11.2.6.6
Write each expression with a common denominator of , by multiplying each by an appropriate factor of .
Tap for more steps...
Step 11.2.6.6.1
Multiply by .
Step 11.2.6.6.2
Multiply by .
Step 11.2.6.7
Combine the numerators over the common denominator.
Step 11.2.6.8
To write as a fraction with a common denominator, multiply by .
Step 11.2.6.9
Write each expression with a common denominator of , by multiplying each by an appropriate factor of .
Tap for more steps...
Step 11.2.6.9.1
Multiply by .
Step 11.2.6.9.2
Multiply by .
Step 11.2.6.10
Combine the numerators over the common denominator.
Step 11.2.7
Simplify the numerator.
Tap for more steps...
Step 11.2.7.1
Multiply by .
Step 11.2.7.2
Multiply by .
Step 11.2.7.3
Multiply by .
Step 11.2.7.4
Add and .
Step 11.2.7.5
Subtract from .
Step 11.2.7.6
Add and .
Step 11.2.8
The final answer is .
Step 12
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 13
Evaluate the second derivative.
Tap for more steps...
Step 13.1
Cancel the common factor of .
Tap for more steps...
Step 13.1.1
Move the leading negative in into the numerator.
Step 13.1.2
Factor out of .
Step 13.1.3
Cancel the common factor.
Step 13.1.4
Rewrite the expression.
Step 13.2
Multiply by .
Step 14
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 15
Find the y-value when .
Tap for more steps...
Step 15.1
Replace the variable with in the expression.
Step 15.2
Simplify the result.
Tap for more steps...
Step 15.2.1
Apply the distributive property.
Step 15.2.2
Multiply .
Tap for more steps...
Step 15.2.2.1
Multiply by .
Step 15.2.2.2
Multiply by .
Step 15.2.2.3
Raise to the power of .
Step 15.2.2.4
Raise to the power of .
Step 15.2.2.5
Use the power rule to combine exponents.
Step 15.2.2.6
Add and .
Step 15.2.2.7
Multiply by .
Step 15.2.3
Multiply .
Tap for more steps...
Step 15.2.3.1
Combine and .
Step 15.2.3.2
Multiply by .
Step 15.2.4
Simplify each term.
Tap for more steps...
Step 15.2.4.1
Rewrite as .
Tap for more steps...
Step 15.2.4.1.1
Use to rewrite as .
Step 15.2.4.1.2
Apply the power rule and multiply exponents, .
Step 15.2.4.1.3
Combine and .
Step 15.2.4.1.4
Cancel the common factor of .
Tap for more steps...
Step 15.2.4.1.4.1
Cancel the common factor.
Step 15.2.4.1.4.2
Rewrite the expression.
Step 15.2.4.1.5
Evaluate the exponent.
Step 15.2.4.2
Multiply by .
Step 15.2.4.3
Cancel the common factor of and .
Tap for more steps...
Step 15.2.4.3.1
Factor out of .
Step 15.2.4.3.2
Cancel the common factors.
Tap for more steps...
Step 15.2.4.3.2.1
Factor out of .
Step 15.2.4.3.2.2
Cancel the common factor.
Step 15.2.4.3.2.3
Rewrite the expression.
Step 15.2.5
Expand using the FOIL Method.
Tap for more steps...
Step 15.2.5.1
Apply the distributive property.
Step 15.2.5.2
Apply the distributive property.
Step 15.2.5.3
Apply the distributive property.
Step 15.2.6
Simplify and combine like terms.
Tap for more steps...
Step 15.2.6.1
Simplify each term.
Tap for more steps...
Step 15.2.6.1.1
Multiply .
Tap for more steps...
Step 15.2.6.1.1.1
Multiply by .
Step 15.2.6.1.1.2
Multiply by .
Step 15.2.6.1.1.3
Multiply by .
Step 15.2.6.1.1.4
Multiply by .
Step 15.2.6.1.1.5
Multiply by .
Step 15.2.6.1.2
Multiply .
Tap for more steps...
Step 15.2.6.1.2.1
Multiply by .
Step 15.2.6.1.2.2
Combine and .
Step 15.2.6.1.2.3
Multiply by .
Step 15.2.6.1.3
Multiply .
Tap for more steps...
Step 15.2.6.1.3.1
Multiply by .
Step 15.2.6.1.3.2
Multiply by .
Step 15.2.6.1.3.3
Raise to the power of .
Step 15.2.6.1.3.4
Raise to the power of .
Step 15.2.6.1.3.5
Use the power rule to combine exponents.
Step 15.2.6.1.3.6
Add and .
Step 15.2.6.1.3.7
Multiply by .
Step 15.2.6.1.4
Rewrite as .
Tap for more steps...
Step 15.2.6.1.4.1
Use to rewrite as .
Step 15.2.6.1.4.2
Apply the power rule and multiply exponents, .
Step 15.2.6.1.4.3
Combine and .
Step 15.2.6.1.4.4
Cancel the common factor of .
Tap for more steps...
Step 15.2.6.1.4.4.1
Cancel the common factor.
Step 15.2.6.1.4.4.2
Rewrite the expression.
Step 15.2.6.1.4.5
Evaluate the exponent.
Step 15.2.6.1.5
Multiply by .
Step 15.2.6.1.6
Cancel the common factor of and .
Tap for more steps...
Step 15.2.6.1.6.1
Factor out of .
Step 15.2.6.1.6.2
Cancel the common factors.
Tap for more steps...
Step 15.2.6.1.6.2.1
Factor out of .
Step 15.2.6.1.6.2.2
Cancel the common factor.
Step 15.2.6.1.6.2.3
Rewrite the expression.
Step 15.2.6.1.7
Multiply .
Tap for more steps...
Step 15.2.6.1.7.1
Combine and .
Step 15.2.6.1.7.2
Multiply by .
Step 15.2.6.1.8
Move the negative in front of the fraction.
Step 15.2.6.2
To write as a fraction with a common denominator, multiply by .
Step 15.2.6.3
Write each expression with a common denominator of , by multiplying each by an appropriate factor of .
Tap for more steps...
Step 15.2.6.3.1
Multiply by .
Step 15.2.6.3.2
Multiply by .
Step 15.2.6.4
Combine the numerators over the common denominator.
Step 15.2.6.5
To write as a fraction with a common denominator, multiply by .
Step 15.2.6.6
Write each expression with a common denominator of , by multiplying each by an appropriate factor of .
Tap for more steps...
Step 15.2.6.6.1
Multiply by .
Step 15.2.6.6.2
Multiply by .
Step 15.2.6.7
Combine the numerators over the common denominator.
Step 15.2.6.8
To write as a fraction with a common denominator, multiply by .
Step 15.2.6.9
Write each expression with a common denominator of , by multiplying each by an appropriate factor of .
Tap for more steps...
Step 15.2.6.9.1
Multiply by .
Step 15.2.6.9.2
Multiply by .
Step 15.2.6.10
Combine the numerators over the common denominator.
Step 15.2.7
Simplify the numerator.
Tap for more steps...
Step 15.2.7.1
Multiply by .
Step 15.2.7.2
Multiply by .
Step 15.2.7.3
Multiply by .
Step 15.2.7.4
Subtract from .
Step 15.2.7.5
Subtract from .
Step 15.2.7.6
Add and .
Step 15.2.8
Move the negative in front of the fraction.
Step 15.2.9
The final answer is .
Step 16
These are the local extrema for .
is a local maxima
is a local minima
Step 17