Calculus Examples

Find the Local Maxima and Minima f(x)=(-x-2)/((x-5)^2)+9
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
Differentiate using the Quotient Rule which states that is where and .
Step 1.2.2
By the Sum Rule, the derivative of with respect to is .
Step 1.2.3
Since is constant with respect to , the derivative of with respect to is .
Step 1.2.4
Differentiate using the Power Rule which states that is where .
Step 1.2.5
Since is constant with respect to , the derivative of with respect to is .
Step 1.2.6
Differentiate using the chain rule, which states that is where and .
Tap for more steps...
Step 1.2.6.1
To apply the Chain Rule, set as .
Step 1.2.6.2
Differentiate using the Power Rule which states that is where .
Step 1.2.6.3
Replace all occurrences of with .
Step 1.2.7
By the Sum Rule, the derivative of with respect to is .
Step 1.2.8
Differentiate using the Power Rule which states that is where .
Step 1.2.9
Since is constant with respect to , the derivative of with respect to is .
Step 1.2.10
Multiply by .
Step 1.2.11
Add and .
Step 1.2.12
Move to the left of .
Step 1.2.13
Rewrite as .
Step 1.2.14
Add and .
Step 1.2.15
Multiply by .
Step 1.2.16
Multiply by .
Step 1.2.17
Multiply the exponents in .
Tap for more steps...
Step 1.2.17.1
Apply the power rule and multiply exponents, .
Step 1.2.17.2
Multiply by .
Step 1.2.18
Factor out of .
Tap for more steps...
Step 1.2.18.1
Factor out of .
Step 1.2.18.2
Factor out of .
Step 1.2.18.3
Factor out of .
Step 1.2.19
Cancel the common factors.
Tap for more steps...
Step 1.2.19.1
Factor out of .
Step 1.2.19.2
Cancel the common factor.
Step 1.2.19.3
Rewrite the expression.
Step 1.3
Since is constant with respect to , the derivative of with respect to is .
Step 1.4
Simplify.
Tap for more steps...
Step 1.4.1
Apply the distributive property.
Step 1.4.2
Apply the distributive property.
Step 1.4.3
Combine terms.
Tap for more steps...
Step 1.4.3.1
Multiply by .
Step 1.4.3.2
Multiply by .
Step 1.4.3.3
Multiply by .
Step 1.4.3.4
Add and .
Step 1.4.3.5
Add and .
Step 1.4.3.6
Add and .
Step 2
Find the second derivative of the function.
Tap for more steps...
Step 2.1
Differentiate using the Quotient Rule which states that is where and .
Step 2.2
Differentiate.
Tap for more steps...
Step 2.2.1
Multiply the exponents in .
Tap for more steps...
Step 2.2.1.1
Apply the power rule and multiply exponents, .
Step 2.2.1.2
Multiply by .
Step 2.2.2
By the Sum Rule, the derivative of with respect to is .
Step 2.2.3
Differentiate using the Power Rule which states that is where .
Step 2.2.4
Since is constant with respect to , the derivative of with respect to is .
Step 2.2.5
Simplify the expression.
Tap for more steps...
Step 2.2.5.1
Add and .
Step 2.2.5.2
Multiply by .
Step 2.3
Differentiate using the chain rule, which states that is where and .
Tap for more steps...
Step 2.3.1
To apply the Chain Rule, set as .
Step 2.3.2
Differentiate using the Power Rule which states that is where .
Step 2.3.3
Replace all occurrences of with .
Step 2.4
Simplify with factoring out.
Tap for more steps...
Step 2.4.1
Multiply by .
Step 2.4.2
Factor out of .
Tap for more steps...
Step 2.4.2.1
Factor out of .
Step 2.4.2.2
Factor out of .
Step 2.4.2.3
Factor out of .
Step 2.5
Cancel the common factors.
Tap for more steps...
Step 2.5.1
Factor out of .
Step 2.5.2
Cancel the common factor.
Step 2.5.3
Rewrite the expression.
Step 2.6
By the Sum Rule, the derivative of with respect to is .
Step 2.7
Differentiate using the Power Rule which states that is where .
Step 2.8
Since is constant with respect to , the derivative of with respect to is .
Step 2.9
Simplify the expression.
Tap for more steps...
Step 2.9.1
Add and .
Step 2.9.2
Multiply by .
Step 2.10
Simplify.
Tap for more steps...
Step 2.10.1
Apply the distributive property.
Step 2.10.2
Simplify the numerator.
Tap for more steps...
Step 2.10.2.1
Multiply by .
Step 2.10.2.2
Subtract from .
Step 2.10.2.3
Subtract from .
Step 2.10.3
Factor out of .
Tap for more steps...
Step 2.10.3.1
Factor out of .
Step 2.10.3.2
Factor out of .
Step 2.10.3.3
Factor out of .
Step 2.10.4
Factor out of .
Step 2.10.5
Rewrite as .
Step 2.10.6
Factor out of .
Step 2.10.7
Rewrite as .
Step 2.10.8
Move the negative in front of the fraction.
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
By the Sum Rule, the derivative of with respect to is .
Step 4.1.2
Evaluate .
Tap for more steps...
Step 4.1.2.1
Differentiate using the Quotient Rule which states that is where and .
Step 4.1.2.2
By the Sum Rule, the derivative of with respect to is .
Step 4.1.2.3
Since is constant with respect to , the derivative of with respect to is .
Step 4.1.2.4
Differentiate using the Power Rule which states that is where .
Step 4.1.2.5
Since is constant with respect to , the derivative of with respect to is .
Step 4.1.2.6
Differentiate using the chain rule, which states that is where and .
Tap for more steps...
Step 4.1.2.6.1
To apply the Chain Rule, set as .
Step 4.1.2.6.2
Differentiate using the Power Rule which states that is where .
Step 4.1.2.6.3
Replace all occurrences of with .
Step 4.1.2.7
By the Sum Rule, the derivative of with respect to is .
Step 4.1.2.8
Differentiate using the Power Rule which states that is where .
Step 4.1.2.9
Since is constant with respect to , the derivative of with respect to is .
Step 4.1.2.10
Multiply by .
Step 4.1.2.11
Add and .
Step 4.1.2.12
Move to the left of .
Step 4.1.2.13
Rewrite as .
Step 4.1.2.14
Add and .
Step 4.1.2.15
Multiply by .
Step 4.1.2.16
Multiply by .
Step 4.1.2.17
Multiply the exponents in .
Tap for more steps...
Step 4.1.2.17.1
Apply the power rule and multiply exponents, .
Step 4.1.2.17.2
Multiply by .
Step 4.1.2.18
Factor out of .
Tap for more steps...
Step 4.1.2.18.1
Factor out of .
Step 4.1.2.18.2
Factor out of .
Step 4.1.2.18.3
Factor out of .
Step 4.1.2.19
Cancel the common factors.
Tap for more steps...
Step 4.1.2.19.1
Factor out of .
Step 4.1.2.19.2
Cancel the common factor.
Step 4.1.2.19.3
Rewrite the expression.
Step 4.1.3
Since is constant with respect to , the derivative of with respect to is .
Step 4.1.4
Simplify.
Tap for more steps...
Step 4.1.4.1
Apply the distributive property.
Step 4.1.4.2
Apply the distributive property.
Step 4.1.4.3
Combine terms.
Tap for more steps...
Step 4.1.4.3.1
Multiply by .
Step 4.1.4.3.2
Multiply by .
Step 4.1.4.3.3
Multiply by .
Step 4.1.4.3.4
Add and .
Step 4.1.4.3.5
Add and .
Step 4.1.4.3.6
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
Set the numerator equal to zero.
Step 5.3
Subtract from both sides of the equation.
Step 6
Find the values where the derivative is undefined.
Tap for more steps...
Step 6.1
Set the denominator in equal to to find where the expression is undefined.
Step 6.2
Solve for .
Tap for more steps...
Step 6.2.1
Set the equal to .
Step 6.2.2
Add to both sides of the equation.
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
Add and .
Step 9.2
Simplify the denominator.
Tap for more steps...
Step 9.2.1
Subtract from .
Step 9.2.2
Raise to the power of .
Step 9.3
Reduce the expression by cancelling the common factors.
Tap for more steps...
Step 9.3.1
Multiply by .
Step 9.3.2
Cancel the common factor of and .
Tap for more steps...
Step 9.3.2.1
Factor out of .
Step 9.3.2.2
Cancel the common factors.
Tap for more steps...
Step 9.3.2.2.1
Factor out of .
Step 9.3.2.2.2
Cancel the common factor.
Step 9.3.2.2.3
Rewrite the expression.
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 the expression.
Tap for more steps...
Step 11.2.1.1
Multiply by .
Step 11.2.1.2
Subtract from .
Step 11.2.2
Simplify each term.
Tap for more steps...
Step 11.2.2.1
Simplify the denominator.
Tap for more steps...
Step 11.2.2.1.1
Subtract from .
Step 11.2.2.1.2
Raise to the power of .
Step 11.2.2.2
Cancel the common factor of and .
Tap for more steps...
Step 11.2.2.2.1
Factor out of .
Step 11.2.2.2.2
Cancel the common factors.
Tap for more steps...
Step 11.2.2.2.2.1
Factor out of .
Step 11.2.2.2.2.2
Cancel the common factor.
Step 11.2.2.2.2.3
Rewrite the expression.
Step 11.2.3
To write as a fraction with a common denominator, multiply by .
Step 11.2.4
Combine and .
Step 11.2.5
Combine the numerators over the common denominator.
Step 11.2.6
Simplify the numerator.
Tap for more steps...
Step 11.2.6.1
Multiply by .
Step 11.2.6.2
Add and .
Step 11.2.7
The final answer is .
Step 12
These are the local extrema for .
is a local maxima
Step 13