SOLUTION: what is the derivation of the formula in finding the area of a triangle with the given vertices?

Algebra ->  Parallelograms -> SOLUTION: what is the derivation of the formula in finding the area of a triangle with the given vertices?      Log On


   



Question 545178: what is the derivation of the formula in finding the area of a triangle with the given vertices?
Answer by Edwin McCravy(20056) About Me  (Show Source):
You can put this solution on YOUR website!
It is always either possible to enclose a triangle in a rectangle
with sides parallel to the x and y axes such that either 

1. one vertex of the triangle coincides with a vertex of the rectangle
and the other two vertices are on sides of the triangle, as in the figure on the left, or

2. two vertices of the triangle coincide with two vertices of the rectangle,
as the figure on the right.

       

For the figure on the left, we will label the coordinates of the
vertices of the other thre vertices of the rectangle:

 

Rectangle FDCE = Triangle AFB + BDC + ACE + ABC

DC×CE = 1%2F2AF×FB + 1%2F2CD×BD + 1%2F2AE×CE + X

Multiply through by 2

2×DC×CE = AF×FB + CD×BD + AE×CE + 2X

2(t-p)(s-u) = (r-p)(s-q) + (t-p)(q-u) + (t-r)(s-u) + 2X

2ts-2tu-2ps+2pu = rs-rq-ps+pq + tq-tu-pq+pu + ts-tu-rs+ru + 2X

2ts-2tu-2ps+2pu-rs+rq+ps-pq-tq+tu+pq-pu-ts+tu+rs-ru = 2X

 ts - ps + pu + rq - tq - ru = 2X

-ru + st + pu - tq - ps + rq = 2X

Multiply both sides by -1

 ru - st - pu + tq + ps - rq = -2X

The left side is a 3×3 determinant expanded by the 3rd column:

abs%28matrix%283%2C3%2Cp%2Cq%2C1%2Cr%2Cs%2C1%2Ct%2Cu%2C1%29%29 = -2A

Multiplying both sides by 1%2F2 and taking absolute values:

A = expr%281%2F2%29%2Aabs%28abs%28matrix%283%2C3%2Cp%2Cq%2C1%2Cr%2Cs%2C1%2Ct%2Cu%2C1%29%29%29
 
In case one of the sides is horizontal or vertical, it just
amounsts to one of the triangles degenerating into a line
segment with 0 area.

----------------------------

For the other case you must include an additional rectangle, as
shown. I'll leave that derivation to you. It's entirely similar:



Edwin