Enter a problem...
Calculus Examples
x4-2x2x4−2x2
Step 1
Step 1.1
Differentiate.
Step 1.1.1
By the Sum Rule, the derivative of x4-2x2x4−2x2 with respect to xx is ddx[x4]+ddx[-2x2]ddx[x4]+ddx[−2x2].
ddx[x4]+ddx[-2x2]ddx[x4]+ddx[−2x2]
Step 1.1.2
Differentiate using the Power Rule which states that ddx[xn]ddx[xn] is nxn-1nxn−1 where n=4n=4.
4x3+ddx[-2x2]4x3+ddx[−2x2]
4x3+ddx[-2x2]4x3+ddx[−2x2]
Step 1.2
Evaluate ddx[-2x2]ddx[−2x2].
Step 1.2.1
Since -2−2 is constant with respect to xx, the derivative of -2x2−2x2 with respect to xx is -2ddx[x2]−2ddx[x2].
4x3-2ddx[x2]4x3−2ddx[x2]
Step 1.2.2
Differentiate using the Power Rule which states that ddx[xn]ddx[xn] is nxn-1nxn−1 where n=2n=2.
4x3-2(2x)4x3−2(2x)
Step 1.2.3
Multiply 22 by -2−2.
4x3-4x4x3−4x
4x3-4x4x3−4x
4x3-4x4x3−4x
Step 2
Step 2.1
By the Sum Rule, the derivative of 4x3-4x4x3−4x with respect to xx is ddx[4x3]+ddx[-4x]ddx[4x3]+ddx[−4x].
f′′(x)=ddx(4x3)+ddx(-4x)
Step 2.2
Evaluate ddx[4x3].
Step 2.2.1
Since 4 is constant with respect to x, the derivative of 4x3 with respect to x is 4ddx[x3].
f′′(x)=4ddx(x3)+ddx(-4x)
Step 2.2.2
Differentiate using the Power Rule which states that ddx[xn] is nxn-1 where n=3.
f′′(x)=4(3x2)+ddx(-4x)
Step 2.2.3
Multiply 3 by 4.
f′′(x)=12x2+ddx(-4x)
f′′(x)=12x2+ddx(-4x)
Step 2.3
Evaluate ddx[-4x].
Step 2.3.1
Since -4 is constant with respect to x, the derivative of -4x with respect to x is -4ddx[x].
f′′(x)=12x2-4ddxx
Step 2.3.2
Differentiate using the Power Rule which states that ddx[xn] is nxn-1 where n=1.
f′′(x)=12x2-4⋅1
Step 2.3.3
Multiply -4 by 1.
f′′(x)=12x2-4
f′′(x)=12x2-4
f′′(x)=12x2-4
Step 3
To find the local maximum and minimum values of the function, set the derivative equal to 0 and solve.
4x3-4x=0
Step 4
Step 4.1
Find the first derivative.
Step 4.1.1
Differentiate.
Step 4.1.1.1
By the Sum Rule, the derivative of x4-2x2 with respect to x is ddx[x4]+ddx[-2x2].
ddx[x4]+ddx[-2x2]
Step 4.1.1.2
Differentiate using the Power Rule which states that ddx[xn] is nxn-1 where n=4.
4x3+ddx[-2x2]
4x3+ddx[-2x2]
Step 4.1.2
Evaluate ddx[-2x2].
Step 4.1.2.1
Since -2 is constant with respect to x, the derivative of -2x2 with respect to x is -2ddx[x2].
4x3-2ddx[x2]
Step 4.1.2.2
Differentiate using the Power Rule which states that ddx[xn] is nxn-1 where n=2.
4x3-2(2x)
Step 4.1.2.3
Multiply 2 by -2.
f′(x)=4x3-4x
f′(x)=4x3-4x
f′(x)=4x3-4x
Step 4.2
The first derivative of f(x) with respect to x is 4x3-4x.
4x3-4x
4x3-4x
Step 5
Step 5.1
Set the first derivative equal to 0.
4x3-4x=0
Step 5.2
Factor the left side of the equation.
Step 5.2.1
Factor 4x out of 4x3-4x.
Step 5.2.1.1
Factor 4x out of 4x3.
4x(x2)-4x=0
Step 5.2.1.2
Factor 4x out of -4x.
4x(x2)+4x(-1)=0
Step 5.2.1.3
Factor 4x out of 4x(x2)+4x(-1).
4x(x2-1)=0
4x(x2-1)=0
Step 5.2.2
Rewrite 1 as 12.
4x(x2-12)=0
Step 5.2.3
Factor.
Step 5.2.3.1
Since both terms are perfect squares, factor using the difference of squares formula, a2-b2=(a+b)(a-b) where a=x and b=1.
4x((x+1)(x-1))=0
Step 5.2.3.2
Remove unnecessary parentheses.
4x(x+1)(x-1)=0
4x(x+1)(x-1)=0
4x(x+1)(x-1)=0
Step 5.3
If any individual factor on the left side of the equation is equal to 0, the entire expression will be equal to 0.
x=0
x+1=0
x-1=0
Step 5.4
Set x equal to 0.
x=0
Step 5.5
Set x+1 equal to 0 and solve for x.
Step 5.5.1
Set x+1 equal to 0.
x+1=0
Step 5.5.2
Subtract 1 from both sides of the equation.
x=-1
x=-1
Step 5.6
Set x-1 equal to 0 and solve for x.
Step 5.6.1
Set x-1 equal to 0.
x-1=0
Step 5.6.2
Add 1 to both sides of the equation.
x=1
x=1
Step 5.7
The final solution is all the values that make 4x(x+1)(x-1)=0 true.
x=0,-1,1
x=0,-1,1
Step 6
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=0,-1,1
Step 8
Evaluate the second derivative at x=0. If the second derivative is positive, then this is a local minimum. If it is negative, then this is a local maximum.
12(0)2-4
Step 9
Step 9.1
Simplify each term.
Step 9.1.1
Raising 0 to any positive power yields 0.
12⋅0-4
Step 9.1.2
Multiply 12 by 0.
0-4
0-4
Step 9.2
Subtract 4 from 0.
-4
-4
Step 10
x=0 is a local maximum because the value of the second derivative is negative. This is referred to as the second derivative test.
x=0 is a local maximum
Step 11
Step 11.1
Replace the variable x with 0 in the expression.
f(0)=(0)4-2(0)2
Step 11.2
Simplify the result.
Step 11.2.1
Simplify each term.
Step 11.2.1.1
Raising 0 to any positive power yields 0.
f(0)=0-2(0)2
Step 11.2.1.2
Raising 0 to any positive power yields 0.
f(0)=0-2⋅0
Step 11.2.1.3
Multiply -2 by 0.
f(0)=0+0
f(0)=0+0
Step 11.2.2
Add 0 and 0.
f(0)=0
Step 11.2.3
The final answer is 0.
y=0
y=0
y=0
Step 12
Evaluate the second derivative at x=-1. If the second derivative is positive, then this is a local minimum. If it is negative, then this is a local maximum.
12(-1)2-4
Step 13
Step 13.1
Simplify each term.
Step 13.1.1
Raise -1 to the power of 2.
12⋅1-4
Step 13.1.2
Multiply 12 by 1.
12-4
12-4
Step 13.2
Subtract 4 from 12.
8
8
Step 14
x=-1 is a local minimum because the value of the second derivative is positive. This is referred to as the second derivative test.
x=-1 is a local minimum
Step 15
Step 15.1
Replace the variable x with -1 in the expression.
f(-1)=(-1)4-2(-1)2
Step 15.2
Simplify the result.
Step 15.2.1
Simplify each term.
Step 15.2.1.1
Raise -1 to the power of 4.
f(-1)=1-2(-1)2
Step 15.2.1.2
Raise -1 to the power of 2.
f(-1)=1-2⋅1
Step 15.2.1.3
Multiply -2 by 1.
f(-1)=1-2
f(-1)=1-2
Step 15.2.2
Subtract 2 from 1.
f(-1)=-1
Step 15.2.3
The final answer is -1.
y=-1
y=-1
y=-1
Step 16
Evaluate the second derivative at x=1. If the second derivative is positive, then this is a local minimum. If it is negative, then this is a local maximum.
12(1)2-4
Step 17
Step 17.1
Simplify each term.
Step 17.1.1
One to any power is one.
12⋅1-4
Step 17.1.2
Multiply 12 by 1.
12-4
12-4
Step 17.2
Subtract 4 from 12.
8
8
Step 18
x=1 is a local minimum because the value of the second derivative is positive. This is referred to as the second derivative test.
x=1 is a local minimum
Step 19
Step 19.1
Replace the variable x with 1 in the expression.
f(1)=(1)4-2(1)2
Step 19.2
Simplify the result.
Step 19.2.1
Simplify each term.
Step 19.2.1.1
One to any power is one.
f(1)=1-2(1)2
Step 19.2.1.2
One to any power is one.
f(1)=1-2⋅1
Step 19.2.1.3
Multiply -2 by 1.
f(1)=1-2
f(1)=1-2
Step 19.2.2
Subtract 2 from 1.
f(1)=-1
Step 19.2.3
The final answer is -1.
y=-1
y=-1
y=-1
Step 20
These are the local extrema for f(x)=x4-2x2.
(0,0) is a local maxima
(-1,-1) is a local minima
(1,-1) is a local minima
Step 21