Calculus Examples

Find the Local Maxima and Minima g(x)=- square root of x^2+6x+18
Step 1
Find the first derivative of the function.
Tap for more steps...
Step 1.1
Differentiate using the Constant Multiple Rule.
Tap for more steps...
Step 1.1.1
Use to rewrite as .
Step 1.1.2
Since is constant with respect to , the derivative of with respect to is .
Step 1.2
Differentiate using the chain rule, which states that is where and .
Tap for more steps...
Step 1.2.1
To apply the Chain Rule, set as .
Step 1.2.2
Differentiate using the Power Rule which states that is where .
Step 1.2.3
Replace all occurrences of with .
Step 1.3
To write as a fraction with a common denominator, multiply by .
Step 1.4
Combine and .
Step 1.5
Combine the numerators over the common denominator.
Step 1.6
Simplify the numerator.
Tap for more steps...
Step 1.6.1
Multiply by .
Step 1.6.2
Subtract from .
Step 1.7
Combine fractions.
Tap for more steps...
Step 1.7.1
Move the negative in front of the fraction.
Step 1.7.2
Combine and .
Step 1.7.3
Move to the denominator using the negative exponent rule .
Step 1.8
By the Sum Rule, the derivative of with respect to is .
Step 1.9
Differentiate using the Power Rule which states that is where .
Step 1.10
Since is constant with respect to , the derivative of with respect to is .
Step 1.11
Differentiate using the Power Rule which states that is where .
Step 1.12
Multiply by .
Step 1.13
Since is constant with respect to , the derivative of with respect to is .
Step 1.14
Add and .
Step 1.15
Simplify.
Tap for more steps...
Step 1.15.1
Reorder the factors of .
Step 1.15.2
Apply the distributive property.
Step 1.15.3
Multiply by .
Step 1.15.4
Multiply by .
Step 1.15.5
Multiply by .
Step 1.15.6
Factor out of .
Step 1.15.7
Factor out of .
Step 1.15.8
Factor out of .
Step 1.15.9
Cancel the common factors.
Tap for more steps...
Step 1.15.9.1
Factor out of .
Step 1.15.9.2
Cancel the common factor.
Step 1.15.9.3
Rewrite the expression.
Step 1.15.10
Factor out of .
Step 1.15.11
Rewrite as .
Step 1.15.12
Factor out of .
Step 1.15.13
Rewrite as .
Step 1.15.14
Move the negative in front of the fraction.
Step 2
Find the second derivative of the function.
Tap for more steps...
Step 2.1
Differentiate using the Product Rule which states that is where and .
Step 2.2
Differentiate using the Quotient Rule which states that is where and .
Step 2.3
Multiply the exponents in .
Tap for more steps...
Step 2.3.1
Apply the power rule and multiply exponents, .
Step 2.3.2
Cancel the common factor of .
Tap for more steps...
Step 2.3.2.1
Cancel the common factor.
Step 2.3.2.2
Rewrite the expression.
Step 2.4
Simplify.
Step 2.5
Differentiate.
Tap for more steps...
Step 2.5.1
By the Sum Rule, the derivative of with respect to is .
Step 2.5.2
Differentiate using the Power Rule which states that is where .
Step 2.5.3
Since is constant with respect to , the derivative of with respect to is .
Step 2.5.4
Simplify the expression.
Tap for more steps...
Step 2.5.4.1
Add and .
Step 2.5.4.2
Multiply by .
Step 2.6
Differentiate using the chain rule, which states that is where and .
Tap for more steps...
Step 2.6.1
To apply the Chain Rule, set as .
Step 2.6.2
Differentiate using the Power Rule which states that is where .
Step 2.6.3
Replace all occurrences of with .
Step 2.7
To write as a fraction with a common denominator, multiply by .
Step 2.8
Combine and .
Step 2.9
Combine the numerators over the common denominator.
Step 2.10
Simplify the numerator.
Tap for more steps...
Step 2.10.1
Multiply by .
Step 2.10.2
Subtract from .
Step 2.11
Combine fractions.
Tap for more steps...
Step 2.11.1
Move the negative in front of the fraction.
Step 2.11.2
Combine and .
Step 2.11.3
Move to the denominator using the negative exponent rule .
Step 2.12
By the Sum Rule, the derivative of with respect to is .
Step 2.13
Differentiate using the Power Rule which states that is where .
Step 2.14
Since is constant with respect to , the derivative of with respect to is .
Step 2.15
Differentiate using the Power Rule which states that is where .
Step 2.16
Multiply by .
Step 2.17
Since is constant with respect to , the derivative of with respect to is .
Step 2.18
Add and .
Step 2.19
Since is constant with respect to , the derivative of with respect to is .
Step 2.20
Simplify the expression.
Tap for more steps...
Step 2.20.1
Multiply by .
Step 2.20.2
Add and .
Step 2.21
Simplify.
Tap for more steps...
Step 2.21.1
Apply the distributive property.
Step 2.21.2
Simplify the numerator.
Tap for more steps...
Step 2.21.2.1
Let . Substitute for all occurrences of .
Tap for more steps...
Step 2.21.2.1.1
Raise to the power of .
Step 2.21.2.1.2
Raise to the power of .
Step 2.21.2.1.3
Use the power rule to combine exponents.
Step 2.21.2.1.4
Add and .
Step 2.21.2.1.5
Since both terms are perfect squares, factor using the difference of squares formula, where and .
Step 2.21.2.1.6
Simplify.
Tap for more steps...
Step 2.21.2.1.6.1
Apply the distributive property.
Step 2.21.2.1.6.2
Multiply by .
Step 2.21.2.2
Replace all occurrences of with .
Step 2.21.2.3
Simplify.
Tap for more steps...
Step 2.21.2.3.1
Expand by multiplying each term in the first expression by each term in the second expression.
Step 2.21.2.3.2
Combine the opposite terms in .
Tap for more steps...
Step 2.21.2.3.2.1
Reorder the factors in the terms and .
Step 2.21.2.3.2.2
Add and .
Step 2.21.2.3.2.3
Add and .
Step 2.21.2.3.2.4
Reorder the factors in the terms and .
Step 2.21.2.3.2.5
Add and .
Step 2.21.2.3.2.6
Add and .
Step 2.21.2.3.3
Simplify each term.
Tap for more steps...
Step 2.21.2.3.3.1
Multiply by by adding the exponents.
Tap for more steps...
Step 2.21.2.3.3.1.1
Use the power rule to combine exponents.
Step 2.21.2.3.3.1.2
Combine the numerators over the common denominator.
Step 2.21.2.3.3.1.3
Add and .
Step 2.21.2.3.3.1.4
Divide by .
Step 2.21.2.3.3.2
Simplify .
Step 2.21.2.3.3.3
Rewrite using the commutative property of multiplication.
Step 2.21.2.3.3.4
Multiply by by adding the exponents.
Tap for more steps...
Step 2.21.2.3.3.4.1
Move .
Step 2.21.2.3.3.4.2
Multiply by .
Step 2.21.2.3.3.5
Move to the left of .
Step 2.21.2.3.3.6
Multiply by .
Step 2.21.2.3.3.7
Multiply by .
Step 2.21.2.3.4
Combine the opposite terms in .
Tap for more steps...
Step 2.21.2.3.4.1
Subtract from .
Step 2.21.2.3.4.2
Add and .
Step 2.21.2.3.5
Subtract from .
Step 2.21.2.3.6
Combine the opposite terms in .
Tap for more steps...
Step 2.21.2.3.6.1
Subtract from .
Step 2.21.2.3.6.2
Add and .
Step 2.21.2.3.7
Subtract from .
Step 2.21.3
Combine terms.
Tap for more steps...
Step 2.21.3.1
Rewrite as a product.
Step 2.21.3.2
Multiply by .
Step 2.21.3.3
Multiply by by adding the exponents.
Tap for more steps...
Step 2.21.3.3.1
Multiply by .
Tap for more steps...
Step 2.21.3.3.1.1
Raise to the power of .
Step 2.21.3.3.1.2
Use the power rule to combine exponents.
Step 2.21.3.3.2
Write as a fraction with a common denominator.
Step 2.21.3.3.3
Combine the numerators over the common denominator.
Step 2.21.3.3.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
Find the first derivative.
Tap for more steps...
Step 4.1
Find the first derivative.
Tap for more steps...
Step 4.1.1
Differentiate using the Constant Multiple Rule.
Tap for more steps...
Step 4.1.1.1
Use to rewrite as .
Step 4.1.1.2
Since is constant with respect to , the derivative of with respect to is .
Step 4.1.2
Differentiate using the chain rule, which states that is where and .
Tap for more steps...
Step 4.1.2.1
To apply the Chain Rule, set as .
Step 4.1.2.2
Differentiate using the Power Rule which states that is where .
Step 4.1.2.3
Replace all occurrences of with .
Step 4.1.3
To write as a fraction with a common denominator, multiply by .
Step 4.1.4
Combine and .
Step 4.1.5
Combine the numerators over the common denominator.
Step 4.1.6
Simplify the numerator.
Tap for more steps...
Step 4.1.6.1
Multiply by .
Step 4.1.6.2
Subtract from .
Step 4.1.7
Combine fractions.
Tap for more steps...
Step 4.1.7.1
Move the negative in front of the fraction.
Step 4.1.7.2
Combine and .
Step 4.1.7.3
Move to the denominator using the negative exponent rule .
Step 4.1.8
By the Sum Rule, the derivative of with respect to is .
Step 4.1.9
Differentiate using the Power Rule which states that is where .
Step 4.1.10
Since is constant with respect to , the derivative of with respect to is .
Step 4.1.11
Differentiate using the Power Rule which states that is where .
Step 4.1.12
Multiply by .
Step 4.1.13
Since is constant with respect to , the derivative of with respect to is .
Step 4.1.14
Add and .
Step 4.1.15
Simplify.
Tap for more steps...
Step 4.1.15.1
Reorder the factors of .
Step 4.1.15.2
Apply the distributive property.
Step 4.1.15.3
Multiply by .
Step 4.1.15.4
Multiply by .
Step 4.1.15.5
Multiply by .
Step 4.1.15.6
Factor out of .
Step 4.1.15.7
Factor out of .
Step 4.1.15.8
Factor out of .
Step 4.1.15.9
Cancel the common factors.
Tap for more steps...
Step 4.1.15.9.1
Factor out of .
Step 4.1.15.9.2
Cancel the common factor.
Step 4.1.15.9.3
Rewrite the expression.
Step 4.1.15.10
Factor out of .
Step 4.1.15.11
Rewrite as .
Step 4.1.15.12
Factor out of .
Step 4.1.15.13
Rewrite as .
Step 4.1.15.14
Move the negative in front of the fraction.
Step 4.2
The first derivative of with respect to is .
Step 5
Set the first derivative equal to then solve the equation .
Tap for more steps...
Step 5.1
Set the first derivative equal to .
Step 5.2
Set the numerator equal to zero.
Step 5.3
Subtract from both sides of the equation.
Step 6
Find the values where the derivative is undefined.
Tap for more steps...
Step 6.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 7
Critical points to evaluate.
Step 8
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 9
Evaluate the second derivative.
Tap for more steps...
Step 9.1
Simplify the denominator.
Tap for more steps...
Step 9.1.1
Simplify each term.
Tap for more steps...
Step 9.1.1.1
Raise to the power of .
Step 9.1.1.2
Multiply by .
Step 9.1.2
Subtract from .
Step 9.1.3
Add and .
Step 9.1.4
Rewrite as .
Step 9.1.5
Apply the power rule and multiply exponents, .
Step 9.1.6
Cancel the common factor of .
Tap for more steps...
Step 9.1.6.1
Cancel the common factor.
Step 9.1.6.2
Rewrite the expression.
Step 9.1.7
Raise to the power of .
Step 9.2
Cancel the common factor of and .
Tap for more steps...
Step 9.2.1
Factor out of .
Step 9.2.2
Cancel the common factors.
Tap for more steps...
Step 9.2.2.1
Factor out of .
Step 9.2.2.2
Cancel the common factor.
Step 9.2.2.3
Rewrite the expression.
Step 10
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 11
Find the y-value when .
Tap for more steps...
Step 11.1
Replace the variable with in the expression.
Step 11.2
Simplify the result.
Tap for more steps...
Step 11.2.1
Raise to the power of .
Step 11.2.2
Multiply by .
Step 11.2.3
Subtract from .
Step 11.2.4
Add and .
Step 11.2.5
Rewrite as .
Step 11.2.6
Pull terms out from under the radical, assuming positive real numbers.
Step 11.2.7
Multiply by .
Step 11.2.8
The final answer is .
Step 12
These are the local extrema for .
is a local maxima
Step 13