Area of a triangle using determinants
Give three points on a coordinate plane and ask for the area of the triangle they form, and there is a shoelace-style formula from coordinate geometry that will get you there — but it is clumsy, sign-sensitive, and easy to misremember. Determinants package the same computation into one clean, symmetric object: write the three vertices as rows of a array, evaluate its determinant, take half its absolute value, and the area falls out. The same array does double duty. Set it equal to zero instead of evaluating it for area, and it becomes an exact test for whether three points are collinear — the triangle they "form" has degenerated to a straight line. This single idea, from the CBSE Class 12 chapter on Determinants, is one of the two named applications of determinants (alongside solving linear equations via the inverse matrix), and it shows up constantly wherever coordinate geometry and linear algebra meet.
The area of a triangle with vertices , , equals half the absolute value of the determinant formed by writing each vertex as a row , and this same determinant equals zero exactly when the three points are collinear.
The core idea
Setting up the array. Each vertex contributes one row to a determinant, and every row carries the same pattern: the -coordinate, then the -coordinate, then a fixed .
where: , , are the three vertices in the order you choose to list them, and is the resulting signed number — the raw determinant, before it is turned into an area.
Why absolute value is unavoidable. An area can never be negative, yet can come out negative depending purely on the order the vertices are listed in — swapping any two rows flips the sign of a determinant. So the working formula always wraps in absolute value bars before halving:
where: the vertical bars around the full array denote "take the absolute value of the number the determinant evaluates to," applied only after expansion, not to each entry individually.
The collinearity test. Because area is zero exactly when a "triangle" has flattened into a line, three points , , are collinear precisely when
with no absolute value or halving needed here, since we only care whether the value is exactly zero, not what it equals otherwise.
Show that the determinant formula reduces to the familiar half-base-times-height rule, so that the determinant is not a mysterious new object but the same geometric area written compactly.
Step 1. Take one side of the triangle, say the segment joining and , as the base, and let the perpendicular distance from to the line through the first two points be the height . The base length is .
Step 2. The equation of the line through and can be written as , so the perpendicular distance from to this line is .
Step 3. Multiply base by height and halve: , since the square-root factor in cancels the one in .
Step 4. Expand the bracket: .
Step 5. Now expand the determinant along its third column (all entries ) using cofactors: , which is exactly the same six-term expression obtained in Step 4, only reordered. Hence , confirming the determinant formula is just half-base-times-height in disguise, packaged so no separate base or height ever needs to be computed by hand.
Worked example
Find the area of the triangle with vertices , , and , then use the same determinant idea to check a second set of points for collinearity.
Step 1. Set up the determinant with , , :
Step 2. Expand along the second column, since two of its three entries are already zero. Only the third-row entry, , survives, with cofactor sign :
Step 3. Apply the area formula: square units.
Step 4. Now check whether , , are collinear by forming the same determinant and expanding along the first row:
Step 5. Evaluate each bracket: . Since the determinant is , the points are not collinear, and if they were joined into a triangle its area would be square units.
Competitive stretch
If instead the determinant for , , is given to be zero, the same setup gives a linear equation in : expanding along the first row as before, with now appearing in two of the three minors, yields , i.e. , so and — the determinant-equals-zero trick doubles as a way to solve for an unknown coordinate that forces collinearity.
Common traps
- Forgetting the absolute value before halving — reporting a "negative area" or skipping straight from to the final answer without the step.
- Mixing up which column holds , which holds , and which holds the constant — every row must follow the same pattern, in that order.
- Treating a small non-zero determinant as "basically collinear" — only an exact value of proves collinearity; anything else is a genuine, if thin, triangle.
- Dropping the factor of and reporting the raw determinant value as the area itself.
Ask the tutor: if you have three coordinate points and want the area or a collinearity check worked through step by step, ask the AI tutor to set up the determinant with you.
Does the order in which I list the three vertices in the determinant matter
It changes the sign of but never its magnitude, so it never changes the final area. Listing versus swapping any two rows flips from positive to negative or back, which is exactly why the formula insists on the absolute value before halving. Pick any order that is convenient for expansion — the answer is the same either way.
Can I use this same determinant for points in 3D space
No, not directly — this exact layout with a column of ones is built for points given as plane coordinates , and it computes ordinary two-dimensional area. Points in three dimensions need a different tool, typically the cross product of two side vectors, which is beyond this chapter's scope; here, stick to coordinate-plane triangles.
If the determinant comes out as a fraction, does that mean I made a mistake
Not necessarily — vertices with fractional or decimal coordinates, or an odd combination of integer coordinates, can legitimately produce a fractional area, just as example 1 above gave square units from whole-number vertices. Double-check the row setup and cofactor signs before assuming an error; a fractional final answer is often correct.