QUESTION IMAGE
Question
solve the given differential equation. y(ln(x) - ln(y)) dx=(x ln(x) - x ln(y) - y) dy
Step1: Rearrange the terms
First, rewrite the given differential equation \(y(\ln(x)-\ln(y))dx=(x\ln(x)-x\ln(y)-y)dy\) into the form \(\frac{dy}{dx}\). We get \(\frac{dy}{dx}=\frac{y(\ln(x)-\ln(y))}{x\ln(x)-x\ln(y)-y}\). Let \(u = \frac{y}{x}\), then \(y = ux\) and \(\frac{dy}{dx}=u + x\frac{du}{dx}\).
Step2: Substitute \(y = ux\) into the equation
Substitute \(y = ux\) into the differential - equation. The left - hand side is \(u + x\frac{du}{dx}\), and the right - hand side:
\[
\]
So, \(u + x\frac{du}{dx}=\frac{-u\ln(u)}{- \ln(u)-u}\).
Step3: Simplify the equation
\[
\]
Step4: Integrate both sides
Integrate \(\int\frac{\ln(u)+u}{u^{2}}du=-\int\frac{1}{x}dx\).
For \(\int\frac{\ln(u)+u}{u^{2}}du=\int\frac{\ln(u)}{u^{2}}du+\int\frac{1}{u}du\).
Use integration by parts for \(\int\frac{\ln(u)}{u^{2}}du\). Let \(v=\ln(u)\) and \(dw = \frac{1}{u^{2}}du\), then \(dv=\frac{1}{u}du\) and \(w =-\frac{1}{u}\).
\(\int\frac{\ln(u)}{u^{2}}du=-\frac{\ln(u)}{u}+\int\frac{1}{u^{2}}du=-\frac{\ln(u)}{u}-\frac{1}{u}+C_1\). And \(\int\frac{1}{u}du=\ln|u|+C_2\).
So, \(-\frac{\ln(u)}{u}-\frac{1}{u}+\ln|u|=-\ln|x| + C\).
Substitute back \(u=\frac{y}{x}\):
\[
\]
Snap & solve any problem in the app
Get step-by-step solutions on Sovi AI
Photo-based solutions with guided steps
Explore more problems and detailed explanations
\(-\frac{x\ln(y)}{y}+\frac{x\ln(x)}{y}-\frac{x}{y}+\ln(y)=C\)