Calculus Examples
f(x)=x2+2x+1
Step 1
Step 1.1
Find the first derivative.
Step 1.1.1
Differentiate.
Step 1.1.1.1
By the Sum Rule, the derivative of x2+2x+1 with respect to x is ddx[x2]+ddx[2x]+ddx[1].
ddx[x2]+ddx[2x]+ddx[1]
Step 1.1.1.2
Differentiate using the Power Rule which states that ddx[xn] is nxn-1 where n=2.
2x+ddx[2x]+ddx[1]
2x+ddx[2x]+ddx[1]
Step 1.1.2
Evaluate ddx[2x].
Step 1.1.2.1
Since 2 is constant with respect to x, the derivative of 2x with respect to x is 2ddx[x].
2x+2ddx[x]+ddx[1]
Step 1.1.2.2
Differentiate using the Power Rule which states that ddx[xn] is nxn-1 where n=1.
2x+2⋅1+ddx[1]
Step 1.1.2.3
Multiply 2 by 1.
2x+2+ddx[1]
2x+2+ddx[1]
Step 1.1.3
Differentiate using the Constant Rule.
Step 1.1.3.1
Since 1 is constant with respect to x, the derivative of 1 with respect to x is 0.
2x+2+0
Step 1.1.3.2
Add 2x+2 and 0.
f′(x)=2x+2
f′(x)=2x+2
f′(x)=2x+2
Step 1.2
The first derivative of f(x) with respect to x is 2x+2.
2x+2
2x+2
Step 2
Step 2.1
Set the first derivative equal to 0.
2x+2=0
Step 2.2
Subtract 2 from both sides of the equation.
2x=-2
Step 2.3
Divide each term in 2x=-2 by 2 and simplify.
Step 2.3.1
Divide each term in 2x=-2 by 2.
2x2=-22
Step 2.3.2
Simplify the left side.
Step 2.3.2.1
Cancel the common factor of 2.
Step 2.3.2.1.1
Cancel the common factor.
2x2=-22
Step 2.3.2.1.2
Divide x by 1.
x=-22
x=-22
x=-22
Step 2.3.3
Simplify the right side.
Step 2.3.3.1
Divide -2 by 2.
x=-1
x=-1
x=-1
x=-1
Step 3
The values which make the derivative equal to 0 are -1.
-1
Step 4
After finding the point that makes the derivative f′(x)=2x+2 equal to 0 or undefined, the interval to check where f(x)=x2+2x+1 is increasing and where it is decreasing is (-∞,-1)∪(-1,∞).
(-∞,-1)∪(-1,∞)
Step 5
Step 5.1
Replace the variable x with -2 in the expression.
f′(-2)=2(-2)+2
Step 5.2
Simplify the result.
Step 5.2.1
Multiply 2 by -2.
f′(-2)=-4+2
Step 5.2.2
Add -4 and 2.
f′(-2)=-2
Step 5.2.3
The final answer is -2.
-2
-2
Step 5.3
At x=-2 the derivative is -2. Since this is negative, the function is decreasing on (-∞,-1).
Decreasing on (-∞,-1) since f′(x)<0
Decreasing on (-∞,-1) since f′(x)<0
Step 6
Step 6.1
Replace the variable x with 0 in the expression.
f′(0)=2(0)+2
Step 6.2
Simplify the result.
Step 6.2.1
Multiply 2 by 0.
f′(0)=0+2
Step 6.2.2
Add 0 and 2.
f′(0)=2
Step 6.2.3
The final answer is 2.
2
2
Step 6.3
At x=0 the derivative is 2. Since this is positive, the function is increasing on (-1,∞).
Increasing on (-1,∞) since f′(x)>0
Increasing on (-1,∞) since f′(x)>0
Step 7
List the intervals on which the function is increasing and decreasing.
Increasing on: (-1,∞)
Decreasing on: (-∞,-1)
Step 8