Algebra Examples

Find the Maximum/Minimum Value f(x)=|x-a|-b
Step 1
Find the first derivative of the function.
Tap for more steps...
Step 1.1
By the Sum Rule, the derivative of with respect to is .
Step 1.2
Evaluate .
Tap for more steps...
Step 1.2.1
Differentiate using the chain rule, which states that is where and .
Tap for more steps...
Step 1.2.1.1
To apply the Chain Rule, set as .
Step 1.2.1.2
The derivative of with respect to is .
Step 1.2.1.3
Replace all occurrences of with .
Step 1.2.2
By the Sum Rule, the derivative of with respect to is .
Step 1.2.3
Differentiate using the Power Rule which states that is where .
Step 1.2.4
Since is constant with respect to , the derivative of with respect to is .
Step 1.2.5
Add and .
Step 1.2.6
Multiply by .
Step 1.3
Since is constant with respect to , the derivative of with respect to is .
Step 1.4
Simplify.
Tap for more steps...
Step 1.4.1
Add and .
Step 1.4.2
Reorder terms.
Step 1.4.3
Factor out of .
Step 1.4.4
Factor out of .
Step 1.4.5
Factor out of .
Step 1.4.6
Rewrite as .
Step 1.4.7
Move the negative in front of the fraction.
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.
Tap for more steps...
Step 2.3.1
By the Sum Rule, the derivative of with respect to is .
Step 2.3.2
Since is constant with respect to , the derivative of with respect to is .
Step 2.3.3
Add and .
Step 2.3.4
Since is constant with respect to , the derivative of with respect to is .
Step 2.3.5
Differentiate using the Power Rule which states that is where .
Step 2.3.6
Simplify the expression.
Tap for more steps...
Step 2.3.6.1
Multiply by .
Step 2.3.6.2
Move to the left of .
Step 2.3.6.3
Rewrite as .
Step 2.4
Differentiate using the chain rule, which states that is where and .
Tap for more steps...
Step 2.4.1
To apply the Chain Rule, set as .
Step 2.4.2
The derivative of with respect to is .
Step 2.4.3
Replace all occurrences of with .
Step 2.5
Differentiate.
Tap for more steps...
Step 2.5.1
By the Sum Rule, the derivative of with respect to is .
Step 2.5.2
Differentiate using the Power Rule which states that is where .
Step 2.5.3
Since is constant with respect to , the derivative of with respect to is .
Step 2.5.4
Simplify the expression.
Tap for more steps...
Step 2.5.4.1
Add and .
Step 2.5.4.2
Multiply by .
Step 2.5.5
Since is constant with respect to , the derivative of with respect to is .
Step 2.5.6
Simplify the expression.
Tap for more steps...
Step 2.5.6.1
Multiply by .
Step 2.5.6.2
Add and .
Step 2.6
Simplify.
Tap for more steps...
Step 2.6.1
Apply the distributive property.
Step 2.6.2
Simplify the numerator.
Tap for more steps...
Step 2.6.2.1
Simplify each term.
Tap for more steps...
Step 2.6.2.1.1
Multiply .
Tap for more steps...
Step 2.6.2.1.1.1
Multiply by .
Step 2.6.2.1.1.2
Multiply by .
Step 2.6.2.1.2
Multiply by .
Step 2.6.2.1.3
Simplify the numerator.
Tap for more steps...
Step 2.6.2.1.3.1
Reorder terms.
Step 2.6.2.1.3.2
Raise to the power of .
Step 2.6.2.1.3.3
Raise to the power of .
Step 2.6.2.1.3.4
Use the power rule to combine exponents.
Step 2.6.2.1.3.5
Add and .
Step 2.6.2.2
To write as a fraction with a common denominator, multiply by .
Step 2.6.2.3
Combine and .
Step 2.6.2.4
Combine the numerators over the common denominator.
Step 2.6.2.5
Simplify the numerator.
Tap for more steps...
Step 2.6.2.5.1
Multiply .
Tap for more steps...
Step 2.6.2.5.1.1
To multiply absolute values, multiply the terms inside each absolute value.
Step 2.6.2.5.1.2
Raise to the power of .
Step 2.6.2.5.1.3
Raise to the power of .
Step 2.6.2.5.1.4
Use the power rule to combine exponents.
Step 2.6.2.5.1.5
Add and .
Step 2.6.2.5.2
Rewrite as .
Step 2.6.2.5.3
Expand using the FOIL Method.
Tap for more steps...
Step 2.6.2.5.3.1
Apply the distributive property.
Step 2.6.2.5.3.2
Apply the distributive property.
Step 2.6.2.5.3.3
Apply the distributive property.
Step 2.6.2.5.4
Simplify and combine like terms.
Tap for more steps...
Step 2.6.2.5.4.1
Simplify each term.
Tap for more steps...
Step 2.6.2.5.4.1.1
Multiply by .
Step 2.6.2.5.4.1.2
Rewrite using the commutative property of multiplication.
Step 2.6.2.5.4.1.3
Rewrite using the commutative property of multiplication.
Step 2.6.2.5.4.1.4
Multiply by by adding the exponents.
Tap for more steps...
Step 2.6.2.5.4.1.4.1
Move .
Step 2.6.2.5.4.1.4.2
Multiply by .
Step 2.6.2.5.4.1.5
Multiply by .
Step 2.6.2.5.4.1.6
Multiply by .
Step 2.6.2.5.4.2
Subtract from .
Tap for more steps...
Step 2.6.2.5.4.2.1
Move .
Step 2.6.2.5.4.2.2
Subtract from .
Step 2.6.2.5.5
Rewrite as .
Step 2.6.2.5.6
Expand using the FOIL Method.
Tap for more steps...
Step 2.6.2.5.6.1
Apply the distributive property.
Step 2.6.2.5.6.2
Apply the distributive property.
Step 2.6.2.5.6.3
Apply the distributive property.
Step 2.6.2.5.7
Simplify and combine like terms.
Tap for more steps...
Step 2.6.2.5.7.1
Simplify each term.
Tap for more steps...
Step 2.6.2.5.7.1.1
Rewrite using the commutative property of multiplication.
Step 2.6.2.5.7.1.2
Multiply by by adding the exponents.
Tap for more steps...
Step 2.6.2.5.7.1.2.1
Move .
Step 2.6.2.5.7.1.2.2
Multiply by .
Step 2.6.2.5.7.1.3
Multiply by .
Step 2.6.2.5.7.1.4
Multiply by .
Step 2.6.2.5.7.1.5
Rewrite using the commutative property of multiplication.
Step 2.6.2.5.7.1.6
Multiply by .
Step 2.6.2.5.7.2
Subtract from .
Tap for more steps...
Step 2.6.2.5.7.2.1
Move .
Step 2.6.2.5.7.2.2
Subtract from .
Step 2.6.2.6
Factor out of .
Step 2.6.2.7
Factor out of .
Step 2.6.2.8
Factor out of .
Step 2.6.2.9
Factor out of .
Step 2.6.2.10
Factor out of .
Step 2.6.2.11
Factor out of .
Step 2.6.2.12
Factor out of .
Step 2.6.2.13
Rewrite as .
Step 2.6.2.14
Move the negative in front of the fraction.
Step 2.6.3
Combine terms.
Tap for more steps...
Step 2.6.3.1
Rewrite as a product.
Step 2.6.3.2
Multiply by .
Step 2.6.3.3
Multiply by by adding the exponents.
Tap for more steps...
Step 2.6.3.3.1
Multiply by .
Tap for more steps...
Step 2.6.3.3.1.1
Raise to the power of .
Step 2.6.3.3.1.2
Use the power rule to combine exponents.
Step 2.6.3.3.2
Add and .
Step 2.6.3.4
Multiply by .
Step 2.6.3.5
Multiply by .
Step 2.6.4
Reorder terms.
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
By the Sum Rule, the derivative of with respect to is .
Step 4.1.2
Evaluate .
Tap for more steps...
Step 4.1.2.1
Differentiate using the chain rule, which states that is where and .
Tap for more steps...
Step 4.1.2.1.1
To apply the Chain Rule, set as .
Step 4.1.2.1.2
The derivative of with respect to is .
Step 4.1.2.1.3
Replace all occurrences of with .
Step 4.1.2.2
By the Sum Rule, the derivative of with respect to is .
Step 4.1.2.3
Differentiate using the Power Rule which states that is where .
Step 4.1.2.4
Since is constant with respect to , the derivative of with respect to is .
Step 4.1.2.5
Add and .
Step 4.1.2.6
Multiply by .
Step 4.1.3
Since is constant with respect to , the derivative of with respect to is .
Step 4.1.4
Simplify.
Tap for more steps...
Step 4.1.4.1
Add and .
Step 4.1.4.2
Reorder terms.
Step 4.1.4.3
Factor out of .
Step 4.1.4.4
Factor out of .
Step 4.1.4.5
Factor out of .
Step 4.1.4.6
Rewrite as .
Step 4.1.4.7
Move the negative in front of the fraction.
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
Solve the equation for .
Tap for more steps...
Step 5.3.1
Subtract from both sides of the equation.
Step 5.3.2
Divide each term in by and simplify.
Tap for more steps...
Step 5.3.2.1
Divide each term in by .
Step 5.3.2.2
Simplify the left side.
Tap for more steps...
Step 5.3.2.2.1
Dividing two negative values results in a positive value.
Step 5.3.2.2.2
Divide by .
Step 5.3.2.3
Simplify the right side.
Tap for more steps...
Step 5.3.2.3.1
Dividing two negative values results in a positive value.
Step 5.3.2.3.2
Divide by .
Step 6
Find the values where the derivative is undefined.
Tap for more steps...
Step 6.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 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
Subtract from .
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 the first derivative test failed, there are no local extrema.
No Local Extrema
Step 11