1st Vertex: (a,0) will be on the X Axis and will be the furthest X Coordinate to the Right (say 10) ———> (10 , 0)
2nd Vertex: (x, y) will have a (+)Positive X Coordinate and a (-)Negative Y Coordinate. The X Coordinate will fall in between the 1st Vertex and the 3rd Vertex ———> call it (6 , -8)
3rd Vertex: (b , 0) will be the Vertex of the Triangle that has its X Coordinate closest to the Origin (0 , 0). Again, the Vertex/Point will lie on the X Axis as the 1st Point did. ——-> call if (4 , 0)
Take the Base as the straight Line across the X Axis from the 1st Vertex to the 3rd Vertex. The Length of the Base in Units is measured by the +Positive Distance between the 1st Vertex’s X Coordinate (a) and the 3rd Vertex’s X Coordinate (b)
Base = (a - b)
Height will be measured by the +Positive Perpendicular Distance from Vertex 2 to the Base on the X Axis. The Measure of the Height is given by the (+)Positive Value of the 2nd Vertex’s Y Coordinate (y)
Since y is a (-)Negative Value, we need to Negate the Value to make it Positive
Height = (-)y
Area of Triangle = (1/2) * (a - b) * (-)y
= (1/2) * (-ya + yb)
= (by - ay) / 2
-C-
Or, you can take the longer method and plug in the Values chosen above remembering that the Area of the Triangle must be (+)Positive
Posted from my mobile device