Class 12 Maths, Worked in Full Past papersGet updates
CBSE Sample Paper 2022-23 · Section C · 3 marks

Q31: Find ∫x3+x+1x2−1 dx\int\frac{x^3 + x + 1}{x^2 - 1}\,dx

Sample 2022-23Ch 7 · Integrals
The question

Find ∫(x3+x+1)(x2−1) dx\displaystyle\int\frac{(x^3 + x + 1)}{(x^2 - 1)}\,dx

Exam answer

Let I=∫(x3+x+1)(x2−1) dxI = \int\frac{(x^3 + x + 1)}{(x^2 - 1)}\,dx⁠.

Dividing, x3+x+1=x(x2−1)+(2x+1)x^3 + x + 1 = x(x^2 - 1) + (2x + 1)⁠, so

Why?

The degree of the numerator (3) is not less than the degree of the denominator (2), so the fraction is improper. Divide first, then use partial fractions on the remainder.

x3÷x2=xx^3 \div x^2 = x⁠, and x(x2−1)=x3−xx(x^2 - 1) = x^3 - x⁠. Subtracting,

(x3+x+1)−(x3−x)=x3+x+1−x3+x=(x3−x3)+(x+x)+1=2x+1\begin{aligned} &(x^3 + x + 1) - (x^3 - x) \\ &= x^3 + x + 1 - x^3 + x \\ &= (x^3 - x^3) + (x + x) + 1 \\ &= 2x + 1 \end{aligned}

Also x2−1=(x−1)(x+1)x^2 - 1 = (x - 1)(x + 1)⁠, a difference of squares.

I=∫(x+2x+1(x−1)(x+1))dxI = \int\left(x + \frac{2x + 1}{(x - 1)(x + 1)}\right)dx

Now resolving into partial fractions, let

2x+1(x−1)(x+1)=Ax−1+Bx+1\frac{2x + 1}{(x - 1)(x + 1)} = \frac{A}{x - 1} + \frac{B}{x + 1}
Why?

The denominator has two different linear factors, so each one gets a constant over it.

⇒2x+1=A(x+1)+B(x−1)\Rightarrow 2x + 1 = A(x + 1) + B(x - 1)
Why?

Multiply both sides by (x−1)(x+1)(x - 1)(x + 1) to clear the denominators. This is true for every xx⁠, so we may choose convenient values: x=1x = 1 makes the BB term zero, and x=−1x = -1 makes the AA term zero.

Putting x=1x = 1⁠: 3=2A⇒A=323 = 2A \Rightarrow A = \frac32⁠.

Putting x=−1x = -1⁠: −1=−2B⇒B=12-1 = -2B \Rightarrow B = \frac12⁠.

Why?

Put each value into 2x+1=A(x+1)+B(x−1)2x + 1 = A(x + 1) + B(x - 1)⁠:

x=1:2(1)+1=A(1+1)+B(1−1) 3=2A+0 A=32x=−1:2(−1)+1 =A(−1+1)+B(−1−1) −1=0−2B B=−1−2=12\begin{aligned} x = 1&: 2(1) + 1 = A(1 + 1) + B(1 - 1) \\ &\ 3 = 2A + 0 \\ &\ A = \frac32 \\[4pt] x = -1&: 2(-1) + 1 \\ &\ = A(-1 + 1) + B(-1 - 1) \\ &\ -1 = 0 - 2B \\ &\ B = \frac{-1}{-2} = \frac12 \end{aligned}

Then 3/2x−1=32(x−1)\frac{3/2}{x - 1} = \frac{3}{2(x - 1)} and 1/2x+1=12(x+1)\frac{1/2}{x + 1} = \frac{1}{2(x + 1)}⁠.

∴ 2x+1(x−1)(x+1)=32(x−1)+12(x+1)\begin{aligned} \therefore\ &\frac{2x + 1}{(x - 1)(x + 1)} \\ &= \frac{3}{2(x - 1)} + \frac{1}{2(x + 1)} \end{aligned} I=∫(x+32(x−1)+12(x+1))dx=x22+32log⁡∣x−1∣+12log⁡∣x+1∣+C\begin{aligned} I &= \int\bigg(x + \frac{3}{2(x - 1)} \\ &\qquad + \frac{1}{2(x + 1)}\bigg)dx \\ &= \frac{x^2}{2} + \frac32\log|x - 1| \\ &\quad + \frac12\log|x + 1| + C \end{aligned}
Why?

Integrate term by term with the standard results

∫x dx=x22∫dxx−a=log⁡∣x−a∣\begin{aligned} \int x\,dx &= \frac{x^2}{2} \\ \int\frac{dx}{x - a} &= \log|x - a| \end{aligned}

Watch out: keep the modulus signs inside the logs.

To write the two logs as one, use klog⁡p=log⁡pkk\log p = \log p^k and log⁡p+log⁡q=log⁡pq\log p + \log q = \log pq⁠:

32log⁡∣x−1∣+12log⁡∣x+1∣=12(log⁡∣x−1∣3+log⁡∣x+1∣)\begin{aligned} &\frac32\log|x - 1| + \frac12\log|x + 1| \\ &= \frac12\left(\log|x - 1|^3 + \log|x + 1|\right) \end{aligned}

In full:

32log⁡∣x−1∣=12⋅3log⁡∣x−1∣=12log⁡∣x−1∣312log⁡∣x−1∣3+12log⁡∣x+1∣=12(log⁡∣x−1∣3+log⁡∣x+1∣)=12log⁡(∣x−1∣3 ∣x+1∣)=12log⁡∣(x−1)3(x+1)∣\begin{aligned} &\frac32\log|x - 1| = \frac12 \cdot 3\log|x - 1| \\ &= \frac12\log|x - 1|^3 \\[4pt] &\frac12\log|x - 1|^3 + \frac12\log|x + 1| \\ &= \frac12\left(\log|x - 1|^3 + \log|x + 1|\right) \\ &= \frac12\log\left(|x - 1|^3\,|x + 1|\right) \\ &= \frac12\log\left|(x - 1)^3(x + 1)\right| \end{aligned}

∴\therefore I=x22+12log⁡∣(x−1)3(x+1)∣+CI = \dfrac{x^2}{2} + \dfrac12\log\left|(x - 1)^3(x + 1)\right| + C

Where this comes from

Chapter 7, Integrals: Partial fractions after long division.

Question type: Partial fractions

How to spot it: click to see

Type 7. Partial fractions: break a fraction into simple pieces

Spot it: a fraction of two polynomials whose bottom splits into factors.

Here: The top x3+x+1x^3 + x + 1 has a higher degree than x2−1x^2 - 1⁠, so divide first: that gives xx plus 2x+1(x−1)(x+1)\frac{2x + 1}{(x - 1)(x + 1)}⁠. Then split the remainder into 32(x−1)+12(x+1)\frac{3}{2(x - 1)} + \frac{1}{2(x + 1)}⁠, which gives two logs.

Found an error?

Tell us if something on this page is wrong or unclear. Send feedback on this question →