Mathwords logoMathwords

British Flag Theorem — Definition, Formula & Example

The British Flag Theorem is a rule about a rectangle and any point P. If you square the distances from P to two opposite corners and add them, you get the same total as squaring and adding the distances to the other two corners.

Let ABCDABCD be a rectangle with A,CA, C and B,DB, D as the pairs of opposite vertices, and let PP be any point in space. Then PA2+PC2=PB2+PD2PA^2 + PC^2 = PB^2 + PD^2. To prove it, place the rectangle at A(0,0)A(0,0), B(w,0)B(w,0), C(w,h)C(w,h), D(0,h)D(0,h) and let P=(x,y)P = (x,y). Each side of the equation expands to x2+(w−x)2+y2+(h−y)2x^2 + (w-x)^2 + y^2 + (h-y)^2. If PP lies off the plane, both sides gain the same extra term 2z22z^2, so the equation still holds. The name comes from the diagram: the four segments from PP to the corners look like the crossed stripes of the Union Jack.

Key Formula

PA2+PC2=PB2+PD2PA^2 + PC^2 = PB^2 + PD^2
Where:
  • PP = Any point, inside, outside, or on the rectangle, or even off its plane
  • A,CA, C = One pair of opposite corners (ends of one diagonal)
  • B,DB, D = The other pair of opposite corners (ends of the other diagonal)
  • PA,PB,PC,PDPA, PB, PC, PD = Straight-line distances from P to each corner

Worked Example

Problem: A sprinkler P sits somewhere inside a rectangular lawn ABCD. It is 20 feet from corner A, 60 feet from corner B, and 90 feet from corner C. How far is the sprinkler from corner D?
Step 1: Pair the opposite corners. A is opposite C, and B is opposite D. Add the squares of the two known opposite-corner distances.
PA2+PC2=202+902=400+8100=8500PA^2 + PC^2 = 20^2 + 90^2 = 400 + 8100 = 8500
Step 2: By the theorem, the other pair has the same total. Subtract the square of PB to isolate the square of PD.
PD2=8500−602=8500−3600=4900PD^2 = 8500 - 60^2 = 8500 - 3600 = 4900
Step 3: Take the positive square root, because a distance cannot be negative.
PD=4900=70PD = \sqrt{4900} = 70
Answer: The sprinkler is 70 feet from corner D. You never needed the lawn's length or width.

Why It Matters

In a geometry or precalculus course, this theorem is a standard first exercise in coordinate proof, because placing the rectangle on axes makes both sides expand to the same expression. It also shows up in AMC-style contest problems that give three corner distances and ask for the fourth, often with no rectangle dimensions provided.

Common Mistakes

Mistake: Pairing adjacent corners, such as writing PA² + PB² = PC² + PD².
Correction: Each pair must be the two ends of a diagonal. With adjacent pairs in the lawn example, you would get PD² = 400 + 3600 − 8100 = −4100, which is impossible. Before you substitute, label the corners in order around the rectangle and pair A with C and B with D.

Related Terms

  • Apollonius' Theorem — Applying it at the rectangle's center proves this theorem
  • Euclidean Geometry — The flat geometry where rectangles and this theorem exist
  • Hyperbolic Geometry — Has no four-right-angle rectangles, so the theorem has no direct analog
  • Elliptic Geometry — Also lacks true rectangles, so the theorem breaks down
  • Theorem — Explains what makes this proven statement a theorem
  • Geometry — The branch of math that studies distances and shapes