Analyzing the Setup
The given differential equation is ydydx=x(lnx−lny+1). At first glance, it appears complex, but we can simplify the logarithmic terms using the property lna−lnb=ln(ba).
By rewriting the equation as dydx=yx(ln(yx)+1), we reveal the structure of a homogeneous differential equation. The right-hand side depends solely on the ratio yx, which is the hallmark of this class of problems.
The Power of Substitution
To solve this, we use the substitution v=yx, which implies x=vy. Differentiating both sides with respect to y using the product rule, we obtain:
Substituting this into our original equation, we get v+ydydv=v(lnv+1). Expanding the right side yields v+ydydv=vlnv+v.
The v terms on both sides cancel out, leaving us with the simplified separable equation:
The Final Integration
We now separate the variables v and y to prepare for integration:
To integrate the left side, we use the substitution u=lnv, which implies du=v1dv. The integral becomes ∫udu=ln∣u∣=ln∣lnv∣.
Integrating the right side gives ln∣y∣. Combining these results, we obtain the general solution:
The Climax
Finding the Curve
We are given the initial condition that the curve passes through (e,1). At this point, x=e and y=1, so the ratio v=1e=e.
Plugging these values into our general solution: ln∣lne∣=ln∣1∣+C. Since lne=1 and ln1=0, we find ln∣1∣=0+C, which simplifies to 0=0+C. Thus, C=0.
The equation becomes ln∣lnv∣=ln∣y∣. Taking the antilog of both sides, we get ∣lnv∣=∣y∣. Substituting v=yx back into the expression, we arrive at the final result: