Circle Touching another circle and a line.

413 Views Asked by At

I have tough question, which I need for a program I am working on.

I have one circle where I know its center position $(x,y)$ and radius, and one straight line with the formula $y=x+b$ where $b$ is known.

Now I need to find out the center position of another circle so that it touches both the line and the first circle. For this second circle I know only the radius.

Known
Circle 1: Radius $r_1,C_1(x_1,y_1)$
Circle 2: Radius $r_2$
Line: $ly=lx+b$ ($b$ is a known lenght)

What I need to find is $C_2(x_2,y_2)$

At a later point I will also need to find the centerpoint of a circle touching $2$ known circles, but I hope the answer to the first part will help in this as well.

2

There are 2 best solutions below

2
On BEST ANSWER

I will provide a hint. The hint is as follows:

Suppose the center of Circle 1 is $O_1$ and center of Circle 2 is $O_2$. Consider the distances from $O_1$ to $l$ and from $O_1$ to $O_2$.

Hope the hint helped you because the rest you do is plug the numbers into the formulae of distances.

1
On

You can't find a circle of a given radius. What you can do is draw a line from the center of the given circle perpendicular to the given line. Then bisect the line segment formed by the foot of the perpendicular and the point where the line crosses the given circle.