$A=(3,1)$ and $B=(-1,-1)$ are points on a circle of center $(k, -3k)$ find the value of $k$
I begin by assinging the values $\ g = -k $ and $\ f=3k $.
I then substitute $(3, 1)$ and $ g= -k, f= 3k $ into $\ x^2+y^2+2gx+2fy+c$. That leaves me with $c = 10$, meaning $k= -2$. Where have I gone wrong? I know its wrong.
FINAL EDIT:
Very sorry, as foolish as this sounds, there is a mix up in the numbering of the answers, I actually got the answer correct. Thank you for your time, sorry about wasting it.
Please delete this Question.
I'd approach the problem differently. First, the perpendicular bisector of any chord of a circle contains the center of the circle, so I'd start by writing an equation for the perpendicular bisector of $\overline{AB}$. Then, substitute $(k,-3k)$ into that equation and solve for $k$.
Using this method, I also get $k=-2$; how do you know that is wrong?