3

Is this integral solvable? $$\int \frac{e^x}{x^2-a^2}dx,\quad a>0.$$

Tunk-Fey
  • 24,849
David
  • 588
  • 3
  • 10

1 Answers1

2

$$x^2-a^2=(x-a)(x+a)\quad\Longrightarrow\quad\dfrac1{x^2-a^2}=\dfrac1{2a}\left(\dfrac1{x-a}-\dfrac1{x+a}\right)$$

\begin{alignat*}{9} \int\frac{e^x}{x^2-a^2}dx\ &=\dfrac1{2a}\bigg(&&\int\dfrac{e^x}{x-a}dx&-&&&\int\dfrac{e^x}{x+a}dx&\bigg)\\ &=\dfrac1{2a}\bigg(&e^a&\int\dfrac{e^{x-a}}{x-a}dx&-&&\ e^{-a}&\int\dfrac{e^{x+a}}{x+a}dx&\bigg)\\ &=\dfrac1{2a}\bigg[&e^a&\int\dfrac{e^{x-a}}{x-a}d(x-a)\ &-&&\ e^{-a}&\int\dfrac{e^{x+a}}{x+a}d(x+a)&\bigg]\\ &=\frac1{2a}\Big[&e^a\,&\text{Ei}(x-a)&-&&\ e^{-a}\,&\text{Ei}(x+a)&\Big] \end{alignat*}

where Ei$(x)$ is the exponential integral, which is not expressible in terms of elementary functions. See Liouville's theorem and the Risch algorithm for more details.

Lucian
  • 48,334
  • 2
  • 83
  • 154