The problem is: Let $A$, $B$ and $C$ be fixed points, and $α,β,γ$ and $κ$ are given constants, then the locus of a point $P$ that satisfies the equation $$α(AP)^2+β(BP)^2+γ(CP)^2=\kappa,$$ is a circunference. Prove it.
I need at least some hint to answer it, I tried using the distance between two points formula but I only get a mess of variables that show me nothing.
Let $a=(a_x,a_y), b=(b_x,b_y), c=(c_x,c_y), P=(x,y)$
The equation is equivalent to $$\alpha(x-a_x)^2+\alpha (y-a_y)^2+\beta (x-b_x)^2+\beta (y-b_y)^2+\gamma(x-c_x)^2+\gamma(y-c_y)^2=\kappa$$ Rearrange to get, $$(\alpha+\beta+\gamma)x^2+(\alpha+\beta+\gamma)y^2-2(\alpha a_x+\beta b_x+\gamma c_x)x-2(\alpha a_y+\beta b_y+\gamma c_y)y=(\kappa-\alpha a_x^2-\alpha a_y^2-\beta b_x^2-\beta b_y^2-\gamma c_x^2-\gamma c_y^2)$$ To simplify the notation let $$ d_x=(\alpha a_x+\beta b_x+\gamma c_x)/(\alpha+\beta+\gamma)$$ $$ d_y=(\alpha a_y+\beta b_y+\gamma c_y)/(\alpha+\beta+\gamma)$$ $$ d=(\kappa-\alpha a_x^2-\alpha a_y^2-\beta b_x^2-\beta b_y^2-\gamma c_x^2-\gamma c_y^2)/(\alpha+\beta+\gamma)$$ divide the equation by $(\alpha+\beta+\gamma)$ and further rearrange the equation we'll get $$(x-d_x)^2+(y-d_y)^2=(d+d_x^2+d_y^2)$$
Therefore it's circunference center at $(d_x,d_y)$ with radius $\sqrt{d+d_x^2+d_y^2}$