Skip to content

Mathematics · Ch 4 — Determinants and Matrices

Area of a Triangle and Collinearity of Three Points

4.3.3

Area of a Triangle and Collinearity of Three Points

4.3.3 Area of a Triangle and Collinearity of Three Points

Theorem. If A(x1,y1),B(x2,y2),C(x3,y3)A(x_1,y_1),B(x_2,y_2),C(x_3,y_3) are the vertices of △ABC\triangle ABC, then its area is

Area=12∣x1y11x2y21x3y31∣\text{Area}=\frac12\begin{vmatrix}x_1&y_1&1\\x_2&y_2&1\\x_3&y_3&1\end{vmatrix}

Proof (sketch, Fig. 4.1). Drop perpendiculars AP,CQ,BRAP,CQ,BR from A,C,BA,C,B onto the x-axis. The area of △ABC\triangle ABC equals (area of trapezium PACQPACQ) + (area of trapezium QCBRQCBR) − (area of trapezium PABRPABR):

Area=12PQ (AP+CQ)+12QR (QC+BR)−12PR (AP+BR)\text{Area}=\tfrac12 PQ\,(AP+CQ)+\tfrac12 QR\,(QC+BR)-\tfrac12 PR\,(AP+BR)

Substituting PQ=x3−x1, QR=x2−x3, PR=x2−x1PQ=x_3-x_1,\ QR=x_2-x_3,\ PR=x_2-x_1 and the heights AP=y1,CQ=y3,BR=y2AP=y_1,CQ=y_3,BR=y_2, expanding and collecting terms gives exactly

Area=12[x1(y2−y3)−x2(y1−y3)+x3(y1−y2)]=12∣x1y11x2y21x3y31∣\text{Area}=\tfrac12\big[x_1(y_2-y_3)-x_2(y_1-y_3)+x_3(y_1-y_2)\big]=\tfrac12\begin{vmatrix}x_1&y_1&1\\x_2&y_2&1\\x_3&y_3&1\end{vmatrix}

Remarks. (i) Area is a positive quantity, so always take the absolute value of the determinant. (ii) If the area is given and a vertex coordinate is unknown, consider both signs of the determinant, since the determinant itself can come out negative depending on the order the vertices are listed (swapping two vertices swaps two rows, which flips the sign by Property 2 — this reflects the triangle being traversed in the opposite orientation). (iii) If the area comes out to 00, the three points are collinear — they don't form a genuine triangle at all.

Collinearity test. Points (x1,y1),(x2,y2),(x3,y3)(x_1,y_1),(x_2,y_2),(x_3,y_3) are collinear if and only if

∣x1y11x2y21x3y31∣=0\begin{vmatrix}x_1&y_1&1\\x_2&y_2&1\\x_3&y_3&1\end{vmatrix}=0

Worked Examples

Example 1. Find the area of the triangle with vertices A(−2,−3),B(3,2),C(−1,−8)A(-2,-3),B(3,2),C(-1,-8).

Step 1: Area =12∣−2−31321−1−81∣=\dfrac12\begin{vmatrix}-2&-3&1\\3&2&1\\-1&-8&1\end{vmatrix}.

Step 2: Expand: −2(2+8)+3(3+1)+1(−24+2)=−20+12−22=−30-2(2+8)+3(3+1)+1(-24+2)=-20+12-22=-30. …

Figure 4.1Fig. 4.1 — triangle ABC with perpendiculars to the x-axis

What this figure shows. Triangle ABC is drawn in the Cartesian plane with perpendiculars AP, CQ, BR dropped from the three vertices onto the x-axis, splitting the triangle's area into three trapeziums (PACQ, QCBR, PABR) whose areas are combined/subtracted to derive the determinant formula for the triangle's area. …

Misc 4.3.3-1Worked Example 1 — area of a triangle from three given vertices

Worked out. The area formula is applied directly to three given coordinate points, and the effect of listing the vertices in the opposite (ACB) order on the sign of the determinant is discussed. …

Misc 4.3.3-2Worked Example 2 — finding an unknown coordinate from a given area

Worked out. Two fixed vertices and a third vertex with an unknown y-coordinate k are given along with the required area; both signs of the determinant are considered since area itself is always positive. …

Misc 4.3.3-3Worked Example 3 — a triangle whose computed area is zero

Worked out. The area formula applied to three given points comes out to zero, and this is interpreted as the three points being collinear rather than forming a genuine triangle. …

Misc 4.3.3-4Worked Example 4 — testing collinearity of three points by determinant

Worked out. The collinearity determinant test is applied directly to three given points and confirmed to vanish. …