Question
Question: Choose the correct option for the following question given below: Solve the following differential...
Choose the correct option for the following question given below:
Solve the following differential equation:
xdx+ydy=xdy−ydx
A. ln(x2+y2)=2tan−1(xy)+c
B. ln(x+y)2=2tan−1(xy)+c
C. ln(x2+y2)=2tan−1(yx)+c
D. ln(x+y)2=2tan−1(yx)+c
Solution
We consider writing one variable in the form of another variable by assigning a value to a differentiable constant, that is v. We then arrange the terms such that all the one type variable terms are on one side and integrate it with respect to the present variable. Arranging the terms and simplify the solution until we get the most simplified answer.
Complete step-by-step solution:
Given differential equation;
xdx+ydy=xdy−ydx
Dividing both the sides by dx, we get;
⇒x+ydxdy=xdxdy−y−−−−(1)
Now, let us consider taking xy in terms of a variable v
v=xy
⇒y=vx
Differentiating both sides with respect to dx, we get;
⇒dxdy=v+xdxdv
Substituting the dxdy and y in the equation 1, we get;
⇒x+xv(xdxdv+v)=x(xdxdv+v)−xv
Simplifying the equation, we get;
⇒x+xv(xdxdv+v)=x2dxdv+xv−xv
Reducing the equation, we get;
⇒x+xv(xdxdv+v)=x2dxdv
Expanding the equation, we get;
⇒x+x2vdxdv+xv2=x2dxdv
Rearranging the terms, we get;
⇒x+xv2=x2dxdv−x2vdxdv
Taking the common terms out, we get;
⇒x(1+v2)=dxdvx2(1−v)
Cancelling the common terms out, we get;
⇒(1+v2)=dxdvx(1−v)
Re-arranging the terms, we get;
⇒dxdv=x(1−v)1+v2
Taking the negative sign from the denominator as the common term, we get;
⇒dxdv=x(v−1)−1−v2
Now, we rearrange the terms such that the xterms are on one side.
⇒dxdv(−v2−1v−1)=x1
We can write the above equation as,
⇒(−v2−1v−1)dxdv=x1
Integrating both the sides with respect to x, we get;
∫−v2−1v−1dxdvdx=∫x1dx
⇒tan−1v−21log(v2+1)=logx+c
There is a constant added because it is integration.
Now substituting the value of v in terms of y, we get;
⇒tan−1(xy)−21log((xy)2+1)=logx+c
Rearranging the terms, we get;
⇒tan−1(xy)=logx+21log((xy)2+1)+c
By taking the L.C.M. of the denominator and taking it to the other side, we get;
⇒2tan−1(xy)=2logx+log((xy)2+1)+c
By applying the formula of logarithmic powers, we get;
⇒2tan−1(xy)=logx2+log((xy)2+1)+c
By using the logarithmic theorem of addition, we get;
⇒2tan−1(xy)=log(x2(x2y2+1))+c
By multiplying the terms, we get;
⇒2tan−1(xy)=log(x2x2y2+x2)+c
By cancelling the common terms, we have;
⇒2tan−1(xy)=log(x2+y2)+c
Rearranging the terms, we get;
⇒log(x2+y2)=2tan−1(xy)+c
∴ The correct option is A.
Note: A differential equation is an equation that relates one or more functions and their derivatives. Mainly the study of differential equations consists of the study of their solutions (the set of functions that satisfy each equation), and of the properties of their solutions. Only one simplest differential equation is solvable by explicit formulas, however, many properties of solution of a given differential equation may be determined without computing them exactly.