Class 12 Maths, Worked in Full Past papersGet updates
Chapter 7 · Integrals

Miscellaneous · Q6: ∫5x(x+1)(x2+9) dx\int\frac{5x}{(x+1)(x^2+9)}\,dx

Miscellaneous ExercisePartial fractions with a quadratic factor · Miscellaneous Exercise on Chapter 7
The question

Integrate the functions in Exercises 1 to 23.

6. 5x(x+1)(x2+9)\dfrac{5x}{(x+1)(x^2+9)}

Exam answer

Let I=∫5x dx(x+1)(x2+9)I = \displaystyle\int\frac{5x\,dx}{(x + 1)(x^2 + 9)}⁠.

Let

5x(x+1)(x2+9)=Ax+1+Bx+Cx2+9\begin{aligned} &\frac{5x}{(x + 1)(x^2 + 9)} \\ &= \frac{A}{x + 1} + \frac{Bx + C}{x^2 + 9} \end{aligned} ⇒ 5x=A(x2+9)+(Bx+C)(x+1)\begin{aligned} \Rightarrow\ 5x &= A(x^2 + 9) \\ &\quad + (Bx + C)(x + 1) \end{aligned}

Putting x=−1x = -1⁠: −5=10A-5 = 10A⁠, so A=−12A = -\frac12⁠.

Comparing coefficients of x2x^2⁠: A+B=0A + B = 0⁠, so B=12B = \frac12⁠. Comparing constant terms: 9A+C=09A + C = 0⁠, so C=92C = \frac92⁠.

∴ I=−12∫dxx+1+12∫x dxx2+9+92∫dxx2+9\begin{aligned} \therefore\ I &= -\frac12\int\frac{dx}{x + 1} \\ &\quad + \frac12\int\frac{x\,dx}{x^2 + 9} \\ &\quad + \frac92\int\frac{dx}{x^2 + 9} \end{aligned}

Using ∫dxx2+a2=1atan⁡−1xa+c\displaystyle\int\frac{dx}{x^2 + a^2} = \frac1a\tan^{-1}\frac{x}{a} + c⁠,

I=−12log⁡∣x+1∣+14log⁡(x2+9)+92⋅13tan⁡−1x3+c\begin{aligned} I &= -\frac12\log|x + 1| + \frac14\log(x^2 + 9) \\ &\quad + \frac92\cdot\frac13\tan^{-1}\frac{x}{3} + c \end{aligned}

∴ I=−12log⁡∣x+1∣\therefore\ I = -\dfrac12\log|x + 1| +14log⁡(x2+9)+ \dfrac14\log(x^2 + 9) +32tan⁡−1x3+c+ \dfrac32\tan^{-1}\dfrac{x}{3} + c⁠.

Want the reason behind every step, the basics and the checks?

The one idea this problem is built on

A proper rational function whose denominator is a linear factor times a quadratic that cannot be factorised (x2+9x^2 + 9 has no real roots). Table 7.2, row 5 gives the form Ax+1+Bx+Cx2+9\frac{A}{x+1} + \frac{Bx + C}{x^2+9}⁠. The quadratic piece then splits into a part that is a logarithm (numerator a multiple of the derivative 2x2x⁠) and a part that is an inverse tangent.

Given, to find, and the plan
Given
f(x)=5x(x+1)(x2+9)f(x) = \dfrac{5x}{(x+1)(x^2+9)}⁠, defined for x≠−1x \ne -1 (x2+9≥9>0x^2 + 9 \ge 9 > 0⁠).
To find
∫5x(x+1)(x2+9) dx\displaystyle\int\frac{5x}{(x+1)(x^2+9)}\,dx⁠.
Plan
(1) Choose the method. (2) Write the form. (3) Find AA⁠, BB⁠, CC⁠. (4) Integrate the linear piece. (5) Integrate the quadratic piece in two parts. (6) Assemble. (7) Differentiate back.

Basics you need

1Table 7.2, row 5

When x2+bx+cx^2 + bx + c cannot be factorised, px2+qx+r(x−a)(x2+bx+c)\frac{px^2 + qx + r}{(x-a)(x^2+bx+c)} splits as Ax−a+Bx+Cx2+bx+c\frac{A}{x-a} + \frac{Bx + C}{x^2 + bx + c}⁠. Lesson: partial fractions

2Numerator = derivative of denominator

∫g′(x)g(x) dx=log⁡∣g(x)∣+C\int\frac{g'(x)}{g(x)}\,dx = \log|g(x)| + C (substitution t=g(x)t = g(x)⁠). Basics: substitution

3Formula (3) of Section 7.4

∫dxx2+a2=1atan⁡−1xa+C\int\frac{dx}{x^2 + a^2} = \frac1a\tan^{-1}\frac xa + C⁠. Lesson: integrals of particular functions

Solution

  1. Choose the method

    The numerator 5x5x has degree 1 and the denominator degree 3, so the fraction is proper. The factor x2+9x^2 + 9 has discriminant 0−36<00 - 36 < 0⁠, so it has no real roots and cannot be factorised further.

    Neither a standard formula nor a single substitution fits the whole fraction (the numerator is not a multiple of the derivative of (x+1)(x2+9)(x+1)(x^2+9)⁠). Partial fractions break it into pieces we can integrate, and row 5 of Table 7.2 is exactly the "linear times irreducible quadratic" case.
    Section 7.5, Table 7.2 row 5. Basics: splitting fractions
  2. Write the partial fraction form

    5x(x+1)(x2+9)=Ax+1+Bx+Cx2+9.\frac{5x}{(x+1)(x^2+9)} = \frac{A}{x+1} + \frac{Bx + C}{x^2+9}.

    Multiply by (x+1)(x2+9)(x+1)(x^2+9)⁠:

    5x=A(x2+9)+(Bx+C)(x+1).(1)5x = A(x^2 + 9) + (Bx + C)(x + 1). \quad (1)
    Over an irreducible quadratic the numerator must be allowed to be linear, Bx+CBx + C⁠, not just a constant. Equation (1) is a polynomial identity, true for every real xx⁠.
    Table 7.2, row 5 (Basic 1).
  3. Find AA⁠, BB and CC

    x=−1x = -1 (root of x+1x + 1⁠): −5=A(1+9)=10A-5 = A(1 + 9) = 10A⁠, so A=−12A = -\frac12⁠.

    Expand the right side of (1):

    (A+B)x2+(B+C)x+(9A+C).(A + B)x^2 + (B + C)x + (9A + C).

    Compare with 0x2+5x+00x^2 + 5x + 0⁠:

    x2:A+B=0 ⇒ B=12,constant:9A+C=0 ⇒ C=92,x:B+C=12+92=5. ✓\begin{aligned} x^2:&\quad A + B = 0 \ \Rightarrow\ B = \tfrac12, \\ \text{constant}:&\quad 9A + C = 0 \ \Rightarrow\ C = \tfrac92, \\ x:&\quad B + C = \tfrac12 + \tfrac92 = 5. \ \checkmark \end{aligned}

    So

    5x(x+1)(x2+9)=−12(x+1)+x+92(x2+9).\frac{5x}{(x+1)(x^2+9)} = -\frac{1}{2(x+1)} + \frac{x + 9}{2(x^2+9)}.
    The root of x+1x + 1 gives AA immediately; the quadratic has no real root to put in, so we compare coefficients for the rest. Three equations for two remaining unknowns: the third one is a free check.
    Equal polynomials have equal coefficients. Basics: splitting fractions
  4. Integrate the linear piece

    ∫−12(x+1) dx=−12log⁡∣x+1∣.\int -\frac{1}{2(x+1)}\,dx = -\frac12\log|x+1|.
    With t=x+1t = x + 1⁠, dt=dxdt = dx⁠, this is standard formula (xii). The absolute value stays, since x+1x + 1 can be negative.
    Standard formula (xii), Section 7.2. Basics: logarithms and 1/x
  5. Integrate the quadratic piece in two parts

    Split the numerator: x+92(x2+9)=12⋅xx2+9+92⋅1x2+9\dfrac{x + 9}{2(x^2+9)} = \dfrac12\cdot\dfrac{x}{x^2+9} + \dfrac92\cdot\dfrac{1}{x^2+9}⁠.

    First part: t=x2+9t = x^2 + 9⁠, dt=2x dxdt = 2x\,dx⁠:

    12∫x dxx2+9=12⋅12∫dtt=14log⁡(x2+9).\frac12\int\frac{x\,dx}{x^2+9} = \frac12\cdot\frac12\int\frac{dt}{t} = \frac14\log(x^2+9).

    Second part: formula (3) of Section 7.4 with a=3a = 3⁠:

    92∫dxx2+32=92⋅13tan⁡−1x3=32tan⁡−1x3.\frac92\int\frac{dx}{x^2+3^2} = \frac92\cdot\frac13\tan^{-1}\frac x3 = \frac32\tan^{-1}\frac x3.
    The xx in the numerator is half the derivative of x2+9x^2 + 9⁠, so that part is a logarithm; the constant part is a "1x2+a2\frac{1}{x^2 + a^2}" standard form. No absolute value is needed in log⁡(x2+9)\log(x^2 + 9) because x2+9>0x^2 + 9 > 0⁠.
    Substitution, Section 7.3.1; formula (3), Section 7.4. Lesson: integrals of particular functions
  6. Assemble the answer

    ∫f(x) dx=−12log⁡∣x+1∣+14log⁡(x2+9)+32tan⁡−1x3+C.\begin{aligned} \int f(x)\,dx &= -\frac12\log|x+1| + \frac14\log(x^2+9) \\ &\quad + \frac32\tan^{-1}\frac x3 + C. \end{aligned}
    The three pieces from Steps 4 and 5 are added, with one constant CC⁠. This is exactly the textbook's answer.
    Properties (III), (IV), Section 7.2.1.
  7. Check: differentiate the answer

    Using ddxtan⁡−1x3=1/31+x2/9=3x2+9\frac{d}{dx}\tan^{-1}\frac x3 = \frac{1/3}{1 + x^2/9} = \frac{3}{x^2+9}⁠:

    F′=−12(x+1)+2x4(x2+9)+32⋅3x2+9=−12(x+1)+x+92(x2+9)=−(x2+9)+(x+9)(x+1)2(x+1)(x2+9)=10x2(x+1)(x2+9)=5x(x+1)(x2+9). ✓\begin{aligned} F' &= -\frac{1}{2(x+1)} + \frac{2x}{4(x^2+9)} + \frac32\cdot\frac{3}{x^2+9} \\ &= -\frac{1}{2(x+1)} + \frac{x + 9}{2(x^2+9)} \\ &= \frac{-(x^2+9) + (x+9)(x+1)}{2(x+1)(x^2+9)} \\ &= \frac{10x}{2(x+1)(x^2+9)} = \frac{5x}{(x+1)(x^2+9)}. \ \checkmark \end{aligned}
    (x+9)(x+1)=x2+10x+9(x + 9)(x + 1) = x^2 + 10x + 9⁠, and subtracting x2+9x^2 + 9 leaves 10x10x⁠. The answer is valid on each of the intervals x<−1x < -1 and x>−1x > -1⁠.
    Chain rule; derivative of tan⁡−1\tan^{-1}⁠, Chapter 5. Basics: integration undoes differentiation
Result

For x≠−1x \ne -1⁠:

∫5x(x+1)(x2+9) dx=−12log⁡∣x+1∣+14log⁡(x2+9)+32tan⁡−1x3+C.\begin{aligned} &\int\frac{5x}{(x+1)(x^2+9)}\,dx \\ &= -\frac12\log|x+1| + \frac14\log(x^2+9) \\ &\quad + \frac32\tan^{-1}\frac x3 + C. \end{aligned}

Textbook answer:

−12log⁡∣x+1∣+14log⁡(x2+9)+32tan⁡−1x3+C,\begin{aligned} &-\frac12\log|x+1| + \frac14\log(x^2+9) \\ &\quad + \frac32\tan^{-1}\frac x3 + C, \end{aligned}

the same.

Check it with numbers

Decomposition at x=1x = 1⁠: the integrand is 52⋅10=14\frac{5}{2\cdot10} = \frac14⁠, and −14+1020=14-\frac14 + \frac{10}{20} = \frac14⁠. ✓

Area check on [0,3][0, 3]⁠:

F(3)−F(0)=−12log⁡4+14log⁡18+3π8−14log⁡9=3π8−34log⁡2≈0.6582369.\begin{aligned} F(3) - F(0) &= -\tfrac12\log4 + \tfrac14\log18 \\ &\quad + \tfrac{3\pi}{8} - \tfrac14\log 9 \\ &= \tfrac{3\pi}{8} - \tfrac34\log 2 \approx 0.6582369. \end{aligned}

Numerical integration from 0 to 3 also gives 0.65823690.6582369⁠.

Common mistakes
  1. Using Bx2+9\frac{B}{x^2+9} (a constant numerator) over the quadratic. The identity (1) then has no solution.
  2. Writing ∫x dxx2+9=log⁡(x2+9)\int\frac{x\,dx}{x^2+9} = \log(x^2+9): the derivative of x2+9x^2+9 is 2x2x⁠, so a factor 12\frac12 is needed.
  3. Forgetting the 13\frac13 in ∫dxx2+9=13tan⁡−1x3\int\frac{dx}{x^2+9} = \frac13\tan^{-1}\frac x3⁠.
What to take away
  1. Over an irreducible quadratic, the partial fraction numerator is linear, Bx+CBx + C⁠.
  2. ∫Bx+Cx2+a2 dx\int\frac{Bx + C}{x^2 + a^2}\,dx always splits into a logarithm (from BxBx⁠) and an inverse tangent (from CC⁠).
  3. Find what you can from real roots, then compare coefficients; keep one equation spare as a check.

Every fact used, and where it comes from

FactUsed inSource
x2+9x^2 + 9 is irreducible (negative discriminant)Step 1Algebra
Form Ax−a+Bx+Cx2+bx+c\frac{A}{x-a} + \frac{Bx + C}{x^2 + bx + c}Step 2Table 7.2, row 5, Section 7.5
Equal polynomials have equal coefficientsStep 3Algebra (Basics)
∫dxx=log⁡∣x∣+C\int\frac{dx}{x} = \log|x| + CSteps 4, 5Standard formula (xii), Section 7.2
Substitution t=x2+9t = x^2 + 9Step 5Section 7.3.1
∫dxx2+a2=1atan⁡−1xa+C\int\frac{dx}{x^2 + a^2} = \frac1a\tan^{-1}\frac xa + CStep 5Formula (3), Section 7.4
Integral of a sum; constants outsideStep 6Properties (III), (IV), Section 7.2.1
Derivatives of log⁡∣u∣\log|u| and tan⁡−1u\tan^{-1}uStep 7Chapter 5
All decimalsCheckRecomputed in the site's verification script
Found an error, or want more?

Tell us if something on this page is wrong or unclear, or if you would like a fuller explanation, another method or a new feature. Send feedback on this problem →