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

Exercise 9.2 · Q7: xy=log⁡y+Cxy = \log y + C solves y′=y21−xyy' = \frac{y^2}{1 - xy}

Exercise 9.2Verifying an implicit solution · Section 9.3
The question

In each of the Exercises 1 to 10 verify that the given functions (explicit or implicit) is a solution of the corresponding differential equation:

7. xy=log⁡y+Cxy = \log y + C  :  y′=y21−xyy' = \dfrac{y^2}{1 - xy} (xy≠1)(xy \ne 1)

Exam answer

Given xy=log⁡y+Cxy = \log y + C⁠. Differentiating both sides with respect to xx⁠,

xy′+y=1y y′xy' + y = \frac{1}{y}\,y'

Multiplying by yy⁠,

xyy′+y2=y′⇒ y′−xyy′=y2⇒ y′(1−xy)=y2\begin{aligned} xyy' + y^2 &= y' \\ \Rightarrow\ y' - xyy' &= y^2 \\ \Rightarrow\ y'(1 - xy) &= y^2 \end{aligned}

Dividing by 1−xy1 - xy (as xy≠1xy \ne 1⁠),

y′=y21−xyy' = \frac{y^2}{1 - xy}

which is the given differential equation.

∴\therefore xy=log⁡y+Cxy = \log y + C is a solution of the given differential equation. Hence verified.

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

The one idea this problem is built on

Here the solution is given implicitly: a relation between xx and yy⁠, not a formula y=…y = \ldots⁠. To verify it, differentiate the relation with respect to xx⁠, treating yy as a function of xx (so every yy-term picks up a factor y′y'⁠), then rearrange until the given equation appears. The constant CC disappears on differentiation.

Given, to find, and the plan
Given
The relation xy=log⁡y+Cxy = \log y + C⁠, with CC an arbitrary constant; the equation y′=y21−xyy' = \frac{y^2}{1 - xy}⁠, with xy≠1xy \ne 1⁠.
To show
That every differentiable yy satisfying the relation satisfies the equation.
Plan
(1) Note the domain (log⁡y\log y needs y>0y > 0⁠). (2) Differentiate implicitly. (3) Clear the fraction and collect y′y'⁠. (4) Divide by 1−xy1 - xy⁠. (5) Conclude, with the role of CC⁠.

Basics you need

1Implicit differentiation

When yy is a function of xx given by a relation, differentiate both sides with respect to xx⁠; a function of yy gives its derivative times y′y' (Section 5.3.2). Basics: y′ and y″

2Product rule and log⁡\log

(xy)′=1⋅y+x y′(xy)' = 1\cdot y + x\,y'⁠, and ddxlog⁡y=1y y′\frac{d}{dx}\log y = \frac{1}{y}\,y' for y>0y > 0 (Sections 5.3.1 and 5.4). Basics: y′ and y″

3Implicit solutions count

Exercise 9.2 asks to verify functions "explicit or implicit": a relation whose yy satisfies the equation is a solution. Lesson: general and particular solutions

Solution

  1. The domain

    log⁡y\log y is defined only for y>0y > 0⁠, so we work where y>0y > 0⁠. The equation itself needs xy≠1xy \ne 1⁠.

    Every log, root and division in the working limits where it is valid. Writing the limits first means each later step can be checked against them.
    log⁡y\log y is defined for y>0y > 0 (Section 5.4). Lesson: Exercise 9.2 player
  2. Differentiate both sides with respect to xx

    ddx(xy)=ddx(log⁡y)+ddxCy+xy′=1y y′+0.\begin{aligned} \frac{d}{dx}(xy) &= \frac{d}{dx}(\log y) + \frac{d}{dx}C \\ y + xy' &= \frac{1}{y}\,y' + 0. \end{aligned}
    On the left, xyxy is a product, so the product rule gives 1⋅y+x⋅y′1 \cdot y + x \cdot y'⁠. On the right, log⁡y\log y is a function of yy⁠, which is a function of xx⁠, so the chain rule gives 1y⋅y′\frac{1}{y}\cdot y'⁠. The constant CC gives 0.
    Implicit differentiation (Section 5.3.2). Basics: y′ and y″
  3. Clear the fraction and collect y′y'

    Multiply both sides by yy (allowed, y>0y > 0⁠):

    xyy′+y2=y′y′−xyy′=y2y′(1−xy)=y2.\begin{aligned} xyy' + y^2 &= y' \\ y' - xyy' &= y^2 \\ y'(1 - xy) &= y^2. \end{aligned}
    Multiplying by yy removes the denominator. Then move the y′y' terms to one side and take y′y' out as a common factor.
    Rearranging an equation to make y′y' the subject. Lesson: is it a solution?
  4. Divide by 1−xy1 - xy

    y′=y21−xy(xy≠1).y' = \frac{y^2}{1 - xy}\qquad (xy \ne 1).

    This is exactly the given differential equation, so L.H.S. = R.H.S.

    Dividing needs 1−xy≠01 - xy \ne 0⁠, which is the condition printed in the question. At points with xy=1xy = 1⁠, Step 3 would read 0=y20 = y^2⁠, impossible for y>0y > 0⁠, so the relation has no differentiable yy through such a point.
    Section 9.3: the function satisfies the equation. Lesson: is it a solution?
  5. Conclusion, and the constant CC

    Wherever y>0y > 0 and xy≠1xy \ne 1⁠, a function yy defined by xy=log⁡y+Cxy = \log y + C satisfies y′=y21−xyy' = \frac{y^2}{1 - xy}⁠. Hence verified.

    The equation has order 1 and degree 1 (after multiplying by 1−xy1 - xy it is (1−xy)y′=y2(1 - xy)y' = y^2⁠, a polynomial equation in y′y' of power 1). The relation has one arbitrary constant CC⁠, as many as the order, so it is a general solution. Each value of CC picks one curve: for example the curve through (0.2,2)(0.2, 2) has C=0.4−log⁡2C = 0.4 - \log 2⁠.

    The constant CC was never used in Steps 2 to 4, so the check works for every member of the family at once.
    General solution: as many arbitrary constants as the order (Section 9.3 and the Summary). Basics: order n gives n constants
Result

Differentiating xy=log⁡y+Cxy = \log y + C gives y+xy′=y′yy + xy' = \frac{y'}{y}⁠, so y′(1−xy)=y2y'(1 - xy) = y^2 and y′=y21−xyy' = \frac{y^2}{1 - xy} for y>0y > 0⁠, xy≠1xy \ne 1⁠. Hence xy=log⁡y+Cxy = \log y + C is a solution (a general solution, one constant) of the given equation. (The answer key gives no answer for this question, since it is a verification.)

Check it with numbers

Take the curve through x=0.2x = 0.2⁠, y=2y = 2⁠: C=0.4−log⁡2≈−0.293147C = 0.4 - \log 2 \approx -0.293147⁠. There xy=0.4≠1xy = 0.4 \ne 1⁠, and the equation gives

y′=221−0.4=40.6≈6.666667.y' = \frac{2^2}{1 - 0.4} = \frac{4}{0.6} \approx 6.666667.

Solving xy=log⁡y+Cxy = \log y + C for yy numerically near x=0.2x = 0.2⁠: y(0.201)≈2.0067077y(0.201) \approx 2.0067077 and y(0.199)≈1.9933738y(0.199) \approx 1.9933738⁠, so

2.0067077−1.99337380.002≈6.667,\frac{2.0067077 - 1.9933738}{0.002} \approx 6.667,

the slope the equation predicts.

Common mistakes
  1. Differentiating xyxy as y′y' or as xy′xy' only. It is a product: y+xy′y + xy'⁠.
  2. Writing ddxlog⁡y=1y\frac{d}{dx}\log y = \frac{1}{y} without the factor y′y'⁠.
  3. Dividing by 1−xy1 - xy without stating xy≠1xy \ne 1⁠.
What to take away
  1. Implicit solution: differentiate the relation, then rearrange to the given equation.
  2. Every yy-term picks up y′y' when differentiated with respect to xx⁠.
  3. Other implicit checks in this exercise: Q8 and Q9.

Every fact used, and where it comes from

FactUsed inSource
log⁡y\log y defined for y>0y > 0⁠; ddylog⁡y=1y\frac{d}{dy}\log y = \frac{1}{y}Steps 1, 2Chapter 5, Section 5.4
Product rule; chain rule; implicit differentiationStep 2Chapter 5, Sections 5.3.1 and 5.3.2 (Basics)
A solution makes L.H.S. = R.H.S. when substitutedStep 4Section 9.3 (Lesson)
Order and degree (polynomial condition)Step 5Sections 9.2.1 and 9.2.2 (Lesson)
General solution has as many constants as the orderStep 5Section 9.3 and the Summary of Chapter 9 (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 →