xyy^'=y^2+xsqrt(4x^2+y^2)
⚠ xyy^'=y^2+xsqrt(4x^2+y^2) is read as x*y*y'=y^2+x*sqrt(4x^2+y^2): write y' or y'' for a derivative, use * for multiplication
Let's solve the differential equation xy·y' = y2 + x·4x2 + y2, where y is a function of x; on an interval where x > 0 and y ≠ 0, isolate y': y' = x·4x2 + y2 + y2xy
On this interval, the right side only depends on yx: the equation is homogeneous. With v = yx, it reads y' = v2 + v2 + 4v
Let y = vx, where v is a function of x: then y' = v + x·v', and the equation becomes v + x·v' = v2 + v2 + 4v, that is x·v' = v2 + 4v
v2 + 4v is never zero: separate the variables, vv2 + 4·dv = dxx
Let u = v2 + 4, so u' = 2v. Since u > 0, using ddv(u) = u'2u gives ddv(v2 + 4) = 2v2·v2 + 4 = vv2 + 4, hence ∫vv2 + 4dv = v2 + 4
Integrating both sides, with ∫1xdx = ln|x| since x ≠ 0: v2 + 4 = ln|x| + C, where C is an arbitrary real constant, chosen independently on each interval
Replace v by yx: y2x2 + 4 = ln|x| + C
On an interval where x < 0 and y ≠ 0, isolate y': y' = x·4x2 + y2 + y2xy
On this interval, the right side only depends on yx: the equation is homogeneous. With v = yx, it reads y' = v2 -v2 + 4v
Let y = vx, where v is a function of x: then y' = v + x·v', and the equation becomes v + x·v' = v2 -v2 + 4v, that is x·v' = -v2 + 4v
-v2 + 4v is never zero: separate the variables, -vv2 + 4·dv = dxx
First take the factor -1 outside the integral: ∫(-vv2 + 4)dv = -∫vv2 + 4dv
Let u = v2 + 4, so u' = 2v. Since u > 0, using ddv(u) = u'2u gives ddv(v2 + 4) = 2v2·v2 + 4 = vv2 + 4, hence ∫vv2 + 4dv = v2 + 4; therefore ∫(-vv2 + 4)dv = -v2 + 4
Integrating both sides, with ∫1xdx = ln|x| since x ≠ 0: -v2 + 4 = ln|x| + C, where C is an arbitrary real constant, chosen independently on each interval
Replace v by yx: -y2x2 + 4 = ln|x| + C
▶Solution:   ((x > 0 ∧ y2x2 + 4 = ln|x| + C ∧ y ≠ 0) ∨ (x < 0 ∧ -y2x2 + 4 = ln|x| + C ∧ y ≠ 0))