Calculus Examples

Find the Local Maxima and Minima f(x)=7 square root of 2cos(x)+7sin(x)^2
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
Since is constant with respect to , the derivative of with respect to is .
Step 1.2.2
The derivative of with respect to is .
Step 1.2.3
Multiply by .
Step 1.3
Evaluate .
Tap for more steps...
Step 1.3.1
Since is constant with respect to , the derivative of with respect to is .
Step 1.3.2
Differentiate using the chain rule, which states that is where and .
Tap for more steps...
Step 1.3.2.1
To apply the Chain Rule, set as .
Step 1.3.2.2
Differentiate using the Power Rule which states that is where .
Step 1.3.2.3
Replace all occurrences of with .
Step 1.3.3
The derivative of with respect to is .
Step 1.3.4
Multiply by .
Step 1.4
Reorder terms.
Step 2
Find the second derivative of the function.
Tap for more steps...
Step 2.1
By the Sum Rule, the derivative of with respect to is .
Step 2.2
Evaluate .
Tap for more steps...
Step 2.2.1
Since is constant with respect to , the derivative of with respect to is .
Step 2.2.2
The derivative of with respect to is .
Step 2.3
Evaluate .
Tap for more steps...
Step 2.3.1
Since is constant with respect to , the derivative of with respect to is .
Step 2.3.2
Differentiate using the Product Rule which states that is where and .
Step 2.3.3
The derivative of with respect to is .
Step 2.3.4
The derivative of with respect to is .
Step 2.3.5
Raise to the power of .
Step 2.3.6
Raise to the power of .
Step 2.3.7
Use the power rule to combine exponents.
Step 2.3.8
Add and .
Step 2.3.9
Raise to the power of .
Step 2.3.10
Raise to the power of .
Step 2.3.11
Use the power rule to combine exponents.
Step 2.3.12
Add and .
Step 2.4
Simplify.
Tap for more steps...
Step 2.4.1
Apply the distributive property.
Step 2.4.2
Multiply by .
Step 3
To find the local maximum and minimum values of the function, set the derivative equal to and solve.
Step 4
Factor out of .
Tap for more steps...
Step 4.1
Factor out of .
Step 4.2
Factor out of .
Step 4.3
Factor out of .
Step 5
If any individual factor on the left side of the equation is equal to , the entire expression will be equal to .
Step 6
Set equal to and solve for .
Tap for more steps...
Step 6.1
Set equal to .
Step 6.2
Solve for .
Tap for more steps...
Step 6.2.1
Take the inverse sine of both sides of the equation to extract from inside the sine.
Step 6.2.2
Simplify the right side.
Tap for more steps...
Step 6.2.2.1
The exact value of is .
Step 6.2.3
The sine function is positive in the first and second quadrants. To find the second solution, subtract the reference angle from to find the solution in the second quadrant.
Step 6.2.4
Subtract from .
Step 6.2.5
The solution to the equation .
Step 7
Set equal to and solve for .
Tap for more steps...
Step 7.1
Set equal to .
Step 7.2
Solve for .
Tap for more steps...
Step 7.2.1
Add to both sides of the equation.
Step 7.2.2
Divide each term in by and simplify.
Tap for more steps...
Step 7.2.2.1
Divide each term in by .
Step 7.2.2.2
Simplify the left side.
Tap for more steps...
Step 7.2.2.2.1
Cancel the common factor of .
Tap for more steps...
Step 7.2.2.2.1.1
Cancel the common factor.
Step 7.2.2.2.1.2
Divide by .
Step 7.2.3
Take the inverse cosine of both sides of the equation to extract from inside the cosine.
Step 7.2.4
Simplify the right side.
Tap for more steps...
Step 7.2.4.1
The exact value of is .
Step 7.2.5
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 7.2.6
Simplify .
Tap for more steps...
Step 7.2.6.1
To write as a fraction with a common denominator, multiply by .
Step 7.2.6.2
Combine fractions.
Tap for more steps...
Step 7.2.6.2.1
Combine and .
Step 7.2.6.2.2
Combine the numerators over the common denominator.
Step 7.2.6.3
Simplify the numerator.
Tap for more steps...
Step 7.2.6.3.1
Multiply by .
Step 7.2.6.3.2
Subtract from .
Step 7.2.7
The solution to the equation .
Step 8
The final solution is all the values that make true.
Step 9
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 10
Evaluate the second derivative.
Tap for more steps...
Step 10.1
Simplify each term.
Tap for more steps...
Step 10.1.1
The exact value of is .
Step 10.1.2
Multiply by .
Step 10.1.3
The exact value of is .
Step 10.1.4
One to any power is one.
Step 10.1.5
Multiply by .
Step 10.1.6
The exact value of is .
Step 10.1.7
Raising to any positive power yields .
Step 10.1.8
Multiply by .
Step 10.2
Add and .
Step 11
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 12
Find the y-value when .
Tap for more steps...
Step 12.1
Replace the variable with in the expression.
Step 12.2
Simplify the result.
Tap for more steps...
Step 12.2.1
Simplify each term.
Tap for more steps...
Step 12.2.1.1
The exact value of is .
Step 12.2.1.2
Multiply by .
Step 12.2.1.3
The exact value of is .
Step 12.2.1.4
Raising to any positive power yields .
Step 12.2.1.5
Multiply by .
Step 12.2.2
Add and .
Step 12.2.3
The final answer is .
Step 13
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 14
Evaluate the second derivative.
Tap for more steps...
Step 14.1
Simplify each term.
Tap for more steps...
Step 14.1.1
Apply the reference angle by finding the angle with equivalent trig values in the first quadrant. Make the expression negative because cosine is negative in the second quadrant.
Step 14.1.2
The exact value of is .
Step 14.1.3
Multiply by .
Step 14.1.4
Multiply by .
Step 14.1.5
Apply the reference angle by finding the angle with equivalent trig values in the first quadrant. Make the expression negative because cosine is negative in the second quadrant.
Step 14.1.6
The exact value of is .
Step 14.1.7
Multiply by .
Step 14.1.8
Raise to the power of .
Step 14.1.9
Multiply by .
Step 14.1.10
Apply the reference angle by finding the angle with equivalent trig values in the first quadrant.
Step 14.1.11
The exact value of is .
Step 14.1.12
Raising to any positive power yields .
Step 14.1.13
Multiply by .
Step 14.2
Add and .
Step 15
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 16
Find the y-value when .
Tap for more steps...
Step 16.1
Replace the variable with in the expression.
Step 16.2
Simplify the result.
Tap for more steps...
Step 16.2.1
Simplify each term.
Tap for more steps...
Step 16.2.1.1
Apply the reference angle by finding the angle with equivalent trig values in the first quadrant. Make the expression negative because cosine is negative in the second quadrant.
Step 16.2.1.2
The exact value of is .
Step 16.2.1.3
Multiply by .
Step 16.2.1.4
Multiply by .
Step 16.2.1.5
Apply the reference angle by finding the angle with equivalent trig values in the first quadrant.
Step 16.2.1.6
The exact value of is .
Step 16.2.1.7
Raising to any positive power yields .
Step 16.2.1.8
Multiply by .
Step 16.2.2
Add and .
Step 16.2.3
The final answer is .
Step 17
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 18
Evaluate the second derivative.
Tap for more steps...
Step 18.1
Simplify each term.
Tap for more steps...
Step 18.1.1
The exact value of is .
Step 18.1.2
Multiply .
Tap for more steps...
Step 18.1.2.1
Combine and .
Step 18.1.2.2
Combine and .
Step 18.1.2.3
Raise to the power of .
Step 18.1.2.4
Raise to the power of .
Step 18.1.2.5
Use the power rule to combine exponents.
Step 18.1.2.6
Add and .
Step 18.1.3
Rewrite as .
Tap for more steps...
Step 18.1.3.1
Use to rewrite as .
Step 18.1.3.2
Apply the power rule and multiply exponents, .
Step 18.1.3.3
Combine and .
Step 18.1.3.4
Cancel the common factor of .
Tap for more steps...
Step 18.1.3.4.1
Cancel the common factor.
Step 18.1.3.4.2
Rewrite the expression.
Step 18.1.3.5
Evaluate the exponent.
Step 18.1.4
Multiply by .
Step 18.1.5
Divide by .
Step 18.1.6
The exact value of is .
Step 18.1.7
Apply the product rule to .
Step 18.1.8
Rewrite as .
Tap for more steps...
Step 18.1.8.1
Use to rewrite as .
Step 18.1.8.2
Apply the power rule and multiply exponents, .
Step 18.1.8.3
Combine and .
Step 18.1.8.4
Cancel the common factor of .
Tap for more steps...
Step 18.1.8.4.1
Cancel the common factor.
Step 18.1.8.4.2
Rewrite the expression.
Step 18.1.8.5
Evaluate the exponent.
Step 18.1.9
Raise to the power of .
Step 18.1.10
Cancel the common factor of .
Tap for more steps...
Step 18.1.10.1
Factor out of .
Step 18.1.10.2
Factor out of .
Step 18.1.10.3
Cancel the common factor.
Step 18.1.10.4
Rewrite the expression.
Step 18.1.11
Combine and .
Step 18.1.12
Multiply by .
Step 18.1.13
Divide by .
Step 18.1.14
The exact value of is .
Step 18.1.15
Apply the product rule to .
Step 18.1.16
Rewrite as .
Tap for more steps...
Step 18.1.16.1
Use to rewrite as .
Step 18.1.16.2
Apply the power rule and multiply exponents, .
Step 18.1.16.3
Combine and .
Step 18.1.16.4
Cancel the common factor of .
Tap for more steps...
Step 18.1.16.4.1
Cancel the common factor.
Step 18.1.16.4.2
Rewrite the expression.
Step 18.1.16.5
Evaluate the exponent.
Step 18.1.17
Raise to the power of .
Step 18.1.18
Cancel the common factor of .
Tap for more steps...
Step 18.1.18.1
Factor out of .
Step 18.1.18.2
Factor out of .
Step 18.1.18.3
Cancel the common factor.
Step 18.1.18.4
Rewrite the expression.
Step 18.1.19
Combine and .
Step 18.1.20
Multiply by .
Step 18.1.21
Divide by .
Step 18.2
Simplify by adding and subtracting.
Tap for more steps...
Step 18.2.1
Add and .
Step 18.2.2
Subtract from .
Step 19
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 20
Find the y-value when .
Tap for more steps...
Step 20.1
Replace the variable with in the expression.
Step 20.2
Simplify the result.
Tap for more steps...
Step 20.2.1
Simplify each term.
Tap for more steps...
Step 20.2.1.1
The exact value of is .
Step 20.2.1.2
Multiply .
Tap for more steps...
Step 20.2.1.2.1
Combine and .
Step 20.2.1.2.2
Combine and .
Step 20.2.1.2.3
Raise to the power of .
Step 20.2.1.2.4
Raise to the power of .
Step 20.2.1.2.5
Use the power rule to combine exponents.
Step 20.2.1.2.6
Add and .
Step 20.2.1.3
Rewrite as .
Tap for more steps...
Step 20.2.1.3.1
Use to rewrite as .
Step 20.2.1.3.2
Apply the power rule and multiply exponents, .
Step 20.2.1.3.3
Combine and .
Step 20.2.1.3.4
Cancel the common factor of .
Tap for more steps...
Step 20.2.1.3.4.1
Cancel the common factor.
Step 20.2.1.3.4.2
Rewrite the expression.
Step 20.2.1.3.5
Evaluate the exponent.
Step 20.2.1.4
Multiply by .
Step 20.2.1.5
Divide by .
Step 20.2.1.6
The exact value of is .
Step 20.2.1.7
Apply the product rule to .
Step 20.2.1.8
Rewrite as .
Tap for more steps...
Step 20.2.1.8.1
Use to rewrite as .
Step 20.2.1.8.2
Apply the power rule and multiply exponents, .
Step 20.2.1.8.3
Combine and .
Step 20.2.1.8.4
Cancel the common factor of .
Tap for more steps...
Step 20.2.1.8.4.1
Cancel the common factor.
Step 20.2.1.8.4.2
Rewrite the expression.
Step 20.2.1.8.5
Evaluate the exponent.
Step 20.2.1.9
Raise to the power of .
Step 20.2.1.10
Cancel the common factor of and .
Tap for more steps...
Step 20.2.1.10.1
Factor out of .
Step 20.2.1.10.2
Cancel the common factors.
Tap for more steps...
Step 20.2.1.10.2.1
Factor out of .
Step 20.2.1.10.2.2
Cancel the common factor.
Step 20.2.1.10.2.3
Rewrite the expression.
Step 20.2.1.11
Combine and .
Step 20.2.2
To write as a fraction with a common denominator, multiply by .
Step 20.2.3
Combine and .
Step 20.2.4
Combine the numerators over the common denominator.
Step 20.2.5
Simplify the numerator.
Tap for more steps...
Step 20.2.5.1
Multiply by .
Step 20.2.5.2
Add and .
Step 20.2.6
The final answer is .
Step 21
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 22
Evaluate the second derivative.
Tap for more steps...
Step 22.1
Simplify each term.
Tap for more steps...
Step 22.1.1
Apply the reference angle by finding the angle with equivalent trig values in the first quadrant.
Step 22.1.2
The exact value of is .
Step 22.1.3
Multiply .
Tap for more steps...
Step 22.1.3.1
Combine and .
Step 22.1.3.2
Combine and .
Step 22.1.3.3
Raise to the power of .
Step 22.1.3.4
Raise to the power of .
Step 22.1.3.5
Use the power rule to combine exponents.
Step 22.1.3.6
Add and .
Step 22.1.4
Rewrite as .
Tap for more steps...
Step 22.1.4.1
Use to rewrite as .
Step 22.1.4.2
Apply the power rule and multiply exponents, .
Step 22.1.4.3
Combine and .
Step 22.1.4.4
Cancel the common factor of .
Tap for more steps...
Step 22.1.4.4.1
Cancel the common factor.
Step 22.1.4.4.2
Rewrite the expression.
Step 22.1.4.5
Evaluate the exponent.
Step 22.1.5
Multiply by .
Step 22.1.6
Divide by .
Step 22.1.7
Apply the reference angle by finding the angle with equivalent trig values in the first quadrant.
Step 22.1.8
The exact value of is .
Step 22.1.9
Apply the product rule to .
Step 22.1.10
Rewrite as .
Tap for more steps...
Step 22.1.10.1
Use to rewrite as .
Step 22.1.10.2
Apply the power rule and multiply exponents, .
Step 22.1.10.3
Combine and .
Step 22.1.10.4
Cancel the common factor of .
Tap for more steps...
Step 22.1.10.4.1
Cancel the common factor.
Step 22.1.10.4.2
Rewrite the expression.
Step 22.1.10.5
Evaluate the exponent.
Step 22.1.11
Raise to the power of .
Step 22.1.12
Cancel the common factor of .
Tap for more steps...
Step 22.1.12.1
Factor out of .
Step 22.1.12.2
Factor out of .
Step 22.1.12.3
Cancel the common factor.
Step 22.1.12.4
Rewrite the expression.
Step 22.1.13
Combine and .
Step 22.1.14
Multiply by .
Step 22.1.15
Divide by .
Step 22.1.16
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 22.1.17
The exact value of is .
Step 22.1.18
Use the power rule to distribute the exponent.
Tap for more steps...
Step 22.1.18.1
Apply the product rule to .
Step 22.1.18.2
Apply the product rule to .
Step 22.1.19
Raise to the power of .
Step 22.1.20
Multiply by .
Step 22.1.21
Rewrite as .
Tap for more steps...
Step 22.1.21.1
Use to rewrite as .
Step 22.1.21.2
Apply the power rule and multiply exponents, .
Step 22.1.21.3
Combine and .
Step 22.1.21.4
Cancel the common factor of .
Tap for more steps...
Step 22.1.21.4.1
Cancel the common factor.
Step 22.1.21.4.2
Rewrite the expression.
Step 22.1.21.5
Evaluate the exponent.
Step 22.1.22
Raise to the power of .
Step 22.1.23
Cancel the common factor of .
Tap for more steps...
Step 22.1.23.1
Factor out of .
Step 22.1.23.2
Factor out of .
Step 22.1.23.3
Cancel the common factor.
Step 22.1.23.4
Rewrite the expression.
Step 22.1.24
Combine and .
Step 22.1.25
Multiply by .
Step 22.1.26
Divide by .
Step 22.2
Simplify by adding and subtracting.
Tap for more steps...
Step 22.2.1
Add and .
Step 22.2.2
Subtract from .
Step 23
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 24
Find the y-value when .
Tap for more steps...
Step 24.1
Replace the variable with in the expression.
Step 24.2
Simplify the result.
Tap for more steps...
Step 24.2.1
Simplify each term.
Tap for more steps...
Step 24.2.1.1
Apply the reference angle by finding the angle with equivalent trig values in the first quadrant.
Step 24.2.1.2
The exact value of is .
Step 24.2.1.3
Multiply .
Tap for more steps...
Step 24.2.1.3.1
Combine and .
Step 24.2.1.3.2
Combine and .
Step 24.2.1.3.3
Raise to the power of .
Step 24.2.1.3.4
Raise to the power of .
Step 24.2.1.3.5
Use the power rule to combine exponents.
Step 24.2.1.3.6
Add and .
Step 24.2.1.4
Rewrite as .
Tap for more steps...
Step 24.2.1.4.1
Use to rewrite as .
Step 24.2.1.4.2
Apply the power rule and multiply exponents, .
Step 24.2.1.4.3
Combine and .
Step 24.2.1.4.4
Cancel the common factor of .
Tap for more steps...
Step 24.2.1.4.4.1
Cancel the common factor.
Step 24.2.1.4.4.2
Rewrite the expression.
Step 24.2.1.4.5
Evaluate the exponent.
Step 24.2.1.5
Multiply by .
Step 24.2.1.6
Divide by .
Step 24.2.1.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 24.2.1.8
The exact value of is .
Step 24.2.1.9
Use the power rule to distribute the exponent.
Tap for more steps...
Step 24.2.1.9.1
Apply the product rule to .
Step 24.2.1.9.2
Apply the product rule to .
Step 24.2.1.10
Raise to the power of .
Step 24.2.1.11
Multiply by .
Step 24.2.1.12
Rewrite as .
Tap for more steps...
Step 24.2.1.12.1
Use to rewrite as .
Step 24.2.1.12.2
Apply the power rule and multiply exponents, .
Step 24.2.1.12.3
Combine and .
Step 24.2.1.12.4
Cancel the common factor of .
Tap for more steps...
Step 24.2.1.12.4.1
Cancel the common factor.
Step 24.2.1.12.4.2
Rewrite the expression.
Step 24.2.1.12.5
Evaluate the exponent.
Step 24.2.1.13
Raise to the power of .
Step 24.2.1.14
Cancel the common factor of and .
Tap for more steps...
Step 24.2.1.14.1
Factor out of .
Step 24.2.1.14.2
Cancel the common factors.
Tap for more steps...
Step 24.2.1.14.2.1
Factor out of .
Step 24.2.1.14.2.2
Cancel the common factor.
Step 24.2.1.14.2.3
Rewrite the expression.
Step 24.2.1.15
Combine and .
Step 24.2.2
To write as a fraction with a common denominator, multiply by .
Step 24.2.3
Combine and .
Step 24.2.4
Combine the numerators over the common denominator.
Step 24.2.5
Simplify the numerator.
Tap for more steps...
Step 24.2.5.1
Multiply by .
Step 24.2.5.2
Add and .
Step 24.2.6
The final answer is .
Step 25
These are the local extrema for .
is a local minima
is a local minima
is a local maxima
is a local maxima
Step 26