y'+2y/x=-x,
xy'+2y=-x^2,
x^2*y'+2xy=-x^3,
(x^2y)'=-(x^4/4)',于是
x^2y=-x^4/4+C,利用y(2)=0得
C=2^4/4=4.故解为
y=(4-x^4/4)/x^2
=4/x^2-x^2/4.
y'+2y/x=-x,
xy'+2y=-x^2,
x^2*y'+2xy=-x^3,
(x^2y)'=-(x^4/4)',于是
x^2y=-x^4/4+C,利用y(2)=0得
C=2^4/4=4.故解为
y=(4-x^4/4)/x^2
=4/x^2-x^2/4.