Calculus Examples

Find the Absolute Max and Min over the Interval f(x)=x+4/x
f(x)=x+4xf(x)=x+4x
Step 1
Find the first derivative of the function.
Tap for more steps...
Step 1.1
Differentiate.
Tap for more steps...
Step 1.1.1
By the Sum Rule, the derivative of x+4x with respect to x is ddx[x]+ddx[4x].
ddx[x]+ddx[4x]
Step 1.1.2
Differentiate using the Power Rule which states that ddx[xn] is nxn-1 where n=1.
1+ddx[4x]
1+ddx[4x]
Step 1.2
Evaluate ddx[4x].
Tap for more steps...
Step 1.2.1
Since 4 is constant with respect to x, the derivative of 4x with respect to x is 4ddx[1x].
1+4ddx[1x]
Step 1.2.2
Rewrite 1x as x-1.
1+4ddx[x-1]
Step 1.2.3
Differentiate using the Power Rule which states that ddx[xn] is nxn-1 where n=-1.
1+4(-x-2)
Step 1.2.4
Multiply -1 by 4.
1-4x-2
1-4x-2
Step 1.3
Rewrite the expression using the negative exponent rule b-n=1bn.
1-41x2
Step 1.4
Simplify.
Tap for more steps...
Step 1.4.1
Combine terms.
Tap for more steps...
Step 1.4.1.1
Combine -4 and 1x2.
1+-4x2
Step 1.4.1.2
Move the negative in front of the fraction.
1-4x2
1-4x2
Step 1.4.2
Reorder terms.
-4x2+1
-4x2+1
-4x2+1
Step 2
Find the second derivative of the function.
Tap for more steps...
Step 2.1
By the Sum Rule, the derivative of -4x2+1 with respect to x is ddx[-4x2]+ddx[1].
f′′(x)=ddx(-4x2)+ddx(1)
Step 2.2
Evaluate ddx[-4x2].
Tap for more steps...
Step 2.2.1
Since -4 is constant with respect to x, the derivative of -4x2 with respect to x is -4ddx[1x2].
f′′(x)=-4ddx1x2+ddx(1)
Step 2.2.2
Rewrite 1x2 as (x2)-1.
f′′(x)=-4ddx(x2)-1+ddx(1)
Step 2.2.3
Differentiate using the chain rule, which states that ddx[f(g(x))] is f(g(x))g(x) where f(x)=x-1 and g(x)=x2.
Tap for more steps...
Step 2.2.3.1
To apply the Chain Rule, set u as x2.
f′′(x)=-4(ddu(u-1)ddx(x2))+ddx(1)
Step 2.2.3.2
Differentiate using the Power Rule which states that ddu[un] is nun-1 where n=-1.
f′′(x)=-4(-u-2ddxx2)+ddx(1)
Step 2.2.3.3
Replace all occurrences of u with x2.
f′′(x)=-4(-(x2)-2ddxx2)+ddx(1)
f′′(x)=-4(-(x2)-2ddxx2)+ddx(1)
Step 2.2.4
Differentiate using the Power Rule which states that ddx[xn] is nxn-1 where n=2.
f′′(x)=-4(-(x2)-2(2x))+ddx(1)
Step 2.2.5
Multiply the exponents in (x2)-2.
Tap for more steps...
Step 2.2.5.1
Apply the power rule and multiply exponents, (am)n=amn.
f′′(x)=-4(-x2-2(2x))+ddx(1)
Step 2.2.5.2
Multiply 2 by -2.
f′′(x)=-4(-x-4(2x))+ddx(1)
f′′(x)=-4(-x-4(2x))+ddx(1)
Step 2.2.6
Multiply 2 by -1.
f′′(x)=-4(-2x-4x)+ddx(1)
Step 2.2.7
Raise x to the power of 1.
f′′(x)=-4(-2(xx-4))+ddx(1)
Step 2.2.8
Use the power rule aman=am+n to combine exponents.
f′′(x)=-4(-2x1-4)+ddx(1)
Step 2.2.9
Subtract 4 from 1.
f′′(x)=-4(-2x-3)+ddx(1)
Step 2.2.10
Multiply -2 by -4.
f′′(x)=8x-3+ddx(1)
f′′(x)=8x-3+ddx(1)
Step 2.3
Since 1 is constant with respect to x, the derivative of 1 with respect to x is 0.
f′′(x)=8x-3+0
Step 2.4
Simplify.
Tap for more steps...
Step 2.4.1
Rewrite the expression using the negative exponent rule b-n=1bn.
f′′(x)=8(1x3)+0
Step 2.4.2
Combine terms.
Tap for more steps...
Step 2.4.2.1
Combine 8 and 1x3.
f′′(x)=8x3+0
Step 2.4.2.2
Add 8x3 and 0.
f′′(x)=8x3
f′′(x)=8x3
f′′(x)=8x3
f′′(x)=8x3
Step 3
To find the local maximum and minimum values of the function, set the derivative equal to 0 and solve.
-4x2+1=0
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.
Tap for more steps...
Step 4.1.1.1
By the Sum Rule, the derivative of x+4x with respect to x is ddx[x]+ddx[4x].
ddx[x]+ddx[4x]
Step 4.1.1.2
Differentiate using the Power Rule which states that ddx[xn] is nxn-1 where n=1.
1+ddx[4x]
1+ddx[4x]
Step 4.1.2
Evaluate ddx[4x].
Tap for more steps...
Step 4.1.2.1
Since 4 is constant with respect to x, the derivative of 4x with respect to x is 4ddx[1x].
1+4ddx[1x]
Step 4.1.2.2
Rewrite 1x as x-1.
1+4ddx[x-1]
Step 4.1.2.3
Differentiate using the Power Rule which states that ddx[xn] is nxn-1 where n=-1.
1+4(-x-2)
Step 4.1.2.4
Multiply -1 by 4.
1-4x-2
1-4x-2
Step 4.1.3
Rewrite the expression using the negative exponent rule b-n=1bn.
1-41x2
Step 4.1.4
Simplify.
Tap for more steps...
Step 4.1.4.1
Combine terms.
Tap for more steps...
Step 4.1.4.1.1
Combine -4 and 1x2.
1+-4x2
Step 4.1.4.1.2
Move the negative in front of the fraction.
1-4x2
1-4x2
Step 4.1.4.2
Reorder terms.
f(x)=-4x2+1
f(x)=-4x2+1
f(x)=-4x2+1
Step 4.2
The first derivative of f(x) with respect to x is -4x2+1.
-4x2+1
-4x2+1
Step 5
Set the first derivative equal to 0 then solve the equation -4x2+1=0.
Tap for more steps...
Step 5.1
Set the first derivative equal to 0.
-4x2+1=0
Step 5.2
Subtract 1 from both sides of the equation.
-4x2=-1
Step 5.3
Find the LCD of the terms in the equation.
Tap for more steps...
Step 5.3.1
Finding the LCD of a list of values is the same as finding the LCM of the denominators of those values.
x2,1
Step 5.3.2
The LCM of one and any expression is the expression.
x2
x2
Step 5.4
Multiply each term in -4x2=-1 by x2 to eliminate the fractions.
Tap for more steps...
Step 5.4.1
Multiply each term in -4x2=-1 by x2.
-4x2x2=-x2
Step 5.4.2
Simplify the left side.
Tap for more steps...
Step 5.4.2.1
Cancel the common factor of x2.
Tap for more steps...
Step 5.4.2.1.1
Move the leading negative in -4x2 into the numerator.
-4x2x2=-x2
Step 5.4.2.1.2
Cancel the common factor.
-4x2x2=-x2
Step 5.4.2.1.3
Rewrite the expression.
-4=-x2
-4=-x2
-4=-x2
-4=-x2
Step 5.5
Solve the equation.
Tap for more steps...
Step 5.5.1
Rewrite the equation as -x2=-4.
-x2=-4
Step 5.5.2
Divide each term in -x2=-4 by -1 and simplify.
Tap for more steps...
Step 5.5.2.1
Divide each term in -x2=-4 by -1.
-x2-1=-4-1
Step 5.5.2.2
Simplify the left side.
Tap for more steps...
Step 5.5.2.2.1
Dividing two negative values results in a positive value.
x21=-4-1
Step 5.5.2.2.2
Divide x2 by 1.
x2=-4-1
x2=-4-1
Step 5.5.2.3
Simplify the right side.
Tap for more steps...
Step 5.5.2.3.1
Divide -4 by -1.
x2=4
x2=4
x2=4
Step 5.5.3
Take the specified root of both sides of the equation to eliminate the exponent on the left side.
x=±4
Step 5.5.4
Simplify ±4.
Tap for more steps...
Step 5.5.4.1
Rewrite 4 as 22.
x=±22
Step 5.5.4.2
Pull terms out from under the radical, assuming positive real numbers.
x=±2
x=±2
Step 5.5.5
The complete solution is the result of both the positive and negative portions of the solution.
Tap for more steps...
Step 5.5.5.1
First, use the positive value of the ± to find the first solution.
x=2
Step 5.5.5.2
Next, use the negative value of the ± to find the second solution.
x=-2
Step 5.5.5.3
The complete solution is the result of both the positive and negative portions of the solution.
x=2,-2
x=2,-2
x=2,-2
x=2,-2
Step 6
Find the values where the derivative is undefined.
Tap for more steps...
Step 6.1
Set the denominator in 4x2 equal to 0 to find where the expression is undefined.
x2=0
Step 6.2
Solve for x.
Tap for more steps...
Step 6.2.1
Take the specified root of both sides of the equation to eliminate the exponent on the left side.
x=±0
Step 6.2.2
Simplify ±0.
Tap for more steps...
Step 6.2.2.1
Rewrite 0 as 02.
x=±02
Step 6.2.2.2
Pull terms out from under the radical, assuming positive real numbers.
x=±0
Step 6.2.2.3
Plus or minus 0 is 0.
x=0
x=0
x=0
x=0
Step 7
Critical points to evaluate.
x=2,-2
Step 8
Evaluate the second derivative at x=2. If the second derivative is positive, then this is a local minimum. If it is negative, then this is a local maximum.
8(2)3
Step 9
Evaluate the second derivative.
Tap for more steps...
Step 9.1
Raise 2 to the power of 3.
88
Step 9.2
Divide 8 by 8.
1
1
Step 10
x=2 is a local minimum because the value of the second derivative is positive. This is referred to as the second derivative test.
x=2 is a local minimum
Step 11
Find the y-value when x=2.
Tap for more steps...
Step 11.1
Replace the variable x with 2 in the expression.
f(2)=(2)+42
Step 11.2
Simplify the result.
Tap for more steps...
Step 11.2.1
Divide 4 by 2.
f(2)=2+2
Step 11.2.2
Add 2 and 2.
f(2)=4
Step 11.2.3
The final answer is 4.
y=4
y=4
y=4
Step 12
Evaluate the second derivative at x=-2. If the second derivative is positive, then this is a local minimum. If it is negative, then this is a local maximum.
8(-2)3
Step 13
Evaluate the second derivative.
Tap for more steps...
Step 13.1
Raise -2 to the power of 3.
8-8
Step 13.2
Divide 8 by -8.
-1
-1
Step 14
x=-2 is a local maximum because the value of the second derivative is negative. This is referred to as the second derivative test.
x=-2 is a local maximum
Step 15
Find the y-value when x=-2.
Tap for more steps...
Step 15.1
Replace the variable x with -2 in the expression.
f(-2)=(-2)+4-2
Step 15.2
Simplify the result.
Tap for more steps...
Step 15.2.1
Divide 4 by -2.
f(-2)=-2-2
Step 15.2.2
Subtract 2 from -2.
f(-2)=-4
Step 15.2.3
The final answer is -4.
y=-4
y=-4
y=-4
Step 16
These are the local extrema for f(x)=x+4x.
(2,4) is a local minima
(-2,-4) is a local maxima
Step 17
 [x2  12  π  xdx ]