Stuck on this? Solve it with AI
Calculus · real student question

Solve the differential equation 2xy(y′)² + 2(x² + y²)y′ + 2xy = 0, first solving for y′ and then integrating each resulting first-order equation.

Question

Solve

2xy (y′)2+2(x2+y2) y′+2xy=0,2xy\,(y')^{2}+2(x^{2}+y^{2})\,y'+2xy=0,

first solving for y′y' and then integrating each of the resulting first-order equations.

Step-by-step solution

  1. Recognise the equation as algebraic in y′y', not differential yet. Divide through by 22 and write p=y′p=y':

    xy p2+(x2+y2) p+xy=0.xy\,p^{2}+(x^{2}+y^{2})\,p+xy=0.

    Nothing here involves a derivative of pp, so this is an ordinary quadratic equation whose "coefficients" happen to depend on xx and yy. Solving it turns one messy equation into two clean separable ones.

  2. Compute the discriminant and notice it is a perfect square.

    (x2+y2)2−4(xy)(xy)=x4+2x2y2+y4−4x2y2=(x2−y2)2.(x^{2}+y^{2})^{2}-4(xy)(xy)=x^{4}+2x^{2}y^{2}+y^{4}-4x^{2}y^{2}=(x^{2}-y^{2})^{2}.

    This is why the problem is solvable in closed form: the square root comes out rational, (x2−y2)2=∣x2−y2∣\sqrt{(x^{2}-y^{2})^{2}}=|x^{2}-y^{2}|, and either sign is absorbed by the ±\pm in the quadratic formula.

  3. Read off the two branches.

    p=−(x2+y2)±(x2−y2)2xy.p=\frac{-(x^{2}+y^{2})\pm(x^{2}-y^{2})}{2xy}.

    The ++ branch gives p=−2y22xy=−yxp=\dfrac{-2y^{2}}{2xy}=-\dfrac{y}{x}; the −- branch gives p=−2x22xy=−xyp=\dfrac{-2x^{2}}{2xy}=-\dfrac{x}{y}. Each is separable.

  4. Integrate the first branch y′=−y/xy'=-y/x. Separating,

    dyy=−dxx  ⟹  ln⁡∣y∣=−ln⁡∣x∣+c  ⟹  ln⁡∣xy∣=c,\frac{dy}{y}=-\frac{dx}{x}\;\Longrightarrow\;\ln|y|=-\ln|x|+c\;\Longrightarrow\;\ln|xy|=c,

    so xy=C1xy=C_{1}: a family of rectangular hyperbolas.

  5. Integrate the second branch y′=−x/yy'=-x/y. Separating,

    y dy=−x dx  ⟹  y22=−x22+c  ⟹  x2+y2=C2:y\,dy=-x\,dx\;\Longrightarrow\;\frac{y^{2}}{2}=-\frac{x^{2}}{2}+c\;\Longrightarrow\;x^{2}+y^{2}=C_{2}:

    circles centred at the origin.

  6. Check both families in the original equation. For xy=C1xy=C_1, y′=−y/xy'=-y/x; substituting, xyy2x2−(x2+y2)yx+xy=y3x−xy−y3x+xy=0xy\frac{y^{2}}{x^{2}}-(x^{2}+y^{2})\frac{y}{x}+xy=\frac{y^{3}}{x}-xy-\frac{y^{3}}{x}+xy=0. For x2+y2=C2x^{2}+y^{2}=C_2, y′=−x/yy'=-x/y; substituting, xyx2y2−(x2+y2)xy+xy=x3y−x3y−xy+xy=0xy\frac{x^{2}}{y^{2}}-(x^{2}+y^{2})\frac{x}{y}+xy=\frac{x^{3}}{y}-\frac{x^{3}}{y}-xy+xy=0. Both vanish identically. Geometrically the two families are not orthogonal: the slopes −y/x-y/x and −x/y-x/y multiply to +1+1, not −1-1. They are the two roots of the same quadratic, and they coincide exactly where ∣x∣=∣y∣|x|=|y| — there the discriminant vanishes, the two branches merge, and the hyperbola is tangent to the circle. (The orthogonal trajectories of xy=Cxy=C are the hyperbolas x2−y2=Cx^2-y^2=C.)

Answer

xy=C1orx2+y2=C2xy=C_{1}\quad\text{or}\quad x^{2}+y^{2}=C_{2}

Need to solve a different problem like this? Open the solver →