Calculus Examples

Find the Relative Extrema f(x)=x^2-6x
f(x)=x2-6xf(x)=x26x
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 x2-6xx26x with respect to xx is ddx[x2]+ddx[-6x]ddx[x2]+ddx[6x].
ddx[x2]+ddx[-6x]ddx[x2]+ddx[6x]
Step 1.1.2
Differentiate using the Power Rule which states that ddx[xn]ddx[xn] is nxn-1nxn1 where n=2n=2.
2x+ddx[-6x]2x+ddx[6x]
2x+ddx[-6x]2x+ddx[6x]
Step 1.2
Evaluate ddx[-6x]ddx[6x].
Tap for more steps...
Step 1.2.1
Since -66 is constant with respect to xx, the derivative of -6x6x with respect to xx is -6ddx[x]6ddx[x].
2x-6ddx[x]2x6ddx[x]
Step 1.2.2
Differentiate using the Power Rule which states that ddx[xn]ddx[xn] is nxn-1nxn1 where n=1n=1.
2x-612x61
Step 1.2.3
Multiply -66 by 11.
2x-62x6
2x-62x6
2x-62x6
Step 2
Find the second derivative of the function.
Tap for more steps...
Step 2.1
By the Sum Rule, the derivative of 2x-62x6 with respect to xx is ddx[2x]+ddx[-6]ddx[2x]+ddx[6].
f′′(x)=ddx(2x)+ddx(-6)
Step 2.2
Evaluate ddx[2x].
Tap for more steps...
Step 2.2.1
Since 2 is constant with respect to x, the derivative of 2x with respect to x is 2ddx[x].
f′′(x)=2ddx(x)+ddx(-6)
Step 2.2.2
Differentiate using the Power Rule which states that ddx[xn] is nxn-1 where n=1.
f′′(x)=21+ddx(-6)
Step 2.2.3
Multiply 2 by 1.
f′′(x)=2+ddx(-6)
f′′(x)=2+ddx(-6)
Step 2.3
Differentiate using the Constant Rule.
Tap for more steps...
Step 2.3.1
Since -6 is constant with respect to x, the derivative of -6 with respect to x is 0.
f′′(x)=2+0
Step 2.3.2
Add 2 and 0.
f′′(x)=2
f′′(x)=2
f′′(x)=2
Step 3
To find the local maximum and minimum values of the function, set the derivative equal to 0 and solve.
2x-6=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 x2-6x with respect to x is ddx[x2]+ddx[-6x].
ddx[x2]+ddx[-6x]
Step 4.1.1.2
Differentiate using the Power Rule which states that ddx[xn] is nxn-1 where n=2.
2x+ddx[-6x]
2x+ddx[-6x]
Step 4.1.2
Evaluate ddx[-6x].
Tap for more steps...
Step 4.1.2.1
Since -6 is constant with respect to x, the derivative of -6x with respect to x is -6ddx[x].
2x-6ddx[x]
Step 4.1.2.2
Differentiate using the Power Rule which states that ddx[xn] is nxn-1 where n=1.
2x-61
Step 4.1.2.3
Multiply -6 by 1.
f(x)=2x-6
f(x)=2x-6
f(x)=2x-6
Step 4.2
The first derivative of f(x) with respect to x is 2x-6.
2x-6
2x-6
Step 5
Set the first derivative equal to 0 then solve the equation 2x-6=0.
Tap for more steps...
Step 5.1
Set the first derivative equal to 0.
2x-6=0
Step 5.2
Add 6 to both sides of the equation.
2x=6
Step 5.3
Divide each term in 2x=6 by 2 and simplify.
Tap for more steps...
Step 5.3.1
Divide each term in 2x=6 by 2.
2x2=62
Step 5.3.2
Simplify the left side.
Tap for more steps...
Step 5.3.2.1
Cancel the common factor of 2.
Tap for more steps...
Step 5.3.2.1.1
Cancel the common factor.
2x2=62
Step 5.3.2.1.2
Divide x by 1.
x=62
x=62
x=62
Step 5.3.3
Simplify the right side.
Tap for more steps...
Step 5.3.3.1
Divide 6 by 2.
x=3
x=3
x=3
x=3
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.
x=3
Step 8
Evaluate the second derivative at x=3. If the second derivative is positive, then this is a local minimum. If it is negative, then this is a local maximum.
2
Step 9
x=3 is a local minimum because the value of the second derivative is positive. This is referred to as the second derivative test.
x=3 is a local minimum
Step 10
Find the y-value when x=3.
Tap for more steps...
Step 10.1
Replace the variable x with 3 in the expression.
f(3)=(3)2-63
Step 10.2
Simplify the result.
Tap for more steps...
Step 10.2.1
Simplify each term.
Tap for more steps...
Step 10.2.1.1
Raise 3 to the power of 2.
f(3)=9-63
Step 10.2.1.2
Multiply -6 by 3.
f(3)=9-18
f(3)=9-18
Step 10.2.2
Subtract 18 from 9.
f(3)=-9
Step 10.2.3
The final answer is -9.
y=-9
y=-9
y=-9
Step 11
These are the local extrema for f(x)=x2-6x.
(3,-9) is a local minima
Step 12
 [x2  12  π  xdx ]