Question Statement
Solve the differential equation:
d x d y = x + x y y
Background and Explanation
This is a homogeneous differential equation , where d x d y can be expressed as a function of x y alone. For such equations, we use the substitution y = ux (where u is a function of x ) to transform it into a separable equation.
Solution
Given:
d x d y = x + x y y
This is a homogeneous differential equation because both numerator and denominator are homogeneous functions of the same degree.
Let y = ux , where u is a function of x .
Differentiating with respect to x using the product rule:
d x d y = x d x d u + u
Substituting y = ux and d x d y = x d x d u + u into equation (1):
x d x d u + u = x + x ⋅ ux ux
Simplify the denominator on the right side:
x d x d u + u = x + u x 2 ux = x ( 1 + u ) ux = 1 + u u
Rearranging to isolate x d x d u :
x d x d u = 1 + u u − u
Combine the terms on the right side with a common denominator:
x d x d u = 1 + u u − u ( 1 + u ) = 1 + u u − u − u u = 1 + u − u 3/2
Separating variables:
u 3/2 1 + u d u = − x d x
Split the left side:
( u 3/2 1 + u 3/2 u 1/2 ) d u = − x d x
Simplify exponents:
( u − 3/2 + u 1 ) d u = − x d x
Integrate both sides:
∫ u − 3/2 d u + ∫ u 1 d u = − ∫ x d x
Compute the integrals:
− 1/2 u − 1/2 + ln ∣ u ∣ = − ln ∣ x ∣ + c
Simplify:
− 2 u − 1/2 + ln ∣ u ∣ = − ln ∣ x ∣ + c
Rearrange:
− 2 u 1 + ln ∣ u ∣ + ln ∣ x ∣ = c
Combine logarithms:
− 2 u 1 + ln ∣ ux ∣ = c
Since y = ux , we have u = x y . Substituting into equation (2):
− 2 x y 1 + ln x y ⋅ x = c
Simplify:
− 2 y x + ln ∣ y ∣ = c
Therefore, the general solution is:
ln y − 2 y x = c
Or equivalently:
ln y = 2 y x + c
Homogeneous substitution : y = ux ⇒ d x d y = x d x d u + u
Power rule for integration : ∫ u n d u = n + 1 u n + 1 for n = − 1
Logarithmic integration : ∫ u 1 d u = ln ∣ u ∣
Logarithm properties : ln a + ln b = ln ( ab ) and a / b 1 = b / a
Summary of Steps
Identify the equation as homogeneous and substitute y = ux
Differentiate to get d x d y = x d x d u + u
Substitute into the original equation and simplify the algebraic expression
Separate variables to get u 3/2 1 + u d u = − x d x
Split the left side into u − 3/2 + u − 1 and integrate both sides
Simplify the integrated result to − 2 u − 1/2 + ln ∣ ux ∣ = c
Back-substitute u = x y to obtain the final solution ln y − 2 y x = c