Skip to content

Mathematics · Ch 7 — Integrals

Integrals of Some Particular Functions

7.4

Integrals of Some Particular Functions

7.4 Integrals of Some Particular Functions

This section develops six fundamental integration formulae that serve as building blocks for a wider class of integrals. Each is derived from a carefully chosen substitution, and many complicated-looking integrals can be transformed into one of these standard forms by completing the square or splitting the numerator.


The Six Standard Formulae

Each of the six results corresponds to a specific algebraic form in the denominator, and each is proved using a substitution that exploits a trigonometric or algebraic identity.

Result (1): ∫dxx2−a2=12alog⁡∣x−ax+a∣+C\displaystyle \int \frac{dx}{x^2 - a^2} = \frac{1}{2a} \log \left| \frac{x-a}{x+a} \right| + C

Derivation

We begin by decomposing the integrand into partial fractions. Notice that:

x2−a2=(x−a)(x+a)x^2 - a^2 = (x-a)(x+a)

We want constants AA and BB such that:

1x2−a2=Ax−a+Bx+a\frac{1}{x^2 - a^2} = \frac{A}{x-a} + \frac{B}{x+a}

Multiplying both sides by (x−a)(x+a)(x-a)(x+a) gives:

1=A(x+a)+B(x−a)1 = A(x+a) + B(x-a)

To find AA, set x=ax = a: 1=A(2a)1 = A(2a), so A=12aA = \frac{1}{2a}.

To find BB, set x=−ax = -a: 1=B(−2a)1 = B(-2a), so B=−12aB = -\frac{1}{2a}.

Therefore:

1x2−a2=12a(1x−a−1x+a)\frac{1}{x^2 - a^2} = \frac{1}{2a}\left(\frac{1}{x-a} - \frac{1}{x+a}\right)

Now integrate term by term:

∫dxx2−a2=12a[∫dxx−a−∫dxx+a]\int \frac{dx}{x^2 - a^2} = \frac{1}{2a}\left[\int \frac{dx}{x-a} - \int \frac{dx}{x+a}\right]

=12a[log⁡∣x−a∣−log⁡∣x+a∣]+C= \frac{1}{2a}\left[\log|x-a| - \log|x+a|\right] + C

=12alog⁡∣x−ax+a∣+C= \frac{1}{2a} \log \left| \frac{x-a}{x+a} \right| + C

Note

The absolute value bars are essential because the argument of the logarithm must be positive. The constant CC absorbs all arbitrary constants from both integrations.


Result (2): ∫dxa2−x2=12alog⁡∣a+xa−x∣+C\displaystyle \int \frac{dx}{a^2 - x^2} = \frac{1}{2a} \log \left| \frac{a+x}{a-x} \right| + C

Derivation

This follows the same pattern as Result (1), but note the sign difference in the denominator. Factor a2−x2=(a−x)(a+x)a^2 - x^2 = (a-x)(a+x).

We write:

1a2−x2=1(a−x)(a+x)=12a(1a−x+1a+x)\frac{1}{a^2 - x^2} = \frac{1}{(a-x)(a+x)} = \frac{1}{2a}\left(\frac{1}{a-x} + \frac{1}{a+x}\right)

›Proof

To verify the decomposition, set:

1(a−x)(a+x)=Aa−x+Ba+x\frac{1}{(a-x)(a+x)} = \frac{A}{a-x} + \frac{B}{a+x}

Multiply through: 1=A(a+x)+B(a−x)1 = A(a+x) + B(a-x)

Put x=ax = a: 1=A(2a)  ⟹  A=12a1 = A(2a) \implies A = \frac{1}{2a}

Put x=−ax = -a: 1=B(2a)  ⟹  B=12a1 = B(2a) \implies B = \frac{1}{2a}

Hence the decomposition is correct.

Now integrate:

∫dxa2−x2=12a[∫dxa−x+∫dxa+x]\int \frac{dx}{a^2 - x^2} = \frac{1}{2a}\left[\int \frac{dx}{a-x} + \int \frac{dx}{a+x}\right]

=12a[−log⁡∣a−x∣+log⁡∣a+x∣]+C= \frac{1}{2a}\left[-\log|a-x| + \log|a+x|\right] + C

=12alog⁡∣a+xa−x∣+C= \frac{1}{2a} \log \left| \frac{a+x}{a-x} \right| + C

Watch out

A common sign error occurs here. The integral of 1a−x\frac{1}{a-x} is −log⁡∣a−x∣-\log|a-x|, not log⁡∣a−x∣\log|a-x|. Always check by differentiating your answer.


Result (3): ∫dxx2+a2=1atan⁡−1(xa)+C\displaystyle \int \frac{dx}{x^2 + a^2} = \frac{1}{a} \tan^{-1}\left(\frac{x}{a}\right) + C

Derivation

Use the substitution x=atan⁡θx = a \tan \theta. Then dx=asec⁡2θ dθdx = a \sec^2 \theta \, d\theta.

∫dxx2+a2=∫asec⁡2θ dθa2tan⁡2θ+a2\int \frac{dx}{x^2 + a^2} = \int \frac{a \sec^2 \theta \, d\theta}{a^2 \tan^2 \theta + a^2}

=∫asec⁡2θ dθa2(tan⁡2θ+1)= \int \frac{a \sec^2 \theta \, d\theta}{a^2(\tan^2 \theta + 1)}

Since tan⁡2θ+1=sec⁡2θ\tan^2 \theta + 1 = \sec^2 \theta, this simplifies to:

=∫asec⁡2θ dθa2sec⁡2θ=∫1a dθ=θa+C= \int \frac{a \sec^2 \theta \, d\theta}{a^2 \sec^2 \theta} = \int \frac{1}{a} \, d\theta = \frac{\theta}{a} + C

Now substitute back: θ=tan⁡−1(xa)\theta = \tan^{-1}\left(\frac{x}{a}\right), giving:

∫dxx2+a2=1atan⁡−1(xa)+C\int \frac{dx}{x^2 + a^2} = \frac{1}{a} \tan^{-1}\left(\frac{x}{a}\right) + C

Tip

The substitution x=atan⁡θx = a \tan \theta is the standard choice whenever you see x2+a2x^2 + a^2 in the denominator. The identity tan⁡2θ+1=sec⁡2θ\tan^2 \theta + 1 = \sec^2 \theta is what makes it work.


Result (4): ∫dxx2−a2=log⁡∣x+x2−a2∣+C\displaystyle \int \frac{dx}{\sqrt{x^2 - a^2}} = \log \left| x + \sqrt{x^2 - a^2} \right| + C

Derivation

Use the substitution x=asec⁡θx = a \sec \theta. Then dx=asec⁡θtan⁡θ dθdx = a \sec \theta \tan \theta \, d\theta.

∫dxx2−a2=∫asec⁡θtan⁡θ dθa2sec⁡2θ−a2\int \frac{dx}{\sqrt{x^2 - a^2}} = \int \frac{a \sec \theta \tan \theta \, d\theta}{\sqrt{a^2 \sec^2 \theta - a^2}}

=∫asec⁡θtan⁡θ dθasec⁡2θ−1= \int \frac{a \sec \theta \tan \theta \, d\theta}{a \sqrt{\sec^2 \theta - 1}}

Since sec⁡2θ−1=tan⁡2θ\sec^2 \theta - 1 = \tan^2 \theta, and for θ\theta in (0,π2)(0, \frac{\pi}{2}) we have tan⁡θ>0\tan \theta > 0, so tan⁡2θ=tan⁡θ\sqrt{\tan^2 \theta} = \tan \theta:

=∫sec⁡θ dθ= \int \sec \theta \, d\theta

The integral of sec⁡θ\sec \theta is a standard result:

∫sec⁡θ dθ=log⁡∣sec⁡θ+tan⁡θ∣+C1\int \sec \theta \, d\theta = \log |\sec \theta + \tan \theta| + C_1

Now we need to express sec⁡θ\sec \theta and tan⁡θ\tan \theta in terms of xx. From x=asec⁡θx = a \sec \theta, we have sec⁡θ=xa\sec \theta = \frac{x}{a}. Also:

tan⁡θ=sec⁡2θ−1=x2a2−1=x2−a2a\tan \theta = \sqrt{\sec^2 \theta - 1} = \sqrt{\frac{x^2}{a^2} - 1} = \frac{\sqrt{x^2 - a^2}}{a}

Therefore:

∫dxx2−a2=log⁡∣xa+x2−a2a∣+C1\int \frac{dx}{\sqrt{x^2 - a^2}} = \log \left| \frac{x}{a} + \frac{\sqrt{x^2 - a^2}}{a} \right| + C_1

=log⁡∣x+x2−a2a∣+C1= \log \left| \frac{x + \sqrt{x^2 - a^2}}{a} \right| + C_1

=log⁡∣x+x2−a2∣−log⁡∣a∣+C1= \log \left| x + \sqrt{x^2 - a^2} \right| - \log |a| + C_1

=log⁡∣x+x2−a2∣+C= \log \left| x + \sqrt{x^2 - a^2} \right| + C

where C=C1−log⁡∣a∣C = C_1 - \log |a|.

Important

The constant log⁡∣a∣\log|a| gets absorbed into the arbitrary constant CC. This is why the final formula has no aa inside the logarithm — it's already accounted for.


Result (5): ∫dxa2−x2=sin⁡−1(xa)+C\displaystyle \int \frac{dx}{\sqrt{a^2 - x^2}} = \sin^{-1}\left(\frac{x}{a}\right) + C

Derivation

Use the substitution x=asin⁡θx = a \sin \theta. Then dx=acos⁡θ dθdx = a \cos \theta \, d\theta.

∫dxa2−x2=∫acos⁡θ dθa2−a2sin⁡2θ\int \frac{dx}{\sqrt{a^2 - x^2}} = \int \frac{a \cos \theta \, d\theta}{\sqrt{a^2 - a^2 \sin^2 \theta}}

=∫acos⁡θ dθa1−sin⁡2θ= \int \frac{a \cos \theta \, d\theta}{a \sqrt{1 - \sin^2 \theta}}

Since 1−sin⁡2θ=cos⁡2θ=∣cos⁡θ∣\sqrt{1 - \sin^2 \theta} = \sqrt{\cos^2 \theta} = |\cos \theta|, and for θ\theta in (−π2,π2)(-\frac{\pi}{2}, \frac{\pi}{2}) we have cos⁡θ>0\cos \theta > 0, so ∣cos⁡θ∣=cos⁡θ|\cos \theta| = \cos \theta:

=∫dθ=θ+C= \int d\theta = \theta + C

Substituting back θ=sin⁡−1(xa)\theta = \sin^{-1}\left(\frac{x}{a}\right):

∫dxa2−x2=sin⁡−1(xa)+C\int \frac{dx}{\sqrt{a^2 - x^2}} = \sin^{-1}\left(\frac{x}{a}\right) + C

Note

This formula is valid only when ∣x∣<a|x| < a, since the square root must be real. The domain of sin⁡−1\sin^{-1} is [−1,1][-1, 1], so xa\frac{x}{a} must lie in this interval.


Result (6): ∫dxx2+a2=log⁡∣x+x2+a2∣+C\displaystyle \int \frac{dx}{\sqrt{x^2 + a^2}} = \log \left| x + \sqrt{x^2 + a^2} \right| + C

Derivation

Use the substitution x=atan⁡θx = a \tan \theta. Then dx=asec⁡2θ dθdx = a \sec^2 \theta \, d\theta.

∫dxx2+a2=∫asec⁡2θ dθa2tan⁡2θ+a2\int \frac{dx}{\sqrt{x^2 + a^2}} = \int \frac{a \sec^2 \theta \, d\theta}{\sqrt{a^2 \tan^2 \theta + a^2}}

=∫asec⁡2θ dθatan⁡2θ+1= \int \frac{a \sec^2 \theta \, d\theta}{a \sqrt{\tan^2 \theta + 1}}

Since tan⁡2θ+1=sec⁡2θ\tan^2 \theta + 1 = \sec^2 \theta, and sec⁡2θ=∣sec⁡θ∣\sqrt{\sec^2 \theta} = |\sec \theta|. For θ\theta in (−π2,π2)(-\frac{\pi}{2}, \frac{\pi}{2}), sec⁡θ>0\sec \theta > 0, so ∣sec⁡θ∣=sec⁡θ|\sec \theta| = \sec \theta:

=∫sec⁡θ dθ=log⁡∣sec⁡θ+tan⁡θ∣+C1= \int \sec \theta \, d\theta = \log |\sec \theta + \tan \theta| + C_1

Now express in terms of xx. From x=atan⁡θx = a \tan \theta, we have tan⁡θ=xa\tan \theta = \frac{x}{a}. Also:

sec⁡θ=1+tan⁡2θ=1+x2a2=x2+a2a\sec \theta = \sqrt{1 + \tan^2 \theta} = \sqrt{1 + \frac{x^2}{a^2}} = \frac{\sqrt{x^2 + a^2}}{a}

Therefore:

∫dxx2+a2=log⁡∣x2+a2a+xa∣+C1\int \frac{dx}{\sqrt{x^2 + a^2}} = \log \left| \frac{\sqrt{x^2 + a^2}}{a} + \frac{x}{a} \right| + C_1

=log⁡∣x+x2+a2a∣+C1= \log \left| \frac{x + \sqrt{x^2 + a^2}}{a} \right| + C_1

=log⁡∣x+x2+a2∣−log⁡∣a∣+C1= \log \left| x + \sqrt{x^2 + a^2} \right| - \log |a| + C_1

=log⁡∣x+x2+a2∣+C= \log \left| x + \sqrt{x^2 + a^2} \right| + C

where C=C1−log⁡∣a∣C = C_1 - \log |a|.


Extended Forms: Integrals of Quadratic Expressions

The six standard results above are for denominators of the form x2±a2x^2 \pm a^2 or x2±a2\sqrt{x^2 \pm a^2}. But many integrals involve quadratic expressions ax2+bx+cax^2 + bx + c. The strategy is to complete the square and then use a substitution to reduce the integral to one of the six standard forms.

Method (7): ∫dxax2+bx+c\displaystyle \int \frac{dx}{ax^2 + bx + c}

Procedure

  1. Write ax2+bx+c=a[x2+bax+ca]ax^2 + bx + c = a\left[x^2 + \frac{b}{a}x + \frac{c}{a}\right]
  2. Complete the square: =a[(x+b2a)2+(ca−b24a2)]= a\left[\left(x + \frac{b}{2a}\right)^2 + \left(\frac{c}{a} - \frac{b^2}{4a^2}\right)\right]
  3. Let t=x+b2at = x + \frac{b}{2a}, so dx=dtdx = dt
  4. Let k2=ca−b24a2k^2 = \frac{c}{a} - \frac{b^2}{4a^2} (or −k2-k^2 if the expression is negative)

The integral then becomes:

∫dxax2+bx+c=1a∫dtt2±k2\int \frac{dx}{ax^2 + bx + c} = \frac{1}{a} \int \frac{dt}{t^2 \pm k^2}

which matches either Result (1), (2), or (3) depending on the sign.

Tip

The sign of ca−b24a2\frac{c}{a} - \frac{b^2}{4a^2} determines which standard form applies:

  • If positive: use ∫dtt2+k2\displaystyle \int \frac{dt}{t^2 + k^2} (Result 3)
  • If negative: use ∫dtt2−k2\displaystyle \int \frac{dt}{t^2 - k^2} (Result 1)
  • If zero: the integral becomes ∫dtt2\displaystyle \int \frac{dt}{t^2}, which is a simple power rule

Method (8): ∫dxax2+bx+c\displaystyle \int \frac{dx}{\sqrt{ax^2 + bx + c}}

Procedure …