2
$\begingroup$

Given the radius and its $2$ tangent lines and their point of intersection of a circle.

A similar question is How to calculate the two tangent points to a circle with radius R from two lines given by three points

But how do I find coordinates of the center of the circle. I believe there must be $2$ solutions—each side of the intersection point. Please let me know what I am doing wrong am here, or if I am missing something?

Thanks in advance. enter image description here

$\endgroup$
6
  • 1
    $\begingroup$ Maybe its just me, but I don't fully get it. A picture might help... $\endgroup$
    – imranfat
    Commented May 28, 2013 at 19:39
  • 1
    $\begingroup$ I am presuming that you are referring to a picture similar to the one in the post you referenced. Yes, there would be two such circles, but since the intersecting lines form vertical angles, the situation on both sides of the intersection point is the same, so you only need to find one circle and place the center of the other symmetrically about the intersection point of the lines. As to finding the center of the circle, it will fall on the line bisecting the angle between the lines. There are radii of the circle perpendicular to each tangent line, of which you know the length (continued) $\endgroup$ Commented May 28, 2013 at 19:45
  • $\begingroup$ so you know two right triangles with a common side and one leg of each has a length equal to the specified radius. This should permit you to locate the circle's center. $\endgroup$ Commented May 28, 2013 at 19:46
  • $\begingroup$ Thanks for the help, but one addition to the problem is - What if I don't know tangent points where circle and line meets, that too I need to determine. Once I get those points I can find the center using the logic you mentioned. Thanks again. $\endgroup$
    – Nitesh
    Commented May 29, 2013 at 3:39
  • $\begingroup$ Thank you guys, I found the solution. Writing C for the center of the circle and θ for the angle at the intersection point of tangents, denoted as P. Lets assume a point B, where line and circle meets. Note that CB/PB=tan(θ/2). Since CB=r, we have PB=rcot(θ/2). Now we have length of 2 sides of a right angle triangle, so we can easily use pythogoras theoram to compute third side. So this will be distance from the intersection point P to center C. This solution was originally given from math.stackexchange.com/users/409/blue $\endgroup$
    – Nitesh
    Commented May 29, 2013 at 5:02

3 Answers 3

1
$\begingroup$

You have equation of two tangents. STEP $1$:Draw perpendicular(normal) from centre to tangents it is equal to radius.since you have two tangents you will draw two perpendicular(normal).

STEP $2$ :so you will get two equation consists of coordinates of centre.

STEP $3$: Then solve those equation you will get coordinates of centre.If you dont know how to draw perpendicular let me know and give data I'll solve it.

$\endgroup$
4
  • $\begingroup$ Center is unknown so how I will draw perpendicular from center to tangents ? $\endgroup$
    – Nitesh
    Commented May 29, 2013 at 3:45
  • $\begingroup$ @Nitesh you just take centre $(x_1,y_1)$ and then draw perpendicular.You will get one equation from one tangents then follow STEP 3 $\endgroup$ Commented May 29, 2013 at 4:44
  • $\begingroup$ Hi, Thanks a lot for help. I found the solution. Writing C for the center of the circle and θ for the angle at the intersection point of tangents, denoted as P. Lets assume a point B, where line and circle meets. Note that CB/PB=tan(θ/2). Since CB=r, we have PB=rcot(θ/2). Now we have length of 2 sides of a right angle triangle, so we can easily use pythogoras theoram to compute third side. So this will be distance from the intersection point P to center C. This solution was originally given from math.stackexchange.com/users/409/blue $\endgroup$
    – Nitesh
    Commented May 29, 2013 at 5:15
  • $\begingroup$ but one thing i want to tell you that finding out one coordinate from distance formula is little bit messy because that will gives a quadratic eqn in x and y.If you have any data of this question give it i'll solve it it is very easy to find centre coordinates from my solution $\endgroup$ Commented May 29, 2013 at 5:21
1
$\begingroup$

The question is tagged (geometry) not (analytic-geometry), so I assume you need to solve the problem by a construction, not calculation. Here are first four steps:

  1. Let your given lines be denoted as $a$ and $b$.
  2. Construct lines $f$ and $g$ on both sides of the given line $a$, parallel to $a$, at a distance $R$ from $a$.
  3. Similary construct lines $k$ and $l$, parallel to $b$, $R$ apart from it.
  4. Find four intersection points, say $P_1$ through $P_4$, of $f$ and $g$ with $k$ and $l$. These are center points of four circles with radius $R$, tangent to the two given lines.

Here additional question comes: are you given two lines, as the question states, or two line segments, as in the title? If there are two tangent lines, you're done at step 4. However if you have two line segments, you need to check, if the tangency points are in the segments. Then:

  1. For each $P_i$ draw two lines, one perpendicular to $a$ and the other one to $b$. Check if they meet $a$ and $b$, respectively, inside the given segments. If so, the $P_i$ is a center point of the circle sought. Otherwise discard it.

Note that the solution may contain from zero up to four circles, depending on the line segments configuration.

$\endgroup$
2
  • $\begingroup$ But this also hints at the analytic solution, no? $\endgroup$
    – mojuba
    Commented Jul 29, 2015 at 20:35
  • $\begingroup$ @mojuba Yes, the analytic solution should start from the same given data, test the same conditions and eventually find the same answer as a classic construction. $\endgroup$
    – CiaPan
    Commented Aug 3, 2015 at 9:16
0
$\begingroup$

There is also another possibility to solve this problem.

  1. If you know the three points A, B, C (B is the crossing point) you can determine the directional vectors of the lines: v1 = A - B and v2 = C - B. It is better to make them unit vectors by dividing by the lengths.

  2. From the two directional vectors you can find the angle alpha between them from the dot product definition.

  3. Then you can find the distance from the middle point B to the centre of the circle O as |BO| = R / sin(alpha).

  4. and the coordinates of the centre O as: O = B + BO, where BO is a unit vector. In the same time you have enough data to find the distance from B to your tangent points and their coordinates.

This approach will work for both 2- and 3-dimensional rectangular CS.

$\endgroup$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .