Find
Try the usual techniques and watch them fail. Substitution needs the derivative of the inner function to appear as a factor, and neither nor produces the . Integration by parts only shuffles the difficulty: taking , gives , which is worse. This is a signal, not bad luck.
State the actual result. By Liouville's theorem on elementary integration, has no elementary antiderivative — no finite combination of polynomials, exponentials, logarithms, trigonometric functions and radicals differentiates to it. The antiderivative is instead named:
Define the exponential integral. One standard definition is
taken as a Cauchy principal value because the integrand blows up at . By the Fundamental Theorem of Calculus, differentiating this definition returns the integrand:
which is exactly the property required of an antiderivative.
Note that a series is available if a formula is wanted. Expanding and dividing by :
Integrating term by term gives
which equals for , with the Euler-Mascheroni constant. This is the practical way to compute values.
Contrast with the integrals that do work. and are both elementary; it is only their quotient that escapes. Similarly and are non-elementary, while is fine — there is no simple rule of thumb, which is why the theorem matters.
Sanity-check the series numerically. At the truncated series , and ✓ — the two agree, confirming the term-by-term integration.
Need to solve a different problem like this? Open the solver →