Given,the vertices of triangle (−2,3),(5,2),(6,−1)
General equation of the circle is given by, x2+y2+Dx+Ey+F=0
(−2,3)⇒(−2)2+32−2D+3E+F=0⇒−2D+3E+F=−13.....(1)
(5,2)⇒(5)2+22+5D+2E+F=0⇒5D+2E+F=−29.....(2)
(6,−1)⇒62+(−1)2+6D−1E+F=0⇒6D−E+F=−37.....(3)
Solving equations (1),(2) and (3), we get
Equation (1)−(2)=−2D+3E+F−5D−2E−F=−13+29=16
⇒−7D+E=16 ...........(4)
Equation (2)−(3),we get
5D+2E+F−6D+E−F=−29+37=8
⇒−D+3E=8 .........(5)
Solving (4) and (5) we get
equation (4)−7×equation(5) we get
−7D+E+7D−21E=16−56=−40
⇒−20E=−40 or E=2
Substituting the value of E=2 in (5) we get
⇒−D+6=8 or D=−2
Substituting D=−2 and E=2 in (1) we get
4+6+F=−13 or F=−23
∴D=−2,E=2,F=−23
Required equation of circle is,
x2+y2−2x+2y−23=0