Calculus Examples

Find the Local Maxima and Minima f(x)=|x|
Step 1
The derivative of with respect to is .
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 using the Power Rule.
Tap for more steps...
Step 2.2.1
Differentiate using the Power Rule which states that is where .
Step 2.2.2
Multiply by .
Step 2.3
The derivative of with respect to is .
Step 2.4
Combine and .
Step 2.5
Raise to the power of .
Step 2.6
Raise to the power of .
Step 2.7
Use the power rule to combine exponents.
Step 2.8
Add and .
Step 2.9
Simplify.
Tap for more steps...
Step 2.9.1
Reorder terms.
Step 2.9.2
Simplify the numerator.
Tap for more steps...
Step 2.9.2.1
To write as a fraction with a common denominator, multiply by .
Step 2.9.2.2
Combine the numerators over the common denominator.
Step 2.9.2.3
Simplify the numerator.
Tap for more steps...
Step 2.9.2.3.1
Multiply .
Tap for more steps...
Step 2.9.2.3.1.1
To multiply absolute values, multiply the terms inside each absolute value.
Step 2.9.2.3.1.2
Raise to the power of .
Step 2.9.2.3.1.3
Raise to the power of .
Step 2.9.2.3.1.4
Use the power rule to combine exponents.
Step 2.9.2.3.1.5
Add and .
Step 2.9.2.3.2
Remove non-negative terms from the absolute value.
Step 2.9.2.3.3
Add and .
Step 2.9.2.4
Divide by .
Step 2.9.3
Remove the absolute value in because exponentiations with even powers are always positive.
Step 2.9.4
Divide 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
The derivative of with respect to is .
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
Divide by .
Step 9.3.2.3
The final answer is .
Step 9.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 10