girgit.org

Integrals

Integrals of some particular functions: six forms in one table

The big ideaSix integrals with \( x^2 \pm a^2 \) or \( a^2 - x^2 \) in the denominator, with or without a square root, come up again and again; learn them as one table and read off which one you have from two signs and a root.

In simple words

There is a small family of fractions that keeps turning up: one over "a square plus a number", "a square minus a number", or "a number minus a square", sometimes under a root. Each has its own ready answer. Learn the six answers once, and later sums that look new can be bent into one of these six.

The six special integrals

Here a is a positive constant.

IntegralAnswerProved by
1\( \int \frac{dx}{x^2 - a^2} \)\( \frac{1}{2a}\log\left| \frac{x - a}{x + a} \right| + C \)splitting into two fractions
2\( \int \frac{dx}{a^2 - x^2} \)\( \frac{1}{2a}\log\left| \frac{a + x}{a - x} \right| + C \)splitting into two fractions
3\( \int \frac{dx}{x^2 + a^2} \)\( \frac{1}{a}\tan^{-1}\frac{x}{a} + C \)x = a tan θ
4\( \int \frac{dx}{\sqrt{x^2 - a^2}} \)\( \log\left| x + \sqrt{x^2 - a^2} \right| + C \)x = a sec θ
5\( \int \frac{dx}{\sqrt{a^2 - x^2}} \)\( \sin^{-1}\frac{x}{a} + C \)x = a sin θ
6\( \int \frac{dx}{\sqrt{x^2 + a^2}} \)\( \log\left| x + \sqrt{x^2 + a^2} \right| + C \)x = a tan θ

How to read it. Without a root, the "plus" form gives tan⁻¹ and the two "minus" forms give logs. With a root, only \( a^2 - x^2 \) gives an inverse trig function (sin⁻¹); the other two give logs, and those two answers look alike, differing only in the sign inside the root.

Guess first: \( \int \frac{dx}{1 + x^2} \) and \( \int \frac{dx}{1 - x^2} \)

The two integrands differ by one sign. Guess: are the answers also almost the same?

See what happens
Not at all. The first is \( \tan^{-1} x + C \), an angle that never goes beyond \( \frac{\pi}{2} \). The second is \( \frac{1}{2}\log\left| \frac{1 + x}{1 - x} \right| + C \), a log that shoots off to infinity at x = ±1, exactly where \( 1 - x^2 \) becomes zero. One sign changes the kind of function you get.

Try it: flip the sign and watch what the area does as x grows.

Where the answers come from

Rows 1 and 2. Split the fraction:

\[ \frac{1}{x^2 - a^2} = \frac{1}{(x - a)(x + a)} = \frac{1}{2a}\left[ \frac{1}{x - a} - \frac{1}{x + a} \right]. \]

Integrate each piece to a log and combine: \( \frac{1}{2a}[\log|x - a| - \log|x + a|] \). Row 2 is the same idea with \( \frac{1}{2a}\left[ \frac{1}{a - x} + \frac{1}{a + x} \right] \). (Concept 7 turns this splitting into a general method.)

Row 3. Put x = a tan θ, so dx = a sec² θ dθ and \( x^2 + a^2 = a^2\sec^2\theta \). The integral becomes \( \int \frac{1}{a}\,d\theta = \frac{\theta}{a} = \frac{1}{a}\tan^{-1}\frac{x}{a} \).

Row 5. Put x = a sin θ, so \( \sqrt{a^2 - x^2} = a\cos\theta \) and dx = a cos θ dθ. The integral is \( \int d\theta = \theta = \sin^{-1}\frac{x}{a} \).

Rows 4 and 6. The substitutions x = a sec θ and x = a tan θ both turn the integral into \( \int \sec\theta\,d\theta = \log|\sec\theta + \tan\theta| \). Writing that back in x gives \( \log\left| \frac{x + \sqrt{x^2 \mp a^2}}{a} \right| \), and the \( -\log a \) is a constant that joins C.

Using the table

Make the coefficient of \( x^2 \) equal to 1 (or make the thing being squared a single letter), then match.

Worked examples

  1. \( \int \frac{dx}{x^2 - 25} \) is row 1 with a = 5: \( \frac{1}{10}\log\left| \frac{x - 5}{x + 5} \right| + C \).
  2. \( \int \frac{dx}{9x^2 + 4} \). Take out 9: \( \frac{1}{9}\int \frac{dx}{x^2 + (2/3)^2} = \frac{1}{9}\cdot\frac{3}{2}\tan^{-1}\frac{3x}{2} = \frac{1}{6}\tan^{-1}\frac{3x}{2} + C \).
  3. \( \int \frac{dx}{\sqrt{16 - 9x^2}} \). Put t = 3x, dx = dt/3: \( \frac{1}{3}\int \frac{dt}{\sqrt{16 - t^2}} = \frac{1}{3}\sin^{-1}\frac{3x}{4} + C \).
  4. \( \int \frac{e^x\,dx}{\sqrt{e^{2x} + 1}} \). Put t = eˣ, dt = eˣ dx: row 6 with a = 1, giving \( \log\left( e^x + \sqrt{e^{2x} + 1} \right) + C \).

Try it: find \( \int \frac{x\,dx}{x^4 + 1} \).

Answer
Put t = x², dt = 2x dx: \( \frac{1}{2}\int \frac{dt}{t^2 + 1} = \frac{1}{2}\tan^{-1}(x^2) + C \).

Words to know

Trigonometric substitution
Putting x = a sin θ, a tan θ or a sec θ so a root or a sum of squares simplifies.
Standard form
One of the six shapes in the table, with a single letter squared.
a
A positive constant: the square root of the number added to or taken from x².
Absorbing a constant
A leftover constant such as −log a is merged into C.

Which integral gives an inverse trigonometric function?

  1. \( \int \frac{dx}{\sqrt{x^2 + 4}} \)
  2. \( \int \frac{dx}{\sqrt{4 - x^2}} \)
  3. \( \int \frac{dx}{x^2 - 4} \)

\( \int \frac{dx}{x^2 + 3} \) equals

  1. \( \tan^{-1}\frac{x}{3} + C \)
  2. \( \frac{1}{\sqrt{3}}\tan^{-1}\frac{x}{\sqrt{3}} + C \)
  3. \( \frac{1}{2\sqrt{3}}\log\left| \frac{x - \sqrt{3}}{x + \sqrt{3}} \right| + C \)

Which substitution proves \( \int \frac{dx}{\sqrt{x^2 - a^2}} = \log|x + \sqrt{x^2 - a^2}| + C \)?

  1. x = a sin θ
  2. x = a sec θ
  3. x = a tan θ