Primitive of Exponential of a x over Power of x

Theorem

 * $\ds \int \frac {e^{a x} \rd x} {x^n} = \frac {-e^{a x} } {\paren {n - 1} x^{n - 1} } + \frac a {n - 1} \int \frac {e^{a x} \rd x} {x^{n - 1} } + C$

where $n \ne 1$.

Proof
With a view to expressing the primitive in the form:
 * $\ds \int u \frac {\d v} {\d x} \rd x = u v - \int v \frac {\d u} {\d x} \rd x$

let:

and let:

Then:

Also see

 * Primitive of $\dfrac {e^{a x} } x$ for the case where $n = 1$


 * Primitive of $x^n e^{a x}$