Testing Point (5,4) in Triangle with 3 Given Points (1,2), (4,6), and (9,10)

  • Thread starter Thread starter forty
  • Start date Start date
  • Tags Tags
    Geometry Proof
Join the discussion
Registration is free. Start your own thread to ask a follow-up.
3 replies · 2K views
forty
Messages
132
Reaction score
0
Given 3 points of the triangle:
(1,2)
(4,6)
(9,10)
Determine if point (5,4) belongs to triangle (is located inside the triangle).

the only way i can think of doing this is as follows but there must be a more sound way.

so you have lines:
(1,2)->(4,6)
(4,6)->(9,10)
(1,2)->(9,10)

you need all 3 of the following to hold true for point (5,4)

y <= 4/3x + 2/3 (true)
y >= x + 1 (false)
y <= 4/5x + 14/5 (false)



any help greatly appreciated.
 
Physics news on Phys.org
If by "Given 3 points" you really mean "Given 3 vertices", then your basic approach is very good. As long as you identified the correct lines, then you can set up the suitable inequalities and determine the necessary truths for the conditions.

You can easily check about the point by actually drawing the whole graph.
 
Last edited:
Yes I do mean vertices. So this is pretty much the simplest way of going about it?

Thanks.
 
forty said:
Yes I do mean vertices. So this is pretty much the simplest way of going about it?

Thanks.

Make the graph of the inequalities; this can help you to explain the proof AND to show the proof graphically. Either the point to test is within the inequalities region or it is not within the inequalities region.