Question
Question: $y \log y \, dx + (x - \log y)dy = 0$...
ylogydx+(x−logy)dy=0

Answer
x \log y = \frac{(\log y)^2}{2} + C
Explanation
Solution
The given differential equation ylogydx+(x−logy)dy=0 is a first-order differential equation. It can be transformed into a linear differential equation in x with y as the independent variable.
-
Rearrange the equation: dydx+ylogy1x=y1.
-
Identify P(y)=ylogy1 and Q(y)=y1.
-
Calculate the integrating factor (IF): e∫P(y)dy=e∫ylogy1dy=elog∣logy∣=logy.
-
Apply the general solution formula for linear equations: x⋅(IF)=∫Q(y)⋅(IF)dy+C.
-
Substitute and integrate: xlogy=∫y1logydy+C=2(logy)2+C.
The final solution is xlogy=2(logy)2+C.