Question
Question: Solution of \( \left( {1 + xy} \right)ydx + \left( {1 - xy} \right)xdy = 0 \) is A. \( \log \dfrac...
Solution of (1+xy)ydx+(1−xy)xdy=0 is
A. logyx+xy1=c
B. logyx=c
C. logyx−xy1=c
D. logxy−xy1=c
Solution
Hint : First expand the given equation by multiplying the terms inside the bracket with the term outside the bracket. After that put all the like terms together. Then find their integration using the below mentioned formulas.
Formulas used:
1. ∫x1dx=logx+c
2. d(xy)=xdy+ydx
3. ∫xndx=n+1xn+1+c
4. loga−logb=logba
Complete step-by-step answer :
We are given to find the solution of the equation (1+xy)ydx+(1−xy)xdy=0 .
First we are multiplying the terms inside the bracket with the term outside the bracket in the left hand side of the equation.
⇒ydx+xy.ydx+xdy−xy.xdy=0
⇒ydx+xy2dx+xdy−x2ydy=0
On putting the linear terms one side and the square terms another side, we get
⇒ydx+xdy+xy2dx−x2ydy=0
As we can see in the 3rd and 4th terms of the above equation, we can take out xy common
⇒ydx+xdy+xy(ydx−xdy)=0
On dividing the whole equation (both LHS and RHS) by x2y2 , we get
⇒x2y2ydx+xdy+xy(ydx−xdy)=x2y20
⇒x2y2ydx+xdy+xy(ydx−xdy)=0
⇒x2y2ydx+xdy+x2y2xy(ydx−xdy)=0
x2y2 can also be written as (xy)2
⇒x2y2ydx+xdy+(xy)2xy(ydx−xdy)=0
⇒x2y2ydx+xdy+(xy)2xy(ydx−xdy)=0
⇒x2y2ydx+xdy+xy1(ydx−xdy)=0
⇒x2y2ydx+xdy+(xyydx−xyxdy)=0
⇒(xy)2ydx+xdy+(x1dx−y1dy)=0 …… equation (1)
Let us consider xy as t, xy=t
On differentiating both sides with respect to t, we get
⇒dtd(xy)=dtdt
⇒xdtdy+ydtdx=1
⇒xdy+ydx=dt
On substituting t in the place of xy and dt in the place of xdy+ydx in equation 1, we get
⇒(t)2dt+(x1dx−y1dy)=0
Now we are integrating the above equation
⇒∫[(t)2dt+(x1dx−y1dy)]=0
⇒∫(t)2dt+∫x1dx−∫y1dy=0
⇒∫(t)−2dt+∫x1dx−∫y1dy=0
We already know that ∫xndx=n+1xn+1+c , here x is t and n is -2
This gives, ⇒−2+1t−2+1+∫x1dx−∫y1dy=0
And the value of ∫x1dx=logx+c
⇒−1t−1+c+logx+c−(logy+c)=0
⇒−t1+c+logx+c−logy−c=0
⇒−t1+logx−logy=c
Substituting t as xy and the value of loga−logb=logba
This gives
⇒−xy1+logyx=c
⇒logyx−xy1=c
Therefore, the solution of (1+xy)ydx+(1−xy)xdy=0 is logyx−xy1=c
Hence, the correct option is Option C.
So, the correct answer is “Option C”.
Note : The variable ‘c’ we get after integrating an expression is a constant, so if we add another constant to it then the result will also be a constant. So do not worry about its sign and coefficient. Be careful with the results of differentiation and integration as they both are inverse to each other.