Class 12 Maths, Worked in Full Past papersGet updates
Chapter 9 · Differential Equations

Exercise 9.3 · Q12: Particular solution of x(x2−1)dydx=1x(x^2 - 1)\frac{dy}{dx} = 1⁠, y(2)=0y(2) = 0

Exercise 9.3Variables separable, particular solution · Sections 9.3 and 9.4.1
The question

For each of the differential equations in Exercises 11 to 14, find a particular solution satisfying the given condition:

12. x(x2−1)dydx=1x(x^2 - 1)\dfrac{dy}{dx} = 1⁠; y=0y = 0 when x=2x = 2

Exam answer

Here x≠0,±1x \ne 0, \pm 1⁠. Separating the variables,

dy=dxx(x−1)(x+1)dy = \frac{dx}{x(x - 1)(x + 1)}

Let

1x(x−1)(x+1)=Ax+Bx−1+Cx+1\begin{aligned} \frac{1}{x(x - 1)(x + 1)} &= \frac{A}{x} + \frac{B}{x - 1} \\ &\quad + \frac{C}{x + 1} \end{aligned} ⇒ 1=A(x−1)(x+1)+Bx(x+1)+Cx(x−1)\begin{aligned} \Rightarrow\ 1 &= A(x - 1)(x + 1) \\ &\quad + Bx(x + 1) + Cx(x - 1) \end{aligned}

Putting x=0x = 0⁠: 1=−A1 = -A⁠, so A=−1A = -1⁠. Putting x=1x = 1⁠: 1=2B1 = 2B⁠, so B=12B = \frac{1}{2}⁠. Putting x=−1x = -1⁠: 1=2C1 = 2C⁠, so C=12C = \frac{1}{2}⁠.

Integrating both sides,

y=−∫dxx+12∫dxx−1+12∫dxx+1=−log⁡∣x∣+12log⁡∣x−1∣+12log⁡∣x+1∣+c=12log⁡∣x2−1x2∣+c…(i)\begin{aligned} y &= -\int\frac{dx}{x} + \frac{1}{2}\int\frac{dx}{x - 1} \\ &\quad + \frac{1}{2}\int\frac{dx}{x + 1} \\ &= -\log|x| + \frac{1}{2}\log|x - 1| \\ &\quad + \frac{1}{2}\log|x + 1| + c \\ &= \frac{1}{2}\log\left|\frac{x^2 - 1}{x^2}\right| + c\quad\ldots(\text{i}) \end{aligned}

Putting x=2x = 2⁠, y=0y = 0 in (i): 0=12log⁡34+c0 = \frac{1}{2}\log\frac{3}{4} + c⁠, so c=−12log⁡34c = -\frac{1}{2}\log\frac{3}{4}⁠.

∴\therefore y=12log⁡(x2−1x2)−12log⁡34y = \dfrac{1}{2}\log\left(\dfrac{x^2 - 1}{x^2}\right) - \dfrac{1}{2}\log\dfrac{3}{4} (x>1)(x > 1) is the particular solution.

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

The one idea this problem is built on

Dividing by x(x2−1)x(x^2 - 1) leaves dydy equal to a rational function of xx⁠. Its denominator factors into three distinct linear factors, x(x−1)(x+1)x(x - 1)(x + 1)⁠, so partial fractions split it into three simple fractions, each integrating to a logarithm. The condition at x=2x = 2 fixes the constant and also picks the interval x>1x > 1 on which the solution lives.

Given, to find, and the plan
Given
x(x2−1)dydx=1x(x^2 - 1)\frac{dy}{dx} = 1⁠, and y=0y = 0 when x=2x = 2⁠.
To find
The particular solution: no arbitrary constant, passing through (2,0)(2, 0)⁠.
Plan
(1) Separate, for x≠0,±1x \ne 0, \pm 1⁠. (2) Partial fractions. (3) Integrate, one constant cc⁠, and combine the logs. (4) Use the condition to find cc⁠. (5) State the interval, compare with the textbook's form, check by substitution, and draw the curve.

Basics you need

1Variables separable

If dydx=g(x) h(y)\frac{dy}{dx} = g(x)\,h(y) with h(y)≠0h(y) \ne 0⁠, then ∫dyh(y)=∫g(x) dx\int\frac{dy}{h(y)} = \int g(x)\,dx (Section 9.4.1). Here h(y)=1h(y) = 1⁠. Lesson: separate, then integrate

2Partial fractions, distinct linear factors

1(x−a)(x−b)(x−c)=Ax−a+Bx−b+Cx−c\frac{1}{(x - a)(x - b)(x - c)} = \frac{A}{x - a} + \frac{B}{x - b} + \frac{C}{x - c}⁠; put x=a,b,cx = a, b, c in turn to find the constants (Section 7.5). Basics: every method ends with an integral

3Log integral and log laws

∫dxx−a=log⁡∣x−a∣+C\int\frac{dx}{x - a} = \log|x - a| + C (Section 7.2, formula (xii)); log⁡a+log⁡b=log⁡ab\log a + \log b = \log ab⁠, log⁡a−log⁡b=log⁡ab\log a - \log b = \log\frac{a}{b}⁠.

4Particular solution

Put the given xx and yy into the general solution and solve for the constant (Section 9.3). Basics: one constant, one condition

Solution

  1. Separate the variables

    x(x2−1)=x(x−1)(x+1)x(x^2 - 1) = x(x - 1)(x + 1) is zero only at x=0,1,−1x = 0, 1, -1⁠. Away from these, divide by it and multiply by dxdx⁠:

    dy=dxx(x−1)(x+1).dy = \frac{dx}{x(x - 1)(x + 1)}.
    The equation is dydx=g(x)⋅1\frac{dy}{dx} = g(x)\cdot 1⁠, separable with h(y)=1h(y) = 1⁠, so no value of yy is lost. The points x=0,±1x = 0, \pm 1 split the line into four intervals; the condition is at x=2x = 2⁠, so our solution lives on x>1x > 1⁠.
    Section 9.4.1: separate, then integrate. Lesson: separate, then integrate
  2. Partial fractions

    1x(x−1)(x+1)=Ax+Bx−1+Cx+1\begin{aligned} \frac{1}{x(x - 1)(x + 1)} &= \frac{A}{x} + \frac{B}{x - 1} \\ &\quad + \frac{C}{x + 1} \end{aligned}

    Multiplying by x(x−1)(x+1)x(x - 1)(x + 1)⁠:

    1=A(x−1)(x+1)+Bx(x+1)+Cx(x−1).\begin{aligned} 1 &= A(x - 1)(x + 1) + Bx(x + 1) \\ &\quad + Cx(x - 1). \end{aligned}

    Put x=0x = 0⁠: 1=A(−1)(1)1 = A(-1)(1)⁠, so A=−1A = -1⁠. Put x=1x = 1⁠: 1=B⋅21 = B\cdot 2⁠, so B=12B = \frac{1}{2}⁠. Put x=−1x = -1⁠: 1=C(−1)(−2)1 = C(-1)(-2)⁠, so C=12C = \frac{1}{2}⁠.

    Each value of xx makes two of the three products vanish, leaving one constant at a time. Check with the x2x^2 coefficients: A+B+C=−1+12+12=0A + B + C = -1 + \frac{1}{2} + \frac{1}{2} = 0⁠, matching the left side, which has no x2x^2 term. The constant of integration is called cc⁠, since CC is taken.
    Section 7.5, partial fractions. Basics: every method ends with an integral
  3. Integrate, with one constant, and combine the logs

    y=−log⁡∣x∣+12log⁡∣x−1∣+12log⁡∣x+1∣+c=12(log⁡∣x2−1∣−log⁡x2)+c=12log⁡∣x2−1x2∣+c.\begin{aligned} y &= -\log|x| + \frac{1}{2}\log|x - 1| \\ &\quad + \frac{1}{2}\log|x + 1| + c \\ &= \frac{1}{2}\left(\log|x^2 - 1| - \log x^2\right) + c \\ &= \frac{1}{2}\log\left|\frac{x^2 - 1}{x^2}\right| + c. \end{aligned}

    Check by differentiating:

    −1x+12(x−1)+12(x+1)=−(x2−1)+x2x(x2−1)=1x(x2−1).\begin{aligned} &-\frac{1}{x} + \frac{1}{2(x - 1)} + \frac{1}{2(x + 1)} \\ &= \frac{-(x^2 - 1) + x^2}{x(x^2 - 1)} = \frac{1}{x(x^2 - 1)}. \end{aligned}
    Each fraction integrates to a log. Writing −log⁡∣x∣=−12log⁡x2-\log|x| = -\frac{1}{2}\log x^2 and log⁡∣x−1∣+log⁡∣x+1∣=log⁡∣x2−1∣\log|x - 1| + \log|x + 1| = \log|x^2 - 1| collects everything into one log. All constants combine into one cc⁠: this is the general solution on each of the four intervals.
    Section 7.2, formula (xii); laws of logarithms. Basics: every method ends with an integral
  4. Use the condition to find cc

    Put x=2x = 2⁠, y=0y = 0⁠: x2−1x2=34\frac{x^2 - 1}{x^2} = \frac{3}{4}⁠, so

    0=12log⁡34+c  ⇒  c=−12log⁡34.0 = \frac{1}{2}\log\frac{3}{4} + c \;\Rightarrow\; c = -\frac{1}{2}\log\frac{3}{4}.

    For x>1x > 1⁠, x2−1x2>0\frac{x^2 - 1}{x^2} > 0⁠, so the modulus can be dropped:

    y=12log⁡(x2−1x2)−12log⁡34.y = \frac{1}{2}\log\left(\frac{x^2 - 1}{x^2}\right) - \frac{1}{2}\log\frac{3}{4}.
    One condition fixes the one constant. Note c=−12log⁡34=12log⁡43>0c = -\frac{1}{2}\log\frac{3}{4} = \frac{1}{2}\log\frac{4}{3} > 0⁠. This is exactly the textbook's form. Combining the two logs gives the equivalent y=12log⁡4(x2−1)3x2y = \frac{1}{2}\log\frac{4(x^2 - 1)}{3x^2}⁠.
    Section 9.3: a particular solution gives the constant a value. Basics: one constant, one condition
  5. Check: substitute back, and see the curve

    By Step 3, dydx=1x(x2−1)\frac{dy}{dx} = \frac{1}{x(x^2 - 1)}⁠, so x(x2−1)dydx=1x(x^2 - 1)\frac{dy}{dx} = 1⁠. At x=2x = 2⁠: y=12log⁡34−12log⁡34=0y = \frac{1}{2}\log\frac{3}{4} - \frac{1}{2}\log\frac{3}{4} = 0⁠. Both the equation and the condition hold.

    X Y O x = 1 c = 0.5 c = −0.5 (2, 0)
    The particular solution y=12log⁡(x2−1x2)−12log⁡34y = \frac{1}{2}\log\left(\frac{x^2 - 1}{x^2}\right) - \frac{1}{2}\log\frac{3}{4} on x>1x > 1 (bold), through (2,0)(2, 0)⁠, with the members c=−0.5c = -0.5 and c=0.5c = 0.5 of the family (thin), drawn with equal scales. Every member drops to −∞-\infty at the dashed line x=1x = 1⁠; the particular solution levels off towards y=12log⁡43≈0.144y = \frac{1}{2}\log\frac{4}{3} \approx 0.144⁠.
    Substituting back is the definition of a solution (Section 9.3). The picture shows why the answer is tied to x>1x > 1⁠: the curve cannot be continued through x=1x = 1⁠, where y→−∞y \to -\infty⁠. As x→∞x \to \infty⁠, x2−1x2→1\frac{x^2 - 1}{x^2} \to 1 and y→12log⁡43y \to \frac{1}{2}\log\frac{4}{3}⁠.
    A solution makes L.H.S. = R.H.S. Lesson: general and particular solutions
Result

The particular solution is y=12log⁡(x2−1x2)−12log⁡34y = \frac{1}{2}\log\left(\frac{x^2 - 1}{x^2}\right) - \frac{1}{2}\log\frac{3}{4}⁠, for x>1x > 1⁠. (Textbook answer: y=12log⁡(x2−1x2)−12log⁡34y = \frac{1}{2}\log\left(\frac{x^2 - 1}{x^2}\right) - \frac{1}{2}\log\frac{3}{4}⁠.)

Check it with numbers

At x=2x = 2 the equation gives the slope 12(4−1)=16≈0.16666667\frac{1}{2(4 - 1)} = \frac{1}{6} \approx 0.16666667⁠, and y=0y = 0⁠.

The curve itself: y(2.001)≈0.0001665140y(2.001) \approx 0.0001665140 and y(1.999)≈−0.0001668196y(1.999) \approx -0.0001668196⁠, so

0.0001665140+0.00016681960.002≈0.16667.\begin{aligned} &\frac{0.0001665140 + 0.0001668196}{0.002} \\ &\approx 0.16667. \end{aligned}
Common mistakes
  1. Forgetting the factor xx⁠: x(x2−1)x(x^2 - 1) has three linear factors, so three partial fractions.
  2. Sign of AA⁠: at x=0x = 0⁠, (x−1)(x+1)=−1(x - 1)(x + 1) = -1⁠, so A=−1A = -1⁠, not 11⁠.
  3. Writing c=12log⁡34c = \frac{1}{2}\log\frac{3}{4} instead of −12log⁡34-\frac{1}{2}\log\frac{3}{4}⁠. Move the term across carefully.
What to take away
  1. Distinct linear factors: put each root in turn to find the constants.
  2. Collect logs into one with log⁡a+log⁡b=log⁡ab\log a + \log b = \log ab and klog⁡a=log⁡akk\log a = \log a^k⁠.
  3. The given point decides the interval of the particular solution, here x>1x > 1⁠.

Every fact used, and where it comes from

FactUsed inSource
Variables separable: separate, then integrateStep 1Section 9.4.1 (Lesson)
Partial fractions, distinct linear factorsStep 2Section 7.5 (Basics)
∫dxx−a=log⁡∣x−a∣+C\int\frac{dx}{x - a} = \log|x - a| + C⁠; laws of logarithmsStep 3Section 7.2, formula (xii)
General solution has an arbitrary constant; a particular solution gives it a valueSteps 3, 4Section 9.3 (Basics)
A solution makes L.H.S. = R.H.S.Step 5Section 9.3 (Lesson)
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 →