Circumference that goes through 3 given points

We are going to develop the mechanism to obtain the equation of a circumference if we know that it goes through three different points.

The general equation of a circumference is x2+y2+Ax+Bx+C=0 and has 3 parameters to be determined: A, B and C.

Therefore, we know that if it is a system of 3 equations, we will be able to determine the three parameters.

And so, we have to use the three given points that we know, which are of the circumference, and substituting them in the general equation we get three equations with three unknowns A, B and C.

Example

Let's suppose that the circumference goes through points (0,0), (3,1) and (5,7).

We put each of the three points in the general equation of the circumference: (0,0)02+02+A0+B0+C=0(3,1)32+12+A3+B1+C=0(5,7)52+72+A5+B7+C=0 We must solve the following equations system for unknowns A, B and C: {C=09+1+A3+B1+C=025+49+A5+B7+C=0

First, we replace the C in other equations since we know it (it is zero) and we obtain a system of only two equations and two unknowns. {10+3A+B=074+5A+7B=0

We isolate B from the first equation: B103A and we put it into the second equation from which we will be able to isolate and obtain A: 74+5A+7(103A)=074+5A7021A=016A=4A=416=14

Then we replace the value of A obtained in the expression B=103A and we will get B=434

So we know already each of the parameters that determine the circumference, therefore we can write the equation: x2+y2+14x443=0