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

Exercise 7.5 · Q20: ∫dxx(x4−1)\int\frac{dx}{x(x^4 - 1)}

Exercise 7.5Substitution and partial fractions · Section 7.5
The question

Integrate the rational function

1x(x4−1).\frac{1}{x(x^4 - 1)}.
Exam answer

Let I=∫dxx(x4−1)I = \displaystyle\int\frac{dx}{x(x^4 - 1)}⁠.

Multiplying numerator and denominator by x3x^3⁠,

I=∫x3 dxx4(x4−1)I = \int\frac{x^3\,dx}{x^4(x^4 - 1)}

Put x4=tx^4 = t⁠. Then 4x3 dx=dt4x^3\,dx = dt⁠.

I=14∫dtt(t−1)I = \frac14\int\frac{dt}{t(t - 1)}

Let 1t(t−1)=At+Bt−1\frac{1}{t(t - 1)} = \frac{A}{t} + \frac{B}{t - 1}⁠. Then 1=A(t−1)+Bt1 = A(t - 1) + Bt⁠.

Putting t=0t = 0⁠: A=−1A = -1⁠. Putting t=1t = 1⁠: B=1B = 1⁠.

∴ I=14∫(1t−1−1t)dt=14log⁡∣t−1∣−14log⁡∣t∣+C=14log⁡∣t−1t∣+C\begin{aligned} \therefore\ I &= \frac14\int\left(\frac{1}{t - 1} - \frac1t\right)dt \\ &= \frac14\log|t - 1| \\ &\quad - \frac14\log|t| + C \\ &= \frac14\log\left|\frac{t - 1}{t}\right| + C \end{aligned}

∴ I=14log⁡∣x4−1x4∣+C\therefore\ I = \dfrac14\log\left|\dfrac{x^4 - 1}{x^4}\right| + C⁠.

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

The one idea this problem is built on

This is Exercise 7.5 Q16 with x4−1x^4 - 1 in place of xn+1x^n + 1⁠: multiply top and bottom by x3x^3⁠, the derivative of x4x^4 up to the factor 4. Then t=x4t = x^4 gives 14∫dtt(t−1)\frac14\int\frac{dt}{t(t - 1)}⁠, which splits by Table 7.2 (row 1) into two logarithms.

Given, to find, and the plan
Given
The integrand 1x(x4−1)\frac{1}{x(x^4 - 1)}⁠, defined for x≠0,1,−1x \ne 0, 1, -1 (the real zeros of x(x4−1)x(x^4 - 1)⁠).
To find
∫dxx(x4−1)\int\frac{dx}{x(x^4 - 1)}⁠.
Plan
(1) Multiply by x3x3\frac{x^3}{x^3}⁠. (2) Put t=x4t = x^4⁠. (3) Split 1t(t−1)\frac{1}{t(t - 1)}⁠. (4) Integrate and return to xx⁠. (5) Cross-check with the full decomposition and differentiate back.

Basics you need

1Substitution

With t=x4t = x^4⁠, dt=4x3 dxdt = 4x^3\,dx⁠. Basics: substitution

2Table 7.2, row 1

1(t−a)(t−b)=At−a+Bt−b\frac{1}{(t - a)(t - b)} = \frac{A}{t - a} + \frac{B}{t - b}⁠, a≠ba \ne b⁠. Lesson: partial fractions

3Logarithm laws

log⁡∣p∣−log⁡∣q∣=log⁡∣pq∣\log|p| - \log|q| = \log\left|\frac pq\right|⁠; log⁡∣x4∣=4log⁡∣x∣\log|x^4| = 4\log|x|⁠. Basics: logarithms and 1/x

Solution

  1. Multiply numerator and denominator by x3x^3

    1x(x4−1)=x3x4(x4−1).\frac{1}{x(x^4 - 1)} = \frac{x^3}{x^4(x^4 - 1)}.
    x≠0x \ne 0⁠, so x3≠0x^3 \ne 0 and the value is unchanged. Now the numerator is 14\frac14 of the derivative of x4x^4⁠, and the denominator is written in terms of x4x^4 only.
    x⋅x3=x4x\cdot x^3 = x^4⁠. Basics: powers of x
  2. Substitute t=x4t = x^4

    Then dt=4x3 dxdt = 4x^3\,dx⁠, so x3 dx=14 dtx^3\,dx = \frac14\,dt⁠, and

    ∫x3 dxx4(x4−1)=14∫dtt(t−1),\int\frac{x^3\,dx}{x^4(x^4 - 1)} = \frac14\int\frac{dt}{t(t - 1)},

    where t>0t > 0 and t≠1t \ne 1 on the domain.

    The factor x3 dxx^3\,dx is supplied by dtdt up to the constant 14\frac14⁠, and everything else is a function of x4=tx^4 = t⁠.
    Integration by substitution, Section 7.3.1. Lesson: substitution
  3. Split 1t(t−1)\frac{1}{t(t - 1)}

    1t(t−1)=At+Bt−1,1=A(t−1)+Bt.\begin{gathered} \frac{1}{t(t - 1)} = \frac{A}{t} + \frac{B}{t - 1}, \\ 1 = A(t - 1) + Bt. \end{gathered}

    Put t=0t = 0⁠: 1=−A1 = -A⁠, A=−1A = -1⁠. Put t=1t = 1⁠: B=1B = 1⁠. So

    1t(t−1)=1t−1−1t.\frac{1}{t(t - 1)} = \frac{1}{t - 1} - \frac1t.
    Two different linear factors t−0t - 0 and t−1t - 1⁠: row 1 of Table 7.2. Check at t=2t = 2⁠: 12=1−12\frac{1}{2} = 1 - \frac12⁠. ✓
    Table 7.2, row 1. Basics: splitting fractions
  4. Integrate and return to xx

    14∫(1t−1−1t)dt=14(log⁡∣t−1∣−log⁡∣t∣)+C=14log⁡∣t−1t∣+C=14log⁡∣x4−1x4∣+C.\begin{aligned} \frac14\int\Big(\frac{1}{t - 1} - \frac1t\Big)dt &= \frac14\big(\log|t - 1| - \log|t|\big) + C \\ &= \frac14\log\left|\frac{t - 1}{t}\right| + C \\ &= \frac14\log\left|\frac{x^4 - 1}{x^4}\right| + C. \end{aligned}
    Each simple fraction integrates to a logarithm; the difference of logs is the log of the quotient; finally t=x4t = x^4⁠.
    Standard formula (xii), Section 7.2. Basics: logarithms and 1/x
  5. Cross-check with the full decomposition

    Without the hint, factor x(x4−1)=x(x−1)(x+1)(x2+1)x(x^4 - 1) = x(x - 1)(x + 1)(x^2 + 1) and split:

    1x(x4−1)=−1x+14(x−1)+14(x+1)+x2(x2+1).\begin{aligned} \frac{1}{x(x^4 - 1)} &= -\frac1x + \frac{1}{4(x - 1)} \\ &\quad + \frac{1}{4(x + 1)} + \frac{x}{2(x^2 + 1)}. \end{aligned}

    (The constants come from putting x=0,1,−1x = 0, 1, -1 in the cleared identity, and the last numerator from comparing coefficients.) Integrating,

    −log⁡∣x∣+14log⁡∣x2−1∣+14log⁡(x2+1)=14log⁡∣x4−1∣−14log⁡x4,\begin{aligned} &-\log|x| + \tfrac14\log|x^2 - 1| + \tfrac14\log(x^2 + 1) \\ &= \tfrac14\log|x^4 - 1| - \tfrac14\log x^4, \end{aligned}

    which is the same answer.

    log⁡∣x−1∣+log⁡∣x+1∣=log⁡∣x2−1∣\log|x - 1| + \log|x + 1| = \log|x^2 - 1|⁠, then adding log⁡(x2+1)\log(x^2 + 1) gives log⁡∣x4−1∣\log|x^4 - 1|⁠; and log⁡∣x∣=14log⁡x4\log|x| = \frac14\log x^4⁠. Two independent routes agreeing is a strong check.
  6. Check: differentiate the answer

    Write the answer as 14log⁡∣x4−1∣−log⁡∣x∣\frac14\log|x^4 - 1| - \log|x|⁠. Then

    ddx(14log⁡∣x4−1∣−log⁡∣x∣)=x3x4−1−1x=x4−(x4−1)x(x4−1)=1x(x4−1). ✓\begin{aligned} &\frac{d}{dx}\Big(\tfrac14\log|x^4 - 1| - \log|x|\Big) \\ &= \frac{x^3}{x^4 - 1} - \frac1x \\ &= \frac{x^4 - (x^4 - 1)}{x(x^4 - 1)} = \frac{1}{x(x^4 - 1)}. \ \checkmark \end{aligned}

    Valid for x≠0,±1x \ne 0, \pm 1⁠.

    Chain rule: ddxlog⁡∣x4−1∣=4x3x4−1\frac{d}{dx}\log|x^4 - 1| = \frac{4x^3}{x^4 - 1}⁠, and 14\frac14 of it is x3x4−1\frac{x^3}{x^4 - 1}⁠. Over the common denominator the x4x^4 terms cancel and 1 remains.
    Property (I), Section 7.2.1. Basics: integration undoes differentiation
Result ∫dxx(x4−1)=14log⁡∣x4−1x4∣+C,\int\frac{dx}{x(x^4 - 1)} = \frac14\log\left|\frac{x^4 - 1}{x^4}\right| + C,

for x≠0,±1x \ne 0, \pm 1⁠. (Textbook answer: 14log⁡∣x4−1x4∣+C\frac14\log\left|\frac{x^4 - 1}{x^4}\right| + C⁠, the same.)

Check it with numbers

Definite integral from 2 to 3 (continuous there): F(3)−F(2)=14log⁡8081−14log⁡1516F(3) - F(2) = \frac14\log\frac{80}{81} - \frac14\log\frac{15}{16} =14log⁡256243≈0.0130290= \frac14\log\frac{256}{243} \approx 0.0130290⁠. A numerical integration of 1x(x4−1)\frac{1}{x(x^4 - 1)} over [2,3][2, 3] gives 0.01302900.0130290 too. ✓

Common mistakes
  1. Forgetting the 14\frac14⁠. dt=4x3dxdt = 4x^3dx⁠, so x3dx=14dtx^3dx = \frac14 dt⁠.
  2. Quotient upside down. 1t−1\frac{1}{t - 1} has the plus sign, so t−1=x4−1t - 1 = x^4 - 1 goes on top.
  3. Using t=x4−1t = x^4 - 1⁠. Then x4=t+1x^4 = t + 1 and the work becomes 14∫dtt(t+1)\frac14\int\frac{dt}{t(t + 1)}⁠: also fine, but mixing the two choices half-way gives wrong signs.
What to take away
  1. ∫dxx(xn±1)\int\frac{dx}{x(x^n \pm 1)}⁠: multiply by xn−1x^{n - 1} and put t=xnt = x^n⁠.
  2. 1t(t−1)=1t−1−1t\frac{1}{t(t - 1)} = \frac{1}{t - 1} - \frac1t⁠.
  3. Long decompositions can often be avoided by a substitution that lowers the degree.

Every fact used, and where it comes from

FactUsed inSource
Substitution t=x4t = x^4⁠, dt=4x3 dxdt = 4x^3\,dxSteps 1, 2Section 7.3.1; standard formula (i), Section 7.2
At−a+Bt−b\frac{A}{t - a} + \frac{B}{t - b}Step 3Table 7.2, row 1, Section 7.5
∫dtt=log⁡∣t∣+C\int\frac{dt}{t} = \log|t| + CSteps 4, 5Standard formula (xii), Section 7.2
Constant over each linear factor, Cx+DCx + D over the quadraticStep 5Section 7.5, Table 7.2 (rows 1 and 5)
Laws of logarithmsSteps 4, 5Basics: logarithms
Derivative of an antiderivative is the integrandStep 6Property (I), Section 7.2.1
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 →