Precalculus Examples

Find the Maximum/Minimum Value f(x)=10-|x|
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
Since is constant with respect to , the derivative of with respect to is .
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
The derivative of with respect to is .
Step 1.3
Subtract from .
Step 2
Find the second derivative of the function.
Tap for more steps...
Step 2.1
Differentiate using the Product Rule which states that is where and .
Step 2.2
Differentiate using the Quotient Rule which states that is where and .
Step 2.3
Differentiate using the Power Rule.
Tap for more steps...
Step 2.3.1
Differentiate using the Power Rule which states that is where .
Step 2.3.2
Multiply by .
Step 2.4
The derivative of with respect to is .
Step 2.5
Combine and .
Step 2.6
Raise to the power of .
Step 2.7
Raise to the power of .
Step 2.8
Use the power rule to combine exponents.
Step 2.9
Add and .
Step 2.10
Since is constant with respect to , the derivative of with respect to is .
Step 2.11
Simplify the expression.
Tap for more steps...
Step 2.11.1
Multiply by .
Step 2.11.2
Add and .
Step 2.12
Simplify.
Tap for more steps...
Step 2.12.1
Simplify the numerator.
Tap for more steps...
Step 2.12.1.1
To write as a fraction with a common denominator, multiply by .
Step 2.12.1.2
Combine the numerators over the common denominator.
Step 2.12.1.3
Simplify the numerator.
Tap for more steps...
Step 2.12.1.3.1
Multiply .
Tap for more steps...
Step 2.12.1.3.1.1
To multiply absolute values, multiply the terms inside each absolute value.
Step 2.12.1.3.1.2
Raise to the power of .
Step 2.12.1.3.1.3
Raise to the power of .
Step 2.12.1.3.1.4
Use the power rule to combine exponents.
Step 2.12.1.3.1.5
Add and .
Step 2.12.1.3.2
Remove non-negative terms from the absolute value.
Step 2.12.1.3.3
Subtract from .
Step 2.12.1.4
Divide by .
Step 2.12.2
Remove the absolute value in because exponentiations with even powers are always positive.
Step 2.12.3
Divide by .
Step 2.12.4
Multiply by .
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
Since is constant with respect to , the derivative of with respect to is .
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
The derivative of with respect to is .
Step 4.1.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
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 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
Since there is at least one point with or undefined second derivative, apply the first derivative test.
Tap for more steps...
Step 9.1
Split into separate intervals around the values that make the first derivative or undefined.
Step 9.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 9.2.1
Replace the variable with in the expression.
Step 9.2.2
Simplify the result.
Tap for more steps...
Step 9.2.2.1
The absolute value is the distance between a number and zero. The distance between and is .
Step 9.2.2.2
Divide by .
Step 9.2.2.3
The final answer is .
Step 9.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 9.3.1
Replace the variable with in the expression.
Step 9.3.2
Simplify the result.
Tap for more steps...
Step 9.3.2.1
The absolute value is the distance between a number and zero. The distance between and is .
Step 9.3.2.2
Cancel the common factor of .
Tap for more steps...
Step 9.3.2.2.1
Cancel the common factor.
Step 9.3.2.2.2
Rewrite the expression.
Step 9.3.2.3
Multiply by .
Step 9.3.2.4
The final answer is .
Step 9.4
Since the first derivative changed signs from positive to negative around , then is a local maximum.
is a local maximum
is a local maximum
Step 10