Enter a problem...
Calculus Examples
xex
Step 1
Write xex as a function.
f(x)=xex
Step 2
Step 2.1
Find the first derivative.
Step 2.1.1
Differentiate using the Product Rule which states that ddx[f(x)g(x)] is f(x)ddx[g(x)]+g(x)ddx[f(x)] where f(x)=x and g(x)=ex.
xddx[ex]+exddx[x]
Step 2.1.2
Differentiate using the Exponential Rule which states that ddx[ax] is axln(a) where a=e.
xex+exddx[x]
Step 2.1.3
Differentiate using the Power Rule.
Step 2.1.3.1
Differentiate using the Power Rule which states that ddx[xn] is nxn-1 where n=1.
xex+ex⋅1
Step 2.1.3.2
Multiply ex by 1.
f′(x)=xex+ex
f′(x)=xex+ex
f′(x)=xex+ex
Step 2.2
The first derivative of f(x) with respect to x is xex+ex.
xex+ex
xex+ex
Step 3
Step 3.1
Set the first derivative equal to 0.
xex+ex=0
Step 3.2
Factor ex out of xex+ex.
Step 3.2.1
Factor ex out of xex.
exx+ex=0
Step 3.2.2
Multiply by 1.
exx+ex⋅1=0
Step 3.2.3
Factor ex out of exx+ex⋅1.
ex(x+1)=0
ex(x+1)=0
Step 3.3
If any individual factor on the left side of the equation is equal to 0, the entire expression will be equal to 0.
ex=0
x+1=0
Step 3.4
Set ex equal to 0 and solve for x.
Step 3.4.1
Set ex equal to 0.
ex=0
Step 3.4.2
Solve ex=0 for x.
Step 3.4.2.1
Take the natural logarithm of both sides of the equation to remove the variable from the exponent.
ln(ex)=ln(0)
Step 3.4.2.2
The equation cannot be solved because ln(0) is undefined.
Undefined
Step 3.4.2.3
There is no solution for ex=0
No solution
No solution
No solution
Step 3.5
Set x+1 equal to 0 and solve for x.
Step 3.5.1
Set x+1 equal to 0.
x+1=0
Step 3.5.2
Subtract 1 from both sides of the equation.
x=-1
x=-1
Step 3.6
The final solution is all the values that make ex(x+1)=0 true.
x=-1
x=-1
Step 4
The values which make the derivative equal to 0 are -1.
-1
Step 5
After finding the point that makes the derivative f′(x)=xex+ex equal to 0 or undefined, the interval to check where f(x)=xex is increasing and where it is decreasing is (-∞,-1)∪(-1,∞).
(-∞,-1)∪(-1,∞)
Step 6
Step 6.1
Replace the variable x with -2 in the expression.
f′(-2)=(-2)⋅e-2+e-2
Step 6.2
Simplify the result.
Step 6.2.1
Simplify each term.
Step 6.2.1.1
Rewrite the expression using the negative exponent rule b-n=1bn.
f′(-2)=-2⋅1e2+e-2
Step 6.2.1.2
Combine -2 and 1e2.
f′(-2)=-2e2+e-2
Step 6.2.1.3
Move the negative in front of the fraction.
f′(-2)=-2e2+e-2
Step 6.2.1.4
Rewrite the expression using the negative exponent rule b-n=1bn.
f′(-2)=-2e2+1e2
f′(-2)=-2e2+1e2
Step 6.2.2
Combine fractions.
Step 6.2.2.1
Combine the numerators over the common denominator.
f′(-2)=-2+1e2
Step 6.2.2.2
Simplify the expression.
Step 6.2.2.2.1
Add -2 and 1.
f′(-2)=-1e2
Step 6.2.2.2.2
Move the negative in front of the fraction.
f′(-2)=-1e2
f′(-2)=-1e2
f′(-2)=-1e2
Step 6.2.3
The final answer is -1e2.
-1e2
-1e2
Step 6.3
At x=-2 the derivative is -1e2. 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 7
Step 7.1
Replace the variable x with 0 in the expression.
f′(0)=(0)⋅e0+e0
Step 7.2
Simplify the result.
Step 7.2.1
Simplify each term.
Step 7.2.1.1
Anything raised to 0 is 1.
f′(0)=0⋅1+e0
Step 7.2.1.2
Multiply 0 by 1.
f′(0)=0+e0
Step 7.2.1.3
Anything raised to 0 is 1.
f′(0)=0+1
f′(0)=0+1
Step 7.2.2
Add 0 and 1.
f′(0)=1
Step 7.2.3
The final answer is 1.
1
1
Step 7.3
At x=0 the derivative is 1. 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 8
List the intervals on which the function is increasing and decreasing.
Increasing on: (-1,∞)
Decreasing on: (-∞,-1)
Step 9
