Calculus Examples

Find the Local Maxima and Minima f(x)=x-2 natural log of x+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 chain rule, which states that is where and .
Tap for more steps...
Step 1.2.2.1
To apply the Chain Rule, set as .
Step 1.2.2.2
The derivative of with respect to is .
Step 1.2.2.3
Replace all occurrences of with .
Step 1.2.3
By the Sum Rule, 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
Add and .
Step 1.2.7
Multiply by .
Step 1.2.8
Combine and .
Step 1.2.9
Move the negative in front of the fraction.
Step 1.3
Combine terms.
Tap for more steps...
Step 1.3.1
Write as a fraction with a common denominator.
Step 1.3.2
Combine the numerators over the common denominator.
Step 1.3.3
Subtract from .
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
By the Sum Rule, 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
Since is constant with respect to , the derivative of with respect to is .
Step 2.2.4
Simplify the expression.
Tap for more steps...
Step 2.2.4.1
Add and .
Step 2.2.4.2
Multiply by .
Step 2.2.5
By the Sum Rule, the derivative of with respect to is .
Step 2.2.6
Differentiate using the Power Rule which states that is where .
Step 2.2.7
Since is constant with respect to , the derivative of with respect to is .
Step 2.2.8
Simplify the expression.
Tap for more steps...
Step 2.2.8.1
Add and .
Step 2.2.8.2
Multiply by .
Step 2.3
Simplify.
Tap for more steps...
Step 2.3.1
Apply the distributive property.
Step 2.3.2
Simplify the numerator.
Tap for more steps...
Step 2.3.2.1
Combine the opposite terms in .
Tap for more steps...
Step 2.3.2.1.1
Subtract from .
Step 2.3.2.1.2
Add and .
Step 2.3.2.2
Multiply by .
Step 2.3.2.3
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 chain rule, which states that is where and .
Tap for more steps...
Step 4.1.2.2.1
To apply the Chain Rule, set as .
Step 4.1.2.2.2
The derivative of with respect to is .
Step 4.1.2.2.3
Replace all occurrences of with .
Step 4.1.2.3
By the Sum Rule, 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
Add and .
Step 4.1.2.7
Multiply by .
Step 4.1.2.8
Combine and .
Step 4.1.2.9
Move the negative in front of the fraction.
Step 4.1.3
Combine terms.
Tap for more steps...
Step 4.1.3.1
Write as a fraction with a common denominator.
Step 4.1.3.2
Combine the numerators over the common denominator.
Step 4.1.3.3
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
Set the numerator equal to zero.
Step 5.3
Add to 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
Subtract from 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
Simplify the denominator.
Tap for more steps...
Step 9.1.1
Add and .
Step 9.1.2
Raise to the power of .
Step 9.2
Cancel the common factor of and .
Tap for more steps...
Step 9.2.1
Factor out of .
Step 9.2.2
Cancel the common factors.
Tap for more steps...
Step 9.2.2.1
Factor out of .
Step 9.2.2.2
Cancel the common factor.
Step 9.2.2.3
Rewrite the expression.
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
Add and .
Step 11.2.1.2
Simplify by moving inside the logarithm.
Step 11.2.1.3
Raise to the power of .
Step 11.2.2
The final answer is .
Step 12
These are the local extrema for .
is a local minima
Step 13