Area Using Determinants
One of the most elegant applications of determinants in linear algebra is computing the area of geometric figures. Given three vertices of a triangle in the coordinate plane, the determinant of a carefully constructed matrix gives the triangle's area directly — no base-and-height measurement needed. This technique connects abstract matrix algebra to concrete geometry. The key insight is that a 2×2 determinant measures the signed area of a parallelogram spanned by two vectors. A triangle with one vertex at the origin is exactly half of such a parallelogram, so its area is half the absolute value of the determinant. When none of the vertices sits at the origin, a 3×3 determinant formula handles the general case elegantly by encoding all three vertices in a single matrix. This method is not just a shortcut — it reveals a deep geometric meaning of the determinant. It scales naturally to three dimensions (where the determinant gives volumes), and it forms the foundation for computational geometry algorithms used in computer graphics, geographic information systems, and robotics.
- Parallelogram area from a 2×2 determinant
- Triangle with one vertex at the origin
- General triangle — the 3×3 determinant formula
- Writing the 3×3 matrix
- Signed area and orientation
- Collinearity test
Parallelogram area from a 2×2 determinant
Place two vectors u = (a, b) and v = (c, d) in the plane. The parallelogram they span has area equal to |det([u v])| = |ad − bc|. This is a fundamental property of the determinant: it measures how much the linear transformation stretches area.
Triangle with one vertex at the origin
If a triangle has vertices O = (0,0), P₁ = (x₁, y₁), and P₂ = (x₂, y₂), it is exactly half the parallelogram spanned by vectors OP₁ and OP₂. Therefore its area is (1/2)|x₁y₂ − x₂y₁|.
General triangle — the 3×3 determinant formula
For vertices A = (x₁, y₁), B = (x₂, y₂), C = (x₃, y₃) anywhere in the plane, translate so that A moves to the origin by replacing B with B − A and C with C − A. This gives vectors (x₂−x₁, y₂−y₁) and (x₃−x₁, y₃−y₁). Computing the 2×2 determinant of these and packaging the algebra neatly yields the 3×3 formula.
Writing the 3×3 matrix
Form the matrix M whose rows are [x₁, y₁, 1], [x₂, y₂, 1], [x₃, y₃, 1]. The appended column of 1s encodes the translation. Expanding det(M) along the third column reproduces the translated 2×2 determinant exactly, so Area = (1/2)|det(M)|.
Signed area and orientation
Without the absolute value, (1/2)det(M) is the signed area. It is positive when the vertices A → B → C are listed counterclockwise and negative when clockwise. The sign carries geometric information about orientation, which is exploited in algorithms that test whether a point is inside a polygon.
Collinearity test
If the three points are collinear (they lie on a single line), the triangle degenerates and has zero area, so det(M) = 0. This gives an immediate collinearity test: three points are collinear if and only if the determinant of the matrix formed from their coordinates equals zero.
The Key Equation
- (x_1, y_1) — Vertex A (unitless (coordinates)): Coordinates of the first vertex of the triangle.
- (x_2, y_2) — Vertex B (unitless (coordinates)): Coordinates of the second vertex of the triangle.
- (x_3, y_3) — Vertex C (unitless (coordinates)): Coordinates of the third vertex of the triangle.
- \det(M) — Determinant (square units): The determinant of the 3×3 coordinate matrix; its absolute value equals twice the triangle's area.
- \frac{1}{2}|\cdot| — Area scaling factor (dimensionless): The factor of one-half converts the parallelogram area (given by the full determinant) to triangle area.
Worked Example
Problem. Find the area of the triangle with vertices A = (1, 2), B = (4, 6), and C = (7, 3).
Answer. 10.5 square units
Origins · 1 minGottfried Wilhelm Leibniz and how this was discovered
Leibniz is widely credited with the earliest known use of determinants (around 1693), which he employed to solve systems of linear equations. He wrote out elimination rules equivalent to what we now call the determinant in a letter to l'Hôpital, laying groundwork for the entire theory. His notation and systematic approach anticipated the formal algebraic definition that later mathematicians would develop. Leibniz and Newton independently invented calculus at roughly the same time, leading to one of history's most famous priority disputes — yet Leibniz's notation (∫ and d/dx) is the one still used in textbooks worldwide today.
Related Concepts
- The 2×2 Determinant — The area formula for a triangle at the origin is built directly from the 2×2 determinant ad − bc, which is the foundational case.
- 3×3 Determinant and Cofactor Expansion — The general triangle area formula uses a 3×3 determinant evaluated by cofactor expansion along the third column.
- Cross Product of Vectors — In 3D, the magnitude of the cross product equals the parallelogram area, generalising the 2D determinant area formula.
- Coordinate Geometry and the Distance Formula — Both methods locate geometric figures using coordinates; the determinant approach is often faster than computing base and height from distances.
- Linear Transformations and Area Scaling — The deeper reason the determinant gives area is that linear transformations scale area by a factor equal to the absolute value of the determinant.