Question
Question: Solve the differential equation \(ydx-\left( x+2{{y}^{2}} \right)dy=0\)...
Solve the differential equation ydx−(x+2y2)dy=0
Solution
Manipulate the given equation to get the value of dxdy 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=0
Multiply dy inside to remove the bracket, we get it as
ydx−xdy−2y2dy=0
By adding xdy+2y2dy on both sides, we get the equation as
ydx=xdy+2y2dy
By taking dy as common, we can write the equation in form of
ydx=(x+2y2)dy
By dividing with dx on both sides, we can write it as
y=(x+2y2)dxdy
By dividing with (x+2y2) on both sides, we get it in form of
dxdy=x+2y2y...................(1)
It is not in the form of dxdy+Py=Q . So, we find an equation for dydx and check it is in this required form.
By reversing the equation (1), we get an equation given by
dydx=yx+2y2
By writing the fraction in two term, we have formula as
ca+b=ca+cb
By substituting this in right hand side, we can write equation as
dydx=yx+y2y2
By simplifying the above term, we can write the equation as
dydx=yx+2y
By subtracting yx on both sides, we can write the equation as
dydx−yx=yx−yx+2y
By simplifying the equation, we should write it in form of
dydx−yx=2y
By comparing it to the equation, we can write it in the form of
dydx+P1x=Q1
We can get value of variables as given in terms of y as
P1=y−1,Q1=2y
Now we know the formula of integrating factor as given by
IF=e∫P1dy
By substituting their values in the equation, we can write it as
IF=e∫−y1dy
By simplifying the integration in the equation, we can write it as
IF=e−logy
By basic knowledge of exponential, we know the formula
alogb=logba
We can send -1 inside the logarithm, we can write it as
IF=elogy1
By cancelling e into the term elogk=k we can write it as
IF=y1
After getting integrating factor, we have the formula given as
x.IF=∫(Q×IF)dy+c
By substituting their values, we can write the equation the equation as
x×y1=∫2y×y1dy+c
By simplifying above terms, we can write the equation in form of
yx=∫2dy+c
By using basic formula in integration, which is given by
∫kdy=ky+c , where k is constant.
So on solving ∫2dy+c, we get 2y+c
Then we can write the equation as
yx=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+cy
Therefore this is the solution of the given differential equation.
Hence, general solution of differential equation ydx−(x+2y2)dy=0 is x=2y2+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 dydx so, the formula will have x on the left hand side. The idea of using the dydx is very crucial. Do it carefully.