Area of quadrilateral as a determinant
The Endeavour 2024-02-25
I’ve written several posts about how determinants come up in geometry. These determinants often look similar, having columns related to coordinates and a column of ones. You can find several examples here along with an explanation for this pattern.
If you have three points z1, z2, and z3 in the complex plane, you can find the area of a triangle with these points as vertices
You can read more about this here.
If you add the second column to the first, and subtract the first column from the second, you can get the equation for the area of a triangle in the real plane.
Presumably the former equation was first derived from the latter, but the two are equivalent.
Now suppose you have a quadrilateral whose vertices are numbered in clockwise or counterclockwise order. Then the area is given by
The proof is easy. If you expand the determinant by minors on the last column, you get the sum of two 3 × 3 determinants corresponding to the areas of the two triangles formed by splitting the quadrilateral along the diagonal connecting the first and third points.
The post Area of quadrilateral as a determinant first appeared on John D. Cook.