Overview

The Shoelace Theorem (also called the Surveyor's Formula or Gauss's Area Formula) gives the exact area of any polygon whose vertices are known as coordinate pairs. Unlike decomposition into triangles or the use of bounding rectangles, the Shoelace Theorem works directly and mechanically — making it one of the most powerful tools in coordinate geometry competitions.

A single formula handles triangles, quadrilaterals, pentagons, and any simple (non-self-intersecting) polygon, no matter how irregular.

1. Statement of the Theorem

Suppose polygon PP has vertices

A1=(x1,y1),A2=(x2,y2),…,An=(xn,yn)A_1 = (x_1, y_1),\quad A_2 = (x_2, y_2),\quad \ldots,\quad A_n = (x_n, y_n)

listed in clockwise order (counterclockwise also works — just take the absolute value). Then:

[P]=12∣∑i=1n(xiyi+1−xi+1yi)∣[P] = \frac{1}{2} \left| \sum_{i=1}^{n} (x_i y_{i+1} - x_{i+1} y_i) \right|

where indices are taken mod nn, so xn+1=x1x_{n+1} = x_1 and yn+1=y1y_{n+1} = y_1.

This can be expanded as:

[P]=12∣(x1y2−x2y1)+(x2y3−x3y2)+⋯+(xny1−x1yn)∣[P] = \frac{1}{2} \Big| (x_1 y_2 - x_2 y_1) + (x_2 y_3 - x_3 y_2) + \cdots + (x_n y_1 - x_1 y_n) \Big|

Summation Form

[P]=12∣∑i=1n(xiyi+1−xi+1yi)∣[P] = \frac{1}{2} \left| \sum_{i=1}^{n} (x_i y_{i+1} - x_{i+1} y_i) \right|

Signed Area

Without the absolute value, the formula gives a signed area: positive if vertices are listed counterclockwise, negative if clockwise. The signed area is useful in advanced settings (e.g., computing winding numbers or oriented areas in vector geometry).

2. Why It's Called "Shoelace"

List the coordinates in two columns, then repeat the first row at the bottom:

x1y1x2y2x3y3⋮⋮xnynx1y1\begin{array}{cc} x_1 & y_1 \\ x_2 & y_2 \\ x_3 & y_3 \\ \vdots & \vdots \\ x_n & y_n \\ x_1 & y_1 \end{array}

Multiply diagonally down-right (the ↘\searrow diagonals) and sum them, then multiply diagonally down-left (the ↙\swarrow diagonals) and sum them. The area is half the absolute difference:

[P]=12∣(∑↘)−(∑↙)∣[P] = \frac{1}{2}\left|\left(\sum \searrow\right) - \left(\sum \swarrow\right)\right|

When you draw the crossing arrows connecting each pair of entries, the diagram looks like laced-up shoes — hence the name.

Visual for a Triangle

For triangle with vertices (x1,y1)(x_1,y_1), (x2,y2)(x_2,y_2), (x3,y3)(x_3,y_3):

[ABC]=12∣(x1y2−x2y1)+(x2y3−x3y2)+(x3y1−x1y3)∣[ABC] = \frac{1}{2}\left|(x_1 y_2 - x_2 y_1) + (x_2 y_3 - x_3 y_2) + (x_3 y_1 - x_1 y_3)\right|

This is equivalent to:

[ABC]=12∣det⁡(x1−x3x2−x3y1−y3y2−y3)∣[ABC] = \frac{1}{2} \left| \det \begin{pmatrix} x_1 - x_3 & x_2 - x_3 \\ y_1 - y_3 & y_2 - y_3 \end{pmatrix} \right|

3. Special Cases

Triangle

[ABC]=12∣x1(y2−y3)+x2(y3−y1)+x3(y1−y2)∣[ABC] = \frac{1}{2}\left|x_1(y_2 - y_3) + x_2(y_3 - y_1) + x_3(y_1 - y_2)\right|

This is the most commonly used form in competitions. Memorize it.

Quadrilateral with diagonals d1d_1, d2d_2 at angle 90

For a quadrilateral with perpendicular diagonals: [quad]=12d1d2[\text{quad}] = \frac{1}{2}d_1 d_2. This is a special case of Shoelace and is worth knowing separately.

Collinearity Test

If [ABC]=0[ABC] = 0, the three points are collinear.

4. Key Properties and Insights

4.1 Order Independence (up to sign)

You may list vertices in any consistent rotational order (all CW or all CCW). Reversing the order negates the signed area but does not change ∣[P]∣|[P]|. Mixing orders (some CW, some CCW) gives wrong answers — always traverse the boundary consistently.

4.2 Translation Invariance

Shifting all vertices by a constant vector (a,b)(a, b) does not change the area. Algebraically, translating (xi,yi)→(xi+a,yi+b)(x_i, y_i) \to (x_i + a, y_i + b) causes cross terms in xiyi+1−xi+1yix_i y_{i+1} - x_{i+1} y_i to cancel. This means you can translate one vertex to the origin before applying Shoelace to simplify arithmetic.

4.3 Scaling

If all coordinates are scaled by factor kk (i.e., (xi,yi)→(kxi,kyi)(x_i, y_i) \to (k x_i, k y_i)), the area scales by k2k^2. This is because each term xiyi+1−xi+1yix_i y_{i+1} - x_{i+1} y_i becomes k2(xiyi+1−xi+1yi)k^2(x_i y_{i+1} - x_{i+1} y_i).

4.4 Decomposition Consistency

For any triangulation of the polygon (dividing it into non-overlapping triangles), the sum of triangle areas equals the Shoelace area. The Shoelace formula implicitly performs this triangulation from the "origin" of the signed-area calculation.

4.5 Works for Non-Convex Polygons

Shoelace works for any simple polygon (no self-intersections), convex or not. Self-intersecting polygons require special care (the formula gives a signed sum that can cause cancellation.)

5. Connection to the Determinant

The Shoelace formula is deeply connected to the 2×22 \times 2 determinant:

det⁡(abcd)=ad−bc\det\begin{pmatrix} a & b \\ c & d \end{pmatrix} = ad - bc

Each term xiyi+1−xi+1yix_i y_{i+1} - x_{i+1} y_i is the determinant of the 2×22\times 2 matrix formed by the ii-th and (i+1)(i+1)-th vertices. Geometrically, this determinant equals the signed area of the parallelogram spanned by the two position vectors, so half of it is the area of the triangle formed with the origin.

The full Shoelace sum is therefore the signed area of the polygon as seen from the origin, computed by summing up the signed areas of the "fan" of triangles from the origin to each edge.

6. Worked Examples

Worked Example 1 — Triangle

Find the area of △ABC\triangle ABC with A(1,2)A(1,2), B(4,−6)B(4,-6), C(3,5)C(3,5).

Solution:

[ABC]=12∣1(−6−5)+4(5−2)+3(2−(−6))∣[ABC] = \frac{1}{2}|1(-6-5) + 4(5-2) + 3(2-(-6))|
=12∣1(−11)+4(3)+3(8)∣= \frac{1}{2}|1(-11)+4(3)+3(8)|
=12∣−11+12+24∣=12(25)=252= \frac{1}{2}|-11+12+24| = \frac{1}{2}(25) = \frac{25}{2}

252\boxed{\dfrac{25}{2}}

Worked Example 2 — Quadrilateral

Find the area of the quadrilateral with vertices A(0,0)A(0,0), B(4,0)B(4,0), C(5,3)C(5,3), D(1,4)D(1,4) in that order.

Solution (Shoelace):

[ABCD]=12∣(xAyB−xByA)+(xByC−xCyB)+(xCyD−xDyC)+(xDyA−xAyD)∣[ABCD] = \frac{1}{2}|(x_A y_B - x_B y_A)+(x_B y_C - x_C y_B)+(x_C y_D - x_D y_C)+(x_D y_A - x_A y_D)|
=12∣(0⋅0−4⋅0)+(4⋅3−5⋅0)+(5⋅4−1⋅3)+(1⋅0−0⋅4)∣= \frac{1}{2}|(0\cdot0-4\cdot0)+(4\cdot3-5\cdot0)+(5\cdot4-1\cdot3)+(1\cdot0-0\cdot4)|
=12∣0+12+17+0∣=292= \frac{1}{2}|0 + 12 + 17 + 0| = \frac{29}{2}

292\boxed{\dfrac{29}{2}}

Worked Example 3 — Medians and Centroid (AMC Style)

In right triangle ABCABC, we have ∠ACB=90°\angle ACB = 90°, AC=2AC = 2, BC=3BC = 3. Medians ADAD and BEBE are drawn to sides BCBC and ACAC respectively. ADAD and BEBE intersect at point FF. Find the area of △ABF\triangle ABF.

Solution:

Place the right angle at the origin: C=(0,0)C=(0,0), A=(2,0)A=(2,0), B=(0,3)B=(0,3).

  • DD is the midpoint of BCBC: D=(0,3/2)D = (0, 3/2).
  • EE is the midpoint of ACAC: E=(1,0)E = (1, 0).

The intersection FF of medians ADAD and BEBE is the centroid:

F=(2+0+03, 0+3+03)=(23,1)F = \left(\frac{2+0+0}{3},\ \frac{0+3+0}{3}\right) = \left(\frac{2}{3}, 1\right)

Now find [ABF][ABF] with A=(2,0)A=(2,0), B=(0,3)B=(0,3), F=(2/3,1)F=(2/3,1):

[ABF]=12∣2(3−1)+0(1−0)+23(0−3)∣[ABF] = \frac{1}{2}\left|2(3-1)+0(1-0)+\frac{2}{3}(0-3)\right|
=12∣4+0−2∣=12(2)=1= \frac{1}{2}\left|4 + 0 - 2\right| = \frac{1}{2}(2) = 1

Alternatively, the centroid divides the triangle into 6 smaller triangles of equal area. Since [ABC]=12(2)(3)=3[ABC] = \frac{1}{2}(2)(3)=3, each small triangle has area 36=12\frac{3}{6}=\frac{1}{2}. But △ABF\triangle ABF consists of two of these small triangles (the ones adjacent to side ABAB), so [ABF]=2⋅12=1[ABF] = 2 \cdot \frac{1}{2} = 1.

1\boxed{1}

Key Insight: The centroid divides any triangle into 6 triangles of equal area. The triangle formed by two vertices and the centroid always has area =13[ABC]= \frac{1}{3}[ABC].

Worked Example 4 — AMC 2004 #16 (Logarithmic Quadrilateral)

The vertices of a quadrilateral lie on the graph of y=ln⁡xy = \ln x, and the xx-coordinates of these vertices are consecutive positive integers. The area of the quadrilateral is ln⁡9190\ln\frac{91}{90}. What is the xx-coordinate of the leftmost vertex?

(A) 6(B) 7(C) 10(D) 12(E) 13\textbf{(A) } 6 \qquad \textbf{(B) } 7 \qquad \textbf{(C) } 10 \qquad \textbf{(D) } 12 \qquad \textbf{(E) } 13

Solution:

Let the four vertices be (n,ln⁡n)(n,\ln n), (n+1,ln⁡(n+1))(n+1,\ln(n+1)), (n+2,ln⁡(n+2))(n+2,\ln(n+2)), (n+3,ln⁡(n+3))(n+3,\ln(n+3)).

Apply the Shoelace formula. The area is:

12∣[nln⁡(n+1)−(n+1)ln⁡n]+[(n+1)ln⁡(n+2)−(n+2)ln⁡(n+1)]\frac{1}{2}\Big|\big[n\ln(n+1) - (n+1)\ln n\big] + \big[(n+1)\ln(n+2)-(n+2)\ln(n+1)\big]
+[(n+2)ln⁡(n+3)−(n+3)ln⁡(n+2)]+[(n+3)ln⁡n−nln⁡(n+3)]∣+ \big[(n+2)\ln(n+3)-(n+3)\ln(n+2)\big] + \big[(n+3)\ln n - n\ln(n+3)\big]\Big|

Collecting terms by logarithm:

=12∣ln⁡n[n−(n+1)+(n+3)−n]+ln⁡(n+1)[(n)−(n)+(n+1)−(n+2)]= \frac{1}{2}\Big|\ln n\big[n - (n+1) + (n+3) - n\big] + \ln(n+1)\big[(n)-(n) + (n+1)-(n+2)\big]
+ln⁡(n+2)[(n+1)−(n+2)+(n+2)−(n+3)]+ln⁡(n+3)[(n+2)−(n+3)+⋯]∣+ \ln(n+2)\big[(n+1)-(n+2)+(n+2)-(n+3)\big] + \ln(n+3)\big[(n+2)-(n+3)+\cdots\big]\Big|

More cleanly, group by which xiyj−xjyix_i y_{j} - x_j y_i contributes:

=12∣ln⁡(nn+1(n+1)n+2(n+2)n+3(n+3)n(n+1)n(n+2)n+1(n+3)n+2nn+3)∣= \frac{1}{2}\left|\ln\left(\frac{n^{n+1}(n+1)^{n+2}(n+2)^{n+3}(n+3)^n}{(n+1)^n(n+2)^{n+1}(n+3)^{n+2}n^{n+3}}\right)\right|

Simplify exponents:

=12∣ln⁡((n+1)2(n+2)2n2(n+3)2)∣=∣ln⁡((n+1)(n+2)n(n+3))∣= \frac{1}{2}\left|\ln\left(\frac{(n+1)^2(n+2)^2}{n^2(n+3)^2}\right)\right| = \left|\ln\left(\frac{(n+1)(n+2)}{n(n+3)}\right)\right|

Since the vertices are on a concave curve (ln⁡x\ln x is concave), the expression inside is greater than 1 for n≥1n \geq 1 (verify: (n+1)(n+2)=n2+3n+2>n2+3n=n(n+3)(n+1)(n+2) = n^2+3n+2 > n^2+3n = n(n+3)), so no absolute value needed:

ln⁡((n+1)(n+2)n(n+3))=ln⁡9190\ln\left(\frac{(n+1)(n+2)}{n(n+3)}\right) = \ln\frac{91}{90}

Therefore (n+1)(n+2)n(n+3)=9190\frac{(n+1)(n+2)}{n(n+3)} = \frac{91}{90}.

Since 91=7×1391 = 7 \times 13, the numerator (n+1)(n+2)(n+1)(n+2) must contain a factor of 1313. From the answer choices, candidates are n=12n = 12 (giving n+1=13n+1=13) or n=11n=11 (giving n+2=13n+2=13).

  • n=12n=12: 13⋅1412⋅15=182180=9190\frac{13 \cdot 14}{12 \cdot 15} = \frac{182}{180} = \frac{91}{90}. ✓
  • n=11n=11: 12⋅1311⋅14=156154=7877≠9190\frac{12 \cdot 13}{11 \cdot 14} = \frac{156}{154} = \frac{78}{77} \neq \frac{91}{90}. ✗

The answer is 12\boxed{12}.

Technique Spotlight: This problem demonstrates that Shoelace can handle points on a curve — you just treat the coordinates algebraically and simplify using logarithm rules. The key was recognizing that all the messy ln⁡\ln terms collapse beautifully.

Part 2:

Due to Size constraints, this module has been split in two. Check out Part 2 for the rest of the content.

Module Progress:

Join the Discord Community!

Stuck on a problem, or don't understand a module? Join the Discord and get help with your doubts while making more math friends.