Finding the co-ordinates of the 3rd point of a triangle given this?

In summary: Since it is a quadratic, there are two solutions, so you have to choose the one which corresponds to the point B that you want.In summary, to find the coordinates of point B on a triangle with known coordinates for points A and C and a right angle at point B, you can use the sines law and cosines law if you know all three angles, or find the intersection of two circles if you know at least one angle. The formula for finding point B can also be derived using a rotation matrix or trigonometry.
  • #1
supremeruler
10
0
On this triangle:
28452-medium.jpg


Show a formula for finding co-ordinates of B.

You know:
- the co-ordinates of A and C;
- Angle B = 90 degrees

Is this possible? If not, is it possible if you know all 3 angles?
 
Physics news on Phys.org
  • #2
What are your thoughts?
 
  • #3
Try drawing it on graph paper. Choose some values for A and C, such as A = (2,5) and C = (4,1) and see if you can determine where B should be.
 
  • #4
micromass said:
What are your thoughts?

Well on this particular triangle, it's fairly easy.

B.x = C.x
B.y = A.y

BUT the problem is (I forgot to mention this), the triangle could be tilted / rotated any way on a X / Y plane.
 
  • #5
Then no, it's not possible because as you may know, if we drew a circle such that its diameter is AC, then B can lie anywhere on that circle and it'll still be a right triangle.

If you have at least one angle (the other could be determined by the triangle angle sum) then yes, you can give a formula for B.
 
  • #6
supremeruler said:
You know:
- the co-ordinates of A and C;
- Angle B = 90 degrees

Is this possible? If not, is it possible if you know all 3 angles?
For any triangle, there are 3 side-lengths and 3 internal angles and 3 (potential) coordinates. From your diagram, you may be expecting the one and only answer, or you may be tempted to think that there are 2 answers if you consider the order of ABC as being unimportant - but from the description only, you may find more. Circles may be your friend.
 
Last edited:
  • #7
Mentallic said:
Then no, it's not possible because as you may know, if we drew a circle such that its diameter is AC, then B can lie anywhere on that circle and it'll still be a right triangle.

If you have at least one angle (the other could be determined by the triangle angle sum) then yes, you can give a formula for B.

If I know all 3 angles, what would be the formula?
 
  • #8
supremeruler said:
If I know all 3 angles, what would be the formula?

It's relatively complicated and its not PF's policy to just give out answers. Have you tried anything? Also, what do you need this for?
 
  • #9
I'm thinking something with intersecting lines and finding the point where they intersect. Not 100% on how to find that though.
I need it to find out the point the user begins to change touch direction in my game.
 
  • #10
If you know the 3 angles, then you can apply the sines law and the cosines law, and because you know A and B you have a the length of the side "b". From this you get "a" and "c". So, you have 3 angles, the size of the 3 sides and 2 points, getting the last one is easy from here.
 
  • #11
Ahh programming, I thought it might have been that.

If you instead know the gradient of AB or BC as opposed to the angle BAC, then your formula is

[tex]B=(x,y)=\frac{m}{1+m^2}\left( \frac{x_1}{m}+mx_0+y_1-y_0 \ \textbf{,} \ x_1-x_0+my_1+\frac{y_0}{m} \right)[/tex]

Where [itex]A=(x_0,y_0)[/itex] and [itex]C=(x_1,y_1)[/itex]

The gradient of AB = m and BC = -1/m (avoiding m being 0 or undefined).

But in order to use the angles of the triangle to determine the gradient, you need to know the orientation of the triangle with respect to the XY axis including the internal angles of the triangle. This takes a lot of work, and depending on how you want to go about it, you can either use a rotation matrix to change your coordinates such that the triangle is upright as in your picture, or you can use trigonometry.
Gil's idea works too but still takes a hefty amount of algebra to compute the formula.
You can find B by finding the intersection of the 2 circles each centred on A and C respectively, each with the correct distance

(1) - [tex](x-x_0)^2+(y-y_0)^2=d_0^2[/tex]

where [itex]d_0=|AC|\cos\theta[/itex] and |AC| is the length of AC, [itex]\theta[/itex] is the angle BAC.

(2) - [tex](x-x_1)^2+(y-y_1)^2=d_1^2[/tex]

where [itex]d_1=|AC|\sin\theta[/itex]If you then subtract equation (2) from (1), expand, simplify and rearrange, you get

[tex]y=-\frac{x_0-x_1}{y_0-y_1}x+\frac{x_0^2-x_1^2}{2(y_0-y_1)}+\frac{y_0+y_1}{2}-\frac{d_0^2-d_1^2}{2(y_0-y_1)}[/tex]

which if you notice is a linear equation of the form y=mx+b. This line goes right through the two points of intersection of the circles.

So now if you plugged this linear equation into (1) say, and simplified, you'd have a quadratic in x which can be solved and would then give you the two x coordinates where those two circles intersect.
 

Related to Finding the co-ordinates of the 3rd point of a triangle given this?

1. How do you calculate the coordinates of the 3rd point of a triangle?

The coordinates of the 3rd point of a triangle can be found using the formula (x3,y3) = (x1 + x2, y1 + y2), where (x1,y1) and (x2,y2) are the coordinates of the other two points of the triangle.

2. Can the coordinates of the 3rd point be calculated if only two points are given?

No, in order to calculate the coordinates of the 3rd point, we need the coordinates of at least two other points in the triangle. Without this information, the coordinates of the 3rd point cannot be determined.

3. What if the coordinates of the 3rd point are not on the same plane as the other two points?

If the coordinates of the 3rd point are not on the same plane as the other two points, then the triangle is not a two-dimensional triangle and cannot be solved using the same formula. In this case, additional information or a different approach is needed to find the coordinates of the 3rd point.

4. Are there any other methods for finding the coordinates of the 3rd point of a triangle?

Yes, there are other methods for finding the coordinates of the 3rd point of a triangle. One method is using trigonometric functions and the known sides and angles of the triangle. Another method is using the distance formula to calculate the distance between the known points and then using that information to find the coordinates of the 3rd point.

5. Can the coordinates of the 3rd point be found using technology or software?

Yes, there are many software programs and online calculators that can quickly and accurately calculate the coordinates of the 3rd point of a triangle. These tools use mathematical formulas and algorithms to determine the coordinates based on the given information.

Similar threads

  • Precalculus Mathematics Homework Help
Replies
2
Views
953
  • Precalculus Mathematics Homework Help
Replies
14
Views
709
  • Precalculus Mathematics Homework Help
Replies
4
Views
791
  • Precalculus Mathematics Homework Help
Replies
6
Views
279
  • Precalculus Mathematics Homework Help
Replies
5
Views
246
  • Precalculus Mathematics Homework Help
Replies
9
Views
2K
  • Precalculus Mathematics Homework Help
Replies
2
Views
946
  • Precalculus Mathematics Homework Help
Replies
5
Views
1K
  • Precalculus Mathematics Homework Help
Replies
27
Views
1K
  • Precalculus Mathematics Homework Help
Replies
3
Views
2K
Back
Top