Area of a Triangle in Coordinates
On this page
Direct answer
The area of a triangle with vertices (x1, y1), (x2, y2) and (x3, y3) is half the absolute value of one determinant: ½|x1(y2 − y3) + x2(y3 − y1) + x3(y1 − y2)|. The same expression equal to zero is the collinearity test, so one formula answers two question types. With one vertex at the origin it reduces to ½|x1y2 − x2y1|, the two-dimensional form of the cross product.
What you must remember
- Area determinant: ½|x1(y2 − y3) + x2(y3 − y1) + x3(y1 − y2)|, with the modulus outside, so the order of the vertices does not change the answer.
- Collinearity: the bracketed expression equal to zero means the three points lie on one straight line.
- Origin shortcut: with one vertex at (0, 0), the area is ½|x1y2 − x2y1|.
- Vector route: the area is ½|AB × AC|, the same cross product written in vector form.
- Shoelace: for a polygon with vertices in boundary order, the area is ½|Σ(xi·yi+1 − xi+1·yi)|, and the listing order matters.
- Medians: each median splits a triangle into two equal areas, and the centroid divides every median in the ratio 2:1.
- Base and height: ½ × base × height is quickest when one side is horizontal or vertical, because the height can be read straight from the coordinates.
Two routes to one area
Take the triangle with vertices (2, 3), (−1, 0) and (2, −4). Two independent routes give the same area, which is the cheapest check in coordinate geometry. Each route starts from the same three vertices, so any mismatch between routes points straight to an arithmetic slip.
- Determinant route: ½|2(0 − (−4)) + (−1)(−4 − 3) + 2(3 − 0)| = ½|8 + 7 + 6| = 21/2.
- Side vectors: from (2, 3), AB = (−3, −3) and AC = (0, −7).
- Cross product: (−3)(−7) − (−3)(0) = 21, so the area is ½ × 21 = 21/2.
- Base and height: the vertical side from (2, 3) to (2, −4) has length 7, and (−1, 0) lies 3 units from it, giving ½ × 7 × 3 = 21/2.
All three routes give 10.5 square units. The skill is choosing the route the data's shape favours before computing, and the agreement of two routes is the proof that the arithmetic is right.
Where the marks leak
The formula is short, so the losses come from setup and sign details.
- Trap: dropping the ½ and reporting twice the area. Correct: the determinant gives twice the area, so the ½ must always be applied.
- Trap: expanding x1(y2 − y3) without keeping the brackets intact. Correct: keep each bracket until the final sum, because a sign dropped inside a bracket changes the result.
- Trap: using the shoelace sum on vertices listed in a scrambled order. Correct: order the vertices around the boundary first, since a scrambled order can give a self-crossing polygon whose shoelace value is not the visual area.
- Trap: treating "find k so that the points are collinear" as a new formula. Correct: set the same determinant to zero and solve for k.
Frequently asked questions
What is the area formula for a triangle from its vertices?
The area is ½|x1(y2 − y3) + x2(y3 − y1) + x3(y1 − y2)| for vertices (x1, y1), (x2, y2) and (x3, y3). It is one cyclic expansion with the modulus outside.
How does the formula test collinearity?
Three points are collinear exactly when the bracketed expression vanishes. In that case the triangle collapses to zero area, and zero area and one straight line are the same statement.
What is the quickest formula when one vertex is the origin?
With one vertex at the origin and the others at (x1, y1) and (x2, y2), the area is ½|x1y2 − x2y1|. This is the scalar cross product of the two position vectors, halved.
How do you find the area of a polygon with many vertices?
Use the shoelace sum ½|Σ(xi·yi+1 − xi+1·yi)| for a polygon with vertices listed in boundary order. Close the loop back to the first vertex, then take half the absolute value of the total.
When is base times height the better method?
Base times height is better whenever a side is horizontal or vertical, because the height is read directly from the other coordinate. The worked example's vertical side of length 7 is the case where this route is fastest.