Recently, I got an equation with this form: $$ (x-x_1)^2 + (y-y_1)^2 = (x-x_2)^2 +(y-y_2)^2 = (x-x_3)^2+(y-y_3)^2$$
Yes, It's from a question about calculating center point from three given points on a circle.
Reduce it, and I got this: $$ \begin{cases} 2(x_2 - x_1)x + 2(y_2-y_1)y = -x_1^2-y_1^2+x_2^2+y_2^2 \\ 2(x_3 - x_1)x + 2(y_3-y_1)y = -x_1^2-y_1^2 +x_2^2+y_2^2 \end{cases} \tag{1} \label{1}$$
Well, it an linear equation, Using Cramer ruler I can get the solution, but The Solution given by my book Taking this Form: $$ x= \frac{ \begin{vmatrix} 1 & x_1^2+y_1^2 & y_1 \\ 1 & x_2^2+y_2^2 & y_2 \\ 1 & x_3^2+y_3^2 & y_3 \\ \end{vmatrix}} {2\begin{vmatrix} 1 & x_1 & y_1 \\ 1 & x_2 & y_2 \\ 1 & x_3 & y_3 \\ \end{vmatrix}}$$ $$ y= \frac{ \begin{vmatrix} 1 & x_1 & x_1^2+y_1^2 \\ 1 & x_2 & x_2^2+y_2^2 \\ 1 & x_3 & x_3^2+y_3^2 \\ \end{vmatrix}} {2\begin{vmatrix} 1 & x_1 & y_1 \\ 1 & x_2 & y_2 \\ 1 & x_3 & y_3 \\ \end{vmatrix}}$$
How this come from? I assume this form are coming from some rewritten of equation $\ref{1}$ . Can someone tell me how to rewrite equation $\ref{1}$ so I can use Cramer ruler and get the solution with the form above?