Question Statement
Solve the differential equation:
dxdy=x+yy−x
Background and Explanation
This is a homogeneous differential equation because the right-hand side can be expressed as a function of xy alone. Such equations are solved using the substitution y=ux, which transforms the equation into a separable form.
Solution
The given differential equation is:
dxdy=x+yy−x
This is a homogeneous differential equation since both numerator and denominator are homogeneous functions of degree 1.
Put y=ux, where u is a function of x.
Differentiating with respect to x using the product rule:
dxdy=xdxdu+u
Substituting y=ux and dxdy=xdxdu+u into equation (1):
xdxdu+u=x+uxux−x
Factor out x from numerator and denominator on the right-hand side:
xdxdu+u=x(1+u)x(u−1)=1+uu−1
Rearranging to isolate dxdu:
xdxdu=1+uu−1−u
Combine the terms on the right-hand side:
xdxdu=1+uu−1−u(1+u)=1+uu−1−u−u2=1+u−(1+u2)
Separating the variables:
1+u21+udu=−xdx
∫1+u21+udu=−∫xdx
Split the left-hand side integral:
∫(1+u21+1+u2u)du=−∫xdx
∫1+u21du+∫1+u2udu=−∫xdx
Evaluating each integral:
- ∫1+u21du=tan−1u
- ∫1+u2udu=21ln(1+u2) (using the form 21∫1+u22udu)
- ∫xdx=ln∣x∣
Therefore:
tan−1u+21ln(1+u2)=−lnx+c
Rearranging:
tan−1u+21ln(1+u2)+lnx=c
Since y=ux, we have u=xy. Substituting into equation (2):
tan−1(xy)+21ln(1+x2y2)+lnx=c
Simplifying the logarithmic term:
tan−1(xy)+21ln(x2x2+y2)+lnx=c
Note: This can be further simplified to tan−1(xy)+21ln(x2+y2)=c since 21ln(x2x2+y2)+lnx=21ln(x2+y2)−lnx+lnx.
- Homogeneous substitution: y=ux⟹dxdy=u+xdxdu
- Separation of variables: Rearranging to form f(u)du=g(x)dx
- Standard integral: ∫1+u21du=tan−1u
- Logarithmic integral: ∫f(u)f′(u)du=ln∣f(u)∣ (applied to ∫1+u2udu)
Summary of Steps
- Identify the equation as homogeneous since x+yy−x can be written as a function of xy
- Substitute y=ux and dxdy=u+xdxdu into the original equation
- Simplify to obtain xdxdu=1+u−(1+u2)
- Separate variables to get 1+u21+udu=−xdx
- Integrate both sides to obtain tan−1u+21ln(1+u2)+lnx=c
- Substitute back u=xy to get the final solution in terms of x and y