Calculus Examples

Find the Local Maxima and Minima y=x+e^(-5x)
Step 1
Write as a function.
Step 2
Find the first derivative of the function.
Tap for more steps...
Step 2.1
Differentiate.
Tap for more steps...
Step 2.1.1
By the Sum Rule, the derivative of with respect to is .
Step 2.1.2
Differentiate using the Power Rule which states that is where .
Step 2.2
Evaluate .
Tap for more steps...
Step 2.2.1
Differentiate using the chain rule, which states that is where and .
Tap for more steps...
Step 2.2.1.1
To apply the Chain Rule, set as .
Step 2.2.1.2
Differentiate using the Exponential Rule which states that is where =.
Step 2.2.1.3
Replace all occurrences of with .
Step 2.2.2
Since is constant with respect to , 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
Multiply by .
Step 2.2.5
Move to the left of .
Step 3
Find the second derivative of the function.
Tap for more steps...
Step 3.1
Differentiate.
Tap for more steps...
Step 3.1.1
By the Sum Rule, the derivative of with respect to is .
Step 3.1.2
Since is constant with respect to , the derivative of with respect to is .
Step 3.2
Evaluate .
Tap for more steps...
Step 3.2.1
Since is constant with respect to , the derivative of with respect to is .
Step 3.2.2
Differentiate using the chain rule, which states that is where and .
Tap for more steps...
Step 3.2.2.1
To apply the Chain Rule, set as .
Step 3.2.2.2
Differentiate using the Exponential Rule which states that is where =.
Step 3.2.2.3
Replace all occurrences of with .
Step 3.2.3
Since is constant with respect to , the derivative of with respect to is .
Step 3.2.4
Differentiate using the Power Rule which states that is where .
Step 3.2.5
Multiply by .
Step 3.2.6
Move to the left of .
Step 3.2.7
Multiply by .
Step 3.3
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
Differentiate.
Tap for more steps...
Step 5.1.1.1
By the Sum Rule, the derivative of with respect to is .
Step 5.1.1.2
Differentiate using the Power Rule which states that is where .
Step 5.1.2
Evaluate .
Tap for more steps...
Step 5.1.2.1
Differentiate using the chain rule, which states that is where and .
Tap for more steps...
Step 5.1.2.1.1
To apply the Chain Rule, set as .
Step 5.1.2.1.2
Differentiate using the Exponential Rule which states that is where =.
Step 5.1.2.1.3
Replace all occurrences of with .
Step 5.1.2.2
Since is constant with respect to , the derivative of with respect to is .
Step 5.1.2.3
Differentiate using the Power Rule which states that is where .
Step 5.1.2.4
Multiply by .
Step 5.1.2.5
Move to the left of .
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
Subtract from both sides of the equation.
Step 6.3
Divide each term in by and simplify.
Tap for more steps...
Step 6.3.1
Divide each term in by .
Step 6.3.2
Simplify the left side.
Tap for more steps...
Step 6.3.2.1
Cancel the common factor of .
Tap for more steps...
Step 6.3.2.1.1
Cancel the common factor.
Step 6.3.2.1.2
Divide by .
Step 6.3.3
Simplify the right side.
Tap for more steps...
Step 6.3.3.1
Dividing two negative values results in a positive value.
Step 6.4
Take the natural logarithm of both sides of the equation to remove the variable from the exponent.
Step 6.5
Expand the left side.
Tap for more steps...
Step 6.5.1
Expand by moving outside the logarithm.
Step 6.5.2
The natural logarithm of is .
Step 6.5.3
Multiply by .
Step 6.6
Divide each term in by and simplify.
Tap for more steps...
Step 6.6.1
Divide each term in by .
Step 6.6.2
Simplify the left side.
Tap for more steps...
Step 6.6.2.1
Cancel the common factor of .
Tap for more steps...
Step 6.6.2.1.1
Cancel the common factor.
Step 6.6.2.1.2
Divide by .
Step 6.6.3
Simplify the right side.
Tap for more steps...
Step 6.6.3.1
Move the negative in front of the fraction.
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
Cancel the common factor of .
Tap for more steps...
Step 10.1.1
Move the leading negative in into the numerator.
Step 10.1.2
Factor out of .
Step 10.1.3
Cancel the common factor.
Step 10.1.4
Rewrite the expression.
Step 10.2
Multiply.
Tap for more steps...
Step 10.2.1
Multiply by .
Step 10.2.2
Multiply by .
Step 10.3
Exponentiation and log are inverse functions.
Step 10.4
Cancel the common factor of .
Tap for more steps...
Step 10.4.1
Factor out of .
Step 10.4.2
Cancel the common factor.
Step 10.4.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
Simplify to substitute in .
Tap for more steps...
Step 12.1.1
Rewrite as .
Step 12.1.2
Simplify by moving inside the logarithm.
Step 12.1.3
Apply the product rule to .
Step 12.1.4
One to any power is one.
Step 12.2
Replace the variable with in the expression.
Step 12.3
Simplify the result.
Tap for more steps...
Step 12.3.1
Simplify each term.
Tap for more steps...
Step 12.3.1.1
Multiply .
Tap for more steps...
Step 12.3.1.1.1
Multiply by .
Step 12.3.1.1.2
Simplify by moving inside the logarithm.
Step 12.3.1.2
Exponentiation and log are inverse functions.
Step 12.3.1.3
Apply the product rule to .
Step 12.3.1.4
One to any power is one.
Step 12.3.1.5
Simplify the denominator.
Tap for more steps...
Step 12.3.1.5.1
Multiply the exponents in .
Tap for more steps...
Step 12.3.1.5.1.1
Apply the power rule and multiply exponents, .
Step 12.3.1.5.1.2
Cancel the common factor of .
Tap for more steps...
Step 12.3.1.5.1.2.1
Cancel the common factor.
Step 12.3.1.5.1.2.2
Rewrite the expression.
Step 12.3.1.5.2
Evaluate the exponent.
Step 12.3.2
The final answer is .
Step 13
These are the local extrema for .
is a local minima
Step 14