Solveeit Logo

Question

Question: Solve the differential equation \(ydx-\left( x+2{{y}^{2}} \right)dy=0\)...

Solve the differential equation ydx(x+2y2)dy=0ydx-\left( x+2{{y}^{2}} \right)dy=0

Explanation

Solution

Manipulate the given equation to get the value of dydx\dfrac{dy}{dx} from the given equation. Try to convert the equation into integrating factor type of equation. Use the formula of integrating factor to find the original function. Now write the original function, which is the required result in this question.

Complete step-by-step answer:

Given differential equation in the question is written in form of

ydx(x+2y2)dy=0ydx-\left( x+2{{y}^{2}} \right)dy=0

Multiply dy inside to remove the bracket, we get it as

ydxxdy2y2dy=0ydx-xdy-2{{y}^{2}}dy=0

By adding xdy+2y2dyxdy+2{{y}^{2}}dy on both sides, we get the equation as

ydx=xdy+2y2dyydx=xdy+2{{y}^{2}}dy

By taking dy as common, we can write the equation in form of

ydx=(x+2y2)dyydx=\left( x+2{{y}^{2}} \right)dy

By dividing with dx on both sides, we can write it as

y=(x+2y2)dydxy=\left( x+2{{y}^{2}} \right)\dfrac{dy}{dx}

By dividing with (x+2y2)\left( x+2{{y}^{2}} \right) on both sides, we get it in form of

dydx=yx+2y2...................(1)\dfrac{dy}{dx}=\dfrac{y}{x+2{{y}^{2}}}...................(1)

It is not in the form of dydx+Py=Q\dfrac{dy}{dx}+Py=Q . So, we find an equation for dxdy\dfrac{dx}{dy} and check it is in this required form.

By reversing the equation (1), we get an equation given by

dxdy=x+2y2y\dfrac{dx}{dy}=\dfrac{x+2{{y}^{2}}}{y}

By writing the fraction in two term, we have formula as

a+bc=ac+bc\dfrac{a+b}{c}=\dfrac{a}{c}+\dfrac{b}{c}

By substituting this in right hand side, we can write equation as

dxdy=xy+2y2y\dfrac{dx}{dy}=\dfrac{x}{y}+\dfrac{2{{y}^{2}}}{y}

By simplifying the above term, we can write the equation as

dxdy=xy+2y\dfrac{dx}{dy}=\dfrac{x}{y}+2y

By subtracting xy\dfrac{x}{y} on both sides, we can write the equation as

dxdyxy=xyxy+2y\dfrac{dx}{dy}-\dfrac{x}{y}=\dfrac{x}{y}-\dfrac{x}{y}+2y

By simplifying the equation, we should write it in form of

dxdyxy=2y\dfrac{dx}{dy}-\dfrac{x}{y}=2y

By comparing it to the equation, we can write it in the form of

dxdy+P1x=Q1\dfrac{dx}{dy}+{{P}_{1}}x={{Q}_{1}}

We can get value of variables as given in terms of y as

P1=1y,Q1=2y{{P}_{1}}=\dfrac{-1}{y},{{Q}_{1}}=2y

Now we know the formula of integrating factor as given by

IF=eP1dyIF={{e}^{\int{{{P}_{1}}dy}}}

By substituting their values in the equation, we can write it as

IF=e1ydyIF={{e}^{\int{-\dfrac{1}{y}dy}}}

By simplifying the integration in the equation, we can write it as

IF=elogyIF={{e}^{-\log y}}

By basic knowledge of exponential, we know the formula

alogb=logbaa\log b=\log {{b}^{a}}

We can send -1 inside the logarithm, we can write it as

IF=elog1yIF={{e}^{\log \dfrac{1}{y}}}

By cancelling e into the term elogk=k{{e}^{\log k}}=k we can write it as

IF=1yIF=\dfrac{1}{y}

After getting integrating factor, we have the formula given as

x.IF=(Q×IF)dy+cx.IF=\int{\left( Q\times IF \right)dy+c}

By substituting their values, we can write the equation the equation as

x×1y=2y×1ydy+cx\times \dfrac{1}{y}=\int{2y\times \dfrac{1}{y}dy+c}

By simplifying above terms, we can write the equation in form of

xy=2dy+c\dfrac{x}{y}=\int{2dy+c}

By using basic formula in integration, which is given by

kdy=ky+c\int{kdy=ky+c} , where k is constant.

So on solving 2dy+c\int{2dy+c}, we get 2y+c2y+c

Then we can write the equation as

xy=2y+c\dfrac{x}{y}=2y+c

By multiply with y on both sides, we get the equation as

x = y (2y + c)

By simplifying we can write the value of x in form of

x=2y2+cyx=2{{y}^{2}}+cy

Therefore this is the solution of the given differential equation.

Hence, general solution of differential equation ydx(x+2y2)dy=0ydx-\left( x+2{{y}^{2}} \right)dy=0 is x=2y2+cyx=2{{y}^{2}}+cy, where c is constant.

Note: Be careful with integrating factor formula, because the integrating factor is not a final function it just makes a formula for final solution. Be careful with the places of x, y after substituting. As the equation is dxdy\dfrac{dx}{dy} so, the formula will have x on the left hand side. The idea of using the dxdy\dfrac{dx}{dy} is very crucial. Do it carefully.