Question
Question: Solve the differential equation \[{y^2} + {x^2}\dfrac{{dy}}{{dx}} = xy\dfrac{{dy}}{{dx}}\]. A. \(\l...
Solve the differential equation y2+x2dxdy=xydxdy.
A. logxy=2−x2y
B. y=Kexy
C. xy=Ke2+x2y
D. logKxy=2+x2y
Solution
We can see that the above equation is a differential equation of order one. So, we have three methods to use – variable separable, homogeneous, linear. Note that the equation is a homogeneous equation.
Complete step by step solution:
The given equation is a differential equation of order one and degree one. Since, its order is one, we have three methods to use and it depends on the type of the given equation. It can be either a variable separable, homogeneous or linear equation. Remember that variable separable equation is of the form dy.f(y)=dx.g(x), where f and g are function involving only y and x respectively. Also, an equation is said to be a homogeneous equation of order zero if it can be expressed as dxdy=x.f(xy). Standard form of a linear equation is dxdy+Py=Q, where P and Q are functions containing only x. We will first find the type of equation and then proceed with the method already known to us.
We can observe that the given D.E y2+x2dxdy=xydxdy - - - - - - - - - - - - - - - - - - - - - (1)
can be re-written as y2=xydxdy−x2dxdy.
⇒y2=dxdy(xy−x2)
⇒dxdy=xy−x2y2 - - - - - - - - - - - - - - - - - (2)
On dividing both numerator and denominator by x2 in the RHS we get,
⇒dxdy=xy−1x2y2
⇒dxdy=f(xy).
So, it is a homogeneous differential Equation of degree zero. Hence, we will take another variable v=xy and substitute in the given equation.
⇒y=vx
On differentiation we get dxdy=xdxdv+v.
On substituting this in equation (2) we get, ⇒xdxdv+v=xy−x2y2
⇒xdxdv+v=x.(vx)−x2v2x2
By dividing the numerator and denominator by ${x^2}.
⇒xdxdv+v=v−1v2
⇒xdxdv=v−1v2−v=v−1v2−v2+v
⇒vv−1dv=xdx
Now this is of variable separable form, so we directly integrate to get,
∫vv−1dv=∫xdx
⇒∫(1−v1)dv=∫xdx
⇒v−logv+C1=logx+C2
Using the results ∫x1dx=logx+C and ∫xn=n+1xn+1+C
⇒v−logv=logx+K′, where K′=C2−C1
⇒−logv−logx=K′−v
Using logx+logy=logxy
⇒−logvx=K′−v
⇒logvx=v−K′
⇒vx=ev−K′
⇒vx=ev.e−K′
⇒vx=evK where K=e−K′
Use y=vx
⇒y=Kexy
Hence, the general solution of the given Differential equation is y=Kexy. And the correct answer is option (B). y=Kexy.
Note:
While solving such questions we can easily make mistakes while taking reciprocals, multiplying and adding fractions. So, it is better to check your answer once you finish writing, as one small mistake will make the entire answer wrong.