Take the 2-minute tour ×
Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

Simple question. I tried Google but I don't know what search keywords to use.

I have two points on a 2d plane. Point 1 = x1 and y1, and Point 2 = x2 and y2.

1

I'd like to draw a circle around Point 1, and the radius of the circle should be so that it intersects exactly with Point 2.

2

What is the equation to determine the required radius?

share|improve this question

3 Answers 3

up vote 8 down vote accepted

Let's call the center of the circle: $P_1 = (x_1, y_1).\;$

Let $ P_2 = (x_2, y_2)$ be a point on circle. Then:

$r$: radius of the circle = distance between points $P_1$ and $P_2$, where

$$r = \sqrt{(x_2 - x_1)^2 + (y_2-y_1)^2}$$


Any point $(x_i, y_i)$ satisfying the equation $(x_i - x_1)^2 + (y_i - y_1)^2 = r^2$ also lies on this circle.

share|improve this answer

The radius is simply the distance between the two points. So use the standard Euclidean distance which you should have learned.

share|improve this answer

If $P_1(x_1,y_1)$ is the center, the radius will be $\sqrt{(x_2-x_1)^2+(y_2-y_1)^2}$

share|improve this answer

Your Answer

 
discard

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.