How many right triangles can you create with given coordinates?

  • Context: Undergrad 
  • Thread starter Thread starter Дьявол
  • Start date Start date
  • Tags Tags
    Coordinates Triangles
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
2 replies · 3K views
Дьявол
Messages
365
Reaction score
0
Hello!
I have one question.
I have given 5 coordinates:
0 0
2 0
1 1
1 -1
3 -1

The question is how many right angles can I create with these coordinates?
I know one way out, but it is pretty complicated.
C52=5!/(2!*3!)=5*4*3!/(2!*3!)=10
And try every single combination (finding the sides of the triangles, there are 10 of them). Is there any simpler way?

Thanks in advance.
Regards.
 
Mathematics news on Phys.org
I'm not sure how you tested to see if the triangles are right, but the fastest way is to find the slope of the lines between each two points. Perpendicular lines have slopes which are negative reciprocals of each other.
 
you never made sure that the angles you'll get will be all right angles.