Calculus Examples

Find the Local Maxima and Minima ((x-1)^2)/(x^2+1)
Step 1
Write as a function.
Step 2
Find the first derivative of the function.
Tap for more steps...
Step 2.1
Differentiate using the Quotient Rule which states that is where and .
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
Differentiate using the Power Rule which states that is where .
Step 2.2.3
Replace all occurrences of with .
Step 2.3
Differentiate.
Tap for more steps...
Step 2.3.1
Move to the left of .
Step 2.3.2
By the Sum Rule, the derivative of with respect to is .
Step 2.3.3
Differentiate using the Power Rule which states that is where .
Step 2.3.4
Since is constant with respect to , the derivative of with respect to is .
Step 2.3.5
Simplify the expression.
Tap for more steps...
Step 2.3.5.1
Add and .
Step 2.3.5.2
Multiply by .
Step 2.3.6
By the Sum Rule, the derivative of with respect to is .
Step 2.3.7
Differentiate using the Power Rule which states that is where .
Step 2.3.8
Since is constant with respect to , the derivative of with respect to is .
Step 2.3.9
Simplify the expression.
Tap for more steps...
Step 2.3.9.1
Add and .
Step 2.3.9.2
Multiply by .
Step 2.4
Simplify.
Tap for more steps...
Step 2.4.1
Apply the distributive property.
Step 2.4.2
Simplify the numerator.
Tap for more steps...
Step 2.4.2.1
Simplify each term.
Tap for more steps...
Step 2.4.2.1.1
Multiply by .
Step 2.4.2.1.2
Expand using the FOIL Method.
Tap for more steps...
Step 2.4.2.1.2.1
Apply the distributive property.
Step 2.4.2.1.2.2
Apply the distributive property.
Step 2.4.2.1.2.3
Apply the distributive property.
Step 2.4.2.1.3
Simplify each term.
Tap for more steps...
Step 2.4.2.1.3.1
Multiply by by adding the exponents.
Tap for more steps...
Step 2.4.2.1.3.1.1
Move .
Step 2.4.2.1.3.1.2
Multiply by .
Tap for more steps...
Step 2.4.2.1.3.1.2.1
Raise to the power of .
Step 2.4.2.1.3.1.2.2
Use the power rule to combine exponents.
Step 2.4.2.1.3.1.3
Add and .
Step 2.4.2.1.3.2
Multiply by .
Step 2.4.2.1.3.3
Multiply by .
Step 2.4.2.1.4
Rewrite as .
Step 2.4.2.1.5
Expand using the FOIL Method.
Tap for more steps...
Step 2.4.2.1.5.1
Apply the distributive property.
Step 2.4.2.1.5.2
Apply the distributive property.
Step 2.4.2.1.5.3
Apply the distributive property.
Step 2.4.2.1.6
Simplify and combine like terms.
Tap for more steps...
Step 2.4.2.1.6.1
Simplify each term.
Tap for more steps...
Step 2.4.2.1.6.1.1
Multiply by .
Step 2.4.2.1.6.1.2
Move to the left of .
Step 2.4.2.1.6.1.3
Rewrite as .
Step 2.4.2.1.6.1.4
Rewrite as .
Step 2.4.2.1.6.1.5
Multiply by .
Step 2.4.2.1.6.2
Subtract from .
Step 2.4.2.1.7
Apply the distributive property.
Step 2.4.2.1.8
Simplify.
Tap for more steps...
Step 2.4.2.1.8.1
Multiply by .
Step 2.4.2.1.8.2
Multiply by .
Step 2.4.2.1.9
Apply the distributive property.
Step 2.4.2.1.10
Simplify.
Tap for more steps...
Step 2.4.2.1.10.1
Multiply by by adding the exponents.
Tap for more steps...
Step 2.4.2.1.10.1.1
Move .
Step 2.4.2.1.10.1.2
Multiply by .
Tap for more steps...
Step 2.4.2.1.10.1.2.1
Raise to the power of .
Step 2.4.2.1.10.1.2.2
Use the power rule to combine exponents.
Step 2.4.2.1.10.1.3
Add and .
Step 2.4.2.1.10.2
Multiply by by adding the exponents.
Tap for more steps...
Step 2.4.2.1.10.2.1
Move .
Step 2.4.2.1.10.2.2
Multiply by .
Step 2.4.2.2
Combine the opposite terms in .
Tap for more steps...
Step 2.4.2.2.1
Subtract from .
Step 2.4.2.2.2
Add and .
Step 2.4.2.2.3
Subtract from .
Step 2.4.2.2.4
Add and .
Step 2.4.2.3
Add and .
Step 2.4.3
Simplify the numerator.
Tap for more steps...
Step 2.4.3.1
Factor out of .
Tap for more steps...
Step 2.4.3.1.1
Factor out of .
Step 2.4.3.1.2
Factor out of .
Step 2.4.3.1.3
Factor out of .
Step 2.4.3.2
Rewrite as .
Step 2.4.3.3
Since both terms are perfect squares, factor using the difference of squares formula, where and .
Step 3
Find the second derivative of the function.
Tap for more steps...
Step 3.1
Since is constant with respect to , the derivative of with respect to is .
Step 3.2
Differentiate using the Quotient Rule which states that is where and .
Step 3.3
Multiply the exponents in .
Tap for more steps...
Step 3.3.1
Apply the power rule and multiply exponents, .
Step 3.3.2
Multiply by .
Step 3.4
Differentiate using the Product Rule which states that is where and .
Step 3.5
Differentiate.
Tap for more steps...
Step 3.5.1
By the Sum Rule, the derivative of with respect to is .
Step 3.5.2
Differentiate using the Power Rule which states that is where .
Step 3.5.3
Since is constant with respect to , the derivative of with respect to is .
Step 3.5.4
Simplify the expression.
Tap for more steps...
Step 3.5.4.1
Add and .
Step 3.5.4.2
Multiply by .
Step 3.5.5
By the Sum Rule, the derivative of with respect to is .
Step 3.5.6
Differentiate using the Power Rule which states that is where .
Step 3.5.7
Since is constant with respect to , the derivative of with respect to is .
Step 3.5.8
Simplify by adding terms.
Tap for more steps...
Step 3.5.8.1
Add and .
Step 3.5.8.2
Multiply by .
Step 3.5.8.3
Add and .
Step 3.5.8.4
Simplify the expression.
Tap for more steps...
Step 3.5.8.4.1
Subtract from .
Step 3.5.8.4.2
Add and .
Step 3.5.8.4.3
Move to the left of .
Step 3.6
Differentiate using the chain rule, which states that is where and .
Tap for more steps...
Step 3.6.1
To apply the Chain Rule, set as .
Step 3.6.2
Differentiate using the Power Rule which states that is where .
Step 3.6.3
Replace all occurrences of with .
Step 3.7
Differentiate.
Tap for more steps...
Step 3.7.1
Multiply by .
Step 3.7.2
By the Sum Rule, the derivative of with respect to is .
Step 3.7.3
Differentiate using the Power Rule which states that is where .
Step 3.7.4
Since is constant with respect to , the derivative of with respect to is .
Step 3.7.5
Combine fractions.
Tap for more steps...
Step 3.7.5.1
Add and .
Step 3.7.5.2
Simplify the expression.
Tap for more steps...
Step 3.7.5.2.1
Move to the left of .
Step 3.7.5.2.2
Multiply by .
Step 3.7.5.3
Combine and .
Step 3.8
Simplify.
Tap for more steps...
Step 3.8.1
Apply the distributive property.
Step 3.8.2
Apply the distributive property.
Step 3.8.3
Apply the distributive property.
Step 3.8.4
Simplify the numerator.
Tap for more steps...
Step 3.8.4.1
Simplify each term.
Tap for more steps...
Step 3.8.4.1.1
Rewrite as .
Step 3.8.4.1.2
Expand using the FOIL Method.
Tap for more steps...
Step 3.8.4.1.2.1
Apply the distributive property.
Step 3.8.4.1.2.2
Apply the distributive property.
Step 3.8.4.1.2.3
Apply the distributive property.
Step 3.8.4.1.3
Simplify and combine like terms.
Tap for more steps...
Step 3.8.4.1.3.1
Simplify each term.
Tap for more steps...
Step 3.8.4.1.3.1.1
Multiply by by adding the exponents.
Tap for more steps...
Step 3.8.4.1.3.1.1.1
Use the power rule to combine exponents.
Step 3.8.4.1.3.1.1.2
Add and .
Step 3.8.4.1.3.1.2
Multiply by .
Step 3.8.4.1.3.1.3
Multiply by .
Step 3.8.4.1.3.1.4
Multiply by .
Step 3.8.4.1.3.2
Add and .
Step 3.8.4.1.4
Apply the distributive property.
Step 3.8.4.1.5
Simplify.
Tap for more steps...
Step 3.8.4.1.5.1
Multiply by .
Step 3.8.4.1.5.2
Multiply by .
Step 3.8.4.1.6
Apply the distributive property.
Step 3.8.4.1.7
Simplify.
Tap for more steps...
Step 3.8.4.1.7.1
Multiply by by adding the exponents.
Tap for more steps...
Step 3.8.4.1.7.1.1
Move .
Step 3.8.4.1.7.1.2
Multiply by .
Tap for more steps...
Step 3.8.4.1.7.1.2.1
Raise to the power of .
Step 3.8.4.1.7.1.2.2
Use the power rule to combine exponents.
Step 3.8.4.1.7.1.3
Add and .
Step 3.8.4.1.7.2
Multiply by by adding the exponents.
Tap for more steps...
Step 3.8.4.1.7.2.1
Move .
Step 3.8.4.1.7.2.2
Multiply by .
Tap for more steps...
Step 3.8.4.1.7.2.2.1
Raise to the power of .
Step 3.8.4.1.7.2.2.2
Use the power rule to combine exponents.
Step 3.8.4.1.7.2.3
Add and .
Step 3.8.4.1.8
Apply the distributive property.
Step 3.8.4.1.9
Simplify.
Tap for more steps...
Step 3.8.4.1.9.1
Multiply by .
Step 3.8.4.1.9.2
Multiply by .
Step 3.8.4.1.9.3
Multiply by .
Step 3.8.4.1.10
Multiply by .
Step 3.8.4.1.11
Expand using the FOIL Method.
Tap for more steps...
Step 3.8.4.1.11.1
Apply the distributive property.
Step 3.8.4.1.11.2
Apply the distributive property.
Step 3.8.4.1.11.3
Apply the distributive property.
Step 3.8.4.1.12
Simplify and combine like terms.
Tap for more steps...
Step 3.8.4.1.12.1
Simplify each term.
Tap for more steps...
Step 3.8.4.1.12.1.1
Multiply by by adding the exponents.
Tap for more steps...
Step 3.8.4.1.12.1.1.1
Move .
Step 3.8.4.1.12.1.1.2
Multiply by .
Step 3.8.4.1.12.1.2
Multiply by .
Step 3.8.4.1.12.1.3
Multiply by .
Step 3.8.4.1.12.2
Subtract from .
Step 3.8.4.1.12.3
Add and .
Step 3.8.4.1.13
Simplify each term.
Tap for more steps...
Step 3.8.4.1.13.1
Multiply by by adding the exponents.
Tap for more steps...
Step 3.8.4.1.13.1.1
Multiply by .
Tap for more steps...
Step 3.8.4.1.13.1.1.1
Raise to the power of .
Step 3.8.4.1.13.1.1.2
Use the power rule to combine exponents.
Step 3.8.4.1.13.1.2
Add and .
Step 3.8.4.1.13.2
Multiply by .
Step 3.8.4.1.14
Expand using the FOIL Method.
Tap for more steps...
Step 3.8.4.1.14.1
Apply the distributive property.
Step 3.8.4.1.14.2
Apply the distributive property.
Step 3.8.4.1.14.3
Apply the distributive property.
Step 3.8.4.1.15
Simplify and combine like terms.
Tap for more steps...
Step 3.8.4.1.15.1
Simplify each term.
Tap for more steps...
Step 3.8.4.1.15.1.1
Multiply by by adding the exponents.
Tap for more steps...
Step 3.8.4.1.15.1.1.1
Move .
Step 3.8.4.1.15.1.1.2
Use the power rule to combine exponents.
Step 3.8.4.1.15.1.1.3
Add and .
Step 3.8.4.1.15.1.2
Multiply by by adding the exponents.
Tap for more steps...
Step 3.8.4.1.15.1.2.1
Move .
Step 3.8.4.1.15.1.2.2
Multiply by .
Tap for more steps...
Step 3.8.4.1.15.1.2.2.1
Raise to the power of .
Step 3.8.4.1.15.1.2.2.2
Use the power rule to combine exponents.
Step 3.8.4.1.15.1.2.3
Add and .
Step 3.8.4.1.15.2
Add and .
Step 3.8.4.1.15.3
Add and .
Step 3.8.4.1.16
Apply the distributive property.
Step 3.8.4.1.17
Multiply by .
Step 3.8.4.1.18
Multiply by .
Step 3.8.4.2
Subtract from .
Step 3.8.4.3
Add and .
Step 3.8.5
Simplify the numerator.
Tap for more steps...
Step 3.8.5.1
Factor out of .
Tap for more steps...
Step 3.8.5.1.1
Factor out of .
Step 3.8.5.1.2
Factor out of .
Step 3.8.5.1.3
Factor out of .
Step 3.8.5.1.4
Factor out of .
Step 3.8.5.1.5
Factor out of .
Step 3.8.5.2
Rewrite as .
Step 3.8.5.3
Let . Substitute for all occurrences of .
Step 3.8.5.4
Factor by grouping.
Tap for more steps...
Step 3.8.5.4.1
For a polynomial of the form , rewrite the middle term as a sum of two terms whose product is and whose sum is .
Tap for more steps...
Step 3.8.5.4.1.1
Factor out of .
Step 3.8.5.4.1.2
Rewrite as plus
Step 3.8.5.4.1.3
Apply the distributive property.
Step 3.8.5.4.2
Factor out the greatest common factor from each group.
Tap for more steps...
Step 3.8.5.4.2.1
Group the first two terms and the last two terms.
Step 3.8.5.4.2.2
Factor out the greatest common factor (GCF) from each group.
Step 3.8.5.4.3
Factor the polynomial by factoring out the greatest common factor, .
Step 3.8.5.5
Replace all occurrences of with .
Step 3.8.6
Cancel the common factor of and .
Tap for more steps...
Step 3.8.6.1
Factor out of .
Step 3.8.6.2
Rewrite as .
Step 3.8.6.3
Factor out of .
Step 3.8.6.4
Rewrite as .
Step 3.8.6.5
Factor out of .
Step 3.8.6.6
Cancel the common factors.
Tap for more steps...
Step 3.8.6.6.1
Factor out of .
Step 3.8.6.6.2
Cancel the common factor.
Step 3.8.6.6.3
Rewrite the expression.
Step 3.8.7
Multiply by .
Step 3.8.8
Move the negative in front of the fraction.
Step 4
To find the local maximum and minimum values of the function, set the derivative equal to and solve.
Step 5
Find the first derivative.
Tap for more steps...
Step 5.1
Find the first derivative.
Tap for more steps...
Step 5.1.1
Differentiate using the Quotient Rule which states that is where and .
Step 5.1.2
Differentiate using the chain rule, which states that is where and .
Tap for more steps...
Step 5.1.2.1
To apply the Chain Rule, set as .
Step 5.1.2.2
Differentiate using the Power Rule which states that is where .
Step 5.1.2.3
Replace all occurrences of with .
Step 5.1.3
Differentiate.
Tap for more steps...
Step 5.1.3.1
Move to the left of .
Step 5.1.3.2
By the Sum Rule, the derivative of with respect to is .
Step 5.1.3.3
Differentiate using the Power Rule which states that is where .
Step 5.1.3.4
Since is constant with respect to , the derivative of with respect to is .
Step 5.1.3.5
Simplify the expression.
Tap for more steps...
Step 5.1.3.5.1
Add and .
Step 5.1.3.5.2
Multiply by .
Step 5.1.3.6
By the Sum Rule, the derivative of with respect to is .
Step 5.1.3.7
Differentiate using the Power Rule which states that is where .
Step 5.1.3.8
Since is constant with respect to , the derivative of with respect to is .
Step 5.1.3.9
Simplify the expression.
Tap for more steps...
Step 5.1.3.9.1
Add and .
Step 5.1.3.9.2
Multiply by .
Step 5.1.4
Simplify.
Tap for more steps...
Step 5.1.4.1
Apply the distributive property.
Step 5.1.4.2
Simplify the numerator.
Tap for more steps...
Step 5.1.4.2.1
Simplify each term.
Tap for more steps...
Step 5.1.4.2.1.1
Multiply by .
Step 5.1.4.2.1.2
Expand using the FOIL Method.
Tap for more steps...
Step 5.1.4.2.1.2.1
Apply the distributive property.
Step 5.1.4.2.1.2.2
Apply the distributive property.
Step 5.1.4.2.1.2.3
Apply the distributive property.
Step 5.1.4.2.1.3
Simplify each term.
Tap for more steps...
Step 5.1.4.2.1.3.1
Multiply by by adding the exponents.
Tap for more steps...
Step 5.1.4.2.1.3.1.1
Move .
Step 5.1.4.2.1.3.1.2
Multiply by .
Tap for more steps...
Step 5.1.4.2.1.3.1.2.1
Raise to the power of .
Step 5.1.4.2.1.3.1.2.2
Use the power rule to combine exponents.
Step 5.1.4.2.1.3.1.3
Add and .
Step 5.1.4.2.1.3.2
Multiply by .
Step 5.1.4.2.1.3.3
Multiply by .
Step 5.1.4.2.1.4
Rewrite as .
Step 5.1.4.2.1.5
Expand using the FOIL Method.
Tap for more steps...
Step 5.1.4.2.1.5.1
Apply the distributive property.
Step 5.1.4.2.1.5.2
Apply the distributive property.
Step 5.1.4.2.1.5.3
Apply the distributive property.
Step 5.1.4.2.1.6
Simplify and combine like terms.
Tap for more steps...
Step 5.1.4.2.1.6.1
Simplify each term.
Tap for more steps...
Step 5.1.4.2.1.6.1.1
Multiply by .
Step 5.1.4.2.1.6.1.2
Move to the left of .
Step 5.1.4.2.1.6.1.3
Rewrite as .
Step 5.1.4.2.1.6.1.4
Rewrite as .
Step 5.1.4.2.1.6.1.5
Multiply by .
Step 5.1.4.2.1.6.2
Subtract from .
Step 5.1.4.2.1.7
Apply the distributive property.
Step 5.1.4.2.1.8
Simplify.
Tap for more steps...
Step 5.1.4.2.1.8.1
Multiply by .
Step 5.1.4.2.1.8.2
Multiply by .
Step 5.1.4.2.1.9
Apply the distributive property.
Step 5.1.4.2.1.10
Simplify.
Tap for more steps...
Step 5.1.4.2.1.10.1
Multiply by by adding the exponents.
Tap for more steps...
Step 5.1.4.2.1.10.1.1
Move .
Step 5.1.4.2.1.10.1.2
Multiply by .
Tap for more steps...
Step 5.1.4.2.1.10.1.2.1
Raise to the power of .
Step 5.1.4.2.1.10.1.2.2
Use the power rule to combine exponents.
Step 5.1.4.2.1.10.1.3
Add and .
Step 5.1.4.2.1.10.2
Multiply by by adding the exponents.
Tap for more steps...
Step 5.1.4.2.1.10.2.1
Move .
Step 5.1.4.2.1.10.2.2
Multiply by .
Step 5.1.4.2.2
Combine the opposite terms in .
Tap for more steps...
Step 5.1.4.2.2.1
Subtract from .
Step 5.1.4.2.2.2
Add and .
Step 5.1.4.2.2.3
Subtract from .
Step 5.1.4.2.2.4
Add and .
Step 5.1.4.2.3
Add and .
Step 5.1.4.3
Simplify the numerator.
Tap for more steps...
Step 5.1.4.3.1
Factor out of .
Tap for more steps...
Step 5.1.4.3.1.1
Factor out of .
Step 5.1.4.3.1.2
Factor out of .
Step 5.1.4.3.1.3
Factor out of .
Step 5.1.4.3.2
Rewrite as .
Step 5.1.4.3.3
Since both terms are perfect squares, factor using the difference of squares formula, where and .
Step 5.2
The first derivative of with respect to is .
Step 6
Set the first derivative equal to then solve the equation .
Tap for more steps...
Step 6.1
Set the first derivative equal to .
Step 6.2
Set the numerator equal to zero.
Step 6.3
Solve the equation for .
Tap for more steps...
Step 6.3.1
If any individual factor on the left side of the equation is equal to , the entire expression will be equal to .
Step 6.3.2
Set equal to and solve for .
Tap for more steps...
Step 6.3.2.1
Set equal to .
Step 6.3.2.2
Subtract from both sides of the equation.
Step 6.3.3
Set equal to and solve for .
Tap for more steps...
Step 6.3.3.1
Set equal to .
Step 6.3.3.2
Add to both sides of the equation.
Step 6.3.4
The final solution is all the values that make true.
Step 7
Find the values where the derivative is undefined.
Tap for more steps...
Step 7.1
The domain of the expression is all real numbers except where the expression is undefined. In this case, there is no real number that makes the expression undefined.
Step 8
Critical points to evaluate.
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
Multiply by .
Step 10.2
Simplify the denominator.
Tap for more steps...
Step 10.2.1
Raise to the power of .
Step 10.2.2
Add and .
Step 10.2.3
Raise to the power of .
Step 10.3
Simplify the numerator.
Tap for more steps...
Step 10.3.1
Raise to the power of .
Step 10.3.2
Subtract from .
Step 10.4
Reduce the expression by cancelling the common factors.
Tap for more steps...
Step 10.4.1
Multiply by .
Step 10.4.2
Cancel the common factor of .
Tap for more steps...
Step 10.4.2.1
Cancel the common factor.
Step 10.4.2.2
Rewrite the expression.
Step 10.4.3
Multiply by .
Step 11
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 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
Cancel the common factor of and .
Tap for more steps...
Step 12.2.1.1
Factor out of .
Step 12.2.1.2
Rewrite as .
Step 12.2.1.3
Factor out of .
Step 12.2.1.4
Rewrite as .
Step 12.2.1.5
Factor out of .
Step 12.2.1.6
Move the negative one from the denominator of .
Step 12.2.2
Simplify the expression.
Tap for more steps...
Step 12.2.2.1
Rewrite as .
Step 12.2.2.2
Subtract from .
Step 12.2.2.3
Multiply by .
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
Multiply by .
Step 14.2
Simplify the denominator.
Tap for more steps...
Step 14.2.1
One to any power is one.
Step 14.2.2
Add and .
Step 14.2.3
Raise to the power of .
Step 14.3
Simplify the numerator.
Tap for more steps...
Step 14.3.1
One to any power is one.
Step 14.3.2
Subtract from .
Step 14.4
Simplify the expression.
Tap for more steps...
Step 14.4.1
Multiply by .
Step 14.4.2
Divide by .
Step 14.4.3
Multiply by .
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 the numerator.
Tap for more steps...
Step 16.2.1.1
Subtract from .
Step 16.2.1.2
Raising to any positive power yields .
Step 16.2.2
Simplify the denominator.
Tap for more steps...
Step 16.2.2.1
One to any power is one.
Step 16.2.2.2
Add and .
Step 16.2.3
Divide by .
Step 16.2.4
The final answer is .
Step 17
These are the local extrema for .
is a local maxima
is a local minima
Step 18