Calculus Examples

Find the Maximum/Minimum Value f(x)=(x-2 square root of x)^2
Step 1
Find the first derivative of the function.
Tap for more steps...
Step 1.1
Use to rewrite as .
Step 1.2
Differentiate using the chain rule, which states that is where and .
Tap for more steps...
Step 1.2.1
To apply the Chain Rule, set as .
Step 1.2.2
Differentiate using the Power Rule which states that is where .
Step 1.2.3
Replace all occurrences of with .
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
Differentiate using the Power Rule which states that is where .
Step 1.4
To write as a fraction with a common denominator, multiply by .
Step 1.5
Combine and .
Step 1.6
Combine the numerators over the common denominator.
Step 1.7
Simplify the numerator.
Tap for more steps...
Step 1.7.1
Multiply by .
Step 1.7.2
Subtract from .
Step 1.8
Move the negative in front of the fraction.
Step 1.9
Combine and .
Step 1.10
Combine and .
Step 1.11
Move to the denominator using the negative exponent rule .
Step 1.12
Factor out of .
Step 1.13
Cancel the common factors.
Tap for more steps...
Step 1.13.1
Factor out of .
Step 1.13.2
Cancel the common factor.
Step 1.13.3
Rewrite the expression.
Step 1.14
Move the negative in front of the fraction.
Step 1.15
Simplify.
Tap for more steps...
Step 1.15.1
Apply the distributive property.
Step 1.15.2
Multiply by .
Step 1.15.3
Reorder the factors of .
Step 1.15.4
Expand using the FOIL Method.
Tap for more steps...
Step 1.15.4.1
Apply the distributive property.
Step 1.15.4.2
Apply the distributive property.
Step 1.15.4.3
Apply the distributive property.
Step 1.15.5
Simplify and combine like terms.
Tap for more steps...
Step 1.15.5.1
Simplify each term.
Tap for more steps...
Step 1.15.5.1.1
Multiply by .
Step 1.15.5.1.2
Multiply by .
Step 1.15.5.1.3
Multiply .
Tap for more steps...
Step 1.15.5.1.3.1
Multiply by .
Step 1.15.5.1.3.2
Combine and .
Step 1.15.5.1.3.3
Combine and .
Step 1.15.5.1.4
Move to the numerator using the negative exponent rule .
Step 1.15.5.1.5
Multiply by by adding the exponents.
Tap for more steps...
Step 1.15.5.1.5.1
Move .
Step 1.15.5.1.5.2
Multiply by .
Tap for more steps...
Step 1.15.5.1.5.2.1
Raise to the power of .
Step 1.15.5.1.5.2.2
Use the power rule to combine exponents.
Step 1.15.5.1.5.3
Write as a fraction with a common denominator.
Step 1.15.5.1.5.4
Combine the numerators over the common denominator.
Step 1.15.5.1.5.5
Add and .
Step 1.15.5.1.6
Cancel the common factor of .
Tap for more steps...
Step 1.15.5.1.6.1
Move the leading negative in into the numerator.
Step 1.15.5.1.6.2
Factor out of .
Step 1.15.5.1.6.3
Cancel the common factor.
Step 1.15.5.1.6.4
Rewrite the expression.
Step 1.15.5.1.7
Multiply by .
Step 1.15.5.2
Subtract from .
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
To write as a fraction with a common denominator, multiply by .
Step 2.3.4
Combine and .
Step 2.3.5
Combine the numerators over the common denominator.
Step 2.3.6
Simplify the numerator.
Tap for more steps...
Step 2.3.6.1
Multiply by .
Step 2.3.6.2
Subtract from .
Step 2.3.7
Move the negative in front of the fraction.
Step 2.3.8
Combine and .
Step 2.3.9
Combine and .
Step 2.3.10
Move to the denominator using the negative exponent rule .
Step 2.3.11
Factor out of .
Step 2.3.12
Cancel the common factors.
Tap for more steps...
Step 2.3.12.1
Factor out of .
Step 2.3.12.2
Cancel the common factor.
Step 2.3.12.3
Rewrite the expression.
Step 2.3.13
Move the negative in front of the fraction.
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
Use to rewrite as .
Step 4.1.2
Differentiate using the chain rule, which states that is where and .
Tap for more steps...
Step 4.1.2.1
To apply the Chain Rule, set as .
Step 4.1.2.2
Differentiate using the Power Rule which states that is where .
Step 4.1.2.3
Replace all occurrences of with .
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
Differentiate using the Power Rule which states that is where .
Step 4.1.4
To write as a fraction with a common denominator, multiply by .
Step 4.1.5
Combine and .
Step 4.1.6
Combine the numerators over the common denominator.
Step 4.1.7
Simplify the numerator.
Tap for more steps...
Step 4.1.7.1
Multiply by .
Step 4.1.7.2
Subtract from .
Step 4.1.8
Move the negative in front of the fraction.
Step 4.1.9
Combine and .
Step 4.1.10
Combine and .
Step 4.1.11
Move to the denominator using the negative exponent rule .
Step 4.1.12
Factor out of .
Step 4.1.13
Cancel the common factors.
Tap for more steps...
Step 4.1.13.1
Factor out of .
Step 4.1.13.2
Cancel the common factor.
Step 4.1.13.3
Rewrite the expression.
Step 4.1.14
Move the negative in front of the fraction.
Step 4.1.15
Simplify.
Tap for more steps...
Step 4.1.15.1
Apply the distributive property.
Step 4.1.15.2
Multiply by .
Step 4.1.15.3
Reorder the factors of .
Step 4.1.15.4
Expand using the FOIL Method.
Tap for more steps...
Step 4.1.15.4.1
Apply the distributive property.
Step 4.1.15.4.2
Apply the distributive property.
Step 4.1.15.4.3
Apply the distributive property.
Step 4.1.15.5
Simplify and combine like terms.
Tap for more steps...
Step 4.1.15.5.1
Simplify each term.
Tap for more steps...
Step 4.1.15.5.1.1
Multiply by .
Step 4.1.15.5.1.2
Multiply by .
Step 4.1.15.5.1.3
Multiply .
Tap for more steps...
Step 4.1.15.5.1.3.1
Multiply by .
Step 4.1.15.5.1.3.2
Combine and .
Step 4.1.15.5.1.3.3
Combine and .
Step 4.1.15.5.1.4
Move to the numerator using the negative exponent rule .
Step 4.1.15.5.1.5
Multiply by by adding the exponents.
Tap for more steps...
Step 4.1.15.5.1.5.1
Move .
Step 4.1.15.5.1.5.2
Multiply by .
Tap for more steps...
Step 4.1.15.5.1.5.2.1
Raise to the power of .
Step 4.1.15.5.1.5.2.2
Use the power rule to combine exponents.
Step 4.1.15.5.1.5.3
Write as a fraction with a common denominator.
Step 4.1.15.5.1.5.4
Combine the numerators over the common denominator.
Step 4.1.15.5.1.5.5
Add and .
Step 4.1.15.5.1.6
Cancel the common factor of .
Tap for more steps...
Step 4.1.15.5.1.6.1
Move the leading negative in into the numerator.
Step 4.1.15.5.1.6.2
Factor out of .
Step 4.1.15.5.1.6.3
Cancel the common factor.
Step 4.1.15.5.1.6.4
Rewrite the expression.
Step 4.1.15.5.1.7
Multiply by .
Step 4.1.15.5.2
Subtract from .
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
Factor the left side of the equation.
Tap for more steps...
Step 5.2.1
Rewrite as .
Step 5.2.2
Let . Substitute for all occurrences of .
Step 5.2.3
Factor out of .
Tap for more steps...
Step 5.2.3.1
Factor out of .
Step 5.2.3.2
Factor out of .
Step 5.2.3.3
Factor out of .
Step 5.2.3.4
Factor out of .
Step 5.2.3.5
Factor out of .
Step 5.2.4
Factor.
Tap for more steps...
Step 5.2.4.1
Factor using the AC method.
Tap for more steps...
Step 5.2.4.1.1
Consider the form . Find a pair of integers whose product is and whose sum is . In this case, whose product is and whose sum is .
Step 5.2.4.1.2
Write the factored form using these integers.
Step 5.2.4.2
Remove unnecessary parentheses.
Step 5.2.5
Replace all occurrences of with .
Step 5.3
If any individual factor on the left side of the equation is equal to , the entire expression will be equal to .
Step 5.4
Set equal to and solve for .
Tap for more steps...
Step 5.4.1
Set equal to .
Step 5.4.2
Solve for .
Tap for more steps...
Step 5.4.2.1
Add to both sides of the equation.
Step 5.4.2.2
Raise each side of the equation to the power of to eliminate the fractional exponent on the left side.
Step 5.4.2.3
Simplify the exponent.
Tap for more steps...
Step 5.4.2.3.1
Simplify the left side.
Tap for more steps...
Step 5.4.2.3.1.1
Simplify .
Tap for more steps...
Step 5.4.2.3.1.1.1
Multiply the exponents in .
Tap for more steps...
Step 5.4.2.3.1.1.1.1
Apply the power rule and multiply exponents, .
Step 5.4.2.3.1.1.1.2
Cancel the common factor of .
Tap for more steps...
Step 5.4.2.3.1.1.1.2.1
Cancel the common factor.
Step 5.4.2.3.1.1.1.2.2
Rewrite the expression.
Step 5.4.2.3.1.1.2
Simplify.
Step 5.4.2.3.2
Simplify the right side.
Tap for more steps...
Step 5.4.2.3.2.1
Raise to the power of .
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
Raise each side of the equation to the power of to eliminate the fractional exponent on the left side.
Step 5.5.2.3
Simplify the exponent.
Tap for more steps...
Step 5.5.2.3.1
Simplify the left side.
Tap for more steps...
Step 5.5.2.3.1.1
Simplify .
Tap for more steps...
Step 5.5.2.3.1.1.1
Multiply the exponents in .
Tap for more steps...
Step 5.5.2.3.1.1.1.1
Apply the power rule and multiply exponents, .
Step 5.5.2.3.1.1.1.2
Cancel the common factor of .
Tap for more steps...
Step 5.5.2.3.1.1.1.2.1
Cancel the common factor.
Step 5.5.2.3.1.1.1.2.2
Rewrite the expression.
Step 5.5.2.3.1.1.2
Simplify.
Step 5.5.2.3.2
Simplify the right side.
Tap for more steps...
Step 5.5.2.3.2.1
One to any power is one.
Step 5.6
The final solution is all the values that make true.
Step 6
Find the values where the derivative is undefined.
Tap for more steps...
Step 6.1
Convert expressions with fractional exponents to radicals.
Tap for more steps...
Step 6.1.1
Apply the rule to rewrite the exponentiation as a radical.
Step 6.1.2
Anything raised to is the base itself.
Step 6.2
Set the radicand in less than to find where the expression is undefined.
Step 6.3
The equation is undefined where the denominator equals , the argument of a square root is less than , or the argument of a logarithm is less than or equal to .
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 the denominator.
Tap for more steps...
Step 9.1.1
Rewrite as .
Step 9.1.2
Apply the power rule and multiply exponents, .
Step 9.1.3
Cancel the common factor of .
Tap for more steps...
Step 9.1.3.1
Cancel the common factor.
Step 9.1.3.2
Rewrite the expression.
Step 9.1.4
Evaluate the exponent.
Step 9.2
To write as a fraction with a common denominator, multiply by .
Step 9.3
Combine and .
Step 9.4
Combine the numerators over the common denominator.
Step 9.5
Simplify the numerator.
Tap for more steps...
Step 9.5.1
Multiply by .
Step 9.5.2
Subtract from .
Step 10
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 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
Rewrite as .
Step 11.2.1.2
Pull terms out from under the radical, assuming positive real numbers.
Step 11.2.1.3
Multiply by .
Step 11.2.2
Simplify the expression.
Tap for more steps...
Step 11.2.2.1
Subtract from .
Step 11.2.2.2
Raising to any positive power yields .
Step 11.2.3
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
One to any power is one.
Step 13.1.2
Divide by .
Step 13.1.3
Multiply by .
Step 13.2
Subtract from .
Step 14
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 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
Any root of is .
Step 15.2.1.2
Multiply by .
Step 15.2.2
Simplify the expression.
Tap for more steps...
Step 15.2.2.1
Subtract from .
Step 15.2.2.2
Raise to the power of .
Step 15.2.3
The final answer is .
Step 16
These are the local extrema for .
is a local minima
is a local maxima
Step 17