|
Using the determinant of a matrix to calculate the area of a triangle
This formula gives the area of the triangle formed by the vertices
The determinant of this matrix is
This can be partially factored as
Now move the vertex (x3,y3) to the origin by subtracting it from each of the vertices. So now our triangle becomes
Naturally, this triangle has the same area as the original triangle; All I've done is move it. To simplify the discussion, let
Now the triangle in question has vertices (a,b), (c,d), and (0,0). Substituting these variables into the equation, above, for the determinant of the original matrix, we see it is
The area of the triangle, then, using the determinant formula is
Well, not quite. The area can't be negative, so we have to take the absolute value.
Let's review. Here is what we know so far (1) The determinant of the 3x3 matrix, above, is equal to ad-bc, after we set a, b, c, and d appropriately. (2) The area of triangle (a,b), (c,d), (0,0) is the same as the area of
triangle Now, to finish the explanation of why half the determinant of that 3x3 matrix is equal to the triangle's area, we just need to explain why
For this explanation, click here: Triangle Area using Vectors Related Pages in this website
|
|
The webmaster and author of the Math
Help site is Graeme McRae. |