Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have $2$ points on circle from which I want to find the center of circle. I also know the r. I am trying to solve $2$ equations but not able to find the centre $( C_x,C_y)$. Can someone check what I am doing wrong?

$1. (A_x - C_x)^2 + (A_y - C_y)^2 = r^2$

$2. (B_x - C_x)^2 + (B_y - C_y)^2 = r^2$

Solving 1 first I got

$-C_x^2 = r^2 - A_x^2 - A_y^2 + C_y^2$

Putting this value in eq.$2$ I got nothing ... how to find $C_x$ and $C_y$ then?

$B_x^2 - A_x^2 - A_y^2 + B_y^2 = 0$

these are the values I already know...

share|cite|improve this question
up vote 0 down vote accepted

The initial equations you wrote are correct. The problem is incorrectly squaring.




So, for example, $(A_x-C_x)^2=A_x^2-2A_xC_x+C_x^2$, not $A_x^2-C_x^2$.

If you subtract the equations, you will be left with a linear equation relating $C_x$ and $C_y$. You could solve for one in terms of the other, then substitute back into one of the original equations.

share|cite|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.