let A(A.x,A.y), B(B.x,B.y) and C(C.x,C.y) be some 3 points (ill use the .x and .y to represent the x,y coordinates of the points)
to start off, the line joining 2 points can be shown by equaling the gradient of 1 point to any point of the line, and the gradient between the 2 known points $$\frac{y-A.y}{x-A.x} = \frac{A.y-B.y}{A.x-B.x}$$
but for some reason, the same line can be represented using a determinant equaled to 0
$$ \begin{vmatrix} x & y & 1 \\ A.x & A.y & 1 \\ B.x & B.x & 1 \\ \end{vmatrix} =0 $$
this can be extended to a circle that passes through 3 points too as,
$$ \begin{vmatrix} x^2+y^2 & x & & y & 1 \\ A.x^2+A.y^2 & A.x & & A.y & 1 \\ B.x^2+B.y^2 & B.x & & B.y & 1 \\ C.x^2+C.y^2 & C.x & & A.y & 1 \\ \end{vmatrix} =0 $$
my question is, why does this work? i`ve not done linear algebra or such advanced topics yet, could someone explain why this works, and how to use this further?