Question Statement
Solve the differential equation:
2 x 2 d x d y = 3 x y + y 2
subject to the initial condition y ( 1 ) = − 2 .
Background and Explanation
This problem involves a homogeneous differential equation , where the right-hand side can be expressed purely as a function of the ratio x y . The standard technique is to use the substitution y = ux , which transforms the equation into a separable form in terms of u and x .
Solution
Starting with the given equation:
2 x 2 d x d y = 3 x y + y 2
Divide both sides by 2 x 2 to isolate d x d y :
d x d y = 2 x 2 3 x y + y 2
The right-hand side is a homogeneous function of degree zero (each term has the same degree when counting x and y ), confirming this is a homogeneous differential equation .
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
Substitute y = ux and d x d y = x d x d u + u into equation (1):
x d x d u + u = 2 x 2 3 x ( ux ) + ( ux ) 2 = 2 x 2 3 u x 2 + u 2 x 2 = 2 x 2 x 2 ( 3 u + u 2 ) = 2 3 u + u 2
Isolate the derivative term:
x d x d u = 2 3 u + u 2 − u = 2 3 u + u 2 − 2 u = 2 u + u 2 = 2 u ( 1 + u )
Separate variables by moving all u terms to the left and x terms to the right:
u ( 1 + u ) d u = 2 x d x
To integrate the left side, decompose u ( 1 + u ) 1 :
u ( 1 + u ) 1 = u A + 1 + u B
Multiply both sides by u ( 1 + u ) :
1 = A ( 1 + u ) + B u
Solve for constants A and B :
Put u = 0 in (4): 1 = A ( 1 + 0 ) + 0 ⇒ A = 1
Put u = − 1 in (4): 1 = A ( 0 ) + B ( − 1 ) ⇒ B = − 1
Thus:
u ( 1 + u ) 1 = u 1 − 1 + u 1
Substitute the partial fractions back into the separated equation:
∫ ( u 1 − 1 + u 1 ) d u = 2 1 ∫ x 1 d x
Perform the integration:
ln ∣ u ∣ − ln ∣1 + u ∣ = 2 1 ln ∣ x ∣ + ln ∣ c ∣
Combine logarithms on both sides:
ln 1 + u u = ln c x 1/2
Exponentiate to remove the logarithms:
1 + u u = c x
Recall that u = x y . Substitute into equation (5):
1 + x y x y = c x
Simplify the complex fraction by multiplying numerator and denominator by x :
x + y y = c x
Use y ( 1 ) = − 2 (i.e., when x = 1 , y = − 2 ):
1 + ( − 2 ) − 2 − 1 − 2 2 = c ( 1 ) 1/2 = c = c
Substitute c = 2 back into equation (6):
x + y y = 2 x
To eliminate the square root, square both sides:
( x + y y ) 2 = 4 x
Alternatively, solving explicitly for y gives y = 1 − 2 x 2 x 3/2 , though the implicit form above is typically sufficient.
Homogeneous substitution : y = ux and d x d y = x d x d u + u
Partial fraction decomposition : u ( 1 + u ) 1 = u 1 − 1 + u 1
Logarithmic integration : ∫ u 1 d u = ln ∣ u ∣
Logarithm properties : ln a − ln b = ln ( b a ) and k ln a = ln ( a k )
Variable separation : Moving all terms involving u to one side and x to the other
Summary of Steps
Rewrite the equation as d x d y = 2 x 2 3 x y + y 2 and verify it is homogeneous.
Substitute y = ux and d x d y = x d x d u + u to transform the equation.
Simplify to obtain x d x d u = 2 u ( 1 + u ) .
Separate variables: u ( 1 + u ) d u = 2 x d x .
Apply partial fractions: u ( 1 + u ) 1 = u 1 − 1 + u 1 .
Integrate to get ln 1 + u u = ln ∣ c x ∣ , then exponentiate to 1 + u u = c x .
Substitute back u = x y to obtain x + y y = c x .
Use the initial condition y ( 1 ) = − 2 to find c = 2 .
State the final solution: x + y y = 2 x or ( x + y y ) 2 = 4 x .