Results 1 to 4 of 4

Math Help - Calculating the coordinates of two points of an equilateral triangle with one point

  1. #1
    Newbie
    Joined
    Nov 2011
    Posts
    8

    Calculating the coordinates of two points of an equilateral triangle with one point

    I need to calculate the coordinates of two corners of an equilateral triangle if I have the coordinates of the center, the coordinates of one corner point, and the distance from the center to a point. This is for a Java program I'm writing, and it's been a while since I did math like this. The numbers are going to be constantly changing (I need to write the code so these calculations can be done repeatedly), but for the purposes of an example, here are some sample numbers.

    Center Point: (153, 144)
    Corner Point: (240, 121)
    Distance = 83.9
    Follow Math Help Forum on Facebook and Google+

  2. #2
    Junior Member
    Joined
    Jun 2013
    From
    Bangalore
    Posts
    63
    Thanks
    1

    Re: Calculating the coordinates of two points of an equilateral triangle with one poi

    Solution:
    Given x=153
    y=144
    x1=240
    y1=121
    (x,y)=[x1+2/3(x2-x1),y1+2/3(y2-y1)]
    (153,144)=[240+2/3(x2-240),121+2/3(y2-121)]
    (x2,y2)=(109.5,155.5)
    Follow Math Help Forum on Facebook and Google+

  3. #3
    MHF Contributor ebaines's Avatar
    Joined
    Jun 2008
    From
    Illinois
    Posts
    1,130
    Thanks
    337

    Re: Calculating the coordinates of two points of an equilateral triangle with one poi

    Please clarify what you mean by "the distance from the center to a point" - what point are you referring to? I believe all you need to define the equilateral triangle is the coordinates of one corner plus the center. In the previous post brosnan123 shows how to calculate a point on the edge of the triangle directly opposite the known corner point. This edge point can then be used to calsulate the equation of that base line - it's slope is perpendicular to the line from the known corner to this edge point, so the equation of the base is straight-forward. Then the two corner points on that base line are the points that are distance sqrt(3)/2 times the distance from the known corner point to the center of the triangle.
    Follow Math Help Forum on Facebook and Google+

  4. #4
    MHF Contributor ebaines's Avatar
    Joined
    Jun 2008
    From
    Illinois
    Posts
    1,130
    Thanks
    337

    Re: Calculating the coordinates of two points of an equilateral triangle with one poi

    To continue from my previous post - using the example you gave the other corner points turn out to be (x2,y2)= (129.4,230.8) and (x3,y3)= (89.6, 80.2).

    Calculating the coordinates of two points of an equilateral triangle with one point-eq_tri.jpg
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. Replies: 2
    Last Post: September 13th 2012, 01:26 AM
  2. Replies: 2
    Last Post: December 7th 2010, 02:57 AM
  3. A point within an equilateral triangle
    Posted in the Trigonometry Forum
    Replies: 2
    Last Post: December 7th 2010, 02:48 AM
  4. Replies: 5
    Last Post: June 30th 2010, 08:06 AM
  5. Replies: 3
    Last Post: October 29th 2009, 08:53 AM

Search Tags


/mathhelpforum @mathhelpforum