Calculus Examples

Find the Maximum/Minimum Value f(x)=x^5-4x^3+4x-1
Step 1
Find the first derivative of the function.
Tap for more steps...
Step 1.1
Differentiate.
Tap for more steps...
Step 1.1.1
By the Sum Rule, the derivative of with respect to is .
Step 1.1.2
Differentiate using the Power Rule which states that is where .
Step 1.2
Evaluate .
Tap for more steps...
Step 1.2.1
Since is constant with respect to , the derivative of with respect to is .
Step 1.2.2
Differentiate using the Power Rule which states that is where .
Step 1.2.3
Multiply by .
Step 1.3
Evaluate .
Tap for more steps...
Step 1.3.1
Since is constant with respect to , 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
Multiply by .
Step 1.4
Differentiate using the Constant Rule.
Tap for more steps...
Step 1.4.1
Since is constant with respect to , the derivative of with respect to is .
Step 1.4.2
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
Evaluate .
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
Differentiate using the Power Rule which states that is where .
Step 2.3.3
Multiply by .
Step 2.4
Differentiate using the Constant Rule.
Tap for more steps...
Step 2.4.1
Since is constant with respect to , the derivative of with respect to is .
Step 2.4.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
Differentiate.
Tap for more steps...
Step 4.1.1.1
By the Sum Rule, the derivative of with respect to is .
Step 4.1.1.2
Differentiate using the Power Rule which states that is where .
Step 4.1.2
Evaluate .
Tap for more steps...
Step 4.1.2.1
Since is constant with respect to , the derivative of with respect to is .
Step 4.1.2.2
Differentiate using the Power Rule which states that is where .
Step 4.1.2.3
Multiply by .
Step 4.1.3
Evaluate .
Tap for more steps...
Step 4.1.3.1
Since is constant with respect to , 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
Multiply by .
Step 4.1.4
Differentiate using the Constant Rule.
Tap for more steps...
Step 4.1.4.1
Since is constant with respect to , the derivative of with respect to is .
Step 4.1.4.2
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
Substitute into the equation. This will make the quadratic formula easy to use.
Step 5.3
Factor by grouping.
Tap for more steps...
Step 5.3.1
For a polynomial of the form , rewrite the middle term as a sum of two terms whose product is and whose sum is .
Tap for more steps...
Step 5.3.1.1
Factor out of .
Step 5.3.1.2
Rewrite as plus
Step 5.3.1.3
Apply the distributive property.
Step 5.3.2
Factor out the greatest common factor from each group.
Tap for more steps...
Step 5.3.2.1
Group the first two terms and the last two terms.
Step 5.3.2.2
Factor out the greatest common factor (GCF) from each group.
Step 5.3.3
Factor the polynomial by factoring out the greatest common factor, .
Step 5.4
If any individual factor on the left side of the equation is equal to , the entire expression will be equal to .
Step 5.5
Set equal to and solve for .
Tap for more steps...
Step 5.5.1
Set equal to .
Step 5.5.2
Solve for .
Tap for more steps...
Step 5.5.2.1
Add to both sides of the equation.
Step 5.5.2.2
Divide each term in by and simplify.
Tap for more steps...
Step 5.5.2.2.1
Divide each term in by .
Step 5.5.2.2.2
Simplify the left side.
Tap for more steps...
Step 5.5.2.2.2.1
Cancel the common factor of .
Tap for more steps...
Step 5.5.2.2.2.1.1
Cancel the common factor.
Step 5.5.2.2.2.1.2
Divide by .
Step 5.6
Set equal to and solve for .
Tap for more steps...
Step 5.6.1
Set equal to .
Step 5.6.2
Add to both sides of the equation.
Step 5.7
The final solution is all the values that make true.
Step 5.8
Substitute the real value of back into the solved equation.
Step 5.9
Solve the first equation for .
Step 5.10
Solve the equation for .
Tap for more steps...
Step 5.10.1
Take the specified root of both sides of the equation to eliminate the exponent on the left side.
Step 5.10.2
Simplify .
Tap for more steps...
Step 5.10.2.1
Rewrite as .
Step 5.10.2.2
Multiply by .
Step 5.10.2.3
Combine and simplify the denominator.
Tap for more steps...
Step 5.10.2.3.1
Multiply by .
Step 5.10.2.3.2
Raise to the power of .
Step 5.10.2.3.3
Raise to the power of .
Step 5.10.2.3.4
Use the power rule to combine exponents.
Step 5.10.2.3.5
Add and .
Step 5.10.2.3.6
Rewrite as .
Tap for more steps...
Step 5.10.2.3.6.1
Use to rewrite as .
Step 5.10.2.3.6.2
Apply the power rule and multiply exponents, .
Step 5.10.2.3.6.3
Combine and .
Step 5.10.2.3.6.4
Cancel the common factor of .
Tap for more steps...
Step 5.10.2.3.6.4.1
Cancel the common factor.
Step 5.10.2.3.6.4.2
Rewrite the expression.
Step 5.10.2.3.6.5
Evaluate the exponent.
Step 5.10.2.4
Simplify the numerator.
Tap for more steps...
Step 5.10.2.4.1
Combine using the product rule for radicals.
Step 5.10.2.4.2
Multiply by .
Step 5.10.3
The complete solution is the result of both the positive and negative portions of the solution.
Tap for more steps...
Step 5.10.3.1
First, use the positive value of the to find the first solution.
Step 5.10.3.2
Next, use the negative value of the to find the second solution.
Step 5.10.3.3
The complete solution is the result of both the positive and negative portions of the solution.
Step 5.11
Solve the second equation for .
Step 5.12
Solve the equation for .
Tap for more steps...
Step 5.12.1
Remove parentheses.
Step 5.12.2
Take the specified root of both sides of the equation to eliminate the exponent on the left side.
Step 5.12.3
The complete solution is the result of both the positive and negative portions of the solution.
Tap for more steps...
Step 5.12.3.1
First, use the positive value of the to find the first solution.
Step 5.12.3.2
Next, use the negative value of the to find the second solution.
Step 5.12.3.3
The complete solution is the result of both the positive and negative portions of the solution.
Step 5.13
The solution to is .
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
Simplify each term.
Tap for more steps...
Step 9.1.1
Apply the product rule to .
Step 9.1.2
Simplify the numerator.
Tap for more steps...
Step 9.1.2.1
Rewrite as .
Step 9.1.2.2
Raise to the power of .
Step 9.1.2.3
Rewrite as .
Tap for more steps...
Step 9.1.2.3.1
Factor out of .
Step 9.1.2.3.2
Rewrite as .
Step 9.1.2.4
Pull terms out from under the radical.
Step 9.1.3
Raise to the power of .
Step 9.1.4
Cancel the common factor of .
Tap for more steps...
Step 9.1.4.1
Factor out of .
Step 9.1.4.2
Factor out of .
Step 9.1.4.3
Cancel the common factor.
Step 9.1.4.4
Rewrite the expression.
Step 9.1.5
Combine and .
Step 9.1.6
Multiply by .
Step 9.1.7
Cancel the common factor of and .
Tap for more steps...
Step 9.1.7.1
Factor out of .
Step 9.1.7.2
Cancel the common factors.
Tap for more steps...
Step 9.1.7.2.1
Factor out of .
Step 9.1.7.2.2
Cancel the common factor.
Step 9.1.7.2.3
Rewrite the expression.
Step 9.1.8
Combine and .
Step 9.1.9
Move the negative in front of the fraction.
Step 9.2
Simplify terms.
Tap for more steps...
Step 9.2.1
Combine the numerators over the common denominator.
Step 9.2.2
Subtract from .
Step 9.2.3
Move the negative in front of the fraction.
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
Simplify each term.
Tap for more steps...
Step 11.2.1.1
Apply the product rule to .
Step 11.2.1.2
Simplify the numerator.
Tap for more steps...
Step 11.2.1.2.1
Rewrite as .
Step 11.2.1.2.2
Raise to the power of .
Step 11.2.1.2.3
Rewrite as .
Tap for more steps...
Step 11.2.1.2.3.1
Factor out of .
Step 11.2.1.2.3.2
Rewrite as .
Step 11.2.1.2.4
Pull terms out from under the radical.
Step 11.2.1.3
Raise to the power of .
Step 11.2.1.4
Cancel the common factor of and .
Tap for more steps...
Step 11.2.1.4.1
Factor out of .
Step 11.2.1.4.2
Cancel the common factors.
Tap for more steps...
Step 11.2.1.4.2.1
Factor out of .
Step 11.2.1.4.2.2
Cancel the common factor.
Step 11.2.1.4.2.3
Rewrite the expression.
Step 11.2.1.5
Apply the product rule to .
Step 11.2.1.6
Simplify the numerator.
Tap for more steps...
Step 11.2.1.6.1
Rewrite as .
Step 11.2.1.6.2
Raise to the power of .
Step 11.2.1.6.3
Rewrite as .
Tap for more steps...
Step 11.2.1.6.3.1
Factor out of .
Step 11.2.1.6.3.2
Rewrite as .
Step 11.2.1.6.4
Pull terms out from under the radical.
Step 11.2.1.7
Raise to the power of .
Step 11.2.1.8
Cancel the common factor of and .
Tap for more steps...
Step 11.2.1.8.1
Factor out of .
Step 11.2.1.8.2
Cancel the common factors.
Tap for more steps...
Step 11.2.1.8.2.1
Factor out of .
Step 11.2.1.8.2.2
Cancel the common factor.
Step 11.2.1.8.2.3
Rewrite the expression.
Step 11.2.1.9
Multiply .
Tap for more steps...
Step 11.2.1.9.1
Combine and .
Step 11.2.1.9.2
Multiply by .
Step 11.2.1.10
Move the negative in front of the fraction.
Step 11.2.1.11
Combine and .
Step 11.2.2
To write as a fraction with a common denominator, multiply by .
Step 11.2.3
Write each expression with a common denominator of , by multiplying each by an appropriate factor of .
Tap for more steps...
Step 11.2.3.1
Multiply by .
Step 11.2.3.2
Multiply by .
Step 11.2.4
Combine the numerators over the common denominator.
Step 11.2.5
Simplify each term.
Tap for more steps...
Step 11.2.5.1
Simplify the numerator.
Tap for more steps...
Step 11.2.5.1.1
Multiply by .
Step 11.2.5.1.2
Subtract from .
Step 11.2.5.2
Move the negative in front of the fraction.
Step 11.2.6
To write as a fraction with a common denominator, multiply by .
Step 11.2.7
Write each expression with a common denominator of , by multiplying each by an appropriate factor of .
Tap for more steps...
Step 11.2.7.1
Multiply by .
Step 11.2.7.2
Multiply by .
Step 11.2.8
Combine the numerators over the common denominator.
Step 11.2.9
Simplify the numerator.
Tap for more steps...
Step 11.2.9.1
Multiply by .
Step 11.2.9.2
Add and .
Step 11.2.10
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
Simplify each term.
Tap for more steps...
Step 13.1.1
Use the power rule to distribute the exponent.
Tap for more steps...
Step 13.1.1.1
Apply the product rule to .
Step 13.1.1.2
Apply the product rule to .
Step 13.1.2
Raise to the power of .
Step 13.1.3
Simplify the numerator.
Tap for more steps...
Step 13.1.3.1
Rewrite as .
Step 13.1.3.2
Raise to the power of .
Step 13.1.3.3
Rewrite as .
Tap for more steps...
Step 13.1.3.3.1
Factor out of .
Step 13.1.3.3.2
Rewrite as .
Step 13.1.3.4
Pull terms out from under the radical.
Step 13.1.4
Raise to the power of .
Step 13.1.5
Cancel the common factor of .
Tap for more steps...
Step 13.1.5.1
Move the leading negative in into the numerator.
Step 13.1.5.2
Factor out of .
Step 13.1.5.3
Factor out of .
Step 13.1.5.4
Cancel the common factor.
Step 13.1.5.5
Rewrite the expression.
Step 13.1.6
Combine and .
Step 13.1.7
Multiply by .
Step 13.1.8
Cancel the common factor of and .
Tap for more steps...
Step 13.1.8.1
Factor out of .
Step 13.1.8.2
Cancel the common factors.
Tap for more steps...
Step 13.1.8.2.1
Factor out of .
Step 13.1.8.2.2
Cancel the common factor.
Step 13.1.8.2.3
Rewrite the expression.
Step 13.1.9
Move the negative in front of the fraction.
Step 13.1.10
Multiply .
Tap for more steps...
Step 13.1.10.1
Multiply by .
Step 13.1.10.2
Combine and .
Step 13.2
Simplify terms.
Tap for more steps...
Step 13.2.1
Combine the numerators over the common denominator.
Step 13.2.2
Add and .
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
Simplify each term.
Tap for more steps...
Step 15.2.1.1
Use the power rule to distribute the exponent.
Tap for more steps...
Step 15.2.1.1.1
Apply the product rule to .
Step 15.2.1.1.2
Apply the product rule to .
Step 15.2.1.2
Raise to the power of .
Step 15.2.1.3
Simplify the numerator.
Tap for more steps...
Step 15.2.1.3.1
Rewrite as .
Step 15.2.1.3.2
Raise to the power of .
Step 15.2.1.3.3
Rewrite as .
Tap for more steps...
Step 15.2.1.3.3.1
Factor out of .
Step 15.2.1.3.3.2
Rewrite as .
Step 15.2.1.3.4
Pull terms out from under the radical.
Step 15.2.1.4
Raise to the power of .
Step 15.2.1.5
Cancel the common factor of and .
Tap for more steps...
Step 15.2.1.5.1
Factor out of .
Step 15.2.1.5.2
Cancel the common factors.
Tap for more steps...
Step 15.2.1.5.2.1
Factor out of .
Step 15.2.1.5.2.2
Cancel the common factor.
Step 15.2.1.5.2.3
Rewrite the expression.
Step 15.2.1.6
Use the power rule to distribute the exponent.
Tap for more steps...
Step 15.2.1.6.1
Apply the product rule to .
Step 15.2.1.6.2
Apply the product rule to .
Step 15.2.1.7
Raise to the power of .
Step 15.2.1.8
Simplify the numerator.
Tap for more steps...
Step 15.2.1.8.1
Rewrite as .
Step 15.2.1.8.2
Raise to the power of .
Step 15.2.1.8.3
Rewrite as .
Tap for more steps...
Step 15.2.1.8.3.1
Factor out of .
Step 15.2.1.8.3.2
Rewrite as .
Step 15.2.1.8.4
Pull terms out from under the radical.
Step 15.2.1.9
Raise to the power of .
Step 15.2.1.10
Cancel the common factor of and .
Tap for more steps...
Step 15.2.1.10.1
Factor out of .
Step 15.2.1.10.2
Cancel the common factors.
Tap for more steps...
Step 15.2.1.10.2.1
Factor out of .
Step 15.2.1.10.2.2
Cancel the common factor.
Step 15.2.1.10.2.3
Rewrite the expression.
Step 15.2.1.11
Multiply .
Tap for more steps...
Step 15.2.1.11.1
Multiply by .
Step 15.2.1.11.2
Combine and .
Step 15.2.1.11.3
Multiply by .
Step 15.2.1.12
Multiply .
Tap for more steps...
Step 15.2.1.12.1
Multiply by .
Step 15.2.1.12.2
Combine and .
Step 15.2.1.13
Move the negative in front of the fraction.
Step 15.2.2
To write as a fraction with a common denominator, multiply by .
Step 15.2.3
Write each expression with a common denominator of , by multiplying each by an appropriate factor of .
Tap for more steps...
Step 15.2.3.1
Multiply by .
Step 15.2.3.2
Multiply by .
Step 15.2.4
Combine the numerators over the common denominator.
Step 15.2.5
Simplify the numerator.
Tap for more steps...
Step 15.2.5.1
Multiply by .
Step 15.2.5.2
Add and .
Step 15.2.6
To write as a fraction with a common denominator, multiply by .
Step 15.2.7
Write each expression with a common denominator of , by multiplying each by an appropriate factor of .
Tap for more steps...
Step 15.2.7.1
Multiply by .
Step 15.2.7.2
Multiply by .
Step 15.2.8
Combine the numerators over the common denominator.
Step 15.2.9
Simplify each term.
Tap for more steps...
Step 15.2.9.1
Simplify the numerator.
Tap for more steps...
Step 15.2.9.1.1
Multiply by .
Step 15.2.9.1.2
Subtract from .
Step 15.2.9.2
Move the negative in front of the fraction.
Step 15.2.10
The final answer is .
Step 16
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 17
Evaluate the second derivative.
Tap for more steps...
Step 17.1
Simplify each term.
Tap for more steps...
Step 17.1.1
Rewrite as .
Step 17.1.2
Raise to the power of .
Step 17.1.3
Rewrite as .
Tap for more steps...
Step 17.1.3.1
Factor out of .
Step 17.1.3.2
Rewrite as .
Step 17.1.4
Pull terms out from under the radical.
Step 17.1.5
Multiply by .
Step 17.2
Subtract from .
Step 18
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 19
Find the y-value when .
Tap for more steps...
Step 19.1
Replace the variable with in the expression.
Step 19.2
Simplify the result.
Tap for more steps...
Step 19.2.1
Simplify each term.
Tap for more steps...
Step 19.2.1.1
Rewrite as .
Step 19.2.1.2
Raise to the power of .
Step 19.2.1.3
Rewrite as .
Tap for more steps...
Step 19.2.1.3.1
Factor out of .
Step 19.2.1.3.2
Rewrite as .
Step 19.2.1.4
Pull terms out from under the radical.
Step 19.2.1.5
Rewrite as .
Step 19.2.1.6
Raise to the power of .
Step 19.2.1.7
Rewrite as .
Tap for more steps...
Step 19.2.1.7.1
Factor out of .
Step 19.2.1.7.2
Rewrite as .
Step 19.2.1.8
Pull terms out from under the radical.
Step 19.2.1.9
Multiply by .
Step 19.2.2
Simplify by adding terms.
Tap for more steps...
Step 19.2.2.1
Subtract from .
Step 19.2.2.2
Add and .
Step 19.2.2.3
Subtract from .
Step 19.2.3
The final answer is .
Step 20
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 21
Evaluate the second derivative.
Tap for more steps...
Step 21.1
Simplify each term.
Tap for more steps...
Step 21.1.1
Apply the product rule to .
Step 21.1.2
Raise to the power of .
Step 21.1.3
Rewrite as .
Step 21.1.4
Raise to the power of .
Step 21.1.5
Rewrite as .
Tap for more steps...
Step 21.1.5.1
Factor out of .
Step 21.1.5.2
Rewrite as .
Step 21.1.6
Pull terms out from under the radical.
Step 21.1.7
Multiply by .
Step 21.1.8
Multiply by .
Step 21.1.9
Multiply by .
Step 21.2
Add and .
Step 22
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 23
Find the y-value when .
Tap for more steps...
Step 23.1
Replace the variable with in the expression.
Step 23.2
Simplify the result.
Tap for more steps...
Step 23.2.1
Simplify each term.
Tap for more steps...
Step 23.2.1.1
Apply the product rule to .
Step 23.2.1.2
Raise to the power of .
Step 23.2.1.3
Rewrite as .
Step 23.2.1.4
Raise to the power of .
Step 23.2.1.5
Rewrite as .
Tap for more steps...
Step 23.2.1.5.1
Factor out of .
Step 23.2.1.5.2
Rewrite as .
Step 23.2.1.6
Pull terms out from under the radical.
Step 23.2.1.7
Multiply by .
Step 23.2.1.8
Apply the product rule to .
Step 23.2.1.9
Raise to the power of .
Step 23.2.1.10
Rewrite as .
Step 23.2.1.11
Raise to the power of .
Step 23.2.1.12
Rewrite as .
Tap for more steps...
Step 23.2.1.12.1
Factor out of .
Step 23.2.1.12.2
Rewrite as .
Step 23.2.1.13
Pull terms out from under the radical.
Step 23.2.1.14
Multiply by .
Step 23.2.1.15
Multiply by .
Step 23.2.1.16
Multiply by .
Step 23.2.2
Simplify by adding terms.
Tap for more steps...
Step 23.2.2.1
Add and .
Step 23.2.2.2
Subtract from .
Step 23.2.2.3
Subtract from .
Step 23.2.3
The final answer is .
Step 24
These are the local extrema for .
is a local maxima
is a local minima
is a local minima
is a local maxima
Step 25