Results 1 to 5 of 5

Math Help - cartesian coordinates / two circles

  1. #1
    Newbie
    Joined
    Apr 2010
    Posts
    3

    cartesian coordinates / two circles

    hello,

    I have two circles with known r1 & r2 radii.
    I know the centers cartesian coordinates C0(a0,b0) & C1(a1,b1).
    I know the distance "d" between centers of Circle 1 & Circle 2
    (circles never overlap in my problem)



    Then, i have (the two blue lines) like in this picture :

    [IMG] http://img180.imageshack.us/img180/6710/twocircles.png [/IMG]

    These 2 blue lines are common tangent lines
    (interior tangent & exterior tangent) to those two circles.



    I really need to find out the cartesian coordinates of :

    case A (exterior tangent):

    T0(x0,y0) = ?
    T1(x1,y1) = ?

    case B (interior tangent):
    T2(x2,y2) = ?
    T3(x3,y3) = ?

    i.e , find for example for T0 point , x0 = ??? and y0 = ???


    Please help, im not so good at math , need this in a very little game im trying to make.

    Really appreciate your help .

    note: this is use in a very little game im trying to make
    Follow Math Help Forum on Facebook and Google+

  2. #2
    Super Member
    Joined
    Dec 2009
    From
    1111
    Posts
    872
    Thanks
    3
    Quote Originally Posted by redbaseone View Post
    hello,

    I have two circles with known r1 & r2 radii.
    I know the centers cartesian coordinates C0(a0,b0) & C1(a1,b1).
    I know the distance "d" between centers of Circle 1 & Circle 2
    (circles never overlap in my problem)



    Then, i have (the two blue lines) like in this picture :

    [IMG] http://img180.imageshack.us/img180/6710/twocircles.png [/IMG]

    These 2 blue lines are common tangent lines
    (interior tangent & exterior tangent) to those two circles.



    I really need to find out the cartesian coordinates of :

    case A (exterior tangent):

    T0(x0,y0) = ?
    T1(x1,y1) = ?

    case B (interior tangent):
    T2(x2,y2) = ?
    T3(x3,y3) = ?

    i.e , find for example for T0 point , x0 = ??? and y0 = ???


    Please help, im not so good at math , need this in a very little game im trying to make.

    Really appreciate your help .

    note: this is use in a very little game im trying to make
    Dear redbaseone,

    This is a general method of finding the cartesian coordinates, and it could be used in both exterior and interior cases.

    First you have to find the intersection point of the tangent and the line that connects the two origins.(i.e: the intersection point of C_{0}C_{1}~and~T_{2}T_{3} in the case of the the interior tangent.)

    Now let me take this point as D={x,y},

    Then \frac{C_{1}D}{C_{o}D}=\frac{r_{2}}{r_{1}} ; Since the two tringles are similar.

    Now by using the ratio theorem you could find the intersection point.

    x=\frac{r_{2}a_{1}+r_{1}a_{0}}{r_{1}+r_{2}}

    y=\frac{r_{2}b_{1}+r_{1}b_{0}}{r_{1}+r_{2}}

    Also,

    \sqrt{(y_{2}-b_{0})^2+(x_{2}-a_{0})^2}=r_{1}-----------1

    (b_{0}-y)^2+(a_{0}-x)^2-r_{1}^{2}=(y-y_{2})^2+(x-x_{2})^2------2

    Substituting the values obtained for x and y in equations 1 and 2 and simplifing them you could obtain x_{2} ~and~ y_{2}.

    Similarly you could obtain  x_{3}~ and~ y_{3}.

    You could extend C_{0}C_{1}~and~T_{0}T_{1} to obtain a set of two similar traingles and get along with a similar method for obtiaining T_{0}~and~T_{1}

    Hope this ideas will help you.
    Follow Math Help Forum on Facebook and Google+

  3. #3
    Newbie
    Joined
    Apr 2010
    Posts
    3
    thank you for your fast reply.
    i think i got it (must work it on paper)

    1) did you popped this below line from Thales Theorem in triangles (C0,T2,D) & (C1,T3,D) ? :

    " Then ; Since the two tringles are similar. "


    2)

    "and

    -----------1

    ------2 "


    equation 1 = is pithagorean theorem in triangle (C0,T2,D) ?
    equation 2 = is this circle equation in point T2 wich equals line (T2,D)
    equation in same T2 point ?


    thank you !!
    Follow Math Help Forum on Facebook and Google+

  4. #4
    Super Member
    Joined
    Dec 2009
    From
    1111
    Posts
    872
    Thanks
    3
    Quote Originally Posted by redbaseone View Post
    thank you for your fast reply.
    i think i got it (must work it on paper)

    1) did you popped this below line from Thales Theorem in triangles (C0,T2,D) & (C1,T3,D) ? :

    " Then ; Since the two tringles are similar. "


    2)

    "and

    -----------1

    ------2 "


    equation 1 = is pithagorean theorem in triangle (C0,T2,D) ?
    equation 2 = is this circle equation in point T2 wich equals line (T2,D)
    equation in same T2 point ?


    thank you !!
    Dear redbaseone,

    For the Thales' theorem all three points of the traingle must be on a circumference of a circle (Refer:Thales' theorem - Wikipedia, the free encyclopedia). I did'nt use the Thales theorem. Instead this is a theorem that is valid for all similar traingles (Refer:Triangle similarity, ratios of parts - Math Open Reference).

    Equation 1) and 2) are obtained from the Pythogorean Theorem.

    Hope this will help you.
    Follow Math Help Forum on Facebook and Google+

  5. #5
    Newbie
    Joined
    Apr 2010
    Posts
    3
    thank you very much !
    that really helped !
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. Replies: 10
    Last Post: September 24th 2010, 04:33 AM
  2. Replies: 6
    Last Post: August 30th 2010, 03:34 PM
  3. Covert Cartesian coordinates eq. into Cylindrical coordinates
    Posted in the Differential Geometry Forum
    Replies: 0
    Last Post: August 6th 2010, 06:56 AM
  4. cartesian coordinates
    Posted in the Math Topics Forum
    Replies: 1
    Last Post: October 25th 2009, 04:01 PM
  5. Cartesian coordinates
    Posted in the Calculus Forum
    Replies: 4
    Last Post: September 21st 2007, 01:49 PM

Search Tags


/mathhelpforum @mathhelpforum