Algebra Examples

Find the Maximum/Minimum Value y=-2+5sin(pi/12(x-2))
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
Differentiate using the chain rule, which states that is where and .
Tap for more steps...
Step 1.2.2.1
To apply the Chain Rule, set as .
Step 1.2.2.2
The derivative of with respect to is .
Step 1.2.3
Since is constant with respect to , the derivative of with respect to is .
Step 1.2.4
By the Sum Rule, 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
Since is constant with respect to , the derivative of with respect to is .
Step 1.2.7
Add and .
Step 1.2.8
Multiply by .
Step 1.2.9
Combine and .
Step 1.2.10
Combine and .
Step 1.3
Simplify.
Tap for more steps...
Step 1.3.1
Apply the distributive property.
Step 1.3.2
Combine terms.
Tap for more steps...
Step 1.3.2.1
Combine and .
Step 1.3.2.2
Move to the left of .
Step 1.3.2.3
Cancel the common factor of and .
Tap for more steps...
Step 1.3.2.3.1
Factor out of .
Step 1.3.2.3.2
Cancel the common factors.
Tap for more steps...
Step 1.3.2.3.2.1
Factor out of .
Step 1.3.2.3.2.2
Cancel the common factor.
Step 1.3.2.3.2.3
Rewrite the expression.
Step 1.3.2.4
Move the negative in front of the fraction.
Step 1.3.2.5
Combine and .
Step 1.3.2.6
Add and .
Step 1.3.3
Reorder terms.
Step 2
Find the second derivative of the function.
Tap for more steps...
Step 2.1
Since is constant with respect to , the derivative of with respect to is .
Step 2.2
Differentiate using the chain rule, which states that is where and .
Tap for more steps...
Step 2.2.1
To apply the Chain Rule, set as .
Step 2.2.2
The derivative of with respect to is .
Step 2.2.3
Replace all occurrences of with .
Step 2.3
Differentiate.
Tap for more steps...
Step 2.3.1
Combine and .
Step 2.3.2
By the Sum Rule, the derivative of with respect to is .
Step 2.3.3
Since is constant with respect to , the derivative of with respect to is .
Step 2.3.4
Differentiate using the Power Rule which states that is where .
Step 2.3.5
Multiply by .
Step 2.3.6
Since is constant with respect to , the derivative of with respect to is .
Step 2.3.7
Combine fractions.
Tap for more steps...
Step 2.3.7.1
Add and .
Step 2.3.7.2
Multiply by .
Step 2.4
Raise to the power of .
Step 2.5
Raise to the power of .
Step 2.6
Use the power rule to combine exponents.
Step 2.7
Add and .
Step 2.8
Multiply by .
Step 3
To find the local maximum and minimum values of the function, set the derivative equal to and solve.
Step 4
Set the numerator equal to zero.
Step 5
Solve the equation for .
Tap for more steps...
Step 5.1
Divide each term in by and simplify.
Tap for more steps...
Step 5.1.1
Divide each term in by .
Step 5.1.2
Simplify the left side.
Tap for more steps...
Step 5.1.2.1
Cancel the common factor of .
Tap for more steps...
Step 5.1.2.1.1
Cancel the common factor.
Step 5.1.2.1.2
Rewrite the expression.
Step 5.1.2.2
Cancel the common factor of .
Tap for more steps...
Step 5.1.2.2.1
Cancel the common factor.
Step 5.1.2.2.2
Divide by .
Step 5.1.3
Simplify the right side.
Tap for more steps...
Step 5.1.3.1
Cancel the common factor of and .
Tap for more steps...
Step 5.1.3.1.1
Factor out of .
Step 5.1.3.1.2
Cancel the common factors.
Tap for more steps...
Step 5.1.3.1.2.1
Factor out of .
Step 5.1.3.1.2.2
Cancel the common factor.
Step 5.1.3.1.2.3
Rewrite the expression.
Step 5.1.3.2
Divide by .
Step 5.2
Take the inverse cosine of both sides of the equation to extract from inside the cosine.
Step 5.3
Simplify the right side.
Tap for more steps...
Step 5.3.1
The exact value of is .
Step 5.4
Move all terms not containing to the right side of the equation.
Tap for more steps...
Step 5.4.1
Add to both sides of the equation.
Step 5.4.2
To write as a fraction with a common denominator, multiply by .
Step 5.4.3
Write each expression with a common denominator of , by multiplying each by an appropriate factor of .
Tap for more steps...
Step 5.4.3.1
Multiply by .
Step 5.4.3.2
Multiply by .
Step 5.4.4
Combine the numerators over the common denominator.
Step 5.4.5
Simplify the numerator.
Tap for more steps...
Step 5.4.5.1
Move to the left of .
Step 5.4.5.2
Add and .
Step 5.4.6
Cancel the common factor of and .
Tap for more steps...
Step 5.4.6.1
Factor out of .
Step 5.4.6.2
Cancel the common factors.
Tap for more steps...
Step 5.4.6.2.1
Factor out of .
Step 5.4.6.2.2
Cancel the common factor.
Step 5.4.6.2.3
Rewrite the expression.
Step 5.5
Multiply both sides of the equation by .
Step 5.6
Simplify both sides of the equation.
Tap for more steps...
Step 5.6.1
Simplify the left side.
Tap for more steps...
Step 5.6.1.1
Simplify .
Tap for more steps...
Step 5.6.1.1.1
Cancel the common factor of .
Tap for more steps...
Step 5.6.1.1.1.1
Cancel the common factor.
Step 5.6.1.1.1.2
Rewrite the expression.
Step 5.6.1.1.2
Cancel the common factor of .
Tap for more steps...
Step 5.6.1.1.2.1
Factor out of .
Step 5.6.1.1.2.2
Cancel the common factor.
Step 5.6.1.1.2.3
Rewrite the expression.
Step 5.6.2
Simplify the right side.
Tap for more steps...
Step 5.6.2.1
Simplify .
Tap for more steps...
Step 5.6.2.1.1
Cancel the common factor of .
Tap for more steps...
Step 5.6.2.1.1.1
Factor out of .
Step 5.6.2.1.1.2
Cancel the common factor.
Step 5.6.2.1.1.3
Rewrite the expression.
Step 5.6.2.1.2
Cancel the common factor of .
Tap for more steps...
Step 5.6.2.1.2.1
Factor out of .
Step 5.6.2.1.2.2
Cancel the common factor.
Step 5.6.2.1.2.3
Rewrite the expression.
Step 5.6.2.1.3
Multiply by .
Step 5.7
The cosine function is positive in the first and fourth quadrants. To find the second solution, subtract the reference angle from to find the solution in the fourth quadrant.
Step 5.8
Solve for .
Tap for more steps...
Step 5.8.1
Simplify .
Tap for more steps...
Step 5.8.1.1
To write as a fraction with a common denominator, multiply by .
Step 5.8.1.2
Combine fractions.
Tap for more steps...
Step 5.8.1.2.1
Combine and .
Step 5.8.1.2.2
Combine the numerators over the common denominator.
Step 5.8.1.3
Simplify the numerator.
Tap for more steps...
Step 5.8.1.3.1
Multiply by .
Step 5.8.1.3.2
Subtract from .
Step 5.8.2
Move all terms not containing to the right side of the equation.
Tap for more steps...
Step 5.8.2.1
Add to both sides of the equation.
Step 5.8.2.2
To write as a fraction with a common denominator, multiply by .
Step 5.8.2.3
Write each expression with a common denominator of , by multiplying each by an appropriate factor of .
Tap for more steps...
Step 5.8.2.3.1
Multiply by .
Step 5.8.2.3.2
Multiply by .
Step 5.8.2.4
Combine the numerators over the common denominator.
Step 5.8.2.5
Simplify the numerator.
Tap for more steps...
Step 5.8.2.5.1
Multiply by .
Step 5.8.2.5.2
Add and .
Step 5.8.2.6
Cancel the common factor of and .
Tap for more steps...
Step 5.8.2.6.1
Factor out of .
Step 5.8.2.6.2
Cancel the common factors.
Tap for more steps...
Step 5.8.2.6.2.1
Factor out of .
Step 5.8.2.6.2.2
Cancel the common factor.
Step 5.8.2.6.2.3
Rewrite the expression.
Step 5.8.3
Multiply both sides of the equation by .
Step 5.8.4
Simplify both sides of the equation.
Tap for more steps...
Step 5.8.4.1
Simplify the left side.
Tap for more steps...
Step 5.8.4.1.1
Simplify .
Tap for more steps...
Step 5.8.4.1.1.1
Cancel the common factor of .
Tap for more steps...
Step 5.8.4.1.1.1.1
Cancel the common factor.
Step 5.8.4.1.1.1.2
Rewrite the expression.
Step 5.8.4.1.1.2
Cancel the common factor of .
Tap for more steps...
Step 5.8.4.1.1.2.1
Factor out of .
Step 5.8.4.1.1.2.2
Cancel the common factor.
Step 5.8.4.1.1.2.3
Rewrite the expression.
Step 5.8.4.2
Simplify the right side.
Tap for more steps...
Step 5.8.4.2.1
Simplify .
Tap for more steps...
Step 5.8.4.2.1.1
Cancel the common factor of .
Tap for more steps...
Step 5.8.4.2.1.1.1
Factor out of .
Step 5.8.4.2.1.1.2
Cancel the common factor.
Step 5.8.4.2.1.1.3
Rewrite the expression.
Step 5.8.4.2.1.2
Cancel the common factor of .
Tap for more steps...
Step 5.8.4.2.1.2.1
Factor out of .
Step 5.8.4.2.1.2.2
Cancel the common factor.
Step 5.8.4.2.1.2.3
Rewrite the expression.
Step 5.8.4.2.1.3
Multiply by .
Step 5.9
The solution to the equation .
Step 6
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 7
Evaluate the second derivative.
Tap for more steps...
Step 7.1
Cancel the common factor of and .
Tap for more steps...
Step 7.1.1
Factor out of .
Step 7.1.2
Cancel the common factors.
Tap for more steps...
Step 7.1.2.1
Factor out of .
Step 7.1.2.2
Cancel the common factor.
Step 7.1.2.3
Rewrite the expression.
Step 7.2
Simplify the numerator.
Tap for more steps...
Step 7.2.1
Move to the left of .
Step 7.2.2
To write as a fraction with a common denominator, multiply by .
Step 7.2.3
Write each expression with a common denominator of , by multiplying each by an appropriate factor of .
Tap for more steps...
Step 7.2.3.1
Multiply by .
Step 7.2.3.2
Multiply by .
Step 7.2.4
Combine the numerators over the common denominator.
Step 7.2.5
Simplify the numerator.
Tap for more steps...
Step 7.2.5.1
Multiply by .
Step 7.2.5.2
Subtract from .
Step 7.2.6
Cancel the common factor of and .
Tap for more steps...
Step 7.2.6.1
Factor out of .
Step 7.2.6.2
Cancel the common factors.
Tap for more steps...
Step 7.2.6.2.1
Factor out of .
Step 7.2.6.2.2
Cancel the common factor.
Step 7.2.6.2.3
Rewrite the expression.
Step 7.2.7
The exact value of is .
Step 7.2.8
Multiply by .
Step 8
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 9
Find the y-value when .
Tap for more steps...
Step 9.1
Replace the variable with in the expression.
Step 9.2
Simplify the result.
Tap for more steps...
Step 9.2.1
Simplify each term.
Tap for more steps...
Step 9.2.1.1
Subtract from .
Step 9.2.1.2
Cancel the common factor of .
Tap for more steps...
Step 9.2.1.2.1
Factor out of .
Step 9.2.1.2.2
Cancel the common factor.
Step 9.2.1.2.3
Rewrite the expression.
Step 9.2.1.3
The exact value of is .
Step 9.2.1.4
Multiply by .
Step 9.2.2
Add and .
Step 9.2.3
The final answer is .
Step 10
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 11
Evaluate the second derivative.
Tap for more steps...
Step 11.1
Cancel the common factor of and .
Tap for more steps...
Step 11.1.1
Factor out of .
Step 11.1.2
Cancel the common factors.
Tap for more steps...
Step 11.1.2.1
Factor out of .
Step 11.1.2.2
Cancel the common factor.
Step 11.1.2.3
Rewrite the expression.
Step 11.2
Simplify the numerator.
Tap for more steps...
Step 11.2.1
Move to the left of .
Step 11.2.2
To write as a fraction with a common denominator, multiply by .
Step 11.2.3
Write each expression with a common denominator of , by multiplying each by an appropriate factor of .
Tap for more steps...
Step 11.2.3.1
Multiply by .
Step 11.2.3.2
Multiply by .
Step 11.2.4
Combine the numerators over the common denominator.
Step 11.2.5
Simplify the numerator.
Tap for more steps...
Step 11.2.5.1
Multiply by .
Step 11.2.5.2
Subtract from .
Step 11.2.6
Cancel the common factor of and .
Tap for more steps...
Step 11.2.6.1
Factor out of .
Step 11.2.6.2
Cancel the common factors.
Tap for more steps...
Step 11.2.6.2.1
Factor out of .
Step 11.2.6.2.2
Cancel the common factor.
Step 11.2.6.2.3
Rewrite the expression.
Step 11.2.7
Apply the reference angle by finding the angle with equivalent trig values in the first quadrant. Make the expression negative because sine is negative in the fourth quadrant.
Step 11.2.8
The exact value of is .
Step 11.2.9
Multiply by .
Step 11.2.10
Multiply by .
Step 11.3
Move the negative in front of the fraction.
Step 11.4
Multiply .
Tap for more steps...
Step 11.4.1
Multiply by .
Step 11.4.2
Multiply by .
Step 12
is a local minimum because the value of the second derivative is positive. This is referred to as the second derivative test.
is a local minimum
Step 13
Find the y-value when .
Tap for more steps...
Step 13.1
Replace the variable with in the expression.
Step 13.2
Simplify the result.
Tap for more steps...
Step 13.2.1
Simplify each term.
Tap for more steps...
Step 13.2.1.1
Subtract from .
Step 13.2.1.2
Cancel the common factor of .
Tap for more steps...
Step 13.2.1.2.1
Factor out of .
Step 13.2.1.2.2
Factor out of .
Step 13.2.1.2.3
Cancel the common factor.
Step 13.2.1.2.4
Rewrite the expression.
Step 13.2.1.3
Combine and .
Step 13.2.1.4
Move to the left of .
Step 13.2.1.5
Apply the reference angle by finding the angle with equivalent trig values in the first quadrant. Make the expression negative because sine is negative in the fourth quadrant.
Step 13.2.1.6
The exact value of is .
Step 13.2.1.7
Multiply .
Tap for more steps...
Step 13.2.1.7.1
Multiply by .
Step 13.2.1.7.2
Multiply by .
Step 13.2.2
Subtract from .
Step 13.2.3
The final answer is .
Step 14
These are the local extrema for .
is a local maxima
is a local minima
Step 15