Calculus Examples

Find the Local Maxima and Minima f(x)=arctan(x)-arctan(x-5)
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
The derivative of with respect to is .
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
The derivative of with respect to is .
Step 1.3.2.3
Replace all occurrences of with .
Step 1.3.3
By the Sum Rule, the derivative of with respect to is .
Step 1.3.4
Differentiate using the Power Rule which states that is where .
Step 1.3.5
Since is constant with respect to , the derivative of with respect to is .
Step 1.3.6
Add and .
Step 1.3.7
Multiply by .
Step 1.4
Simplify.
Tap for more steps...
Step 1.4.1
Combine terms.
Tap for more steps...
Step 1.4.1.1
To write as a fraction with a common denominator, multiply by .
Step 1.4.1.2
To write as a fraction with a common denominator, multiply by .
Step 1.4.1.3
Write each expression with a common denominator of , by multiplying each by an appropriate factor of .
Tap for more steps...
Step 1.4.1.3.1
Multiply by .
Step 1.4.1.3.2
Multiply by .
Step 1.4.1.3.3
Reorder the factors of .
Step 1.4.1.4
Combine the numerators over the common denominator.
Step 1.4.2
Reorder terms.
Step 2
Find the second 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
By the Sum Rule, the derivative of with respect to is .
Step 2.3
Differentiate using the chain rule, which states that is where and .
Tap for more steps...
Step 2.3.1
To apply the Chain Rule, set as .
Step 2.3.2
Differentiate using the Power Rule which states that is where .
Step 2.3.3
Replace all occurrences of with .
Step 2.4
Differentiate.
Tap for more steps...
Step 2.4.1
By the Sum Rule, the derivative of with respect to is .
Step 2.4.2
Differentiate using the Power Rule which states that is where .
Step 2.4.3
Since is constant with respect to , the derivative of with respect to is .
Step 2.4.4
Simplify the expression.
Tap for more steps...
Step 2.4.4.1
Add and .
Step 2.4.4.2
Multiply by .
Step 2.4.5
Since is constant with respect to , the derivative of with respect to is .
Step 2.4.6
Add and .
Step 2.4.7
Since is constant with respect to , the derivative of with respect to is .
Step 2.4.8
By the Sum Rule, the derivative of with respect to is .
Step 2.4.9
Since is constant with respect to , the derivative of with respect to is .
Step 2.4.10
Add and .
Step 2.4.11
Differentiate using the Power Rule which states that is where .
Step 2.4.12
Multiply by .
Step 2.5
Differentiate using the Product Rule which states that is where and .
Step 2.6
Differentiate.
Tap for more steps...
Step 2.6.1
By the Sum Rule, the derivative of with respect to is .
Step 2.6.2
Since is constant with respect to , the derivative of with respect to is .
Step 2.6.3
Add and .
Step 2.6.4
Differentiate using the Power Rule which states that is where .
Step 2.6.5
Move to the left of .
Step 2.6.6
By the Sum Rule, the derivative of with respect to is .
Step 2.6.7
Since is constant with respect to , the derivative of with respect to is .
Step 2.6.8
Add and .
Step 2.7
Differentiate using the chain rule, which states that is where and .
Tap for more steps...
Step 2.7.1
To apply the Chain Rule, set as .
Step 2.7.2
Differentiate using the Power Rule which states that is where .
Step 2.7.3
Replace all occurrences of with .
Step 2.8
Differentiate.
Tap for more steps...
Step 2.8.1
Move to the left of .
Step 2.8.2
By the Sum Rule, the derivative of with respect to is .
Step 2.8.3
Differentiate using the Power Rule which states that is where .
Step 2.8.4
Since is constant with respect to , the derivative of with respect to is .
Step 2.8.5
Simplify the expression.
Tap for more steps...
Step 2.8.5.1
Add and .
Step 2.8.5.2
Multiply by .
Step 2.9
Simplify.
Tap for more steps...
Step 2.9.1
Apply the product rule to .
Step 2.9.2
Apply the distributive property.
Step 2.9.3
Apply the distributive property.
Step 2.9.4
Apply the distributive property.
Step 2.9.5
Apply the distributive property.
Step 2.9.6
Apply the distributive property.
Step 2.9.7
Apply the distributive property.
Step 2.9.8
Simplify the numerator.
Tap for more steps...
Step 2.9.8.1
Simplify each term.
Tap for more steps...
Step 2.9.8.1.1
Rewrite as .
Step 2.9.8.1.2
Expand using the FOIL Method.
Tap for more steps...
Step 2.9.8.1.2.1
Apply the distributive property.
Step 2.9.8.1.2.2
Apply the distributive property.
Step 2.9.8.1.2.3
Apply the distributive property.
Step 2.9.8.1.3
Simplify and combine like terms.
Tap for more steps...
Step 2.9.8.1.3.1
Simplify each term.
Tap for more steps...
Step 2.9.8.1.3.1.1
Multiply by .
Step 2.9.8.1.3.1.2
Move to the left of .
Step 2.9.8.1.3.1.3
Multiply by .
Step 2.9.8.1.3.2
Subtract from .
Step 2.9.8.2
Add and .
Step 2.9.8.3
Expand by multiplying each term in the first expression by each term in the second expression.
Step 2.9.8.4
Simplify each term.
Tap for more steps...
Step 2.9.8.4.1
Multiply by .
Step 2.9.8.4.2
Multiply by by adding the exponents.
Tap for more steps...
Step 2.9.8.4.2.1
Use the power rule to combine exponents.
Step 2.9.8.4.2.2
Add and .
Step 2.9.8.4.3
Multiply by .
Step 2.9.8.4.4
Multiply by by adding the exponents.
Tap for more steps...
Step 2.9.8.4.4.1
Move .
Step 2.9.8.4.4.2
Multiply by .
Tap for more steps...
Step 2.9.8.4.4.2.1
Raise to the power of .
Step 2.9.8.4.4.2.2
Use the power rule to combine exponents.
Step 2.9.8.4.4.3
Add and .
Step 2.9.8.4.5
Multiply by .
Step 2.9.8.5
Add and .
Step 2.9.8.6
Combine the opposite terms in .
Tap for more steps...
Step 2.9.8.6.1
Subtract from .
Step 2.9.8.6.2
Add and .
Step 2.9.8.7
Multiply by .
Step 2.9.8.8
Apply the distributive property.
Step 2.9.8.9
Simplify.
Tap for more steps...
Step 2.9.8.9.1
Multiply by .
Step 2.9.8.9.2
Move to the left of .
Step 2.9.8.9.3
Multiply by .
Step 2.9.8.9.4
Multiply by .
Step 2.9.8.9.5
Multiply by .
Step 2.9.8.10
Simplify each term.
Tap for more steps...
Step 2.9.8.10.1
Rewrite as .
Step 2.9.8.10.2
Expand using the FOIL Method.
Tap for more steps...
Step 2.9.8.10.2.1
Apply the distributive property.
Step 2.9.8.10.2.2
Apply the distributive property.
Step 2.9.8.10.2.3
Apply the distributive property.
Step 2.9.8.10.3
Simplify and combine like terms.
Tap for more steps...
Step 2.9.8.10.3.1
Simplify each term.
Tap for more steps...
Step 2.9.8.10.3.1.1
Multiply by .
Step 2.9.8.10.3.1.2
Move to the left of .
Step 2.9.8.10.3.1.3
Multiply by .
Step 2.9.8.10.3.2
Subtract from .
Step 2.9.8.10.4
Apply the distributive property.
Step 2.9.8.10.5
Simplify.
Tap for more steps...
Step 2.9.8.10.5.1
Multiply by .
Step 2.9.8.10.5.2
Multiply by .
Step 2.9.8.10.6
Multiply by .
Step 2.9.8.10.7
Multiply .
Tap for more steps...
Step 2.9.8.10.7.1
Multiply by .
Step 2.9.8.10.7.2
Multiply by .
Step 2.9.8.10.8
Multiply .
Tap for more steps...
Step 2.9.8.10.8.1
Multiply by .
Step 2.9.8.10.8.2
Multiply by .
Step 2.9.8.11
Combine the opposite terms in .
Tap for more steps...
Step 2.9.8.11.1
Add and .
Step 2.9.8.11.2
Add and .
Step 2.9.8.11.3
Add and .
Step 2.9.8.11.4
Add and .
Step 2.9.8.12
Simplify each term.
Tap for more steps...
Step 2.9.8.12.1
Multiply by .
Step 2.9.8.12.2
Rewrite as .
Step 2.9.8.12.3
Expand using the FOIL Method.
Tap for more steps...
Step 2.9.8.12.3.1
Apply the distributive property.
Step 2.9.8.12.3.2
Apply the distributive property.
Step 2.9.8.12.3.3
Apply the distributive property.
Step 2.9.8.12.4
Simplify and combine like terms.
Tap for more steps...
Step 2.9.8.12.4.1
Simplify each term.
Tap for more steps...
Step 2.9.8.12.4.1.1
Multiply by .
Step 2.9.8.12.4.1.2
Move to the left of .
Step 2.9.8.12.4.1.3
Multiply by .
Step 2.9.8.12.4.2
Subtract from .
Step 2.9.8.12.5
Apply the distributive property.
Step 2.9.8.12.6
Simplify.
Tap for more steps...
Step 2.9.8.12.6.1
Multiply by .
Step 2.9.8.12.6.2
Multiply by .
Step 2.9.8.12.7
Apply the distributive property.
Step 2.9.8.12.8
Simplify.
Tap for more steps...
Step 2.9.8.12.8.1
Multiply by by adding the exponents.
Tap for more steps...
Step 2.9.8.12.8.1.1
Move .
Step 2.9.8.12.8.1.2
Multiply by .
Tap for more steps...
Step 2.9.8.12.8.1.2.1
Raise to the power of .
Step 2.9.8.12.8.1.2.2
Use the power rule to combine exponents.
Step 2.9.8.12.8.1.3
Add and .
Step 2.9.8.12.8.2
Multiply by by adding the exponents.
Tap for more steps...
Step 2.9.8.12.8.2.1
Move .
Step 2.9.8.12.8.2.2
Multiply by .
Step 2.9.8.12.9
Multiply by .
Step 2.9.8.12.10
Expand using the FOIL Method.
Tap for more steps...
Step 2.9.8.12.10.1
Apply the distributive property.
Step 2.9.8.12.10.2
Apply the distributive property.
Step 2.9.8.12.10.3
Apply the distributive property.
Step 2.9.8.12.11
Simplify each term.
Tap for more steps...
Step 2.9.8.12.11.1
Multiply by .
Step 2.9.8.12.11.2
Multiply by by adding the exponents.
Tap for more steps...
Step 2.9.8.12.11.2.1
Move .
Step 2.9.8.12.11.2.2
Multiply by .
Tap for more steps...
Step 2.9.8.12.11.2.2.1
Raise to the power of .
Step 2.9.8.12.11.2.2.2
Use the power rule to combine exponents.
Step 2.9.8.12.11.2.3
Add and .
Step 2.9.8.12.11.3
Multiply by .
Step 2.9.8.13
Add and .
Step 2.9.8.14
Add and .
Step 2.9.8.15
Subtract from .
Step 2.9.8.16
Add and .
Step 2.9.8.17
Expand by multiplying each term in the first expression by each term in the second expression.
Step 2.9.8.18
Simplify each term.
Tap for more steps...
Step 2.9.8.18.1
Rewrite using the commutative property of multiplication.
Step 2.9.8.18.2
Multiply by by adding the exponents.
Tap for more steps...
Step 2.9.8.18.2.1
Move .
Step 2.9.8.18.2.2
Multiply by .
Tap for more steps...
Step 2.9.8.18.2.2.1
Raise to the power of .
Step 2.9.8.18.2.2.2
Use the power rule to combine exponents.
Step 2.9.8.18.2.3
Add and .
Step 2.9.8.18.3
Multiply by .
Step 2.9.8.18.4
Rewrite using the commutative property of multiplication.
Step 2.9.8.18.5
Multiply by by adding the exponents.
Tap for more steps...
Step 2.9.8.18.5.1
Move .
Step 2.9.8.18.5.2
Multiply by .
Tap for more steps...
Step 2.9.8.18.5.2.1
Raise to the power of .
Step 2.9.8.18.5.2.2
Use the power rule to combine exponents.
Step 2.9.8.18.5.3
Add and .
Step 2.9.8.18.6
Multiply by .
Step 2.9.8.18.7
Rewrite using the commutative property of multiplication.
Step 2.9.8.18.8
Multiply by by adding the exponents.
Tap for more steps...
Step 2.9.8.18.8.1
Move .
Step 2.9.8.18.8.2
Multiply by .
Step 2.9.8.18.9
Multiply by .
Step 2.9.8.18.10
Multiply by .
Step 2.9.8.18.11
Multiply by .
Step 2.9.8.18.12
Multiply by .
Step 2.9.8.18.13
Multiply by .
Step 2.9.8.18.14
Multiply by .
Step 2.9.8.19
Subtract from .
Step 2.9.8.20
Add and .
Step 2.9.8.21
Subtract from .
Step 2.9.8.22
Add and .
Step 2.9.8.23
Add and .
Step 2.9.8.24
Subtract from .
Step 2.9.8.25
Subtract from .
Step 2.9.8.26
Add and .
Step 2.9.8.27
Factor out of .
Tap for more steps...
Step 2.9.8.27.1
Factor out of .
Step 2.9.8.27.2
Factor out of .
Step 2.9.8.27.3
Factor out of .
Step 2.9.8.27.4
Factor out of .
Step 2.9.8.27.5
Factor out of .
Step 2.9.8.27.6
Factor out of .
Step 2.9.8.27.7
Factor out of .
Step 2.9.8.27.8
Factor out of .
Step 2.9.8.27.9
Factor out of .
Step 2.9.9
Simplify the denominator.
Tap for more steps...
Step 2.9.9.1
Rewrite as .
Step 2.9.9.2
Expand using the FOIL Method.
Tap for more steps...
Step 2.9.9.2.1
Apply the distributive property.
Step 2.9.9.2.2
Apply the distributive property.
Step 2.9.9.2.3
Apply the distributive property.
Step 2.9.9.3
Simplify and combine like terms.
Tap for more steps...
Step 2.9.9.3.1
Simplify each term.
Tap for more steps...
Step 2.9.9.3.1.1
Multiply by .
Step 2.9.9.3.1.2
Move to the left of .
Step 2.9.9.3.1.3
Multiply by .
Step 2.9.9.3.2
Subtract from .
Step 2.9.9.4
Add and .
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
Simplify .
Tap for more steps...
Step 5.1.1
Simplify each term.
Tap for more steps...
Step 5.1.1.1
Apply the distributive property.
Step 5.1.1.2
Multiply by .
Step 5.1.2
Combine the opposite terms in .
Tap for more steps...
Step 5.1.2.1
Subtract from .
Step 5.1.2.2
Add and .
Step 5.2
Factor the left side of the equation.
Tap for more steps...
Step 5.2.1
Since both terms are perfect squares, factor using the difference of squares formula, where and .
Step 5.2.2
Simplify.
Tap for more steps...
Step 5.2.2.1
Add and .
Step 5.2.2.2
Subtract from .
Step 5.2.2.3
Subtract from .
Step 5.3
Divide each term in by and simplify.
Tap for more steps...
Step 5.3.1
Divide each term in by .
Step 5.3.2
Simplify the left side.
Tap for more steps...
Step 5.3.2.1
Cancel the common factor of .
Tap for more steps...
Step 5.3.2.1.1
Cancel the common factor.
Step 5.3.2.1.2
Divide by .
Step 5.3.3
Simplify the right side.
Tap for more steps...
Step 5.3.3.1
Divide by .
Step 5.4
Add to both sides of the equation.
Step 5.5
Divide each term in by and simplify.
Tap for more steps...
Step 5.5.1
Divide each term in by .
Step 5.5.2
Simplify the left side.
Tap for more steps...
Step 5.5.2.1
Cancel the common factor of .
Tap for more steps...
Step 5.5.2.1.1
Cancel the common factor.
Step 5.5.2.1.2
Divide by .
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
Simplify the numerator.
Tap for more steps...
Step 7.1.1
Apply the product rule to .
Step 7.1.2
Raise to the power of .
Step 7.1.3
Raise to the power of .
Step 7.1.4
Multiply .
Tap for more steps...
Step 7.1.4.1
Combine and .
Step 7.1.4.2
Multiply by .
Step 7.1.5
Apply the product rule to .
Step 7.1.6
Raise to the power of .
Step 7.1.7
Raise to the power of .
Step 7.1.8
Cancel the common factor of .
Tap for more steps...
Step 7.1.8.1
Factor out of .
Step 7.1.8.2
Factor out of .
Step 7.1.8.3
Cancel the common factor.
Step 7.1.8.4
Rewrite the expression.
Step 7.1.9
Combine and .
Step 7.1.10
Multiply by .
Step 7.1.11
Move the negative in front of the fraction.
Step 7.1.12
Apply the product rule to .
Step 7.1.13
Raise to the power of .
Step 7.1.14
Raise to the power of .
Step 7.1.15
Cancel the common factor of .
Tap for more steps...
Step 7.1.15.1
Factor out of .
Step 7.1.15.2
Factor out of .
Step 7.1.15.3
Cancel the common factor.
Step 7.1.15.4
Rewrite the expression.
Step 7.1.16
Combine and .
Step 7.1.17
Multiply by .
Step 7.1.18
Multiply .
Tap for more steps...
Step 7.1.18.1
Combine and .
Step 7.1.18.2
Multiply by .
Step 7.1.19
Move the negative in front of the fraction.
Step 7.1.20
To write as a fraction with a common denominator, multiply by .
Step 7.1.21
Write each expression with a common denominator of , by multiplying each by an appropriate factor of .
Tap for more steps...
Step 7.1.21.1
Multiply by .
Step 7.1.21.2
Multiply by .
Step 7.1.22
Combine the numerators over the common denominator.
Step 7.1.23
Simplify the numerator.
Tap for more steps...
Step 7.1.23.1
Multiply by .
Step 7.1.23.2
Subtract from .
Step 7.1.24
To write as a fraction with a common denominator, multiply by .
Step 7.1.25
Write each expression with a common denominator of , by multiplying each by an appropriate factor of .
Tap for more steps...
Step 7.1.25.1
Multiply by .
Step 7.1.25.2
Multiply by .
Step 7.1.26
Combine the numerators over the common denominator.
Step 7.1.27
Simplify the numerator.
Tap for more steps...
Step 7.1.27.1
Multiply by .
Step 7.1.27.2
Add and .
Step 7.1.28
To write as a fraction with a common denominator, multiply by .
Step 7.1.29
Write each expression with a common denominator of , by multiplying each by an appropriate factor of .
Tap for more steps...
Step 7.1.29.1
Multiply by .
Step 7.1.29.2
Multiply by .
Step 7.1.30
Combine the numerators over the common denominator.
Step 7.1.31
Simplify the numerator.
Tap for more steps...
Step 7.1.31.1
Multiply by .
Step 7.1.31.2
Subtract from .
Step 7.1.32
To write as a fraction with a common denominator, multiply by .
Step 7.1.33
Combine and .
Step 7.1.34
Combine the numerators over the common denominator.
Step 7.1.35
Simplify the numerator.
Tap for more steps...
Step 7.1.35.1
Multiply by .
Step 7.1.35.2
Subtract from .
Step 7.1.36
Move the negative in front of the fraction.
Step 7.1.37
Combine exponents.
Tap for more steps...
Step 7.1.37.1
Factor out negative.
Step 7.1.37.2
Combine and .
Step 7.1.37.3
Multiply by .
Step 7.1.38
Cancel the common factor of and .
Tap for more steps...
Step 7.1.38.1
Factor out of .
Step 7.1.38.2
Cancel the common factors.
Tap for more steps...
Step 7.1.38.2.1
Factor out of .
Step 7.1.38.2.2
Cancel the common factor.
Step 7.1.38.2.3
Rewrite the expression.
Step 7.2
Simplify the denominator.
Tap for more steps...
Step 7.2.1
Apply the product rule to .
Step 7.2.2
Raise to the power of .
Step 7.2.3
Raise to the power of .
Step 7.2.4
Cancel the common factor of .
Tap for more steps...
Step 7.2.4.1
Factor out of .
Step 7.2.4.2
Cancel the common factor.
Step 7.2.4.3
Rewrite the expression.
Step 7.2.5
Multiply by .
Step 7.2.6
To write as a fraction with a common denominator, multiply by .
Step 7.2.7
Combine and .
Step 7.2.8
Combine the numerators over the common denominator.
Step 7.2.9
Simplify the numerator.
Tap for more steps...
Step 7.2.9.1
Multiply by .
Step 7.2.9.2
Subtract from .
Step 7.2.10
To write as a fraction with a common denominator, multiply by .
Step 7.2.11
Combine and .
Step 7.2.12
Combine the numerators over the common denominator.
Step 7.2.13
Simplify the numerator.
Tap for more steps...
Step 7.2.13.1
Multiply by .
Step 7.2.13.2
Add and .
Step 7.2.14
Apply the product rule to .
Step 7.2.15
Apply the product rule to .
Step 7.2.16
Raise to the power of .
Step 7.2.17
Raise to the power of .
Step 7.2.18
Write as a fraction with a common denominator.
Step 7.2.19
Combine the numerators over the common denominator.
Step 7.2.20
Add and .
Step 7.2.21
Apply the product rule to .
Step 7.2.22
Raise to the power of .
Step 7.2.23
Raise to the power of .
Step 7.2.24
Raise to the power of .
Step 7.2.25
Raise to the power of .
Step 7.3
Combine fractions.
Tap for more steps...
Step 7.3.1
Multiply by .
Step 7.3.2
Multiply.
Tap for more steps...
Step 7.3.2.1
Multiply by .
Step 7.3.2.2
Multiply by .
Step 7.4
Multiply the numerator by the reciprocal of the denominator.
Step 7.5
Cancel the common factor of .
Tap for more steps...
Step 7.5.1
Move the leading negative in into the numerator.
Step 7.5.2
Factor out of .
Step 7.5.3
Factor out of .
Step 7.5.4
Cancel the common factor.
Step 7.5.5
Rewrite the expression.
Step 7.6
Cancel the common factor of .
Tap for more steps...
Step 7.6.1
Factor out of .
Step 7.6.2
Cancel the common factor.
Step 7.6.3
Rewrite the expression.
Step 7.7
Combine and .
Step 7.8
Simplify the expression.
Tap for more steps...
Step 7.8.1
Multiply by .
Step 7.8.2
Move the negative in front of the fraction.
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
Evaluate .
Step 9.2.1.2
To write as a fraction with a common denominator, multiply by .
Step 9.2.1.3
Combine and .
Step 9.2.1.4
Combine the numerators over the common denominator.
Step 9.2.1.5
Simplify the numerator.
Tap for more steps...
Step 9.2.1.5.1
Multiply by .
Step 9.2.1.5.2
Subtract from .
Step 9.2.1.6
Move the negative in front of the fraction.
Step 9.2.1.7
Evaluate .
Step 9.2.1.8
Multiply by .
Step 9.2.2
Add and .
Step 9.2.3
The final answer is .
Step 10
These are the local extrema for .
is a local maxima
Step 11