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

Exercise 7.8 · Q16: ∫125x2x2+4x+3 dx\int_1^2 \frac{5x^2}{x^2 + 4x + 3}\,dx

Exercise 7.8Fundamental theorem of calculus · Section 7.8
The question

Evaluate the definite integral

∫125x2x2+4x+3\int_1^2 \frac{5x^2}{x^2 + 4x + 3}

(The book prints this without "dxdx"; the variable of integration is xx⁠.)

Exam answer

Let I=∫125x2x2+4x+3 dxI = \displaystyle\int_1^2 \frac{5x^2}{x^2 + 4x + 3}\,dx⁠.

Dividing 5x25x^2 by x2+4x+3x^2 + 4x + 3⁠,

5x2x2+4x+3=5−20x+15(x+1)(x+3)\begin{aligned} &\frac{5x^2}{x^2 + 4x + 3} \\ &= 5 - \frac{20x + 15}{(x + 1)(x + 3)} \end{aligned}

Let

20x+15(x+1)(x+3)=Ax+1+Bx+3\frac{20x + 15}{(x + 1)(x + 3)} = \frac{A}{x + 1} + \frac{B}{x + 3} ⇒ 20x+15=A(x+3)+B(x+1)\begin{aligned} \Rightarrow\ 20x + 15 &= A(x + 3) \\ &\quad + B(x + 1) \end{aligned}

Putting x=−1x = -1⁠: −5=2A-5 = 2A⁠, so A=−52A = -\frac52⁠.

Putting x=−3x = -3⁠: −45=−2B-45 = -2B⁠, so B=452B = \frac{45}{2}⁠.

∴ I=∫12(5+52(x+1)−452(x+3))dx=[5x+52log⁡∣x+1∣−452log⁡∣x+3∣]12=(10+52log⁡3−452log⁡5)−(5+52log⁡2−452log⁡4)=5+52(log⁡3−log⁡2)−452(log⁡5−log⁡4)\begin{aligned} \therefore\ I &= \int_1^2\bigg(5 + \frac{5}{2(x + 1)} \\ &\qquad - \frac{45}{2(x + 3)}\bigg)dx \\ &= \Big[5x + \frac52\log|x + 1| \\ &\qquad - \frac{45}{2}\log|x + 3|\Big]_1^2 \\ &= \left(10 + \frac52\log 3 - \frac{45}{2}\log 5\right) \\ &\quad - \left(5 + \frac52\log 2 - \frac{45}{2}\log 4\right) \\ &= 5 + \frac52(\log 3 - \log 2) \\ &\quad - \frac{45}{2}(\log 5 - \log 4) \end{aligned}

∴ I=5+52log⁡32−452log⁡54\therefore\ I = 5 + \dfrac52\log\dfrac32 - \dfrac{45}{2}\log\dfrac54⁠.

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

The one idea this problem is built on

The fraction is improper (numerator and denominator both have degree 2), so first divide to get "a constant plus a proper fraction" (Section 7.5). The proper fraction has the denominator (x+1)(x+3)(x + 1)(x + 3) and splits into partial fractions, each of which integrates to a logarithm. Then Theorem 2 (Section 7.8.3) gives F(2)−F(1)F(2) - F(1)⁠.

Given, to find, and the plan
Given
The integrand f(x)=5x2x2+4x+3f(x) = \frac{5x^2}{x^2 + 4x + 3} on [1,2][1, 2]⁠.
To find
The exact value of the integral, and a decimal.
Plan
(1) Factor the denominator and check continuity. (2) Long division. (3) Partial fractions. (4) Integrate to get FF⁠. (5) Differentiate FF back. (6) Compute F(2)−F(1)F(2) - F(1) and match the book's form.

Basics you need

1Second fundamental theorem

∫abf(x) dx=F(b)−F(a)\int_a^b f(x)\,dx = F(b) - F(a) when ff is continuous on [a,b][a, b] and F′=fF' = f⁠. Lesson: definite integrals and the fundamental theorem

2Improper fractions

If the degree of the numerator is not less than that of the denominator, divide first: PQ=T+P1Q\frac{P}{Q} = T + \frac{P_1}{Q} with P1Q\frac{P_1}{Q} proper (Section 7.5). Basics: splitting fractions

3Partial fractions

px+q(x−a)(x−b)=Ax−a+Bx−b\frac{px + q}{(x - a)(x - b)} = \frac{A}{x - a} + \frac{B}{x - b} (Table 7.2, form 1). Lesson: partial fractions

4Logarithms

∫dxx+k=log⁡∣x+k∣+C\int\frac{dx}{x + k} = \log|x + k| + C⁠; log⁡a−log⁡b=log⁡ab\log a - \log b = \log\frac{a}{b}⁠. Basics: logarithms and 1/x

Solution

  1. Factor the denominator and check continuity on [1,2][1, 2]

    x2+4x+3=(x+1)(x+3)x^2 + 4x + 3 = (x + 1)(x + 3)⁠, because 1⋅3=31 \cdot 3 = 3 and 1+3=41 + 3 = 4⁠. It is 0 only at x=−1x = -1 and x=−3x = -3⁠, both outside [1,2][1, 2]⁠. On [1,2][1, 2] both factors are positive, so the integrand is continuous there.

    Theorem 2 needs continuity on the whole closed interval. A rational function is continuous wherever its denominator is not 0.
    Factorising a quadratic: find two numbers with product 3 and sum 4. Lesson: the fundamental theorem
  2. Long division

    5x2=5(x2+4x+3)−20x−155x^2 = 5(x^2 + 4x + 3) - 20x - 15⁠, so

    5x2x2+4x+3=5−20x+15(x+1)(x+3).\frac{5x^2}{x^2 + 4x + 3} = 5 - \frac{20x + 15}{(x + 1)(x + 3)}.
    Partial fractions only work for proper fractions. Dividing 5x25x^2 by x2+4x+3x^2 + 4x + 3 gives quotient 5; the remainder is 5x2−5x2−20x−15=−20x−155x^2 - 5x^2 - 20x - 15 = -20x - 15⁠, of degree 1, less than 2.
    PQ=T+P1Q\frac{P}{Q} = T + \frac{P_1}{Q}⁠, Section 7.5. Basics: splitting fractions
  3. Partial fractions for 20x+15(x+1)(x+3)\frac{20x + 15}{(x + 1)(x + 3)}

    Write 20x+15(x+1)(x+3)=Ax+1+Bx+3\frac{20x + 15}{(x + 1)(x + 3)} = \frac{A}{x + 1} + \frac{B}{x + 3} and clear denominators:

    20x+15=A(x+3)+B(x+1).20x + 15 = A(x + 3) + B(x + 1).

    Put x=−1x = -1⁠: −5=2A-5 = 2A⁠, so A=−52A = -\frac52⁠. Put x=−3x = -3⁠: −45=−2B-45 = -2B⁠, so B=452B = \frac{45}{2}⁠.

    Coefficient check: A+B=20A + B = 20 ✓ (coefficient of xx⁠) and 3A+B=−152+452=153A + B = -\frac{15}{2} + \frac{45}{2} = 15 ✓ (constant term). Therefore

    5x2x2+4x+3=5−−52x+1−452x+3=5+52(x+1)−452(x+3).\begin{aligned}\frac{5x^2}{x^2 + 4x + 3} &= 5 - \frac{-\frac52}{x + 1} - \frac{\frac{45}{2}}{x + 3} \\ &= 5 + \frac{5}{2(x + 1)} - \frac{45}{2(x + 3)}.\end{aligned}
    The cleared identity holds for every xx⁠, so we may put in the roots of the factors: each choice kills one constant and isolates the other. Watch the signs: subtracting Ax+1\frac{A}{x + 1} with A=−52A = -\frac52 gives +52(x+1)+\frac{5}{2(x + 1)}⁠.
    Table 7.2, form 1, Section 7.5. Lesson: partial fractions
  4. Integrate term by term

    F(x)=5x+52log⁡∣x+1∣−452log⁡∣x+3∣.F(x) = 5x + \frac52\log|x + 1| - \frac{45}{2}\log|x + 3|.

    On [1,2][1, 2]⁠, x+1x + 1 and x+3x + 3 are positive, so the bars can be dropped there.

    ∫5 dx=5x\int 5\,dx = 5x⁠, and ∫dxx+k=log⁡∣x+k∣\int\frac{dx}{x + k} = \log|x + k| (shift u=x+ku = x + k⁠, du=dxdu = dx⁠, then standard formula (xii)). Constants come outside the integral.
    Standard formula (xii), Section 7.2; Properties (III), (IV), Section 7.2.1. Basics: logarithms and 1/x
  5. Check: differentiate FF back

    F′(x)=5+52(x+1)−452(x+3).F'(x) = 5 + \frac{5}{2(x + 1)} - \frac{45}{2(x + 3)}.

    Over the common denominator 2(x+1)(x+3)2(x + 1)(x + 3) the numerator is

    10(x2+4x+3)+5(x+3)−45(x+1)=10x2+40x+30+5x+15−45x−45=10x2,\begin{aligned}&10(x^2 + 4x + 3) + 5(x + 3) - 45(x + 1) \\ &= 10x^2 + 40x + 30 + 5x + 15 - 45x - 45 \\ &= 10x^2,\end{aligned}

    so F′(x)=10x22(x+1)(x+3)=5x2x2+4x+3F'(x) = \frac{10x^2}{2(x + 1)(x + 3)} = \frac{5x^2}{x^2 + 4x + 3}⁠. ✓

    The xx terms cancel (40+5−45=040 + 5 - 45 = 0⁠) and so do the constants (30+15−45=030 + 15 - 45 = 0⁠), leaving exactly the original numerator.
    Property (I), Section 7.2.1. Basics: integration undoes differentiation
  6. Evaluate F(2)−F(1)F(2) - F(1)

    F(2)=10+52log⁡3−452log⁡5,F(1)=5+52log⁡2−452log⁡4.\begin{aligned}F(2) &= 10 + \tfrac52\log 3 - \tfrac{45}{2}\log 5, \\ F(1) &= 5 + \tfrac52\log 2 - \tfrac{45}{2}\log 4.\end{aligned}

    Subtract, grouping like logarithms:

    I=5+52(log⁡3−log⁡2)−452(log⁡5−log⁡4)=5+52log⁡32−452log⁡54.\begin{aligned}I &= 5 + \tfrac52(\log 3 - \log 2) - \tfrac{45}{2}(\log 5 - \log 4) \\ &= 5 + \frac52\log\frac32 - \frac{45}{2}\log\frac54.\end{aligned}

    In decimals: 52log⁡32≈1.0136628\frac52\log\frac32 \approx 1.0136628 and 452log⁡54≈5.0207299\frac{45}{2}\log\frac54 \approx 5.0207299⁠, so

    I≈5+1.0136628−5.0207299=0.9929329.I \approx 5 + 1.0136628 - 5.0207299 = 0.9929329.

    The book's form. Take out −52-\frac52 from the two log terms, using 452=52⋅9\frac{45}{2} = \frac52\cdot 9⁠:

    I=5−52(9log⁡54−log⁡32),I = 5 - \frac52\left(9\log\frac54 - \log\frac32\right),

    which is exactly the textbook answer.

    1 2 0.5 1 1.5 x y y = 5x²/(x² + 4x + 3) area ≈ 0.993
    The shaded region under y=5x2x2+4x+3y = \frac{5x^2}{x^2 + 4x + 3} from 1 to 2 has area about 0.993. The curve rises from 58=0.625\frac58 = 0.625 to 2015≈1.333\frac{20}{15} \approx 1.333⁠, and the area lies between those two heights times the width 1.
    The large numbers 5 and 5.02 nearly cancel, which is why careful grouping matters: the answer is just under 1. The figure confirms the size.
    log⁡a−log⁡b=log⁡ab\log a - \log b = \log\frac{a}{b}⁠. Basics: logarithms and 1/x
Result ∫125x2 dxx2+4x+3=5+52log⁡32−452log⁡54=5−52(9log⁡54−log⁡32)\begin{aligned}\int_1^2\frac{5x^2\,dx}{x^2 + 4x + 3} &= 5 + \frac52\log\frac32 - \frac{45}{2}\log\frac54 \\ &= 5 - \frac52\left(9\log\frac54 - \log\frac32\right)\end{aligned}

≈0.9929329\approx 0.9929329⁠. (Textbook answer: 5−52(9log⁡54−log⁡32)5 - \frac52\left(9\log\frac54 - \log\frac32\right)⁠.)

Check it with numbers

A numerical integration of 5x2x2+4x+3\frac{5x^2}{x^2 + 4x + 3} over [1,2][1, 2] gives about 0.9929329, the same as the exact value to 7 decimal places.

Decomposition at x=2x = 2⁠: 2015≈1.3333333\frac{20}{15} \approx 1.3333333 and 5+56−4510=1.33333335 + \frac{5}{6} - \frac{45}{10} = 1.3333333⁠.

Common mistakes
  1. Skipping the division. Partial fractions Ax+1+Bx+3\frac{A}{x + 1} + \frac{B}{x + 3} cannot equal an improper fraction; the constant 5 would be lost.
  2. Sign slips after the minus. The proper part is subtracted, so A=−52A = -\frac52 turns into +52(x+1)+\frac{5}{2(x + 1)}⁠.
  3. Rounding early. 5+1.01−5.025 + 1.01 - 5.02 leaves very few correct digits; keep the exact form until the end.
What to take away
  1. Improper rational function: divide first, then split the proper part into partial fractions.
  2. Check partial fractions twice: by the root substitution and by comparing coefficients.
  3. Two log answers that look different can be the same number: factor out a common constant to compare.

Every fact used, and where it comes from

FactUsed inSource
∫abf=F(b)−F(a)\int_a^b f = F(b) - F(a) for continuous ffSteps 1, 6Theorem 2, Section 7.8.3 (Lesson)
Improper fraction == polynomial ++ proper fractionStep 2Section 7.5 (Basics)
Ax−a+Bx−b\frac{A}{x - a} + \frac{B}{x - b}Step 3Table 7.2, form 1, Section 7.5 (Lesson)
∫dxx=log⁡∣x∣+C\int\frac{dx}{x} = \log|x| + CStep 4Standard formula (xii), Section 7.2
Sum and constant-multiple rulesStep 4Properties (III), (IV), Section 7.2.1
Laws of logarithmsStep 6Logarithms (Basics)
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 →