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

Miscellaneous · Q13 (MCQ): General solution of y dx−x dyy=0\frac{y\,dx - x\,dy}{y} = 0

Miscellaneous ExerciseVariables separable · Section 9.4.1
The question

13. The general solution of the differential equation y dx−x dyy=0\dfrac{y\,dx - x\,dy}{y} = 0 is

(A) xy=Cxy = C    (B) x=Cy2x = Cy^2    (C) y=Cxy = Cx    (D) y=Cx2y = Cx^2

Exam answer

Since y≠0y \ne 0⁠, y dx−x dy=0y\,dx - x\,dy = 0⁠. Separating the variables, dyy=dxx\frac{dy}{y} = \frac{dx}{x}⁠.

Integrating, log⁡∣y∣=log⁡∣x∣+log⁡∣C∣\log|y| = \log|x| + \log|C|⁠, so y=Cxy = Cx⁠.

Answer: (C) y=Cxy = Cx

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

The one idea this problem is built on

The fraction is 0 exactly when its top is 0, so the equation says y dx=x dyy\,dx = x\,dy⁠. Dividing by xyxy separates the variables: dyy=dxx\frac{dy}{y} = \frac{dx}{x}⁠. Both sides integrate to logarithms, and writing the constant as log⁡∣C∣\log|C| turns the answer into the straight lines y=Cxy = Cx through the origin. Option (C).

Given, to find, and the plan
Given
y dx−x dyy=0\frac{y\,dx - x\,dy}{y} = 0 (so y≠0y \ne 0⁠).
To find
Its general solution, and which option gives it.
Plan
(1) Clear the denominator and read the equation. (2) Separate the variables. (3) Integrate, with one constant. (4) Check by substituting back. (5) Choose the option. (6) Examine every option.

Basics you need

1Variables separable

Arrange the equation as h(y) dy=g(x) dxh(y)\,dy = g(x)\,dx⁠, integrate both sides and add one constant (Section 9.4.1). Lesson: variables separable

2∫dxx=log⁡∣x∣+C\int\frac{dx}{x} = \log|x| + C

Section 7.2, formula (xii). Basics: every method ends with an integral

3One constant, in a convenient form

A first order equation has one arbitrary constant; writing it as log⁡∣C∣\log|C| lets the logarithms combine (chapter Summary). Basics: one constant for order 1

Solution

  1. Clear the denominator

    The fraction has denominator yy⁠, so y≠0y \ne 0⁠. A fraction is 0 exactly when its numerator is 0:

    y dx−x dy=0,  that is,  y dx=x dy.y\,dx - x\,dy = 0,\ \text{ that is, }\ y\,dx = x\,dy.
    Multiplying both sides by y≠0y \ne 0 changes nothing else. Divided by dxdx⁠, it reads xdydx=yx\frac{dy}{dx} = y⁠: order 1 and, as a polynomial in dydx\frac{dy}{dx}⁠, degree 1.
    Sections 9.2.1 and 9.2.2: order and degree. Lesson: order and degree
  2. Separate the variables

    Divide y dx=x dyy\,dx = x\,dy by xyxy (for x≠0x \ne 0⁠):

    dyy=dxx.\frac{dy}{y} = \frac{dx}{x}.
    Each side now has one variable only. We need x≠0x \ne 0 to divide; the yy-axis x=0x = 0 (with y≠0y \ne 0⁠) also satisfies y dx−x dy=0y\,dx - x\,dy = 0⁠, since dx=0dx = 0 along it, but it is a single extra curve, not a family with a constant, and it is not among the options.
    Section 9.4.1, equation (3). Lesson: variables separable
  3. Integrate, with one constant

    ∫dyy=∫dxxlog⁡∣y∣=log⁡∣x∣+log⁡∣C∣=log⁡∣Cx∣y=Cx.\begin{aligned} \int\frac{dy}{y} &= \int\frac{dx}{x} \\ \log|y| &= \log|x| + \log|C| = \log|Cx| \\ y &= Cx. \end{aligned}
    Writing the constant as log⁡∣C∣\log|C| (with C≠0C \ne 0⁠) is allowed because log⁡∣C∣\log|C| takes every real value. Then ∣y∣=∣C∣∣x∣|y| = |C||x|⁠, so y=±Cxy = \pm Cx⁠; the sign is absorbed into the arbitrary constant, giving y=Cxy = Cx⁠. Since y≠0y \ne 0⁠, C≠0C \ne 0 and x≠0x \ne 0 on each solution.
    Section 9.4.1, equation (4); Section 7.2, formula (xii). Basics: one constant for order 1
  4. Check by substituting back

    If y=Cxy = Cx⁠, then dy=C dxdy = C\,dx⁠, and

    y dx−x dy=Cx dx−x⋅C dx=0.y\,dx - x\,dy = Cx\,dx - x\cdot C\,dx = 0.
    The top of the fraction is 0 for every CC⁠, so y=Cxy = Cx satisfies the equation (with y≠0y \ne 0⁠). It has one arbitrary constant, matching order 1, so it is the general solution.
    A solution makes L.H.S. = R.H.S. (Section 9.3). Lesson: general and particular solutions
  5. Choose the option

    The general solution is y=Cxy = Cx⁠. The correct option is (C).

    It is exactly option (C), with the same letter CC for the constant.
    The multiple-choice questions of the chapter. Lesson: the multiple-choice questions
  6. Examine every option

    The equation asks for the slope dydx=yx\frac{dy}{dx} = \frac{y}{x}⁠. Differentiate each family and remove CC⁠:

    OptionSlope of the familyVerdict
    (A) xy=Cxy = Cy+xdydx=0y + x\frac{dy}{dx} = 0⁠, so dydx=−yx\frac{dy}{dx} = -\frac{y}{x}Wrong sign
    (B) x=Cy2x = Cy^21=2Cydydx1 = 2Cy\frac{dy}{dx}⁠, C=xy2C = \frac{x}{y^2}⁠, so dydx=y2x\frac{dy}{dx} = \frac{y}{2x}Half the slope
    (C) y=Cxy = Cxdydx=C=yx\frac{dy}{dx} = C = \frac{y}{x}Correct
    (D) y=Cx2y = Cx^2dydx=2Cx\frac{dy}{dx} = 2Cx⁠, C=yx2C = \frac{y}{x^2}⁠, so dydx=2yx\frac{dy}{dx} = \frac{2y}{x}Twice the slope
    A family is the general solution only if the slope it gives agrees with yx\frac{y}{x} at every point. (A), (B) and (D) differ from it wherever y≠0y \ne 0⁠, which is everywhere the equation is defined. (B) and (D) are the solutions of 2xdydx=y2x\frac{dy}{dx} = y and xdydx=2yx\frac{dy}{dx} = 2y⁠, and (A) of xdydx=−yx\frac{dy}{dx} = -y⁠.
    Section 9.4.1: separate, then integrate. Lesson: Examples 4 to 9
Result

The general solution of y dx−x dyy=0\frac{y\,dx - x\,dy}{y} = 0 is y=Cxy = Cx⁠: option (C).

(Textbook answer: C.)

Check it with numbers

At the point (2,3)(2, 3) the equation asks for the slope yx=1.5\frac{y}{x} = 1.5⁠. The member of each family through (2,3)(2, 3) has slope: (A) −1.5-1.5⁠; (B) 34=0.75\frac{3}{4} = 0.75⁠; (C) 1.51.5⁠; (D) 33⁠. Only (C) matches.

Common mistakes
  1. Reading it as dydx=−yx\frac{dy}{dx} = -\frac{y}{x} and choosing (A): y dx=x dyy\,dx = x\,dy gives dydx=+yx\frac{dy}{dx} = +\frac{y}{x}⁠.
  2. Writing log⁡∣y∣=log⁡∣x∣+C\log|y| = \log|x| + C and then y=x+Cy = x + C⁠. Exponentiate: ∣y∣=eC∣x∣|y| = e^C|x|⁠, a multiple of xx⁠.
What to take away
  1. y dx−x dy=0y\,dx - x\,dy = 0 means dyy=dxx\frac{dy}{y} = \frac{dx}{x}⁠: the solutions are the lines y=Cxy = Cx through the origin.
  2. To test an option, differentiate the family, remove the constant, and compare slopes with the equation.

Every fact used, and where it comes from

FactUsed inSource
Order and degreeStep 1Sections 9.2.1 and 9.2.2 (Lesson)
Separating the variables and integrating, one constantSteps 2, 3Section 9.4.1, equations (3) and (4) (Lesson)
∫dxx=log⁡∣x∣+C\int\frac{dx}{x} = \log|x| + CStep 3Section 7.2, formula (xii) (Basics)
General solution: as many constants as the orderStep 4Chapter Summary (Lesson)
Product rule and implicit differentiationStep 6Chapter 5, Sections 5.3 and 5.3.2 (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 →