Question
Question: Find the solution of the differential equation \( {{x}^{2}}dy+y\left( x+y \right)dx=0 \) , if \( x=1...
Find the solution of the differential equation x2dy+y(x+y)dx=0 , if x=1 and y=1 .
Solution
Hint : First, we will find dxdy from the equation x2dy+y(x+y)dx=0 . We will get as dxdy=−x2y(x+y) . Then, we will assume xy=v and on differentiating e will find value of dxdy in terms of variable v. Then we will be doing integration in order to get value of constant term and finally on further simplification we will get the required solution of differential equation. Formula we will use are dxd(uv)=udxdv+vdxdu , ∫x1dx=logx , mlogn=lognm .
Complete step-by-step answer :
Here, we will first find dxdy from the equation x2dy+y(x+y)dx=0 . So, we can write it as
x2dy=−y(x+y)dx
Further, we will take dx to left hand side in denominator and x2 to right hand side in denominator, we get as
dxdy=−x2y(x+y)
Now, further multiplying the brackets we can write it as
dxdy=−(x2yx+y2)
dxdy=−(x2yx+x2y2)
Now, we will cancel the similar terms in numerator and denominator we can write it as
dxdy=−(xy+(xy)2) …………………………(1)
Now, we will assume that let xy=v . So, we can write it as y=vx . On differentiating it with respect to x, we get as
dxdy=vdxdx+xdxdv (using product rule dxd(uv)=udxdv+vdxdu )
Further, on solving we get as
dxdy=v+xdxdv
Now, we will substitute the above value in equation (1) and also xy=v . We will get as
v+xdxdv=−(v+v2)
On solving we can write it as
xdxdv=−v−v−v2=−2v−v2
xdxdv=−v(v+2)
Now, taking v terms on the left hand side and x terms on the right hand side. We will get as
v(v+2)dv=−xdx
We will take integration on both sides of the equation.
∫v(v+2)dv=−∫xdx …………………………….(2)
There is no formula for ∫v(v+2)dv so, we will find numerator such that v(v+2)1=vA+(v+2)B
On taking LCM, we get as
v(v+2)1=v(v+2)A(v+2)+Bv
On cancelling the denominator terms, and assuming v to be 0, we get value of A to be
1=A(v+2)+Bv
1=2A⇒A=21 …………………..(3)
Similarly, if we put V as −2 , we get B as
1=A(−2+2)+−2B
1=−2B⇒B=−21 ………………….(4)
Thus, we can write v(v+2)1=2v1−2(v+2)1 . So, we will substitute the values in equation (2). So, we will get as
∫2v1dv−∫2(v+2)1dv=−∫x1dx
We know that ∫x1dx=logx . Using this we will get as
21logv−21log(v+2)=−logx+logc ( logc is constant term)
Now, we will use the formula mlogn=lognm , logm−logn=log(nm) . So, we can write equation as
21[logv−log(v+2)]=logxc
log(v+2v)=2logxc
log(v+2v)=log(xc)2
Cancelling log on both sides and putting the value of v which we assumed above. We will get as
(v+2v)=(xc)2
x2xy+2xy=c2
On further simplifying, we get as
x2xy+2xxy=c2
On cancelling the denominator and further solving, we get as
(y+2xx2y)=c2 ……………….(5)
Here, we will assume a constant term to be let say k. And we are given that x=1 and y=1 . By putting this, we will find the value of k. We will get as
(1+21)=k=31
On putting value in equation (5) on solving we will get answer as
(y+2xx2y)=31
3x2y=y+2x …………………….(6)
Thus, the solution of differential equation x2dy+y(x+y)dx=0 , if x=1 , y=1 is 3x2y=y+2x .
Note : Students should know the formula related to integration and be careful while solving this type of equation. There are chances of calculation errors. Also, as dxdy is given in equation form do not directly put x=1 , y=1 in the equation x2dy+y(x+y)dx=0 and calculate value of dxdy . This is not the correct way to get an answer. We have to find the value of the constant term using the data given. So, be careful and avoid making mistakes.