Skip to content

Mathematics · Ch 10 — Indefinite Integration

Integrals of the Form $\int\dfrac{dx}{a\sin x+b\cos x+c}$

10.2.6

Integrals of the Form $\int\dfrac{dx}{a\sin x+b\cos x+c}$

To evaluate ∫dxasin⁡x+bcos⁡x+c\int\dfrac{dx}{a\sin x+b\cos x+c}, substitute t=tan⁡x2t=\tan\frac x2. Then sec⁡2x2⋅12 dx=dt\sec^2\frac x2\cdot\frac12\,dx=dt, so dx=2 dt1+t2dx=\dfrac{2\,dt}{1+t^2} (using sec⁡2x2=1+tan⁡2x2\sec^2\frac x2=1+\tan^2\frac x2); and, from the double-angle formulae applied to x2\frac x2, sin⁡x=2t1+t2\sin x=\dfrac{2t}{1+t^2} and cos⁡x=1−t21+t2\cos x=\dfrac{1-t^2}{1+t^2}. Substituting turns the whole integral into a rational function of tt with a quadratic denominator — the 3.2.4 type. For the closely related pattern ∫dxasin⁡2x+bcos⁡2x+c\int\dfrac{dx}{a\sin2x+b\cos2x+c}, the substitution t=tan⁡xt=\tan x is used instead, giving dx=dt1+t2dx=\dfrac{dt}{1+t^2}, sin⁡2x=2t1+t2\sin2x=\dfrac{2t}{1+t^2}, cos⁡2x=1−t21+t2\cos2x=\dfrac{1-t^2}{1+t^2}.

∫dx5−4cos⁡x\int\dfrac{dx}{5-4\cos x}. With t=tan⁡x2t=\tan\frac x2: denominator becomes 5−4⋅1−t21+t2=9t2+11+t25-4\cdot\frac{1-t^2}{1+t^2}=\dfrac{9t^2+1}{1+t^2}, so the integral is ∫2 dt9t2+1=29∫dtt2+1/9\int\dfrac{2\,dt}{9t^2+1}=\frac29\int\dfrac{dt}{t^2+1/9}, a Formula-1 shape: result =23tan⁡−1(2tan⁡x2)+c=\dfrac23\tan^{-1}\left(2\tan\dfrac x2\right)+c.

∫dx2−3sin⁡2x\int\dfrac{dx}{2-3\sin2x}. With t=tan⁡xt=\tan x: denominator becomes 2−3⋅2t1+t2=2t2−6t+21+t22-3\cdot\frac{2t}{1+t^2}=\dfrac{2t^2-6t+2}{1+t^2}, giving ∫dtt2−3t+1\int\dfrac{dt}{t^2-3t+1}. Completing the square, (t−32)2−54\left(t-\frac32\right)^2-\frac54, a Formula-2 shape: result =125log⁡∣2tan⁡x−3−52tan⁡x−3+5∣+c=\dfrac{1}{2\sqrt5}\log\left|\dfrac{2\tan x-3-\sqrt5}{2\tan x-3+\sqrt5}\right|+c.

∫dx3−2sin⁡x+5cos⁡x\int\dfrac{dx}{3-2\sin x+5\cos x}. With t=tan⁡x2t=\tan\frac x2, the denominator becomes 8−4t−2t21+t2\dfrac{8-4t-2t^2}{1+t^2}, giving ∫dt4−2t−t2\int\dfrac{dt}{4-2t-t^2}. Completing the square, 5−(t+1)25-(t+1)^2, a Formula-4-family shape (5\sqrt5 vs (t+1)(t+1), log form since it's not under a root): result =125log⁡∣5+1+tan⁡x25−1−tan⁡x2∣+c=\dfrac{1}{2\sqrt5}\log\left|\dfrac{\sqrt5+1+\tan\frac x2}{\sqrt5-1-\tan\frac x2}\right|+c. …