Question
Mathematics Question on Differential equations
For the differential equation xydxdy=(x+2)(y+2),find the solution curve passing through the point(1,−1).
Answer
The differential equation of the given curve is:
xydxdy=(x+2)(y+2)
⇒(y+2y)dy=(xx+2)dx
⇒(1−y+22)dy=(1+x2)dx
Integrating both sides,we get:
∫(1−y+22)dy=∫(1+x2)dx
⇒∫dy−2∫y1+2dy=∫dx+2∫x1dx
⇒y−2log(y+2)=x+2logx+C
⇒y−x−C=logx2+log(y+2)2
⇒y−x−C=log[x2(y+2)2]...(1)
Now,the curve passes through (1,-1).
⇒−1−1−C=log[(1)2(−1+2)2]
⇒−2−C=log1=0
⇒C=−2
Substituting C=-2 in equation(1),we get:
y−x+2=log[x2(y+2)2]
This is the required solution of the given curve.