我想问问怎么把x^2+y^2-4x+2y-4=0,化简成这个式子:(x-2)^2+(y+1)^2=9的,

问题描述:

我想问问怎么把x^2+y^2-4x+2y-4=0,化简成这个式子:(x-2)^2+(y+1)^2=9的,

x^2+y^2-4x+2y-4=0
x^2+y^2-4x+2y=4
x^2-4x+y^2+2y=4
x^2-4x+4-4+y^2+2y+1-1=4
(x^2-4x+4)-4+(y^2+2y+1)-1=4
(x^2-4x+4)+(y^2+2y+1)=4+4+1
:(x-2)^2+(y+1)^2=9