← Back to all lessons
Class 12Calculus10:32Published 10 Sept 2024

Integration Reduced to Special Forms (Part 2)

How to integrate a linear expression over a quadratic, and over the square root of a quadratic, by splitting the numerator into a multiple of the derivative of the quadratic plus a constant.

This Class 12 lesson tackles integrals where a linear numerator sits over a quadratic, or over the square root of a quadratic. The method is to write the numerator as a constant times the derivative of the quadratic plus another constant, find both constants by comparing coefficients, and then split the integral into a logarithm (or square root) part and a standard-form part. Two worked examples show the full working, including completing the square to reach the standard inverse-tangent and inverse-sine results.

What you'll learn

  • Splitting a linear numerator into a multiple of the derivative of the quadratic plus a constant
  • Finding the two unknown constants by comparing coefficients of x and the constant terms
  • Reaching a logarithm from one part and an inverse tangent or inverse sine from the other by completing the square

Lesson chapters

0:00The method and its two standard forms
1:08Example: a linear term over a quadratic
2:06Finding the constants by comparing coefficients
3:46Completing the square for the inverse tangent part
6:53Example: a linear term over a square root
9:04Completing the square for the inverse sine part

Lesson notes

This lesson shows how to integrate a linear expression divided by a quadratic, and a linear expression divided by the square root of a quadratic. The key idea is to rewrite the numerator Px+QPx + Q as a constant multiple of the derivative of the quadratic, plus a second constant.

The general method

For an integral of the form

Px+Qax2+bx+cdxorPx+Qax2+bx+cdx\int \frac{Px + Q}{ax^2 + bx + c}\,dx \qquad\text{or}\qquad \int \frac{Px + Q}{\sqrt{ax^2 + bx + c}}\,dx

write the numerator as

Px+Q=Addx(ax2+bx+c)+B=A(2ax+b)+B.Px + Q = A\cdot\frac{d}{dx}\bigl(ax^2 + bx + c\bigr) + B = A\,(2ax + b) + B.

Here AA and BB are real constants. Compare the coefficients of xx and the constant terms on both sides to find AA and BB, substitute them back, and integrate the two resulting pieces.

Example 1: a linear term over a quadratic

I=5x+23x2+2x+1dx.I = \int \frac{5x + 2}{3x^2 + 2x + 1}\,dx.

Write the numerator using the derivative of the denominator, ddx(3x2+2x+1)=6x+2\dfrac{d}{dx}(3x^2 + 2x + 1) = 6x + 2:

5x+2=A(6x+2)+B.5x + 2 = A\,(6x + 2) + B.

Comparing coefficients of xx:   6A=5\;6A = 5, so A=56A = \tfrac{5}{6}.

Comparing constants:   2A+B=2\;2A + B = 2, so 53+B=2\tfrac{5}{3} + B = 2 and B=13B = \tfrac{1}{3}.

The integral splits into two parts:

I=566x+23x2+2x+1dx+1313x2+2x+1dx=I1+I2.I = \tfrac{5}{6}\int \frac{6x + 2}{3x^2 + 2x + 1}\,dx + \tfrac{1}{3}\int \frac{1}{3x^2 + 2x + 1}\,dx = I_1 + I_2.

First part

The numerator 6x+26x + 2 is exactly the derivative of the denominator, so this is of the form f(x)f(x)dx=logf(x)\int \frac{f'(x)}{f(x)}\,dx = \log|f(x)|:

I1=56log3x2+2x+1.I_1 = \tfrac{5}{6}\,\log\bigl|3x^2 + 2x + 1\bigr|.

Second part

Take out the leading coefficient and complete the square:

I2=13dx3(x2+23x+13)=19dx(x+13)2+29.I_2 = \tfrac{1}{3}\int \frac{dx}{3\left(x^2 + \tfrac{2}{3}x + \tfrac{1}{3}\right)} = \tfrac{1}{9}\int \frac{dx}{\left(x + \tfrac{1}{3}\right)^2 + \tfrac{2}{9}}.

With (23)2=29\left(\tfrac{\sqrt{2}}{3}\right)^2 = \tfrac{2}{9}, use the standard result dxx2+a2=1atan1xa\int \frac{dx}{x^2 + a^2} = \tfrac{1}{a}\tan^{-1}\tfrac{x}{a}:

I2=1932tan1 ⁣(x+1323)=132tan1 ⁣(3x+12).I_2 = \tfrac{1}{9}\cdot \frac{3}{\sqrt{2}}\,\tan^{-1}\!\left(\frac{x + \tfrac{1}{3}}{\tfrac{\sqrt{2}}{3}}\right) = \frac{1}{3\sqrt{2}}\,\tan^{-1}\!\left(\frac{3x + 1}{\sqrt{2}}\right).

Combining,

I=56log3x2+2x+1+132tan1 ⁣(3x+12)+C.I = \tfrac{5}{6}\,\log\bigl|3x^2 + 2x + 1\bigr| + \frac{1}{3\sqrt{2}}\,\tan^{-1}\!\left(\frac{3x + 1}{\sqrt{2}}\right) + C.

Example 2: a linear term over a square root

I=x+24xx2dx.I = \int \frac{x + 2}{\sqrt{4x - x^2}}\,dx.

Using ddx(4xx2)=42x\dfrac{d}{dx}(4x - x^2) = 4 - 2x, write

x+2=A(42x)+B.x + 2 = A\,(4 - 2x) + B.

Comparing coefficients of xx:   2A=1\;-2A = 1, so A=12A = -\tfrac{1}{2}.

Comparing constants:   4A+B=2\;4A + B = 2, so 2+B=2-2 + B = 2 and B=4B = 4.

The integral splits as

I=1242x4xx2dx+4dx4xx2=I1+I2.I = -\tfrac{1}{2}\int \frac{4 - 2x}{\sqrt{4x - x^2}}\,dx + 4\int \frac{dx}{\sqrt{4x - x^2}} = I_1 + I_2.

First part

Put t=4xx2t = 4x - x^2, so dt=(42x)dxdt = (4 - 2x)\,dx:

I1=12dtt=122t=4xx2.I_1 = -\tfrac{1}{2}\int \frac{dt}{\sqrt{t}} = -\tfrac{1}{2}\cdot 2\sqrt{t} = -\sqrt{4x - x^2}.

Second part

Complete the square under the root, 4xx2=4(x2)24x - x^2 = 4 - (x - 2)^2, and use dxa2x2=sin1xa\int \frac{dx}{\sqrt{a^2 - x^2}} = \sin^{-1}\tfrac{x}{a}:

I2=4dx22(x2)2=4sin1 ⁣(x22).I_2 = 4\int \frac{dx}{\sqrt{2^2 - (x - 2)^2}} = 4\,\sin^{-1}\!\left(\frac{x - 2}{2}\right).

Combining,

I=4xx2+4sin1 ⁣(x22)+C.I = -\sqrt{4x - x^2} + 4\,\sin^{-1}\!\left(\frac{x - 2}{2}\right) + C.

Key takeaways

  • Write the linear numerator as AA times the derivative of the quadratic plus a constant BB, then find AA and BB by comparing coefficients.
  • The derivative part integrates to a logarithm (for a quadratic denominator) or a square root (for a square-root denominator).
  • The leftover constant part is finished by completing the square, giving an inverse tangent or an inverse sine.