Solveeit Logo

Question

Question: Solve \[xy\dfrac{{dy}}{{dx}} = {x^2} + 2{y^2}\]...

Solve xydydx=x2+2y2xy\dfrac{{dy}}{{dx}} = {x^2} + 2{y^2}

Explanation

Solution

This is the homogeneous differential equation and we have to solve this. First, we will substitute the values wherever required and then after differentiating the substituted value, we will integrate them. The formulas of logarithm and integration should be known to you to solve this question.

Complete step by step solution:
We have to solve the given expression
xydydx=x2+2y2xy\dfrac{{dy}}{{dx}} = {x^2} + 2{y^2} ………eq(1)
This is the form of a homogeneous equation because the degree of the numerator is greater than the degree of the denominator.
First, we will take xyxy on the left-hand side of the equation and in the denominator of the right-hand side of the equation which is as shown below.
dydx=x2+2y2xy,\dfrac{{dy}}{{dx}} = \dfrac{{{x^2} + 2{y^2}}}{{xy}},
dydx=x2xy+2y2xy\Rightarrow \dfrac{{dy}}{{dx}} = \dfrac{{{x^2}}}{{xy}} + \dfrac{{2{y^2}}}{{xy}},
dydx=xy+2yx\Rightarrow \dfrac{{dy}}{{dx}} = \dfrac{x}{y} + \dfrac{{2y}}{x} ……..eq(2)
As this was a homogeneous equation, so we will solve it using the substitution method.
In the place of yx\dfrac{y}{x}, we will put ‘ uu ’.
Let, yx=u\dfrac{y}{x} = u
y=xu\Rightarrow y = xu ……..eq(3)
Now we will differentiate eq(2) with respect to xx which is as follows.
dydx=xdudx+udxdx\dfrac{{dy}}{{dx}} = x\dfrac{{du}}{{dx}} + u\dfrac{{dx}}{{dx}} ,
dydx=xdudx+u\Rightarrow \dfrac{{dy}}{{dx}} = x\dfrac{{du}}{{dx}} + u ,
Now we will put these values in eq(2) and the following results will be obtained.
dydx=xy+2yx\dfrac{{dy}}{{dx}} = \dfrac{x}{y} + \dfrac{{2y}}{x}
xdudx+u=1u+2u\Rightarrow x\dfrac{{du}}{{dx}} + u = \dfrac{1}{u} + 2u,
Now we will takethe like variables on one side of the equation and will further solve our question.

xdudx=1u+2uu, xdudx=1u+u   x\dfrac{{du}}{{dx}} = \dfrac{1}{u} + 2u - u, \\\ \Rightarrow x\dfrac{{du}}{{dx}} = \dfrac{1}{u} + u \\\ \\\

Now we will take the LCM of the equation on the right-hand side.
xdudx=1+u2ux\dfrac{{du}}{{dx}} = \dfrac{{1 + {u^2}}}{u},
Now we will do the cross multiplication and then we will integrate the expression on both sides which are as shown below.
udu1+u2=dxx\int {\dfrac{{udu}}{{1 + {u^2}}} = \int {\dfrac{{dx}}{x}} } ……eq(4)
Integration of the expression udu1+u2\int {\dfrac{{udu}}{{1 + {u^2}}}} will be complicated, so we will do this integration by substituting the values.
Let, 1+u2=t1 + {u^2} = t
Now we will do the differentiation of the above expression with respect to xx and we get the following results.
2ududx=dtdx,2u\dfrac{{du}}{{dx}} = \dfrac{{dt}}{{dx}},
2udu=dt\Rightarrow 2udu = dt,
udu=dt2\Rightarrow udu = \dfrac{{dt}}{2}
We will put all these values in eq(4) and we get the below expression.
dt2t=dxx\int {\dfrac{{dt}}{{2t}} = \int {\dfrac{{dx}}{x}} } ….eq(5)
According to the formula of integration, we know that,
dxx=logx\int {\dfrac{{dx}}{x} = \log x}
On putting this formula in eq(5),

\int {\dfrac{{dt}}{{2t}} = \int {\dfrac{{dx}}{x}} } , \\\ \Rightarrow \dfrac{1}{2}\log t = \log x + \log c \\\ $$ …………eq(6) According to the formula of the logarithm, $$\log {m^n} = n\log m$$ So eq(6) will become, $$\log {t^{\dfrac{1}{2}}} = \log x + \log c$$ …….eq(7) And we also know that, $$\log mn = \log m + \log n$$ On using this formula in eq(7), it becomes $$\log {t^{\dfrac{1}{2}}} = \log xc$$ $$ \Rightarrow \log \sqrt t = \log xc$$ Logarithm will cancel out each other on both sides and the equation becomes. $$\sqrt t = xc$$ …….eq(8) Now we will put the value of t in eq(8). $$\sqrt {1 + {u^2}} = xc$$ And after that, we will put the value of ‘u’ in the above expression.

\sqrt {1 + \dfrac{{{y^2}}}{{{x^2}}}} = xc, \\
\Rightarrow \sqrt {\dfrac{{{x^2} + {y^2}}}{{{x^2}}}} = xc, \\

$$ \Rightarrow \sqrt {{x^2} + {y^2}} = {x^2}c$$ On squaring both the sides of the above equation, we get

{x^2} + {y^2} = {x^4}{c^2} \\
\\

Hencethisisthesolution.Note:Ahomogeneousdifferentialequationisoftwotypes.Thefirstorderdifferentialequationwillhavethedegreesameinthenumeratoranddenominatorandinthesecondorderdifferentialequation,thedegreeofthenumeratorwillbegreaterthanthedegreeofthedenominator.Hence this is the solution. **Note:** A homogeneous differential equation is of two types. The first-order differential equation will have the degree same in the numerator and denominator and in the second-order differential equation, the degree of the numerator will be greater than the degree of the denominator.