Integral of x e^(x²)
Updated 6 November 2026 · Checked numerically by the ihateDesmos engine
The integral of x e^(x²)
∫
xex2
dx =ex22+C
The integral of x e^(x²) is e^(x²)/2 + C. The x out front is what makes it possible, because it is nearly the derivative of x².
y=xex2
in blue and its integral y=ex22
(with C = 0) in red.How to integrate x e^(x²)
Method: u-substitution.
- 1Let u = x², so du = 2x dx, which means x dx = du/2.
- 2The integral becomes (1/2) ∫eᵘ du = eᵘ/2.
- 3Substitute back: e^(x²)/2 + C.
- 4Check: the derivative of e^(x²)/2 is 2x e^(x²)/2 = x e^(x²).
What it means
Take away the x and this integral has no elementary formula at all. That single factor changes everything, and spotting it is what u-substitution is all about.
The integral from 0 to 1
Using the antiderivative: F(1) − F(0) = (e − 1)/2, which is about 0.859141. A direct numerical integration of x e^(x²) gives 0.859141, which agrees.
Check by differentiating
The derivative of the answer should give back the original function. The last column measures that slope directly from the answer, and it matches.
| x | x e^(x²) | Slope of the answer |
|---|---|---|
| −1 | −e | −e |
| −1/2 | −0.642013 | −0.642013 |
| 0 | 0 | 0 |
| 1/2 | 0.642013 | 0.642013 |
| 1 | e | e |
Common mistakes
- Forgetting to divide by 2.
Frequently asked questions
What is the integral of x e^(x²)?
The integral of x e^(x²) is e^(x²)/2 + C.
What is the integral of x e^(x²) from 0 to 1?
(e − 1)/2, which is about 0.859141.
Keep going
Integrate any function
Type your own function into the integral calculator for the steps, the answer and a graph.