AP Calculus AB and BC
Integral of x e^(x^2): Answer, Proof, and Steps
The integral of x e^(x^2) is e^(x^2)/2 + C. Substituting u = x^2 gives du = 2x dx, so x dx = du/2 and the integral becomes one half times the integral of e^u. Differentiating e^(x^2)/2 gives (1/2) times 2x times e^(x^2), which is x e^(x^2).
The substitution, step by step
The integrand pairs with a factor of . Since the derivative of the inner function is , that stray is exactly what a u-substitution needs.
Replace with and with , then pull the constant outside.
Substituting back gives the answer in the original variable.
The x is not optional
Substitution works here only because the factor matches the derivative of up to the constant . Without that , the integral has no elementary antiderivative.
Checking by differentiating
Differentiate the result with the chain rule and confirm the returns.
The chain rule brings out the inner derivative , and that cancels the , leaving exactly.
Common mistakes
- Forgetting the . Without it the derivative is , twice the integrand.
- Trying the power rule on the exponent. The variable sits in the exponent, so there is no power of to raise.
- Attempting to integrate on its own. That has no elementary antiderivative; the outer is what makes this integral doable.
Every answer on this page is machine checked
An automated test differentiates the antiderivative above and confirms it returns the integrand. A wrong sign or a missing factor fails the build, so it cannot reach you.
Frequently asked questions
Why can you integrate x e^(x^2) but not e^(x^2)?
Because the extra factor matches the derivative of the exponent , which is . That match lets absorb the . Plain has no such factor and no elementary antiderivative.
What is the integral of x e^(x^2) from 0 to 1?
.
What u do you choose for x e^(x^2)?
Let , the exponent. Then , so , and the integral becomes .