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 would like to determine the point $C$ in this image:

enter image description here

(assume I have radius value).

After the hours of research and refreshing some memories from school days, I've got:

Please assume...

Point: (xCoordinate, yCoordinate):

A (center): $(x_0,y_0)$

B: $(x_1,y_1) $

Plugging them into equation of circle

$$x^2 + \left(y_0 + \left( \frac{y_1-y_0}{x_1-x_0}\right) (x-x_0)\right)^2 = r^2$$

Now how can I solve for $x$? I would like to have the equation that starts with "$x=$".

Thanks a bunch in advance.

share|cite|improve this question
Welcome to math.SE. You can find some good starting points on how to format mathematics on the site here. This AMS reference is very useful. If you need to format more advanced things, there are many excellent references on LaTeX on the internet, including StackExchange's own TeX.SE site. – Zev Chonoles Feb 22 '13 at 8:21

Because the point $C=(x,y)$ is lies on a line through $(x_0,y_0)$ and $(x_1,y_1)$, it is of the form $$(x,y)=(x_0+t(x_1-x_0),y_0+t(y_1-y_0))$$ for some real number $t$. In order for $C$ to lie on the circle, we must have that $$(t(x_1-x_0))^2+(t(y_1-y_0))^2=r^2,$$ and hence $$t=\frac{r}{\sqrt{(x_1-x_0)^2+(y_1-y_0)^2}}.$$ Thus, the $x$-coordinate of $C$ is $$x=x_0+\frac{r(x_1-x_0)}{\sqrt{(x_1-x_0)^2+(y_1-y_0)^2}}.$$

share|cite|improve this answer

Hint: Assuming the coordinates of unknown point are $(X,Y)$, solve these two equations simultaneously: $$(Y-y_0)^2+(X-x_0)^2=r^2,~~~Y=\frac{y_1-y_0}{x_1-x_0}(X-x_0)-y_0$$

share|cite|improve this answer
helpful hint! + 1 – amWhy Feb 22 '13 at 13:46

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.