Question
Question: If f(x) = x²eˣ, what is f''(x), the second derivative of f(x)?...
If f(x) = x²eˣ, what is f''(x), the second derivative of f(x)?

(2x + 1)eˣ
(x² + 2x + 2)eˣ
(x² + 2x)eˣ
(x² + 4x + 2)eˣ
(x² + 4x + 2)eˣ
Solution
To find the second derivative f′′(x) of the function f(x)=x2ex, we will follow these steps:
- Find the first derivative, f′(x).
- Find the second derivative, f′′(x), by differentiating f′(x).
We will use the product rule for differentiation, which states that if f(x)=u(x)v(x), then f′(x)=u′(x)v(x)+u(x)v′(x).
Step 1: Find the first derivative, f′(x)
Given f(x)=x2ex.
Let u(x)=x2 and v(x)=ex.
Now, find the derivatives of u(x) and v(x):
u′(x)=dxd(x2)=2x
v′(x)=dxd(ex)=ex
Apply the product rule to find f′(x):
f′(x)=u′(x)v(x)+u(x)v′(x)
f′(x)=(2x)(ex)+(x2)(ex)
Factor out ex:
f′(x)=(2x+x2)ex
Step 2: Find the second derivative, f′′(x)
Now we need to differentiate f′(x)=(2x+x2)ex.
Let A(x)=2x+x2 and B(x)=ex.
Find the derivatives of A(x) and B(x):
A′(x)=dxd(2x+x2)=2+2x
B′(x)=dxd(ex)=ex
Apply the product rule again to find f′′(x):
f′′(x)=A′(x)B(x)+A(x)B′(x)
f′′(x)=(2+2x)(ex)+(2x+x2)(ex)
Factor out ex:
f′′(x)=ex[(2+2x)+(2x+x2)]
Combine like terms inside the bracket:
f′′(x)=ex[x2+2x+2x+2]
f′′(x)=ex[x2+4x+2]
So, f′′(x)=(x2+4x+2)ex.