过点o(0,0) p(1,1) q(-2,1)求圆的方程,请写

问题描述:

过点o(0,0) p(1,1) q(-2,1)求圆的方程,请写

  设圆方程为:
  (x-a)^2+(y-b)^2=r^2
  过 O,P,Q点,代入:
  a^2+b^2=r^2--------------------(1)
  (1-a)^2+(1-b)^2=r^2-----------(2)
  (-2-a)^2+(1-b)^2=r^2----------(3)
  (2)-(3) => a=-1/2
  (2)-(1) => b=3/2
  => r^2=5/2
  所以,圆方程:(x+1/2)^2+(y-3/2)^2=5/2