Integration of Particular Functions

Two standard forms

A handful of rational forms show up often enough in calculus that it's worth knowing their antiderivatives directly, rather than re-deriving them via partial fractions every time:

∫dxx2−a2=12aln⁡∣x−ax+a∣+C\int \dfrac{dx}{x^2-a^2} = \dfrac{1}{2a}\ln\left|\dfrac{x-a}{x+a}\right| + C∫dxa2−x2=12aln⁡∣a+xa−x∣+C\int \dfrac{dx}{a^2-x^2} = \dfrac{1}{2a}\ln\left|\dfrac{a+x}{a-x}\right| + C

The full set of standard forms

Seven more forms complete the set. All nine appear in the NCERT Class 12 textbook, and each one is worth knowing by heart.

The nine standard integrals of particular functions
IntegralResult
∫dxx2−a2\displaystyle\int \dfrac{dx}{x^2 - a^2}12aln⁡∣x−ax+a∣+C\dfrac{1}{2a}\ln\left|\dfrac{x - a}{x + a}\right| + C
∫dxa2−x2\displaystyle\int \dfrac{dx}{a^2 - x^2}12aln⁡∣a+xa−x∣+C\dfrac{1}{2a}\ln\left|\dfrac{a + x}{a - x}\right| + C
∫dxx2+a2\displaystyle\int \dfrac{dx}{x^2 + a^2}1atan⁡−1xa+C\dfrac{1}{a}\tan^{-1}\dfrac{x}{a} + C
∫dxx2−a2\displaystyle\int \dfrac{dx}{\sqrt{x^2 - a^2}}ln⁡∣x+x2−a2∣+C\ln\left|x + \sqrt{x^2 - a^2}\right| + C
∫dxa2−x2\displaystyle\int \dfrac{dx}{\sqrt{a^2 - x^2}}sin⁡−1xa+C\sin^{-1}\dfrac{x}{a} + C
∫dxx2+a2\displaystyle\int \dfrac{dx}{\sqrt{x^2 + a^2}}ln⁡∣x+x2+a2∣+C\ln\left|x + \sqrt{x^2 + a^2}\right| + C
∫a2−x2 dx\displaystyle\int \sqrt{a^2 - x^2}\,dxx2a2−x2+a22sin⁡−1xa+C\dfrac{x}{2}\sqrt{a^2 - x^2} + \dfrac{a^2}{2}\sin^{-1}\dfrac{x}{a} + C
∫x2+a2 dx\displaystyle\int \sqrt{x^2 + a^2}\,dxx2x2+a2+a22ln⁡∣x+x2+a2∣+C\dfrac{x}{2}\sqrt{x^2 + a^2} + \dfrac{a^2}{2}\ln\left|x + \sqrt{x^2 + a^2}\right| + C
∫x2−a2 dx\displaystyle\int \sqrt{x^2 - a^2}\,dxx2x2−a2−a22ln⁡∣x+x2−a2∣+C\dfrac{x}{2}\sqrt{x^2 - a^2} - \dfrac{a^2}{2}\ln\left|x + \sqrt{x^2 - a^2}\right| + C

One example of each form

Each standard form applied once, with the value of a read off
IntegralForm usedResult
∫dxx2−16\displaystyle\int \dfrac{dx}{x^2 - 16}x2−a2x^2 - a^2, a=4a = 418ln⁡∣x−4x+4∣+C\dfrac{1}{8}\ln\left|\dfrac{x - 4}{x + 4}\right| + C
∫dx9−x2\displaystyle\int \dfrac{dx}{9 - x^2}a2−x2a^2 - x^2, a=3a = 316ln⁡∣3+x3−x∣+C\dfrac{1}{6}\ln\left|\dfrac{3 + x}{3 - x}\right| + C
∫dxx2+25\displaystyle\int \dfrac{dx}{x^2 + 25}x2+a2x^2 + a^2, a=5a = 515tan⁡−1x5+C\dfrac{1}{5}\tan^{-1}\dfrac{x}{5} + C
∫dxx2−4\displaystyle\int \dfrac{dx}{\sqrt{x^2 - 4}}x2−a2\sqrt{x^2 - a^2}, a=2a = 2ln⁡∣x+x2−4∣+C\ln\left|x + \sqrt{x^2 - 4}\right| + C
∫dx1−4x2\displaystyle\int \dfrac{dx}{\sqrt{1 - 4x^2}}a2−x2\sqrt{a^2 - x^2} after taking out the 212sin⁡−1(2x)+C\dfrac{1}{2}\sin^{-1}(2x) + C
∫dxx2+9\displaystyle\int \dfrac{dx}{\sqrt{x^2 + 9}}x2+a2\sqrt{x^2 + a^2}, a=3a = 3ln⁡∣x+x2+9∣+C\ln\left|x + \sqrt{x^2 + 9}\right| + C
∫16−x2 dx\displaystyle\int \sqrt{16 - x^2}\,dxa2−x2\sqrt{a^2 - x^2}, a=4a = 4x216−x2+8sin⁡−1x4+C\dfrac{x}{2}\sqrt{16 - x^2} + 8\sin^{-1}\dfrac{x}{4} + C
∫x2+4 dx\displaystyle\int \sqrt{x^2 + 4}\,dxx2+a2\sqrt{x^2 + a^2}, a=2a = 2x2x2+4+2ln⁡∣x+x2+4∣+C\dfrac{x}{2}\sqrt{x^2 + 4} + 2\ln\left|x + \sqrt{x^2 + 4}\right| + C
∫x2−9 dx\displaystyle\int \sqrt{x^2 - 9}\,dxx2−a2\sqrt{x^2 - a^2}, a=3a = 3x2x2−9−92ln⁡∣x+x2−9∣+C\dfrac{x}{2}\sqrt{x^2 - 9} - \dfrac{9}{2}\ln\left|x + \sqrt{x^2 - 9}\right| + C

For 1−4x2\sqrt{1 - 4x^2}, write it as 214−x22\sqrt{\tfrac{1}{4} - x^2} first. Then a=12a = \dfrac{1}{2}, and the 2 taken out becomes the 12\dfrac{1}{2} in front of the answer.

Worked example

Find ∫x21−x6 dx\displaystyle\int \dfrac{x^2}{1-x^6}\,dx.

Solution: Substitute u=x3u = x^3, so du=3x2 dxdu = 3x^2\,dx:

∫x21−x6 dx=13∫du1−u2=13⋅12ln⁡∣1+u1−u∣+C=16ln⁡∣1+x31−x3∣+C\int \dfrac{x^2}{1-x^6}\,dx = \dfrac{1}{3}\int \dfrac{du}{1-u^2} = \dfrac{1}{3}\cdot\dfrac{1}{2}\ln\left|\dfrac{1+u}{1-u}\right| + C = \dfrac{1}{6}\ln\left|\dfrac{1+x^3}{1-x^3}\right| + C

Worked example: completing the square

Find ∫dxx2+6x+13\displaystyle\int \dfrac{dx}{x^2 + 6x + 13}.

Solution: The quadratic doesn't factor, so complete the square: x2+6x+13=(x+3)2+4x^2 + 6x + 13 = (x + 3)^2 + 4. With u=x+3u = x + 3 and a=2a = 2, this is the x2+a2x^2 + a^2 form:

∫dx(x+3)2+22=12tan⁡−1x+32+C\int \dfrac{dx}{(x+3)^2 + 2^2} = \dfrac{1}{2}\tan^{-1}\dfrac{x + 3}{2} + C

Common mistakes

  • Ignoring a coefficient on x2x^2. Take it out first, as with 1−4x2\sqrt{1 - 4x^2} above, or the value of aa and the factor in front will both be wrong.
  • Swapping x2−a2x^2 - a^2 and a2−x2a^2 - x^2. They give the same logarithm upside down, so the sign of the answer flips.
  • Not completing the square. A quadratic with an xx term, like x2+6x+13x^2 + 6x + 13, has to be rewritten as (x+h)2±k2(x + h)^2 \pm k^2 before any form applies.

Continue learning

These standard forms usually come from splitting a rational function into partial fractions in the first place.