- Practice
- About 18 min
- 5 practice questions
Special standard integrals and completing the square
Use the nine special integrals for 1/(x² ± a²), 1/(a² − x²), 1/√(a² ± x²), √(a² − x²) and √(x² ± a²), complete the square in a quadratic, and split (px + q)/(quadratic) into a log part and an inverse-tangent part.
If something looks wrong, please tell us.
A quadratic under a fraction or a square root is one of the most common integrands in competitive exams. Nine special results cover almost all of them, and completing the square brings any quadratic to one of those nine forms. Learning the table by heart, with the constants in the right place, is the speed method here.
The special integrals
| Integrand | Integral (add C) |
|---|---|
| 1/(x² + a²) | (1/a) tan⁻¹(x/a) |
| 1/(x² − a²) | (1/(2a)) ln|(x − a)/(x + a)| |
| 1/(a² − x²) | (1/(2a)) ln|(a + x)/(a − x)| |
| 1/√(a² − x²) | sin⁻¹(x/a) |
| 1/√(x² + a²) | ln|x + √(x² + a²)| |
| 1/√(x² − a²) | ln|x + √(x² − a²)| |
| √(a² − x²) | (x/2)√(a² − x²) + (a²/2) sin⁻¹(x/a) |
| √(x² + a²) | (x/2)√(x² + a²) + (a²/2) ln|x + √(x² + a²)| |
| √(x² − a²) | (x/2)√(x² − a²) − (a²/2) ln|x + √(x² − a²)| |
Two patterns help memory. With no square root, the "plus" case gives tan⁻¹ with a factor 1/a, and the "minus" cases give a log with a factor 1/(2a). With a square root in the denominator there is no factor in front. In the last three rows, the second term has a²/2 and the sign is minus only for √(x² − a²).
Complete the square: ax² + bx + c = a[(x + b/(2a))² + (c/a − b²/(4a²))]. Then the shifted variable plays the role of x in the table, and the coefficient a comes out in front (or as √a under a root).
Worked example 1: a coefficient on x²
∫ 1/(9x² + 4) dx. Take out 9: (1/9) ∫ 1/(x² + (2/3)²) dx = (1/9) · (3/2) tan⁻¹(3x/2) = (1/6) tan⁻¹(3x/2) + C. A faster route: put u = 3x, so the integral is (1/3) ∫ du/(u² + 2²) = (1/3)(1/2) tan⁻¹(u/2), the same answer.
Worked example 2: completing the square
∫ 1/(x² + 4x + 13) dx. x² + 4x + 13 = (x + 2)² + 9. With x + 2 in place of x and a = 3: (1/3) tan⁻¹((x + 2)/3) + C.
Worked example 3: under a square root
∫ 1/√(6x − x² − 5) dx. Write 6x − x² − 5 = −(x² − 6x + 5) = −[(x − 3)² − 4] = 4 − (x − 3)². This is the a² − x² form with a = 2: sin⁻¹((x − 3)/2) + C. Similarly x² + 6x + 10 = (x + 3)² + 1, so ∫ 1/√(x² + 6x + 10) dx = ln|x + 3 + √(x² + 6x + 10)| + C.
Worked example 4: a linear numerator
For ∫ (px + q)/(ax² + bx + c) dx, write the numerator as λ × (derivative of the denominator) + μ. The λ part gives a log and the μ part gives the table. Take ∫ (3x + 1)/(x² + 4x + 8) dx. The derivative of the denominator is 2x + 4, and 3x + 1 = (3/2)(2x + 4) − 5. So the integral is (3/2) ln(x² + 4x + 8) − 5 ∫ dx/((x + 2)² + 4) = (3/2) ln(x² + 4x + 8) − (5/2) tan⁻¹((x + 2)/2) + C.
Worked example 5: a square root on top
∫ √(4 − x²) dx with a = 2 is (x/2)√(4 − x²) + 2 sin⁻¹(x/2) + C, since a²/2 = 2. This is the result behind the area of a circle in lesson 5.
Traps
- Mixing up 1/(2a) and 1/a: the log forms have 1/(2a), tan⁻¹ has 1/a, sin⁻¹ has no factor.
- Losing the shift: after completing the square every x in the answer becomes x + b/(2a), including inside the square root.
- Forgetting the coefficient of x²: take it out first (or out of the root as its square root).
Key takeaways: learn the nine special integrals with their constants, complete the square to reach them, and split a linear numerator into a multiple of the derivative plus a constant.
Check your understanding
-
1. Find ∫ 1/(x² + 25) dx.
- (1/5) tan⁻¹(x/5) + C
- tan⁻¹(x/5) + C
- 5 tan⁻¹(x/5) + C
- (1/10) ln|(x − 5)/(x + 5)| + C
Show answer
Answer: A. This is 1/(x² + a²) with a = 5, so (1/a) tan⁻¹(x/a) = (1/5) tan⁻¹(x/5) + C. The log form is for x² − a².
-
2. Find ∫ 1/(16 − x²) dx.
- (1/4) ln|(4 + x)/(4 − x)| + C
- (1/8) ln|(4 − x)/(4 + x)| + C
- (1/8) ln|(4 + x)/(4 − x)| + C
- (1/4) tan⁻¹(x/4) + C
Show answer
Answer: C. The a² − x² form with a = 4 gives (1/(2a)) ln|(a + x)/(a − x)| = (1/8) ln|(4 + x)/(4 − x)| + C.
-
3. Find ∫ 1/√(x² + 2x + 5) dx.
- sin⁻¹((x + 1)/2) + C
- ln|x + 1 + √(x² + 2x + 5)| + C
- (1/2) tan⁻¹((x + 1)/2) + C
- ln|x + √(x² + 2x + 5)| + C
Show answer
Answer: B. x² + 2x + 5 = (x + 1)² + 4, the x² + a² form under a root with x + 1 in place of x. So ln|(x + 1) + √(x² + 2x + 5)| + C. Leaving out the +1 is the shift trap.
-
4. Find ∫ 1/(x² − 6x + 13) dx.
- tan⁻¹((x − 3)/2) + C
- (1/2) tan⁻¹((x + 3)/2) + C
- (1/4) ln|(x − 5)/(x − 1)| + C
- (1/2) tan⁻¹((x − 3)/2) + C
Show answer
Answer: D. x² − 6x + 13 = (x − 3)² + 4, so a = 2 and the result is (1/2) tan⁻¹((x − 3)/2) + C.
-
5. Find ∫ √(9 − x²) dx.
- (x/2)√(9 − x²) + (9/2) sin⁻¹(x/3) + C
- (x/2)√(9 − x²) − (9/2) sin⁻¹(x/3) + C
- x√(9 − x²) + 9 sin⁻¹(x/3) + C
- (x/2)√(9 − x²) + (9/2) sin⁻¹ x + C
Show answer
Answer: A. With a = 3: (x/2)√(a² − x²) + (a²/2) sin⁻¹(x/a) = (x/2)√(9 − x²) + (9/2) sin⁻¹(x/3) + C.
Sign in to keep track of the lessons you finish.