A log part and a standard part
Write px + q = A·(derivative of the bottom) + B, then split.
Almost a log
∫ (4x + 6)/(2x² + 6x + 5) dx is easy: the top is the derivative of the bottom, so it is log |2x² + 6x + 5|. But the book asks for ∫ (x + 2)/(2x² + 6x + 5) dx.
Can x + 2 be built from 4x + 6?
What this lesson covers
The idea
Write px + q = A·d/dx(ax² + bx + c) + B = A(2ax + b) + B, find A and B by equating coefficients, and split the integral into a log part and a standard part; the same works with a square root in the denominator.
Almost a log
∫ (4x + 6)/(2x² + 6x + 5) dx is easy: the top is the derivative of the bottom, so it is log |2x² + 6x + 5|. But the book asks for ∫ (x + 2)/(2x² + 6x + 5) dx.
Can x + 2 be built from 4x + 6?
- Yes, as a multiple of 4x + 6 plus a constant
- Yes, x + 2 is a multiple of 4x + 6
- No
Find A and B
Step A and B until both coefficients match. Then the integral splits into a log part and a standard part. The first two are the book's Example 10.
Split the top
For ∫ (px + q)/(ax² + bx + c) dx, find A and B with px + q = A·d/dx(ax² + bx + c) + B = A(2ax + b) + B, by equating the coefficients of x and the constant terms.
Then the integral splits: A ∫ (2ax + b)/(ax² + bx + c) dx is a log (the top is the derivative of the bottom), and B ∫ dx/(ax² + bx + c) is done by completing the square.
The same works with a square root in the bottom: the A part gives 2√(ax² + bx + c) (since ∫ dt/√t = 2√t), and the B part is a √ standard form.
Book, Example 10(i): equating coefficients in x + 2 = A(4x + 6) + B gives 4A = 1 and 6A + B = 2, so A = 1/4 and B = 1/2.
Notes
px + q = A·d/dx(ax² + bx + c) + B: find A and B by equating coefficients. The A part integrates to a log (or to 2√ under a root). The B part is a standard form after completing the square.
Check yourself
6x + 7 = A(2x + 4) + B, where 2x + 4 is the derivative of x² + 4x + 5. Find A.
Answer: 3
Coefficient of x: 2A = 6, so A = 3. Constant: 4A + B = 7, so B = 7 − 12 = −5.
Same identity: 6x + 7 = 3(2x + 4) + B. Find B.
Answer: -5
7 = 12 + B, so B = −5. Then ∫ (6x + 7)/(x² + 4x + 5) dx = 3 log |x² + 4x + 5| − 5 tan⁻¹(x + 2) + C.
After finding A and B, the A part ∫ (2ax + b)/(ax² + bx + c) dx is…
- tan⁻¹ of something. That comes from the B part, after completing the square.
- log |ax² + bx + c| + C — correct. Yes! The top is the derivative of the bottom, so t = ax² + bx + c gives ∫ dt/t = log |t|.
- (ax² + bx + c)² / 2. That would be ∫ t dt, but here t is in the bottom.
- always zero. It is a log, not zero.