Calculus Examples

Find the Local Maxima and Minima f(x,y)=(x-1)^2+y^3-3y^2-9y+5
Step 1
Write as a function.
Step 2
Move all the expressions to the left side of the equation.
Tap for more steps...
Step 2.1
Subtract from both sides of the equation.
Step 2.2
Subtract from both sides of the equation.
Step 2.3
Add to both sides of the equation.
Step 2.4
Add to both sides of the equation.
Step 2.5
Subtract from both sides of the equation.
Step 3
Simplify .
Tap for more steps...
Step 3.1
Simplify each term.
Tap for more steps...
Step 3.1.1
Rewrite as .
Step 3.1.2
Expand using the FOIL Method.
Tap for more steps...
Step 3.1.2.1
Apply the distributive property.
Step 3.1.2.2
Apply the distributive property.
Step 3.1.2.3
Apply the distributive property.
Step 3.1.3
Simplify and combine like terms.
Tap for more steps...
Step 3.1.3.1
Simplify each term.
Tap for more steps...
Step 3.1.3.1.1
Multiply by .
Step 3.1.3.1.2
Move to the left of .
Step 3.1.3.1.3
Rewrite as .
Step 3.1.3.1.4
Rewrite as .
Step 3.1.3.1.5
Multiply by .
Step 3.1.3.2
Subtract from .
Step 3.1.4
Apply the distributive property.
Step 3.1.5
Simplify.
Tap for more steps...
Step 3.1.5.1
Multiply by .
Step 3.1.5.2
Multiply by .
Step 3.2
Subtract from .
Step 4
Find the first derivative of the function.
Tap for more steps...
Step 4.1
By the Sum Rule, the derivative of with respect to is .
Step 4.2
Multiply by each element of the matrix.
Step 4.3
Evaluate .
Tap for more steps...
Step 4.3.1
Since is constant with respect to , the derivative of with respect to is .
Step 4.3.2
Differentiate using the Power Rule which states that is where .
Step 4.3.3
Multiply by .
Step 4.4
Evaluate .
Tap for more steps...
Step 4.4.1
Since is constant with respect to , the derivative of with respect to is .
Step 4.4.2
Differentiate using the Power Rule which states that is where .
Step 4.4.3
Multiply by .
Step 4.5
Differentiate using the Constant Rule.
Tap for more steps...
Step 4.5.1
Since is constant with respect to , the derivative of with respect to is .
Step 4.5.2
Since is constant with respect to , the derivative of with respect to is .
Step 4.5.3
Since is constant with respect to , the derivative of with respect to is .
Step 4.5.4
Since is constant with respect to , the derivative of with respect to is .
Step 4.6
Simplify.
Tap for more steps...
Step 4.6.1
Combine terms.
Tap for more steps...
Step 4.6.1.1
Add and .
Step 4.6.1.2
Add and .
Step 4.6.1.3
Add and .
Step 4.6.1.4
Add and .
Step 4.6.2
Reorder terms.
Step 5
Find the second derivative of the function.
Tap for more steps...
Step 5.1
By the Sum Rule, the derivative of with respect to is .
Step 5.2
Evaluate .
Tap for more steps...
Step 5.2.1
Since is constant with respect to , the derivative of with respect to is .
Step 5.2.2
Differentiate using the Power Rule which states that is where .
Step 5.2.3
Multiply by .
Step 5.3
Evaluate .
Tap for more steps...
Step 5.3.1
Cancel the common factor of .
Tap for more steps...
Step 5.3.1.1
Cancel the common factor.
Step 5.3.1.2
Rewrite the expression.
Step 5.3.2
Multiply by each element of the matrix.
Step 5.3.3
Simplify each element in the matrix.
Tap for more steps...
Step 5.3.3.1
Cancel the common factor of .
Tap for more steps...
Step 5.3.3.1.1
Factor out of .
Step 5.3.3.1.2
Cancel the common factor.
Step 5.3.3.1.3
Rewrite the expression.
Step 5.3.3.2
Multiply .
Tap for more steps...
Step 5.3.3.2.1
Combine and .
Step 5.3.3.2.2
Combine and .
Step 5.4
Differentiate using the Constant Rule.
Tap for more steps...
Step 5.4.1
Since is constant with respect to , the derivative of with respect to is .
Step 5.4.2
Add and .
Step 6
To find the local maximum and minimum values of the function, set the derivative equal to and solve.
Step 7
Find the first derivative.
Tap for more steps...
Step 7.1
Find the first derivative.
Tap for more steps...
Step 7.1.1
By the Sum Rule, the derivative of with respect to is .
Step 7.1.2
Multiply by each element of the matrix.
Step 7.1.3
Evaluate .
Tap for more steps...
Step 7.1.3.1
Since is constant with respect to , the derivative of with respect to is .
Step 7.1.3.2
Differentiate using the Power Rule which states that is where .
Step 7.1.3.3
Multiply by .
Step 7.1.4
Evaluate .
Tap for more steps...
Step 7.1.4.1
Since is constant with respect to , the derivative of with respect to is .
Step 7.1.4.2
Differentiate using the Power Rule which states that is where .
Step 7.1.4.3
Multiply by .
Step 7.1.5
Differentiate using the Constant Rule.
Tap for more steps...
Step 7.1.5.1
Since is constant with respect to , the derivative of with respect to is .
Step 7.1.5.2
Since is constant with respect to , the derivative of with respect to is .
Step 7.1.5.3
Since is constant with respect to , the derivative of with respect to is .
Step 7.1.5.4
Since is constant with respect to , the derivative of with respect to is .
Step 7.1.6
Simplify.
Tap for more steps...
Step 7.1.6.1
Combine terms.
Tap for more steps...
Step 7.1.6.1.1
Add and .
Step 7.1.6.1.2
Add and .
Step 7.1.6.1.3
Add and .
Step 7.1.6.1.4
Add and .
Step 7.1.6.2
Reorder terms.
Step 7.2
The first derivative of with respect to is .
Step 8
Set the first derivative equal to .
Step 9
Find the values where the derivative is undefined.
Tap for more steps...
Step 9.1
Set the denominator in equal to to find where the expression is undefined.
Step 9.2
Divide each term in by and simplify.
Tap for more steps...
Step 9.2.1
Divide each term in by .
Step 9.2.2
Simplify the left side.
Tap for more steps...
Step 9.2.2.1
Cancel the common factor of .
Tap for more steps...
Step 9.2.2.1.1
Cancel the common factor.
Step 9.2.2.1.2
Divide by .
Step 9.2.3
Simplify the right side.
Tap for more steps...
Step 9.2.3.1
Divide by .
Step 10
Critical points to evaluate.
Step 11
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 12
Evaluate the second derivative.
Tap for more steps...
Step 12.1
Multiply by .
Step 12.2
The expression contains a division by . The expression is undefined.
Undefined
Undefined
Step 13
Since the first derivative test failed, there are no local extrema.
No Local Extrema
Step 14