Calculus Examples

Find the Local Maxima and Minima f(x)=x square root of x^2-4x+8-2 square root of x^2-4x+8
Step 1
Find the first derivative of the function.
Tap for more steps...
Step 1.1
By the Sum Rule, the derivative of with respect to is .
Step 1.2
Evaluate .
Tap for more steps...
Step 1.2.1
Use to rewrite as .
Step 1.2.2
Differentiate using the Product Rule which states that is where and .
Step 1.2.3
Differentiate using the chain rule, which states that is where and .
Tap for more steps...
Step 1.2.3.1
To apply the Chain Rule, set as .
Step 1.2.3.2
Differentiate using the Power Rule which states that is where .
Step 1.2.3.3
Replace all occurrences of with .
Step 1.2.4
By the Sum Rule, the derivative of with respect to is .
Step 1.2.5
Differentiate using the Power Rule which states that is where .
Step 1.2.6
Since is constant with respect to , the derivative of with respect to is .
Step 1.2.7
Differentiate using the Power Rule which states that is where .
Step 1.2.8
Since is constant with respect to , the derivative of with respect to is .
Step 1.2.9
Differentiate using the Power Rule which states that is where .
Step 1.2.10
To write as a fraction with a common denominator, multiply by .
Step 1.2.11
Combine and .
Step 1.2.12
Combine the numerators over the common denominator.
Step 1.2.13
Simplify the numerator.
Tap for more steps...
Step 1.2.13.1
Multiply by .
Step 1.2.13.2
Subtract from .
Step 1.2.14
Move the negative in front of the fraction.
Step 1.2.15
Multiply by .
Step 1.2.16
Add and .
Step 1.2.17
Combine and .
Step 1.2.18
Move to the denominator using the negative exponent rule .
Step 1.2.19
Combine and .
Step 1.2.20
Multiply by .
Step 1.3
Evaluate .
Tap for more steps...
Step 1.3.1
Use to rewrite as .
Step 1.3.2
Since is constant with respect to , the derivative of with respect to is .
Step 1.3.3
Differentiate using the chain rule, which states that is where and .
Tap for more steps...
Step 1.3.3.1
To apply the Chain Rule, set as .
Step 1.3.3.2
Differentiate using the Power Rule which states that is where .
Step 1.3.3.3
Replace all occurrences of with .
Step 1.3.4
By the Sum Rule, the derivative of with respect to is .
Step 1.3.5
Differentiate using the Power Rule which states that is where .
Step 1.3.6
Since is constant with respect to , the derivative of with respect to is .
Step 1.3.7
Differentiate using the Power Rule which states that is where .
Step 1.3.8
Since is constant with respect to , the derivative of with respect to is .
Step 1.3.9
To write as a fraction with a common denominator, multiply by .
Step 1.3.10
Combine and .
Step 1.3.11
Combine the numerators over the common denominator.
Step 1.3.12
Simplify the numerator.
Tap for more steps...
Step 1.3.12.1
Multiply by .
Step 1.3.12.2
Subtract from .
Step 1.3.13
Move the negative in front of the fraction.
Step 1.3.14
Multiply by .
Step 1.3.15
Add and .
Step 1.3.16
Combine and .
Step 1.3.17
Move to the denominator using the negative exponent rule .
Step 1.3.18
Combine and .
Step 1.3.19
Factor out of .
Step 1.3.20
Cancel the common factors.
Tap for more steps...
Step 1.3.20.1
Factor out of .
Step 1.3.20.2
Cancel the common factor.
Step 1.3.20.3
Rewrite the expression.
Step 1.3.21
Move the negative in front of the fraction.
Step 1.4
Simplify.
Tap for more steps...
Step 1.4.1
Reorder terms.
Step 1.4.2
Simplify each term.
Tap for more steps...
Step 1.4.2.1
Multiply by .
Step 1.4.2.2
Factor out of .
Step 1.4.2.3
Cancel the common factors.
Tap for more steps...
Step 1.4.2.3.1
Factor out of .
Step 1.4.2.3.2
Cancel the common factor.
Step 1.4.2.3.3
Rewrite the expression.
Step 1.4.2.4
Apply the distributive property.
Step 1.4.2.5
Multiply by .
Step 1.4.2.6
Multiply by .
Step 1.4.2.7
Multiply by .
Step 1.4.2.8
Factor out of .
Tap for more steps...
Step 1.4.2.8.1
Factor out of .
Step 1.4.2.8.2
Factor out of .
Step 1.4.2.8.3
Factor out of .
Step 1.4.3
Combine the numerators over the common denominator.
Step 1.4.4
Simplify each term.
Tap for more steps...
Step 1.4.4.1
Apply the distributive property.
Step 1.4.4.2
Multiply by .
Step 1.4.4.3
Apply the distributive property.
Step 1.4.4.4
Multiply by .
Step 1.4.4.5
Multiply by .
Step 1.4.5
Subtract from .
Step 1.4.6
Factor using the perfect square rule.
Tap for more steps...
Step 1.4.6.1
Rewrite as .
Step 1.4.6.2
Check that the middle term is two times the product of the numbers being squared in the first term and third term.
Step 1.4.6.3
Rewrite the polynomial.
Step 1.4.6.4
Factor using the perfect square trinomial rule , where and .
Step 1.4.7
To write as a fraction with a common denominator, multiply by .
Step 1.4.8
Combine the numerators over the common denominator.
Step 1.4.9
Simplify the numerator.
Tap for more steps...
Step 1.4.9.1
Multiply by by adding the exponents.
Tap for more steps...
Step 1.4.9.1.1
Use the power rule to combine exponents.
Step 1.4.9.1.2
Combine the numerators over the common denominator.
Step 1.4.9.1.3
Add and .
Step 1.4.9.1.4
Divide by .
Step 1.4.9.2
Simplify .
Step 1.4.9.3
Rewrite as .
Step 1.4.9.4
Expand using the FOIL Method.
Tap for more steps...
Step 1.4.9.4.1
Apply the distributive property.
Step 1.4.9.4.2
Apply the distributive property.
Step 1.4.9.4.3
Apply the distributive property.
Step 1.4.9.5
Simplify and combine like terms.
Tap for more steps...
Step 1.4.9.5.1
Simplify each term.
Tap for more steps...
Step 1.4.9.5.1.1
Multiply by .
Step 1.4.9.5.1.2
Move to the left of .
Step 1.4.9.5.1.3
Multiply by .
Step 1.4.9.5.2
Subtract from .
Step 1.4.9.6
Add and .
Step 1.4.9.7
Subtract from .
Step 1.4.9.8
Add and .
Step 1.4.9.9
Factor out of .
Tap for more steps...
Step 1.4.9.9.1
Factor out of .
Step 1.4.9.9.2
Factor out of .
Step 1.4.9.9.3
Factor out of .
Step 1.4.9.9.4
Factor out of .
Step 1.4.9.9.5
Factor out of .
Step 2
Find the second derivative of the function.
Tap for more steps...
Step 2.1
Since is constant with respect to , the derivative of with respect to is .
Step 2.2
Differentiate using the Quotient Rule which states that is where and .
Step 2.3
Multiply the exponents in .
Tap for more steps...
Step 2.3.1
Apply the power rule and multiply exponents, .
Step 2.3.2
Cancel the common factor of .
Tap for more steps...
Step 2.3.2.1
Cancel the common factor.
Step 2.3.2.2
Rewrite the expression.
Step 2.4
Simplify.
Step 2.5
Differentiate.
Tap for more steps...
Step 2.5.1
By the Sum Rule, the derivative of with respect to is .
Step 2.5.2
Differentiate using the Power Rule which states that is where .
Step 2.5.3
Since is constant with respect to , the derivative of with respect to is .
Step 2.5.4
Differentiate using the Power Rule which states that is where .
Step 2.5.5
Multiply by .
Step 2.5.6
Since is constant with respect to , the derivative of with respect to is .
Step 2.5.7
Add and .
Step 2.6
Differentiate using the chain rule, which states that is where and .
Tap for more steps...
Step 2.6.1
To apply the Chain Rule, set as .
Step 2.6.2
Differentiate using the Power Rule which states that is where .
Step 2.6.3
Replace all occurrences of with .
Step 2.7
To write as a fraction with a common denominator, multiply by .
Step 2.8
Combine and .
Step 2.9
Combine the numerators over the common denominator.
Step 2.10
Simplify the numerator.
Tap for more steps...
Step 2.10.1
Multiply by .
Step 2.10.2
Subtract from .
Step 2.11
Combine fractions.
Tap for more steps...
Step 2.11.1
Move the negative in front of the fraction.
Step 2.11.2
Combine and .
Step 2.11.3
Move to the denominator using the negative exponent rule .
Step 2.12
By the Sum Rule, the derivative of with respect to is .
Step 2.13
Differentiate using the Power Rule which states that is where .
Step 2.14
Since is constant with respect to , the derivative of with respect to is .
Step 2.15
Differentiate using the Power Rule which states that is where .
Step 2.16
Multiply by .
Step 2.17
Since is constant with respect to , the derivative of with respect to is .
Step 2.18
Combine fractions.
Tap for more steps...
Step 2.18.1
Add and .
Step 2.18.2
Combine and .
Step 2.19
Simplify.
Tap for more steps...
Step 2.19.1
Apply the distributive property.
Step 2.19.2
Apply the distributive property.
Step 2.19.3
Simplify the numerator.
Tap for more steps...
Step 2.19.3.1
Factor out of .
Tap for more steps...
Step 2.19.3.1.1
Factor out of .
Step 2.19.3.1.2
Factor out of .
Step 2.19.3.1.3
Factor out of .
Step 2.19.3.2
Combine exponents.
Tap for more steps...
Step 2.19.3.2.1
Multiply by .
Step 2.19.3.2.2
Multiply by .
Step 2.19.3.3
Multiply by .
Step 2.19.3.4
To write as a fraction with a common denominator, multiply by .
Step 2.19.3.5
Combine and .
Step 2.19.3.6
Combine the numerators over the common denominator.
Step 2.19.3.7
Simplify the numerator.
Tap for more steps...
Step 2.19.3.7.1
Multiply by by adding the exponents.
Tap for more steps...
Step 2.19.3.7.1.1
Move .
Step 2.19.3.7.1.2
Use the power rule to combine exponents.
Step 2.19.3.7.1.3
Combine the numerators over the common denominator.
Step 2.19.3.7.1.4
Add and .
Step 2.19.3.7.1.5
Divide by .
Step 2.19.3.7.2
Simplify .
Step 2.19.3.7.3
Apply the distributive property.
Step 2.19.3.7.4
Simplify.
Tap for more steps...
Step 2.19.3.7.4.1
Move to the left of .
Step 2.19.3.7.4.2
Multiply by .
Step 2.19.3.7.4.3
Multiply by .
Step 2.19.3.7.5
Subtract from .
Step 2.19.3.7.6
Add and .
Step 2.19.3.7.7
Subtract from .
Step 2.19.3.8
Combine and .
Step 2.19.3.9
Factor out of .
Tap for more steps...
Step 2.19.3.9.1
Factor out of .
Step 2.19.3.9.2
Factor out of .
Step 2.19.3.9.3
Factor out of .
Step 2.19.3.10
Combine exponents.
Tap for more steps...
Step 2.19.3.10.1
Combine and .
Step 2.19.3.10.2
Multiply by .
Step 2.19.3.11
Reduce the expression by cancelling the common factors.
Tap for more steps...
Step 2.19.3.11.1
Factor out of .
Step 2.19.3.11.2
Factor out of .
Step 2.19.3.11.3
Cancel the common factor.
Step 2.19.3.11.4
Rewrite the expression.
Step 2.19.3.12
Move to the left of .
Step 2.19.4
Reorder terms.
Step 2.19.5
Factor out of .
Step 2.19.6
Multiply .
Tap for more steps...
Step 2.19.6.1
Multiply by .
Step 2.19.6.2
Multiply by by adding the exponents.
Tap for more steps...
Step 2.19.6.2.1
Multiply by .
Tap for more steps...
Step 2.19.6.2.1.1
Raise to the power of .
Step 2.19.6.2.1.2
Use the power rule to combine exponents.
Step 2.19.6.2.2
Write as a fraction with a common denominator.
Step 2.19.6.2.3
Combine the numerators over the common denominator.
Step 2.19.6.2.4
Add and .
Step 3
To find the local maximum and minimum values of the function, set the derivative equal to and solve.
Step 4
Since there is no value of that makes the first derivative equal to , there are no local extrema.
No Local Extrema
Step 5
No Local Extrema
Step 6