Calculus Examples

Find the Absolute Max and Min over the Interval f(x)=|x|+2|1-x| , [-2,2]
,
Step 1
Find the critical points.
Tap for more steps...
Step 1.1
Find the first derivative.
Tap for more steps...
Step 1.1.1
Find the first derivative.
Tap for more steps...
Step 1.1.1.1
By the Sum Rule, the derivative of with respect to is .
Step 1.1.1.2
The derivative of with respect to is .
Step 1.1.1.3
Evaluate .
Tap for more steps...
Step 1.1.1.3.1
Since is constant with respect to , the derivative of with respect to is .
Step 1.1.1.3.2
Differentiate using the chain rule, which states that is where and .
Tap for more steps...
Step 1.1.1.3.2.1
To apply the Chain Rule, set as .
Step 1.1.1.3.2.2
The derivative of with respect to is .
Step 1.1.1.3.2.3
Replace all occurrences of with .
Step 1.1.1.3.3
By the Sum Rule, the derivative of with respect to is .
Step 1.1.1.3.4
Since is constant with respect to , the derivative of with respect to is .
Step 1.1.1.3.5
Since is constant with respect to , the derivative of with respect to is .
Step 1.1.1.3.6
Differentiate using the Power Rule which states that is where .
Step 1.1.1.3.7
Multiply by .
Step 1.1.1.3.8
Subtract from .
Step 1.1.1.3.9
Combine and .
Step 1.1.1.3.10
Move to the left of .
Step 1.1.1.3.11
Rewrite as .
Step 1.1.1.3.12
Move the negative in front of the fraction.
Step 1.1.1.3.13
Multiply by .
Step 1.1.1.3.14
Combine and .
Step 1.1.1.3.15
Move the negative in front of the fraction.
Step 1.1.2
The first derivative of with respect to is .
Step 1.2
Set the first derivative equal to then solve the equation .
Tap for more steps...
Step 1.2.1
Set the first derivative equal to .
Step 1.2.2
Subtract from both sides of the equation.
Step 1.2.3
Find the LCD of the terms in the equation.
Tap for more steps...
Step 1.2.3.1
Finding the LCD of a list of values is the same as finding the LCM of the denominators of those values.
Step 1.2.3.2
Since contains both numbers and variables, there are two steps to find the LCM. Find LCM for the numeric part then find LCM for the variable part .
Step 1.2.3.3
The LCM is the smallest positive number that all of the numbers divide into evenly.
1. List the prime factors of each number.
2. Multiply each factor the greatest number of times it occurs in either number.
Step 1.2.3.4
The number is not a prime number because it only has one positive factor, which is itself.
Not prime
Step 1.2.3.5
The LCM of is the result of multiplying all prime factors the greatest number of times they occur in either number.
Step 1.2.3.6
The factor for is itself.
occurs time.
Step 1.2.3.7
The factor for is itself.
occurs time.
Step 1.2.3.8
The LCM of is the result of multiplying all prime factors the greatest number of times they occur in either term.
Step 1.2.4
Multiply each term in by to eliminate the fractions.
Tap for more steps...
Step 1.2.4.1
Multiply each term in by .
Step 1.2.4.2
Simplify the left side.
Tap for more steps...
Step 1.2.4.2.1
Cancel the common factor of .
Tap for more steps...
Step 1.2.4.2.1.1
Move the leading negative in into the numerator.
Step 1.2.4.2.1.2
Factor out of .
Step 1.2.4.2.1.3
Cancel the common factor.
Step 1.2.4.2.1.4
Rewrite the expression.
Step 1.2.4.2.2
Apply the distributive property.
Step 1.2.4.2.3
Multiply.
Tap for more steps...
Step 1.2.4.2.3.1
Multiply by .
Step 1.2.4.2.3.2
Multiply by .
Step 1.2.4.2.4
Apply the distributive property.
Step 1.2.4.3
Simplify the right side.
Tap for more steps...
Step 1.2.4.3.1
Cancel the common factor of .
Tap for more steps...
Step 1.2.4.3.1.1
Move the leading negative in into the numerator.
Step 1.2.4.3.1.2
Factor out of .
Step 1.2.4.3.1.3
Cancel the common factor.
Step 1.2.4.3.1.4
Rewrite the expression.
Step 1.2.5
Solve the equation.
Tap for more steps...
Step 1.2.5.1
Rewrite the equation as .
Step 1.2.5.2
Divide each term in by and simplify.
Tap for more steps...
Step 1.2.5.2.1
Divide each term in by .
Step 1.2.5.2.2
Simplify the left side.
Tap for more steps...
Step 1.2.5.2.2.1
Dividing two negative values results in a positive value.
Step 1.2.5.2.2.2
Cancel the common factor of .
Tap for more steps...
Step 1.2.5.2.2.2.1
Cancel the common factor.
Step 1.2.5.2.2.2.2
Divide by .
Step 1.2.5.2.3
Simplify the right side.
Tap for more steps...
Step 1.2.5.2.3.1
Simplify each term.
Tap for more steps...
Step 1.2.5.2.3.1.1
Dividing two negative values results in a positive value.
Step 1.2.5.2.3.1.2
Cancel the common factor of .
Tap for more steps...
Step 1.2.5.2.3.1.2.1
Cancel the common factor.
Step 1.2.5.2.3.1.2.2
Rewrite the expression.
Step 1.2.5.2.3.1.2.3
Move the negative one from the denominator of .
Step 1.2.5.2.3.1.3
Rewrite as .
Step 1.2.5.2.3.1.4
Multiply by .
Step 1.2.6
Solve for .
Tap for more steps...
Step 1.2.6.1
Rewrite the equation as .
Step 1.2.6.2
Find the LCD of the terms in the equation.
Tap for more steps...
Step 1.2.6.2.1
Finding the LCD of a list of values is the same as finding the LCM of the denominators of those values.
Step 1.2.6.2.2
The LCM of one and any expression is the expression.
Step 1.2.6.3
Multiply each term in by to eliminate the fractions.
Tap for more steps...
Step 1.2.6.3.1
Multiply each term in by .
Step 1.2.6.3.2
Simplify the left side.
Tap for more steps...
Step 1.2.6.3.2.1
Cancel the common factor of .
Tap for more steps...
Step 1.2.6.3.2.1.1
Cancel the common factor.
Step 1.2.6.3.2.1.2
Rewrite the expression.
Step 1.2.6.4
Solve the equation.
Tap for more steps...
Step 1.2.6.4.1
Factor out of .
Tap for more steps...
Step 1.2.6.4.1.1
Factor out of .
Step 1.2.6.4.1.2
Factor out of .
Step 1.2.6.4.1.3
Factor out of .
Step 1.2.6.4.2
Rewrite as .
Step 1.2.6.4.3
Divide each term in by and simplify.
Tap for more steps...
Step 1.2.6.4.3.1
Divide each term in by .
Step 1.2.6.4.3.2
Simplify the left side.
Tap for more steps...
Step 1.2.6.4.3.2.1
Cancel the common factor of .
Tap for more steps...
Step 1.2.6.4.3.2.1.1
Cancel the common factor.
Step 1.2.6.4.3.2.1.2
Rewrite the expression.
Step 1.2.6.4.3.2.2
Cancel the common factor of .
Tap for more steps...
Step 1.2.6.4.3.2.2.1
Cancel the common factor.
Step 1.2.6.4.3.2.2.2
Divide by .
Step 1.2.7
Remove the absolute value term. This creates a on the right side of the equation because .
Step 1.2.8
The result consists of both the positive and negative portions of the .
Step 1.2.9
Solve for .
Tap for more steps...
Step 1.2.9.1
Solve for .
Tap for more steps...
Step 1.2.9.1.1
Rewrite the equation as .
Step 1.2.9.1.2
Multiply both sides by .
Step 1.2.9.1.3
Simplify.
Tap for more steps...
Step 1.2.9.1.3.1
Simplify the left side.
Tap for more steps...
Step 1.2.9.1.3.1.1
Simplify .
Tap for more steps...
Step 1.2.9.1.3.1.1.1
Rewrite using the commutative property of multiplication.
Step 1.2.9.1.3.1.1.2
Cancel the common factor of .
Tap for more steps...
Step 1.2.9.1.3.1.1.2.1
Cancel the common factor.
Step 1.2.9.1.3.1.1.2.2
Rewrite the expression.
Step 1.2.9.1.3.1.1.3
Cancel the common factor of .
Tap for more steps...
Step 1.2.9.1.3.1.1.3.1
Cancel the common factor.
Step 1.2.9.1.3.1.1.3.2
Rewrite the expression.
Step 1.2.9.1.3.2
Simplify the right side.
Tap for more steps...
Step 1.2.9.1.3.2.1
Simplify .
Tap for more steps...
Step 1.2.9.1.3.2.1.1
Simplify by multiplying through.
Tap for more steps...
Step 1.2.9.1.3.2.1.1.1
Rewrite using the commutative property of multiplication.
Step 1.2.9.1.3.2.1.1.2
Apply the distributive property.
Step 1.2.9.1.3.2.1.1.3
Simplify the expression.
Tap for more steps...
Step 1.2.9.1.3.2.1.1.3.1
Multiply by .
Step 1.2.9.1.3.2.1.1.3.2
Rewrite using the commutative property of multiplication.
Step 1.2.9.1.3.2.1.2
Simplify each term.
Tap for more steps...
Step 1.2.9.1.3.2.1.2.1
Multiply by by adding the exponents.
Tap for more steps...
Step 1.2.9.1.3.2.1.2.1.1
Move .
Step 1.2.9.1.3.2.1.2.1.2
Multiply by .
Step 1.2.9.1.3.2.1.2.2
Multiply by .
Step 1.2.9.1.3.2.1.3
Reorder and .
Step 1.2.9.1.4
Divide each term in by and simplify.
Tap for more steps...
Step 1.2.9.1.4.1
Divide each term in by .
Step 1.2.9.1.4.2
Simplify the left side.
Tap for more steps...
Step 1.2.9.1.4.2.1
Cancel the common factor of .
Tap for more steps...
Step 1.2.9.1.4.2.1.1
Cancel the common factor.
Step 1.2.9.1.4.2.1.2
Divide by .
Step 1.2.9.1.4.3
Simplify the right side.
Tap for more steps...
Step 1.2.9.1.4.3.1
Simplify each term.
Tap for more steps...
Step 1.2.9.1.4.3.1.1
Cancel the common factor of and .
Tap for more steps...
Step 1.2.9.1.4.3.1.1.1
Factor out of .
Step 1.2.9.1.4.3.1.1.2
Cancel the common factors.
Tap for more steps...
Step 1.2.9.1.4.3.1.1.2.1
Raise to the power of .
Step 1.2.9.1.4.3.1.1.2.2
Factor out of .
Step 1.2.9.1.4.3.1.1.2.3
Cancel the common factor.
Step 1.2.9.1.4.3.1.1.2.4
Rewrite the expression.
Step 1.2.9.1.4.3.1.1.2.5
Divide by .
Step 1.2.9.1.4.3.1.2
Cancel the common factor of .
Tap for more steps...
Step 1.2.9.1.4.3.1.2.1
Cancel the common factor.
Step 1.2.9.1.4.3.1.2.2
Divide by .
Step 1.2.9.2
Remove the absolute value term. This creates a on the right side of the equation because .
Step 1.2.9.3
The result consists of both the positive and negative portions of the .
Step 1.2.9.4
Solve for .
Tap for more steps...
Step 1.2.9.4.1
Move all terms containing to the left side of the equation.
Tap for more steps...
Step 1.2.9.4.1.1
Add to both sides of the equation.
Step 1.2.9.4.1.2
Add and .
Step 1.2.9.4.2
Move all terms not containing to the right side of the equation.
Tap for more steps...
Step 1.2.9.4.2.1
Subtract from both sides of the equation.
Step 1.2.9.4.2.2
Subtract from .
Step 1.2.9.5
Consolidate the solutions.
Step 1.2.10
Find the domain of .
Tap for more steps...
Step 1.2.10.1
Set the denominator in equal to to find where the expression is undefined.
Step 1.2.10.2
Solve for .
Tap for more steps...
Step 1.2.10.2.1
Remove the absolute value term. This creates a on the right side of the equation because .
Step 1.2.10.2.2
Plus or minus is .
Step 1.2.10.3
Set the denominator in equal to to find where the expression is undefined.
Step 1.2.10.4
Solve for .
Tap for more steps...
Step 1.2.10.4.1
Remove the absolute value term. This creates a on the right side of the equation because .
Step 1.2.10.4.2
Plus or minus is .
Step 1.2.10.4.3
Subtract from both sides of the equation.
Step 1.2.10.4.4
Divide each term in by and simplify.
Tap for more steps...
Step 1.2.10.4.4.1
Divide each term in by .
Step 1.2.10.4.4.2
Simplify the left side.
Tap for more steps...
Step 1.2.10.4.4.2.1
Dividing two negative values results in a positive value.
Step 1.2.10.4.4.2.2
Divide by .
Step 1.2.10.4.4.3
Simplify the right side.
Tap for more steps...
Step 1.2.10.4.4.3.1
Divide by .
Step 1.2.10.5
The domain is all values of that make the expression defined.
Step 1.2.11
Use each root to create test intervals.
Step 1.2.12
Choose a test value from each interval and plug this value into the original inequality to determine which intervals satisfy the inequality.
Tap for more steps...
Step 1.2.12.1
Test a value on the interval to see if it makes the inequality true.
Tap for more steps...
Step 1.2.12.1.1
Choose a value on the interval and see if this value makes the original inequality true.
Step 1.2.12.1.2
Replace with in the original inequality.
Step 1.2.12.1.3
The left side does not equal to the right side , which means that the given statement is false.
False
False
Step 1.2.12.2
Test a value on the interval to see if it makes the inequality true.
Tap for more steps...
Step 1.2.12.2.1
Choose a value on the interval and see if this value makes the original inequality true.
Step 1.2.12.2.2
Replace with in the original inequality.
Step 1.2.12.2.3
The left side does not equal to the right side , which means that the given statement is false.
False
False
Step 1.2.12.3
Test a value on the interval to see if it makes the inequality true.
Tap for more steps...
Step 1.2.12.3.1
Choose a value on the interval and see if this value makes the original inequality true.
Step 1.2.12.3.2
Replace with in the original inequality.
Step 1.2.12.3.3
The left side does not equal to the right side , which means that the given statement is false.
False
False
Step 1.2.12.4
Compare the intervals to determine which ones satisfy the original inequality.
False
False
False
False
False
False
Step 1.2.13
Since there are no numbers that fall within the interval, this inequality has no solution.
No solution
No solution
Step 1.3
Find the values where the derivative is undefined.
Tap for more steps...
Step 1.3.1
Set the denominator in equal to to find where the expression is undefined.
Step 1.3.2
Solve for .
Tap for more steps...
Step 1.3.2.1
Remove the absolute value term. This creates a on the right side of the equation because .
Step 1.3.2.2
Plus or minus is .
Step 1.3.3
Set the denominator in equal to to find where the expression is undefined.
Step 1.3.4
Solve for .
Tap for more steps...
Step 1.3.4.1
Remove the absolute value term. This creates a on the right side of the equation because .
Step 1.3.4.2
Plus or minus is .
Step 1.3.4.3
Subtract from both sides of the equation.
Step 1.3.4.4
Divide each term in by and simplify.
Tap for more steps...
Step 1.3.4.4.1
Divide each term in by .
Step 1.3.4.4.2
Simplify the left side.
Tap for more steps...
Step 1.3.4.4.2.1
Dividing two negative values results in a positive value.
Step 1.3.4.4.2.2
Divide by .
Step 1.3.4.4.3
Simplify the right side.
Tap for more steps...
Step 1.3.4.4.3.1
Divide by .
Step 1.3.5
The equation is undefined where the denominator equals , the argument of a square root is less than , or the argument of a logarithm is less than or equal to .
Step 1.4
Evaluate at each value where the derivative is or undefined.
Tap for more steps...
Step 1.4.1
Evaluate at .
Tap for more steps...
Step 1.4.1.1
Substitute for .
Step 1.4.1.2
Simplify.
Tap for more steps...
Step 1.4.1.2.1
Simplify each term.
Tap for more steps...
Step 1.4.1.2.1.1
The absolute value is the distance between a number and zero. The distance between and is .
Step 1.4.1.2.1.2
Subtract from .
Step 1.4.1.2.1.3
The absolute value is the distance between a number and zero. The distance between and is .
Step 1.4.1.2.1.4
Multiply by .
Step 1.4.1.2.2
Add and .
Step 1.4.2
Evaluate at .
Tap for more steps...
Step 1.4.2.1
Substitute for .
Step 1.4.2.2
Simplify.
Tap for more steps...
Step 1.4.2.2.1
Simplify each term.
Tap for more steps...
Step 1.4.2.2.1.1
The absolute value is the distance between a number and zero. The distance between and is .
Step 1.4.2.2.1.2
Multiply by .
Step 1.4.2.2.1.3
Subtract from .
Step 1.4.2.2.1.4
The absolute value is the distance between a number and zero. The distance between and is .
Step 1.4.2.2.1.5
Multiply by .
Step 1.4.2.2.2
Add and .
Step 1.4.3
List all of the points.
Step 2
Evaluate at the included endpoints.
Tap for more steps...
Step 2.1
Evaluate at .
Tap for more steps...
Step 2.1.1
Substitute for .
Step 2.1.2
Simplify.
Tap for more steps...
Step 2.1.2.1
Simplify each term.
Tap for more steps...
Step 2.1.2.1.1
The absolute value is the distance between a number and zero. The distance between and is .
Step 2.1.2.1.2
Multiply by .
Step 2.1.2.1.3
Add and .
Step 2.1.2.1.4
The absolute value is the distance between a number and zero. The distance between and is .
Step 2.1.2.1.5
Multiply by .
Step 2.1.2.2
Add and .
Step 2.2
Evaluate at .
Tap for more steps...
Step 2.2.1
Substitute for .
Step 2.2.2
Simplify.
Tap for more steps...
Step 2.2.2.1
Simplify each term.
Tap for more steps...
Step 2.2.2.1.1
The absolute value is the distance between a number and zero. The distance between and is .
Step 2.2.2.1.2
Multiply by .
Step 2.2.2.1.3
Subtract from .
Step 2.2.2.1.4
The absolute value is the distance between a number and zero. The distance between and is .
Step 2.2.2.1.5
Multiply by .
Step 2.2.2.2
Add and .
Step 2.3
List all of the points.
Step 3
Compare the values found for each value of in order to determine the absolute maximum and minimum over the given interval. The maximum will occur at the highest value and the minimum will occur at the lowest value.
Absolute Maximum:
Absolute Minimum:
Step 4