Question Statement
Solve the differential equation:
(x+yexy)dx−xexydy=0
subject to the initial condition y(1)=0.
Background and Explanation
This is a first-order homogeneous differential equation, identifiable by the fact that all terms have the same degree (degree 1). Such equations are solved using the substitution y=ux (where u=xy), which transforms them into separable equations in terms of u and x.
Solution
Starting with the given equation:
(x+yey/x)dx−xey/xdy=0
Rearrange to isolate the differential terms:
(x+yey/x)dx=xey/xdy
Divide both sides by dx and rearrange to express dxdy:
⇒dxdy=xey/xx+yey/x
Equation (1) is homogeneous. Apply the standard substitution:
y=ux⇒xy=u
Differentiate y=ux with respect to x using the product rule:
dxdy=xdxdu+u
Substitute into equation (1):
xdxdu+u=xeux+ux⋅eu
Simplify the right-hand side by factoring out x:
xdxdu+u=xeux(1+ueu)=eu1+ueu=eu1+u
Subtract u from both sides to isolate the derivative term:
xdxdu=eu1=e−u
Rearrange to separate variables u and x:
eudu=xdx
Integrate both sides:
∫eudu=∫xdx
eu=ln∣x∣+c
Substitute back u=xy:
exy=lnx+c
(Note: Since the initial condition is given at x=1>0, we write lnx for the domain x>0)
Given y(1)=0, substitute x=1 and y=0 into equation (2):
e10=ln1+c
e0=0+c
1=c
Substitute c=1 back into equation (2):
exy=lnx+1
This can also be expressed explicitly for y as:
y=xln(lnx+1)
- Homogeneous equation test: f(tx,ty)=tnf(x,y) for some degree n
- Substitution method: y=ux where u=xy
- Product rule differentiation: dxd(ux)=xdxdu+u
- Variable separation: Rearranging to form f(u)du=g(x)dx
- Standard integrals: ∫eudu=eu and ∫x1dx=ln∣x∣
Summary of Steps
- Rearrange the equation to express dxdy explicitly as xey/xx+yey/x
- Identify the equation as homogeneous and substitute y=ux
- Differentiate to get dxdy=xdxdu+u
- Substitute and simplify to obtain xdxdu=e−u
- Separate variables: eudu=xdx
- Integrate both sides to get eu=lnx+c
- Back-substitute u=xy to get ey/x=lnx+c
- Apply initial condition y(1)=0 to determine c=1
- State final solution: ey/x=lnx+1 or y=xln(lnx+1)