Find
Split so that one joins the exponential. The factor has an elementary antiderivative (its inner derivative is ), while alone does not. So set
Splitting the other way, with , immediately stalls — the choice of pairing is the entire trick.
Find by substitution. With , :
Also . The comes from in the substitution and must be carried through.
Apply integration by parts. Using :
The remaining integral is the Gaussian — simpler than what we started with, which is the sign that the pairing was chosen well.
Express the Gaussian with the error function. has no elementary antiderivative. The error function is defined precisely to name it:
Assemble and verify. Substituting back,
Differentiating: ✓ — the two half-terms cancel exactly. A numeric check at gives both ways ✓. As a bonus, since and the first term vanishes, .
Need to solve a different problem like this? Open the solver →