Solveeit Logo

Question

Question: Solve the following differential equation. \(2{{x}^{2}}\dfrac{dy}{dx}-2xy+{{y}^{2}}=0\) ....

Solve the following differential equation.
2x2dydx2xy+y2=02{{x}^{2}}\dfrac{dy}{dx}-2xy+{{y}^{2}}=0 .

Explanation

Solution

In order to solve this problem, we need to solve using the proper substitution. We need to use the substitution of y=vxy=vx . Also, we must know the product rule of differentiation which is given du(x)v(x)dx=u(x)dv(x)dx+du(x)dxv(x)\dfrac{du\left( x \right)v\left( x \right)}{dx}=u\left( x \right)\dfrac{dv\left( x \right)}{dx}+\dfrac{du\left( x \right)}{dx}v\left( x \right) . We also need to know some of the standard integration formulas such as xn=xn+1n+1\int{{{x}^{n}}=\dfrac{{{x}^{n+1}}}{n+1}} and 1x=ln(x)\int{\dfrac{1}{x}=\ln \left( x \right)} .

Complete step by step answer:
We are given a differential equation to solve.
As we can see that it is not possible to solve this equation by separating the y and x.
So, in order to separate the variable, we need to use substitution.
The equation is 2x2dydx2xy+y2=02{{x}^{2}}\dfrac{dy}{dx}-2xy+{{y}^{2}}=0 .
Let’s use the substitution, y=vxy=vx .
Differentiating both sides with respect to x, we get,
dydx=vdxdx+dvdx.x\dfrac{dy}{dx}=v\dfrac{dx}{dx}+\dfrac{dv}{dx}.x
Solving this we get,
dydx=v+dvdx.x\dfrac{dy}{dx}=v+\dfrac{dv}{dx}.x
Substituting this value in the differential equation we get,
2x2dydx2xy+y2=0 dydx=2xyy22x2 dydx=2(yx)(yx)22 v+dvdx.x=2vv22 \begin{aligned} & 2{{x}^{2}}\dfrac{dy}{dx}-2xy+{{y}^{2}}=0 \\\ & \dfrac{dy}{dx}=\dfrac{2xy-{{y}^{2}}}{2{{x}^{2}}} \\\ & \dfrac{dy}{dx}=\dfrac{2\left( \dfrac{y}{x} \right)-{{\left( \dfrac{y}{x} \right)}^{2}}}{2} \\\ & v+\dfrac{dv}{dx}.x=\dfrac{2v-{{v}^{2}}}{2} \\\ \end{aligned}
Solving this equation, we get,
v+dvdx.x=2vv22 v+dvdx.x=vv22 xdvdx=v22 \begin{aligned} & v+\dfrac{dv}{dx}.x=\dfrac{2v-{{v}^{2}}}{2} \\\ & v+\dfrac{dv}{dx}.x=v-\dfrac{{{v}^{2}}}{2} \\\ & x\dfrac{dv}{dx}=\dfrac{-{{v}^{2}}}{2} \\\ \end{aligned}
Separating the variables we get,
xdvdx=v22 2v2dv=dxx \begin{aligned} & x\dfrac{dv}{dx}=\dfrac{-{{v}^{2}}}{2} \\\ & \dfrac{2}{{{v}^{2}}}dv=-\dfrac{dx}{x} \\\ \end{aligned}
Taking the integration on both sides with respect to respective variables, we get,
2v2dv=dxx\int{\dfrac{2}{{{v}^{2}}}dv}=\int{-\dfrac{dx}{x}}
Using the formula of integration,
xn=xn+1n+1\int{{{x}^{n}}=\dfrac{{{x}^{n+1}}}{n+1}} and 1x=ln(x)\int{\dfrac{1}{x}=\ln \left( x \right)}, we get,
2v2dv=dxx 2v2+12+1=lnx+lnC \begin{aligned} & \int{\dfrac{2}{{{v}^{2}}}dv}=\int{-\dfrac{dx}{x}} \\\ & 2\dfrac{{{v}^{-2+1}}}{-2+1}=-\ln x+\ln C \\\ \end{aligned}
Where lnC\ln C is the constant of integration.
Solving this we get,
2v11=lnx+lnC 2v=lnx+lnC 2v=ln(xC) e(2v)=xC \begin{aligned} & 2\dfrac{{{v}^{-1}}}{-1}=-\ln x+\ln C \\\ & \dfrac{-2}{v}=-\ln x+\ln C \\\ & -\dfrac{2}{v}=-\ln \left( xC \right) \\\ & {{e}^{\left( \dfrac{2}{v} \right)}}=xC \\\ \end{aligned}
Resubstituting the value of v we get,
e2xy=xC{{e}^{\dfrac{2x}{y}}}=xC

Hence the solution of the differential equation is e2xy=xC{{e}^{\dfrac{2x}{y}}}=xC .

Note: In this problem, while performing the differentiation of the substitution we need to use the product rule of differentiation. Also, as we can see that we are not considering the sign for the value of constant as all the signs can be included in the constant itself because any sign multiplied by a constant is still a constant.