>>316
∂L/∂x=2x-2r*2x(x^2+y^2)+4rx
∂L/∂y=2y-2r*2y(x^2+y^2)-4ry
∂L/∂r=(x^2+y^2)^2-2(x^2-y^2)