Integrals of the Form $\int\dfrac{dx}{ax^2+bx+c}$ and $\int\dfrac{dx}{\sqrt{ax^2+bx+c}}$
10.2.4
Integrals of the Form $\int\dfrac{dx}{ax^2+bx+c}$ and $\int\dfrac{dx}{\sqrt{ax^2+bx+c}}$
To evaluate ∫ax2+bx+cdx or ∫ax2+bx+cdx, follow five steps: (1) write ax2+bx+c as a(x2+abx+ac) and pull a (or a) outside the integral; (2) complete the square on x2+abx by adding and subtracting (21⋅coefficient of x)2; (3) write the result as a sum or difference of two squares, (x+β)2±α2 or α2−(x+β)2; (4) use ∫f(x)dx=g(x)+c⇒∫f(x+β)dx=g(x+β)+c; (5) apply whichever of the seven special formulae of 3.2.3 matches the resulting shape, then substitute back in terms of x.
∫4x2+11dx. Factor out 4: ∫4(x2+411)dx=41∫x2+(211)2dx, a Formula-1 shape with a=211: result =2111tan−1112x+c.
∫3x2−7dx. Factor out 3: 31∫x2−(7/3)2dx, a Formula-5 shape: result =31logx+x2−37+c.
∫a2−b2x2dx. Factor out b2: b21∫(ba)2−x2dx, a Formula-3 shape: result =2ab1loga−bxa+bx+c.
∫x2+8x+12dx. Complete the square: x2+8x+16−4=(x+4)2−22, a Formula-2 shape: result =41logx+6x+2+c.
∫3x2−4x+2dx. Factor out 3: 31∫x2−34x+32dx. Complete the square: x2−34x+94−94+32=(x−32)2+92, a Formula-6 shape: result =31logx−32+x2−34x+32+c. …