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

Exercise 9.2 · Q5: y=Axy = Ax solves xy′=yxy' = y

Exercise 9.2Verifying a 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:

5. y=Axy = Ax  :  xy′=yxy' = y (x≠0)(x \ne 0)

Exam answer

Given y=Axy = Ax⁠. Differentiating with respect to xx⁠,

y′=Ay' = A

Substituting y′y' in the L.H.S. of the given equation,

L.H.S.=xy′=x⋅A=Ax=y=R.H.S.\begin{aligned} \text{L.H.S.} &= xy' = x \cdot A \\ &= Ax = y = \text{R.H.S.} \end{aligned}

∴\therefore y=Axy = Ax is a solution of the given differential equation (x≠0)(x \ne 0)⁠. Hence verified.

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

The one idea this problem is built on

The graph of y=Axy = Ax is a straight line through the origin with slope AA⁠. Multiplying the slope by xx gives back AxAx⁠, the height of the line. So xy′=yxy' = y for every line through the origin, whatever its slope AA⁠.

Given, to find, and the plan
Given
The function y=Axy = Ax⁠, where AA is an arbitrary constant; the equation xy′=yxy' = y⁠, with the condition x≠0x \ne 0⁠.
To show
That y=Axy = Ax satisfies the equation for every allowed xx and every AA⁠.
Plan
(1) Find y′y'⁠. (2) Substitute into the left side and compare with the right side. (3) Discuss the condition x≠0x \ne 0⁠. (4) Count the constants.

Basics you need

1What a solution is

A function is a solution when substituting it for yy makes L.H.S. = R.H.S. (Section 9.3). Lesson: general and particular solutions

2Derivative of AxAx

For a constant AA⁠, ddx(Ax)=A\frac{d}{dx}(Ax) = A⁠: the slope of a straight line (Chapter 5). Basics: y′ and y″

3Arbitrary constants

A general solution carries as many arbitrary constants as the order (Summary, Chapter 9). Basics: order n gives n constants

Solution

  1. Differentiate

    y=Ax  ⇒  y′=A.y = Ax \;\Rightarrow\; y' = A.
    AA is a constant factor, so it stays in front, and ddxx=1\frac{d}{dx}x = 1⁠.
    Constant multiple rule (Chapter 5). Basics: y′ and y″
  2. Substitute and compare

    L.H.S.=xy′=x⋅A=Ax,R.H.S.=y=Ax.\begin{aligned} \text{L.H.S.} &= xy' = x \cdot A = Ax, \\ \text{R.H.S.} &= y = Ax. \end{aligned}

    So L.H.S. = R.H.S.

    Replace y′y' by AA on the left and yy by AxAx on the right. Both sides become AxAx⁠.
    Section 9.3: substitute and compare the two sides. Lesson: is it a solution? Examples 2 and 3
  3. The condition x≠0x \ne 0

    No step divides, so the equality xy′=yxy' = y holds for every real xx⁠; at x=0x = 0 both sides are simply 0. The book adds x≠0x \ne 0 because that is where the equation can be divided by xx and read as a slope rule, y′=yxy' = \frac{y}{x}⁠. On x≠0x \ne 0 the check holds as shown, so the function is a solution there: hence verified.

    The condition belongs to the equation, not to our working. Saying where each step is valid is part of a complete verification.
    A solution satisfies the equation on its domain (Section 9.3). Lesson: is it a solution?
  4. One constant: a general solution

    The equation has order 1 and degree 1 (it is a polynomial equation in y′y'⁠, with y′y' to the power 1). The function y=Axy = Ax has one arbitrary constant, as many as the order, so it is a general solution. Each value of AA is a particular solution: A=2A = 2 gives y=2xy = 2x⁠, A=0A = 0 gives y=0y = 0⁠.

    Geometrically, xy′=yxy' = y says the tangent at each point passes through the origin. On an interval where x≠0x \ne 0⁠, every solution is a piece of such a line, because (yx)′=xy′−yx2=0\left(\frac{y}{x}\right)' = \frac{xy' - y}{x^2} = 0 there, so yx\frac{y}{x} is a constant.
    General and particular solutions (Section 9.3 and the Summary). Basics: order n gives n constants
Result

With y′=Ay' = A⁠, L.H.S. =xy′=Ax=y== xy' = Ax = y = R.H.S. for every x≠0x \ne 0 (in fact for every real xx⁠) and every constant AA⁠. Hence y=Axy = Ax is a solution of xy′=yxy' = y⁠, its general solution. (The answer key gives no answer for this question, since it is a verification.)

Check it with numbers

Take A=3A = 3 and x=2x = 2⁠: y=6y = 6⁠, y′=3y' = 3⁠, and xy′=2×3=6=yxy' = 2 \times 3 = 6 = y⁠.

Take A=−0.5A = -0.5 and x=−4x = -4⁠: y=2y = 2⁠, y′=−0.5y' = -0.5⁠, and xy′=(−4)(−0.5)=2=yxy' = (-4)(-0.5) = 2 = y⁠.

Common mistakes
  1. Substituting y=Axy = Ax on both sides but forgetting to replace y′y' by AA⁠.
  2. Treating AA as a variable and differentiating it. It is an arbitrary constant.
  3. Ignoring the condition: state where the check holds. Here it is all x≠0x \ne 0 (and x=0x = 0 as well).
What to take away
  1. xy′=yxy' = y is the equation of all lines through the origin.
  2. Keep AA as a letter so the check covers the whole family; compare Q2.

Every fact used, and where it comes from

FactUsed inSource
ddx(Ax)=A\frac{d}{dx}(Ax) = A for a constant AAStep 1Chapter 5 (Basics)
A solution makes L.H.S. = R.H.S. when substitutedSteps 2, 3Section 9.3 (Lesson)
Order and degree (polynomial condition)Step 4Sections 9.2.1 and 9.2.2 (Lesson)
General solution has as many constants as the orderStep 4Section 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 →