Calculus Examples

Find the Local Maxima and Minima square root of x^2+4x+8
Step 1
Write as a function.
Step 2
Find the first derivative of the function.
Tap for more steps...
Step 2.1
Use to rewrite as .
Step 2.2
Differentiate using the chain rule, which states that is where and .
Tap for more steps...
Step 2.2.1
To apply the Chain Rule, set as .
Step 2.2.2
Differentiate using the Power Rule which states that is where .
Step 2.2.3
Replace all occurrences of with .
Step 2.3
To write as a fraction with a common denominator, multiply by .
Step 2.4
Combine and .
Step 2.5
Combine the numerators over the common denominator.
Step 2.6
Simplify the numerator.
Tap for more steps...
Step 2.6.1
Multiply by .
Step 2.6.2
Subtract from .
Step 2.7
Combine fractions.
Tap for more steps...
Step 2.7.1
Move the negative in front of the fraction.
Step 2.7.2
Combine and .
Step 2.7.3
Move to the denominator using the negative exponent rule .
Step 2.8
By the Sum Rule, the derivative of with respect to is .
Step 2.9
Differentiate using the Power Rule which states that is where .
Step 2.10
Since is constant with respect to , the derivative of with respect to is .
Step 2.11
Differentiate using the Power Rule which states that is where .
Step 2.12
Multiply by .
Step 2.13
Since is constant with respect to , the derivative of with respect to is .
Step 2.14
Add and .
Step 2.15
Simplify.
Tap for more steps...
Step 2.15.1
Reorder the factors of .
Step 2.15.2
Multiply by .
Step 2.15.3
Factor out of .
Step 2.15.4
Factor out of .
Step 2.15.5
Factor out of .
Step 2.15.6
Cancel the common factors.
Tap for more steps...
Step 2.15.6.1
Factor out of .
Step 2.15.6.2
Cancel the common factor.
Step 2.15.6.3
Rewrite the expression.
Step 3
Find the second derivative of the function.
Tap for more steps...
Step 3.1
Differentiate using the Quotient Rule which states that is where and .
Step 3.2
Multiply the exponents in .
Tap for more steps...
Step 3.2.1
Apply the power rule and multiply exponents, .
Step 3.2.2
Cancel the common factor of .
Tap for more steps...
Step 3.2.2.1
Cancel the common factor.
Step 3.2.2.2
Rewrite the expression.
Step 3.3
Simplify.
Step 3.4
Differentiate.
Tap for more steps...
Step 3.4.1
By the Sum Rule, 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
Since is constant with respect to , the derivative of with respect to is .
Step 3.4.4
Simplify the expression.
Tap for more steps...
Step 3.4.4.1
Add and .
Step 3.4.4.2
Multiply by .
Step 3.5
Differentiate using the chain rule, which states that is where and .
Tap for more steps...
Step 3.5.1
To apply the Chain Rule, set as .
Step 3.5.2
Differentiate using the Power Rule which states that is where .
Step 3.5.3
Replace all occurrences of with .
Step 3.6
To write as a fraction with a common denominator, multiply by .
Step 3.7
Combine and .
Step 3.8
Combine the numerators over the common denominator.
Step 3.9
Simplify the numerator.
Tap for more steps...
Step 3.9.1
Multiply by .
Step 3.9.2
Subtract from .
Step 3.10
Combine fractions.
Tap for more steps...
Step 3.10.1
Move the negative in front of the fraction.
Step 3.10.2
Combine and .
Step 3.10.3
Move to the denominator using the negative exponent rule .
Step 3.11
By the Sum Rule, the derivative of with respect to is .
Step 3.12
Differentiate using the Power Rule which states that is where .
Step 3.13
Since is constant with respect to , the derivative of with respect to is .
Step 3.14
Differentiate using the Power Rule which states that is where .
Step 3.15
Multiply by .
Step 3.16
Since is constant with respect to , the derivative of with respect to is .
Step 3.17
Add and .
Step 3.18
Simplify.
Tap for more steps...
Step 3.18.1
Apply the distributive property.
Step 3.18.2
Simplify the numerator.
Tap for more steps...
Step 3.18.2.1
Let . Substitute for all occurrences of .
Tap for more steps...
Step 3.18.2.1.1
Raise to the power of .
Step 3.18.2.1.2
Raise to the power of .
Step 3.18.2.1.3
Use the power rule to combine exponents.
Step 3.18.2.1.4
Add and .
Step 3.18.2.1.5
Since both terms are perfect squares, factor using the difference of squares formula, where and .
Step 3.18.2.1.6
Simplify.
Tap for more steps...
Step 3.18.2.1.6.1
Apply the distributive property.
Step 3.18.2.1.6.2
Multiply by .
Step 3.18.2.2
Replace all occurrences of with .
Step 3.18.2.3
Simplify.
Tap for more steps...
Step 3.18.2.3.1
Expand by multiplying each term in the first expression by each term in the second expression.
Step 3.18.2.3.2
Combine the opposite terms in .
Tap for more steps...
Step 3.18.2.3.2.1
Reorder the factors in the terms and .
Step 3.18.2.3.2.2
Add and .
Step 3.18.2.3.2.3
Add and .
Step 3.18.2.3.2.4
Reorder the factors in the terms and .
Step 3.18.2.3.2.5
Add and .
Step 3.18.2.3.2.6
Add and .
Step 3.18.2.3.3
Simplify each term.
Tap for more steps...
Step 3.18.2.3.3.1
Multiply by by adding the exponents.
Tap for more steps...
Step 3.18.2.3.3.1.1
Use the power rule to combine exponents.
Step 3.18.2.3.3.1.2
Combine the numerators over the common denominator.
Step 3.18.2.3.3.1.3
Add and .
Step 3.18.2.3.3.1.4
Divide by .
Step 3.18.2.3.3.2
Simplify .
Step 3.18.2.3.3.3
Rewrite using the commutative property of multiplication.
Step 3.18.2.3.3.4
Multiply by by adding the exponents.
Tap for more steps...
Step 3.18.2.3.3.4.1
Move .
Step 3.18.2.3.3.4.2
Multiply by .
Step 3.18.2.3.3.5
Move to the left of .
Step 3.18.2.3.3.6
Multiply by .
Step 3.18.2.3.3.7
Multiply by .
Step 3.18.2.3.4
Combine the opposite terms in .
Tap for more steps...
Step 3.18.2.3.4.1
Subtract from .
Step 3.18.2.3.4.2
Add and .
Step 3.18.2.3.5
Subtract from .
Step 3.18.2.3.6
Combine the opposite terms in .
Tap for more steps...
Step 3.18.2.3.6.1
Subtract from .
Step 3.18.2.3.6.2
Add and .
Step 3.18.2.3.7
Subtract from .
Step 3.18.3
Combine terms.
Tap for more steps...
Step 3.18.3.1
Rewrite as a product.
Step 3.18.3.2
Multiply by .
Step 3.18.3.3
Multiply by by adding the exponents.
Tap for more steps...
Step 3.18.3.3.1
Multiply by .
Tap for more steps...
Step 3.18.3.3.1.1
Raise to the power of .
Step 3.18.3.3.1.2
Use the power rule to combine exponents.
Step 3.18.3.3.2
Write as a fraction with a common denominator.
Step 3.18.3.3.3
Combine the numerators over the common denominator.
Step 3.18.3.3.4
Add and .
Step 4
To find the local maximum and minimum values of the function, set the derivative equal to and solve.
Step 5
Find the first derivative.
Tap for more steps...
Step 5.1
Find the first derivative.
Tap for more steps...
Step 5.1.1
Use to rewrite as .
Step 5.1.2
Differentiate using the chain rule, which states that is where and .
Tap for more steps...
Step 5.1.2.1
To apply the Chain Rule, set as .
Step 5.1.2.2
Differentiate using the Power Rule which states that is where .
Step 5.1.2.3
Replace all occurrences of with .
Step 5.1.3
To write as a fraction with a common denominator, multiply by .
Step 5.1.4
Combine and .
Step 5.1.5
Combine the numerators over the common denominator.
Step 5.1.6
Simplify the numerator.
Tap for more steps...
Step 5.1.6.1
Multiply by .
Step 5.1.6.2
Subtract from .
Step 5.1.7
Combine fractions.
Tap for more steps...
Step 5.1.7.1
Move the negative in front of the fraction.
Step 5.1.7.2
Combine and .
Step 5.1.7.3
Move to the denominator using the negative exponent rule .
Step 5.1.8
By the Sum Rule, the derivative of with respect to is .
Step 5.1.9
Differentiate using the Power Rule which states that is where .
Step 5.1.10
Since is constant with respect to , the derivative of with respect to is .
Step 5.1.11
Differentiate using the Power Rule which states that is where .
Step 5.1.12
Multiply by .
Step 5.1.13
Since is constant with respect to , the derivative of with respect to is .
Step 5.1.14
Add and .
Step 5.1.15
Simplify.
Tap for more steps...
Step 5.1.15.1
Reorder the factors of .
Step 5.1.15.2
Multiply by .
Step 5.1.15.3
Factor out of .
Step 5.1.15.4
Factor out of .
Step 5.1.15.5
Factor out of .
Step 5.1.15.6
Cancel the common factors.
Tap for more steps...
Step 5.1.15.6.1
Factor out of .
Step 5.1.15.6.2
Cancel the common factor.
Step 5.1.15.6.3
Rewrite the expression.
Step 5.2
The first derivative of with respect to is .
Step 6
Set the first derivative equal to then solve the equation .
Tap for more steps...
Step 6.1
Set the first derivative equal to .
Step 6.2
Set the numerator equal to zero.
Step 6.3
Subtract from both sides of the equation.
Step 7
Find the values where the derivative is undefined.
Tap for more steps...
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
Evaluate the second derivative.
Tap for more steps...
Step 10.1
Simplify the denominator.
Tap for more steps...
Step 10.1.1
Simplify each term.
Tap for more steps...
Step 10.1.1.1
Raise to the power of .
Step 10.1.1.2
Multiply by .
Step 10.1.2
Subtract from .
Step 10.1.3
Add and .
Step 10.1.4
Rewrite as .
Step 10.1.5
Apply the power rule and multiply exponents, .
Step 10.1.6
Cancel the common factor of .
Tap for more steps...
Step 10.1.6.1
Cancel the common factor.
Step 10.1.6.2
Rewrite the expression.
Step 10.1.7
Raise to the power of .
Step 10.2
Cancel the common factor of and .
Tap for more steps...
Step 10.2.1
Factor out of .
Step 10.2.2
Cancel the common factors.
Tap for more steps...
Step 10.2.2.1
Factor out of .
Step 10.2.2.2
Cancel the common factor.
Step 10.2.2.3
Rewrite the expression.
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
Find the y-value when .
Tap for more steps...
Step 12.1
Replace the variable with in the expression.
Step 12.2
Simplify the result.
Tap for more steps...
Step 12.2.1
Raise to the power of .
Step 12.2.2
Multiply by .
Step 12.2.3
Subtract from .
Step 12.2.4
Add and .
Step 12.2.5
Rewrite as .
Step 12.2.6
Pull terms out from under the radical, assuming positive real numbers.
Step 12.2.7
The final answer is .
Step 13
These are the local extrema for .
is a local minima
Step 14