Calculus Examples

Find the Absolute Max and Min over the Interval f(x)=|x+1|
Step 1
Find the first derivative of the function.
Tap for more steps...
Step 1.1
Differentiate using the chain rule, which states that is where and .
Tap for more steps...
Step 1.1.1
To apply the Chain Rule, set as .
Step 1.1.2
The derivative of with respect to is .
Step 1.1.3
Replace all occurrences of with .
Step 1.2
Differentiate.
Tap for more steps...
Step 1.2.1
By the Sum Rule, the derivative of with respect to is .
Step 1.2.2
Differentiate using the Power Rule which states that is where .
Step 1.2.3
Since is constant with respect to , the derivative of with respect to is .
Step 1.2.4
Simplify the expression.
Tap for more steps...
Step 1.2.4.1
Add and .
Step 1.2.4.2
Multiply by .
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.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
The derivative of with respect to is .
Step 2.3.3
Replace all occurrences of with .
Step 2.4
Differentiate.
Tap for more steps...
Step 2.4.1
By the Sum Rule, the derivative of with respect to is .
Step 2.4.2
Differentiate using the Power Rule which states that is where .
Step 2.4.3
Since is constant with respect to , the derivative of with respect to is .
Step 2.4.4
Simplify the expression.
Tap for more steps...
Step 2.4.4.1
Add and .
Step 2.4.4.2
Multiply by .
Step 2.5
Simplify.
Tap for more steps...
Step 2.5.1
Apply the distributive property.
Step 2.5.2
Simplify the numerator.
Tap for more steps...
Step 2.5.2.1
Simplify each term.
Tap for more steps...
Step 2.5.2.1.1
Multiply by .
Step 2.5.2.1.2
Multiply by .
Step 2.5.2.1.3
Simplify the numerator.
Tap for more steps...
Step 2.5.2.1.3.1
Factor out of .
Step 2.5.2.1.3.2
Rewrite as .
Step 2.5.2.1.3.3
Factor out of .
Step 2.5.2.1.3.4
Rewrite as .
Step 2.5.2.1.3.5
Raise to the power of .
Step 2.5.2.1.3.6
Raise to the power of .
Step 2.5.2.1.3.7
Use the power rule to combine exponents.
Step 2.5.2.1.3.8
Add and .
Step 2.5.2.1.4
Move the negative in front of the fraction.
Step 2.5.2.2
To write as a fraction with a common denominator, multiply by .
Step 2.5.2.3
Combine the numerators over the common denominator.
Step 2.5.2.4
Simplify the numerator.
Tap for more steps...
Step 2.5.2.4.1
Multiply .
Tap for more steps...
Step 2.5.2.4.1.1
To multiply absolute values, multiply the terms inside each absolute value.
Step 2.5.2.4.1.2
Raise to the power of .
Step 2.5.2.4.1.3
Raise to the power of .
Step 2.5.2.4.1.4
Use the power rule to combine exponents.
Step 2.5.2.4.1.5
Add and .
Step 2.5.2.4.2
Rewrite as .
Step 2.5.2.4.3
Expand using the FOIL Method.
Tap for more steps...
Step 2.5.2.4.3.1
Apply the distributive property.
Step 2.5.2.4.3.2
Apply the distributive property.
Step 2.5.2.4.3.3
Apply the distributive property.
Step 2.5.2.4.4
Simplify and combine like terms.
Tap for more steps...
Step 2.5.2.4.4.1
Simplify each term.
Tap for more steps...
Step 2.5.2.4.4.1.1
Multiply by .
Step 2.5.2.4.4.1.2
Multiply by .
Step 2.5.2.4.4.1.3
Multiply by .
Step 2.5.2.4.4.1.4
Multiply by .
Step 2.5.2.4.4.2
Add and .
Step 2.5.2.4.5
Rewrite as .
Step 2.5.2.4.6
Expand using the FOIL Method.
Tap for more steps...
Step 2.5.2.4.6.1
Apply the distributive property.
Step 2.5.2.4.6.2
Apply the distributive property.
Step 2.5.2.4.6.3
Apply the distributive property.
Step 2.5.2.4.7
Simplify and combine like terms.
Tap for more steps...
Step 2.5.2.4.7.1
Simplify each term.
Tap for more steps...
Step 2.5.2.4.7.1.1
Multiply by .
Step 2.5.2.4.7.1.2
Multiply by .
Step 2.5.2.4.7.1.3
Multiply by .
Step 2.5.2.4.7.1.4
Multiply by .
Step 2.5.2.4.7.2
Add and .
Step 2.5.2.4.8
Apply the distributive property.
Step 2.5.2.4.9
Simplify.
Tap for more steps...
Step 2.5.2.4.9.1
Multiply by .
Step 2.5.2.4.9.2
Multiply by .
Step 2.5.2.4.10
Reorder terms.
Step 2.5.2.4.11
Rewrite in a factored form.
Tap for more steps...
Step 2.5.2.4.11.1
Regroup terms.
Step 2.5.2.4.11.2
Factor out of .
Tap for more steps...
Step 2.5.2.4.11.2.1
Factor out of .
Step 2.5.2.4.11.2.2
Factor out of .
Step 2.5.2.4.11.2.3
Factor out of .
Step 2.5.2.4.11.2.4
Factor out of .
Step 2.5.2.4.11.2.5
Factor out of .
Step 2.5.2.4.11.3
Factor out of .
Tap for more steps...
Step 2.5.2.4.11.3.1
Rewrite as .
Step 2.5.2.4.11.3.2
Factor out of .
Step 2.5.2.4.11.3.3
Rewrite as .
Step 2.5.2.4.11.4
Reorder terms.
Step 2.5.2.5
Move the negative in front of the fraction.
Step 2.5.3
Combine terms.
Tap for more steps...
Step 2.5.3.1
Rewrite as a product.
Step 2.5.3.2
Multiply by .
Step 2.5.3.3
Multiply by by adding the exponents.
Tap for more steps...
Step 2.5.3.3.1
Multiply by .
Tap for more steps...
Step 2.5.3.3.1.1
Raise to the power of .
Step 2.5.3.3.1.2
Use the power rule to combine exponents.
Step 2.5.3.3.2
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 using the chain rule, which states that is where and .
Tap for more steps...
Step 4.1.1.1
To apply the Chain Rule, set as .
Step 4.1.1.2
The derivative of with respect to is .
Step 4.1.1.3
Replace all occurrences of with .
Step 4.1.2
Differentiate.
Tap for more steps...
Step 4.1.2.1
By the Sum Rule, the derivative of with respect to is .
Step 4.1.2.2
Differentiate using the Power Rule which states that is where .
Step 4.1.2.3
Since is constant with respect to , the derivative of with respect to is .
Step 4.1.2.4
Simplify the expression.
Tap for more steps...
Step 4.1.2.4.1
Add and .
Step 4.1.2.4.2
Multiply by .
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 5.4
Exclude the solutions that do not make true.
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
Remove the absolute value term. This creates a on the right side of the equation because .
Step 6.2.2
Plus or minus is .
Step 6.2.3
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
Add and .
Step 9.2
The absolute value is the distance between a number and zero. The distance between and is .
Step 9.3
Raising to any positive power yields .
Step 9.4
The expression contains a division by . The expression is undefined.
Undefined
Undefined
Step 10
Since there is at least one point with or undefined second derivative, apply the first derivative test.
Tap for more steps...
Step 10.1
Split into separate intervals around the values that make the first derivative or undefined.
Step 10.2
Substitute any number, such as , from the interval in the first derivative to check if the result is negative or positive.
Tap for more steps...
Step 10.2.1
Replace the variable with in the expression.
Step 10.2.2
Simplify the result.
Tap for more steps...
Step 10.2.2.1
Add and .
Step 10.2.2.2
Simplify the denominator.
Tap for more steps...
Step 10.2.2.2.1
Add and .
Step 10.2.2.2.2
The absolute value is the distance between a number and zero. The distance between and is .
Step 10.2.2.3
Divide by .
Step 10.2.2.4
The final answer is .
Step 10.3
Substitute any number, such as , from the interval in the first derivative to check if the result is negative or positive.
Tap for more steps...
Step 10.3.1
Replace the variable with in the expression.
Step 10.3.2
Simplify the result.
Tap for more steps...
Step 10.3.2.1
Add and .
Step 10.3.2.2
Simplify the denominator.
Tap for more steps...
Step 10.3.2.2.1
Add and .
Step 10.3.2.2.2
The absolute value is the distance between a number and zero. The distance between and is .
Step 10.3.2.3
Divide by .
Step 10.3.2.4
The final answer is .
Step 10.4
Since the first derivative changed signs from negative to positive around , then is a local minimum.
is a local minimum
is a local minimum
Step 11