Enter a problem...
Calculus Examples
Step 1
Step 1.1
Differentiate using the chain rule, which states that is where and .
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.
Step 1.2.1
By the Sum Rule, the derivative of with respect to is .
Step 1.2.2
Since is constant with respect to , the derivative of with respect to is .
Step 1.2.3
Add and .
Step 1.2.4
Since is constant with respect to , the derivative of with respect to is .
Step 1.2.5
Differentiate using the Power Rule which states that is where .
Step 1.2.6
Combine fractions.
Step 1.2.6.1
Multiply by .
Step 1.2.6.2
Combine and .
Step 1.2.6.3
Combine and .
Step 1.2.6.4
Move the negative in front of the fraction.
Step 1.3
Simplify.
Step 1.3.1
Apply the distributive property.
Step 1.3.2
Apply the distributive property.
Step 1.3.3
Simplify each term.
Step 1.3.3.1
Multiply by .
Step 1.3.3.2
Multiply by by adding the exponents.
Step 1.3.3.2.1
Move .
Step 1.3.3.2.2
Multiply by .
Step 1.3.3.2.2.1
Raise to the power of .
Step 1.3.3.2.2.2
Use the power rule to combine exponents.
Step 1.3.3.2.3
Add and .
Step 1.3.3.3
Multiply by .
Step 1.3.4
Factor out of .
Step 1.3.4.1
Factor out of .
Step 1.3.4.2
Factor out of .
Step 1.3.4.3
Factor out of .
Step 2
Step 2.1
Since is constant with respect to , the derivative of with respect to is .
Step 2.2
Differentiate using the Quotient Rule which states that is where and .
Step 2.3
Differentiate using the Product Rule which states that is where and .
Step 2.4
Differentiate.
Step 2.4.1
By the Sum Rule, the derivative of with respect to is .
Step 2.4.2
Since is constant with respect to , the derivative of with respect to is .
Step 2.4.3
Add and .
Step 2.4.4
Since is constant with respect to , the derivative of with respect to is .
Step 2.4.5
Differentiate using the Power Rule which states that is where .
Step 2.4.6
Multiply by .
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
Differentiate using the Power Rule.
Step 2.8.1
Add and .
Step 2.8.2
Differentiate using the Power Rule which states that is where .
Step 2.8.3
Simplify by adding terms.
Step 2.8.3.1
Multiply by .
Step 2.8.3.2
Subtract from .
Step 2.9
Differentiate using the chain rule, which states that is where and .
Step 2.9.1
To apply the Chain Rule, set as .
Step 2.9.2
The derivative of with respect to is .
Step 2.9.3
Replace all occurrences of with .
Step 2.10
Differentiate.
Step 2.10.1
Combine and .
Step 2.10.2
By the Sum Rule, the derivative of with respect to is .
Step 2.10.3
Since is constant with respect to , the derivative of with respect to is .
Step 2.10.4
Add and .
Step 2.10.5
Since is constant with respect to , the derivative of with respect to is .
Step 2.10.6
Multiply.
Step 2.10.6.1
Multiply by .
Step 2.10.6.2
Multiply by .
Step 2.10.7
Differentiate using the Power Rule which states that is where .
Step 2.10.8
Combine fractions.
Step 2.10.8.1
Combine and .
Step 2.10.8.2
Combine and .
Step 2.11
Raise to the power of .
Step 2.12
Raise to the power of .
Step 2.13
Use the power rule to combine exponents.
Step 2.14
Add and .
Step 2.15
Combine and .
Step 2.16
Move the negative in front of the fraction.
Step 2.17
Simplify.
Step 2.17.1
Apply the distributive property.
Step 2.17.2
Apply the distributive property.
Step 2.17.3
Apply the distributive property.
Step 2.17.4
Simplify the numerator.
Step 2.17.4.1
Simplify each term.
Step 2.17.4.1.1
Apply the distributive property.
Step 2.17.4.1.2
Rewrite using the commutative property of multiplication.
Step 2.17.4.1.3
Move to the left of .
Step 2.17.4.1.4
Apply the distributive property.
Step 2.17.4.1.5
Multiply by .
Step 2.17.4.1.6
Multiply by .
Step 2.17.4.1.7
Factor out of .
Step 2.17.4.1.7.1
Factor out of .
Step 2.17.4.1.7.2
Factor out of .
Step 2.17.4.1.7.3
Factor out of .
Step 2.17.4.1.8
Move to the left of .
Step 2.17.4.1.9
Multiply by .
Step 2.17.4.1.10
Simplify the numerator.
Step 2.17.4.1.10.1
Raise to the power of .
Step 2.17.4.1.10.2
Raise to the power of .
Step 2.17.4.1.10.3
Use the power rule to combine exponents.
Step 2.17.4.1.10.4
Add and .
Step 2.17.4.1.11
Multiply .
Step 2.17.4.1.11.1
Combine and .
Step 2.17.4.1.11.2
Multiply by .
Step 2.17.4.2
To write as a fraction with a common denominator, multiply by .
Step 2.17.4.3
Combine and .
Step 2.17.4.4
Combine the numerators over the common denominator.
Step 2.17.4.5
Simplify the numerator.
Step 2.17.4.5.1
Factor out of .
Step 2.17.4.5.1.1
Factor out of .
Step 2.17.4.5.1.2
Factor out of .
Step 2.17.4.5.1.3
Factor out of .
Step 2.17.4.5.2
Combine exponents.
Step 2.17.4.5.2.1
To multiply absolute values, multiply the terms inside each absolute value.
Step 2.17.4.5.2.2
Raise to the power of .
Step 2.17.4.5.2.3
Raise to the power of .
Step 2.17.4.5.2.4
Use the power rule to combine exponents.
Step 2.17.4.5.2.5
Add and .
Step 2.17.4.5.3
Simplify each term.
Step 2.17.4.5.3.1
Rewrite as .
Step 2.17.4.5.3.2
Expand using the FOIL Method.
Step 2.17.4.5.3.2.1
Apply the distributive property.
Step 2.17.4.5.3.2.2
Apply the distributive property.
Step 2.17.4.5.3.2.3
Apply the distributive property.
Step 2.17.4.5.3.3
Simplify and combine like terms.
Step 2.17.4.5.3.3.1
Simplify each term.
Step 2.17.4.5.3.3.1.1
Multiply by .
Step 2.17.4.5.3.3.1.2
Multiply by .
Step 2.17.4.5.3.3.1.3
Multiply by .
Step 2.17.4.5.3.3.1.4
Rewrite using the commutative property of multiplication.
Step 2.17.4.5.3.3.1.5
Multiply by by adding the exponents.
Step 2.17.4.5.3.3.1.5.1
Move .
Step 2.17.4.5.3.3.1.5.2
Use the power rule to combine exponents.
Step 2.17.4.5.3.3.1.5.3
Add and .
Step 2.17.4.5.3.3.1.6
Multiply by .
Step 2.17.4.5.3.3.1.7
Multiply by .
Step 2.17.4.5.3.3.2
Subtract from .
Step 2.17.4.5.3.4
Rewrite as .
Step 2.17.4.5.3.5
Expand using the FOIL Method.
Step 2.17.4.5.3.5.1
Apply the distributive property.
Step 2.17.4.5.3.5.2
Apply the distributive property.
Step 2.17.4.5.3.5.3
Apply the distributive property.
Step 2.17.4.5.3.6
Simplify and combine like terms.
Step 2.17.4.5.3.6.1
Simplify each term.
Step 2.17.4.5.3.6.1.1
Multiply by .
Step 2.17.4.5.3.6.1.2
Multiply by .
Step 2.17.4.5.3.6.1.3
Multiply by .
Step 2.17.4.5.3.6.1.4
Rewrite using the commutative property of multiplication.
Step 2.17.4.5.3.6.1.5
Multiply by by adding the exponents.
Step 2.17.4.5.3.6.1.5.1
Move .
Step 2.17.4.5.3.6.1.5.2
Use the power rule to combine exponents.
Step 2.17.4.5.3.6.1.5.3
Add and .
Step 2.17.4.5.3.6.1.6
Multiply by .
Step 2.17.4.5.3.6.1.7
Multiply by .
Step 2.17.4.5.3.6.2
Subtract from .
Step 2.17.4.5.3.7
Apply the distributive property.
Step 2.17.4.5.3.8
Simplify.
Step 2.17.4.5.3.8.1
Multiply by .
Step 2.17.4.5.3.8.2
Multiply by .
Step 2.17.4.6
To write as a fraction with a common denominator, multiply by .
Step 2.17.4.7
Combine the numerators over the common denominator.
Step 2.17.4.8
Simplify the numerator.
Step 2.17.4.8.1
Factor out of .
Step 2.17.4.8.1.1
Factor out of .
Step 2.17.4.8.1.2
Factor out of .
Step 2.17.4.8.1.3
Factor out of .
Step 2.17.4.8.2
Multiply .
Step 2.17.4.8.2.1
To multiply absolute values, multiply the terms inside each absolute value.
Step 2.17.4.8.2.2
Raise to the power of .
Step 2.17.4.8.2.3
Raise to the power of .
Step 2.17.4.8.2.4
Use the power rule to combine exponents.
Step 2.17.4.8.2.5
Add and .
Step 2.17.4.8.3
Rewrite as .
Step 2.17.4.8.4
Expand using the FOIL Method.
Step 2.17.4.8.4.1
Apply the distributive property.
Step 2.17.4.8.4.2
Apply the distributive property.
Step 2.17.4.8.4.3
Apply the distributive property.
Step 2.17.4.8.5
Simplify and combine like terms.
Step 2.17.4.8.5.1
Simplify each term.
Step 2.17.4.8.5.1.1
Multiply by .
Step 2.17.4.8.5.1.2
Multiply by .
Step 2.17.4.8.5.1.3
Multiply by .
Step 2.17.4.8.5.1.4
Rewrite using the commutative property of multiplication.
Step 2.17.4.8.5.1.5
Multiply by by adding the exponents.
Step 2.17.4.8.5.1.5.1
Move .
Step 2.17.4.8.5.1.5.2
Use the power rule to combine exponents.
Step 2.17.4.8.5.1.5.3
Add and .
Step 2.17.4.8.5.1.6
Multiply by .
Step 2.17.4.8.5.1.7
Multiply by .
Step 2.17.4.8.5.2
Subtract from .
Step 2.17.4.8.6
Apply the distributive property.
Step 2.17.4.8.7
Simplify.
Step 2.17.4.8.7.1
Rewrite using the commutative property of multiplication.
Step 2.17.4.8.7.2
Move to the left of .
Step 2.17.4.8.7.3
Rewrite using the commutative property of multiplication.
Step 2.17.4.8.7.4
Rewrite using the commutative property of multiplication.
Step 2.17.4.8.8
Simplify each term.
Step 2.17.4.8.8.1
Multiply by by adding the exponents.
Step 2.17.4.8.8.1.1
Move .
Step 2.17.4.8.8.1.2
Use the power rule to combine exponents.
Step 2.17.4.8.8.1.3
Add and .
Step 2.17.4.8.8.2
Multiply by by adding the exponents.
Step 2.17.4.8.8.2.1
Move .
Step 2.17.4.8.8.2.2
Use the power rule to combine exponents.
Step 2.17.4.8.8.2.3
Add and .
Step 2.17.5
Combine terms.
Step 2.17.5.1
Rewrite as a product.
Step 2.17.5.2
Multiply by .
Step 2.17.5.3
Multiply by by adding the exponents.
Step 2.17.5.3.1
Multiply by .
Step 2.17.5.3.1.1
Raise to the power of .
Step 2.17.5.3.1.2
Use the power rule to combine exponents.
Step 2.17.5.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
Step 4.1
Find the first derivative.
Step 4.1.1
Differentiate using the chain rule, which states that is where and .
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.
Step 4.1.2.1
By the Sum Rule, the derivative of with respect to is .
Step 4.1.2.2
Since is constant with respect to , the derivative of with respect to is .
Step 4.1.2.3
Add and .
Step 4.1.2.4
Since is constant with respect to , the derivative of with respect to is .
Step 4.1.2.5
Differentiate using the Power Rule which states that is where .
Step 4.1.2.6
Combine fractions.
Step 4.1.2.6.1
Multiply by .
Step 4.1.2.6.2
Combine and .
Step 4.1.2.6.3
Combine and .
Step 4.1.2.6.4
Move the negative in front of the fraction.
Step 4.1.3
Simplify.
Step 4.1.3.1
Apply the distributive property.
Step 4.1.3.2
Apply the distributive property.
Step 4.1.3.3
Simplify each term.
Step 4.1.3.3.1
Multiply by .
Step 4.1.3.3.2
Multiply by by adding the exponents.
Step 4.1.3.3.2.1
Move .
Step 4.1.3.3.2.2
Multiply by .
Step 4.1.3.3.2.2.1
Raise to the power of .
Step 4.1.3.3.2.2.2
Use the power rule to combine exponents.
Step 4.1.3.3.2.3
Add and .
Step 4.1.3.3.3
Multiply by .
Step 4.1.3.4
Factor out of .
Step 4.1.3.4.1
Factor out of .
Step 4.1.3.4.2
Factor out of .
Step 4.1.3.4.3
Factor out of .
Step 4.2
The first derivative of with respect to is .
Step 5
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 .
Step 5.3.1
If any individual factor on the left side of the equation is equal to , the entire expression will be equal to .
Step 5.3.2
Set equal to .
Step 5.3.3
Set equal to and solve for .
Step 5.3.3.1
Set equal to .
Step 5.3.3.2
Solve for .
Step 5.3.3.2.1
Subtract from both sides of the equation.
Step 5.3.3.2.2
Divide each term in by and simplify.
Step 5.3.3.2.2.1
Divide each term in by .
Step 5.3.3.2.2.2
Simplify the left side.
Step 5.3.3.2.2.2.1
Dividing two negative values results in a positive value.
Step 5.3.3.2.2.2.2
Divide by .
Step 5.3.3.2.2.3
Simplify the right side.
Step 5.3.3.2.2.3.1
Divide by .
Step 5.3.3.2.3
Take the specified root of both sides of the equation to eliminate the exponent on the left side.
Step 5.3.3.2.4
The complete solution is the result of both the positive and negative portions of the solution.
Step 5.3.3.2.4.1
First, use the positive value of the to find the first solution.
Step 5.3.3.2.4.2
Next, use the negative value of the to find the second solution.
Step 5.3.3.2.4.3
The complete solution is the result of both the positive and negative portions of the solution.
Step 5.3.4
The final solution is all the values that make true.
Step 5.4
Exclude the solutions that do not make true.
Step 6
Step 6.1
Set the denominator in equal to to find where the expression is undefined.
Step 6.2
Solve for .
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 6.2.4
Divide each term in by and simplify.
Step 6.2.4.1
Divide each term in by .
Step 6.2.4.2
Simplify the left side.
Step 6.2.4.2.1
Dividing two negative values results in a positive value.
Step 6.2.4.2.2
Divide by .
Step 6.2.4.3
Simplify the right side.
Step 6.2.4.3.1
Divide by .
Step 6.2.5
Take the specified root of both sides of the equation to eliminate the exponent on the left side.
Step 6.2.6
The complete solution is the result of both the positive and negative portions of the solution.
Step 6.2.6.1
First, use the positive value of the to find the first solution.
Step 6.2.6.2
Next, use the negative value of the to find the second solution.
Step 6.2.6.3
The complete solution is the result of both the positive and negative portions of the solution.
Step 6.3
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 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
Step 9.1
Simplify the numerator.
Step 9.1.1
Simplify each term.
Step 9.1.1.1
Raising to any positive power yields .
Step 9.1.1.2
Multiply by .
Step 9.1.1.3
Raising to any positive power yields .
Step 9.1.2
Add and .
Step 9.1.3
Add and .
Step 9.1.4
The absolute value is the distance between a number and zero. The distance between and is .
Step 9.1.5
Multiply by .
Step 9.1.6
Raising to any positive power yields .
Step 9.1.7
Multiply by .
Step 9.1.8
Simplify each term.
Step 9.1.8.1
Raising to any positive power yields .
Step 9.1.8.2
Multiply by .
Step 9.1.8.3
Raising to any positive power yields .
Step 9.1.9
Add and .
Step 9.1.10
Add and .
Step 9.1.11
The absolute value is the distance between a number and zero. The distance between and is .
Step 9.1.12
Multiply by .
Step 9.1.13
Raising to any positive power yields .
Step 9.1.14
Multiply by .
Step 9.1.15
Raising to any positive power yields .
Step 9.1.16
Multiply by .
Step 9.1.17
Raising to any positive power yields .
Step 9.1.18
Multiply by .
Step 9.1.19
Add and .
Step 9.1.20
Add and .
Step 9.1.21
Add and .
Step 9.1.22
Add and .
Step 9.2
Simplify the denominator.
Step 9.2.1
Raising to any positive power yields .
Step 9.2.2
Multiply by .
Step 9.2.3
Add and .
Step 9.2.4
The absolute value is the distance between a number and zero. The distance between and is .
Step 9.2.5
Raise to the power of .
Step 9.3
Simplify the expression.
Step 9.3.1
Multiply by .
Step 9.3.2
Divide by .
Step 9.3.3
Multiply by .
Step 10
is a local maximum because the value of the second derivative is negative. This is referred to as the second derivative test.
is a local maximum
Step 11
Step 11.1
Replace the variable with in the expression.
Step 11.2
Simplify the result.
Step 11.2.1
Simplify each term.
Step 11.2.1.1
Raising to any positive power yields .
Step 11.2.1.2
Multiply by .
Step 11.2.2
Add and .
Step 11.2.3
The absolute value is the distance between a number and zero. The distance between and is .
Step 11.2.4
The final answer is .
Step 12
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 13
Step 13.1
Simplify each term.
Step 13.1.1
Apply the product rule to .
Step 13.1.2
Multiply by by adding the exponents.
Step 13.1.2.1
Move .
Step 13.1.2.2
Multiply by .
Step 13.1.2.2.1
Raise to the power of .
Step 13.1.2.2.2
Use the power rule to combine exponents.
Step 13.1.2.3
Add and .
Step 13.1.3
Raise to the power of .
Step 13.1.4
Rewrite as .
Step 13.1.4.1
Use to rewrite as .
Step 13.1.4.2
Apply the power rule and multiply exponents, .
Step 13.1.4.3
Combine and .
Step 13.1.4.4
Cancel the common factor of .
Step 13.1.4.4.1
Cancel the common factor.
Step 13.1.4.4.2
Rewrite the expression.
Step 13.1.4.5
Evaluate the exponent.
Step 13.1.5
Multiply by .
Step 13.2
Subtract from .
Step 13.3
The absolute value is the distance between a number and zero. The distance between and is .
Step 13.4
Raising to any positive power yields .
Step 13.5
The expression contains a division by . The expression is undefined.
Undefined
Undefined
Step 14
Step 14.1
Split into separate intervals around the values that make the first derivative or undefined.
Step 14.2
Substitute any number, such as , from the interval in the first derivative to check if the result is negative or positive.
Step 14.2.1
Replace the variable with in the expression.
Step 14.2.2
Simplify the result.
Step 14.2.2.1
Multiply by .
Step 14.2.2.2
Simplify the denominator.
Step 14.2.2.2.1
Raise to the power of .
Step 14.2.2.2.2
Multiply by .
Step 14.2.2.2.3
Subtract from .
Step 14.2.2.2.4
The absolute value is the distance between a number and zero. The distance between and is .
Step 14.2.2.3
Simplify the numerator.
Step 14.2.2.3.1
Raise to the power of .
Step 14.2.2.3.2
Multiply by .
Step 14.2.2.3.3
Subtract from .
Step 14.2.2.4
Simplify the expression.
Step 14.2.2.4.1
Multiply by .
Step 14.2.2.4.2
Divide by .
Step 14.2.2.4.3
Multiply by .
Step 14.2.2.5
The final answer is .
Step 14.3
Substitute any number, such as , from the interval in the first derivative to check if the result is negative or positive.
Step 14.3.1
Replace the variable with in the expression.
Step 14.3.2
Simplify the result.
Step 14.3.2.1
Multiply by by adding the exponents.
Step 14.3.2.1.1
Multiply by .
Step 14.3.2.1.1.1
Raise to the power of .
Step 14.3.2.1.1.2
Use the power rule to combine exponents.
Step 14.3.2.1.2
Add and .
Step 14.3.2.2
Multiply by .
Step 14.3.2.3
Simplify the denominator.
Step 14.3.2.3.1
Multiply by by adding the exponents.
Step 14.3.2.3.1.1
Multiply by .
Step 14.3.2.3.1.1.1
Raise to the power of .
Step 14.3.2.3.1.1.2
Use the power rule to combine exponents.
Step 14.3.2.3.1.2
Add and .
Step 14.3.2.3.2
Raise to the power of .
Step 14.3.2.3.3
Subtract from .
Step 14.3.2.3.4
The absolute value is the distance between a number and zero. The distance between and is .
Step 14.3.2.4
Simplify the numerator.
Step 14.3.2.4.1
Raise to the power of .
Step 14.3.2.4.2
Subtract from .
Step 14.3.2.5
Simplify the expression.
Step 14.3.2.5.1
Multiply by .
Step 14.3.2.5.2
Divide by .
Step 14.3.2.5.3
Multiply by .
Step 14.3.2.6
The final answer is .
Step 14.4
Substitute any number, such as , from the interval in the first derivative to check if the result is negative or positive.
Step 14.4.1
Replace the variable with in the expression.
Step 14.4.2
Simplify the result.
Step 14.4.2.1
Multiply by .
Step 14.4.2.2
Simplify the denominator.
Step 14.4.2.2.1
One to any power is one.
Step 14.4.2.2.2
Multiply by .
Step 14.4.2.2.3
Subtract from .
Step 14.4.2.2.4
The absolute value is the distance between a number and zero. The distance between and is .
Step 14.4.2.3
Simplify the numerator.
Step 14.4.2.3.1
One to any power is one.
Step 14.4.2.3.2
Multiply by .
Step 14.4.2.3.3
Subtract from .
Step 14.4.2.4
Simplify the expression.
Step 14.4.2.4.1
Multiply by .
Step 14.4.2.4.2
Divide by .
Step 14.4.2.4.3
Multiply by .
Step 14.4.2.5
The final answer is .
Step 14.5
Substitute any number, such as , from the interval in the first derivative to check if the result is negative or positive.
Step 14.5.1
Replace the variable with in the expression.
Step 14.5.2
Simplify the result.
Step 14.5.2.1
Multiply by .
Step 14.5.2.2
Simplify the denominator.
Step 14.5.2.2.1
Raise to the power of .
Step 14.5.2.2.2
Multiply by .
Step 14.5.2.2.3
Subtract from .
Step 14.5.2.2.4
The absolute value is the distance between a number and zero. The distance between and is .
Step 14.5.2.3
Simplify the numerator.
Step 14.5.2.3.1
Raise to the power of .
Step 14.5.2.3.2
Multiply by .
Step 14.5.2.3.3
Subtract from .
Step 14.5.2.4
Simplify the expression.
Step 14.5.2.4.1
Multiply by .
Step 14.5.2.4.2
Divide by .
Step 14.5.2.4.3
Multiply by .
Step 14.5.2.5
The final answer is .
Step 14.6
Since the first derivative changed signs from negative to positive around , then is a local minimum.
is a local minimum
Step 14.7
Since the first derivative changed signs from positive to negative around , then is a local maximum.
is a local maximum
Step 14.8
Since the first derivative changed signs from negative to positive around , then is a local minimum.
is a local minimum
Step 14.9
These are the local extrema for .
is a local minimum
is a local maximum
is a local minimum
is a local minimum
is a local maximum
is a local minimum
Step 15