The differential equation is xdy−ydx=0
Move ydx to the right side:
xdy=ydx
Divide both sides by xy:
ydy=xdx
Integrate both sides:
∫ydy=∫xdx
ln∣y∣=ln∣x∣+C
where C is the constant of integration.
ln∣y∣−ln∣x∣=C
Using the logarithm property ln(a)−ln(b)=ln(a/b):
lnxy=C
Taking exponential on both sides:
xy=eC
Since eC is a positive constant, let eC=k where k>0:
xy=±k
Let ±k=m where m is any constant:
xy=m
y=mx
The equation y=mx represents a straight line with slope m and y-intercept 0.
Therefore, the solution represents a straight line passing through the origin.