Uploaded April 2026 | Updated November 2026, 6 hours ago
Pick any point inside a rectangle, measure the distance from that point to each of the four corners, and square those distances. Something surprising happens — and it's a lot easier to see than to explain.
Check out the channel! @polymathematic
The British Flag Theorem says that if you have a rectangle with corners A, B, C, and D (going around), and you pick any point P inside of it, then AP² + CP² = BP² + DP². In other words, the sums of the squared distances to opposite corners are always equal. Not approximately — exactly. No matter where you put P.
The visualization makes the whole thing click. Instead of just computing those squared distances as numbers, you can literally draw the squares. Attach a square to each of AP, BP, CP, and DP, with side length equal to that distance. Now you've got four squares of varying sizes, and the claim becomes geometric: the combined area of the squares built on AP and CP always equals the combined area of the squares built on BP and DP. Drag P around and watch the four squares stretch and shrink in all directions. The individual areas change wildly, but the opposite-corner totals stay locked together. One moment it's 6.8 on each side. Another moment it's 9.8 on each side. The match is suspiciously exact — and it should be, because the theorem is exact.
Why should that be true? The fastest path is the Pythagorean theorem. Drop a horizontal line and a vertical line through P, partitioning the rectangle into four smaller rectangles. Now each of the four distances AP, BP, CP, and DP is the diagonal of one of those little rectangles, so each squared distance breaks apart into a horizontal leg squared plus a vertical leg squared. When you add AP² + CP², you end up summing all four horizontal pieces squared and all four vertical pieces squared — and you get exactly the same total from BP² + DP². Same four building blocks, just grouped differently.
Here's a puzzle worth chewing on. If you wrap a circle around the configuration in the middle, the circle's radius is not determined by the four corner distances. You can grow the circle, shrink the circle, and AP, BP, CP, and DP stay exactly the same. Move the circle's center somewhere else inside the rectangle, though, and now you are moving P — so the lengths absolutely will change. The size of the circle is freely variable. The location of its center is what carries all the information. That's a worthwhile fact to convince yourself of, because it highlights exactly what the theorem depends on (the coordinates of P) versus what it doesn't (any other geometry you might decorate the picture with).
A nice reminder that some of the cleanest identities in geometry are really just the Pythagorean theorem wearing a clever disguise.
#britishflagtheorem #geometry #pythagoreantheorem
Watch more Math Videos:
Math Minis: youtube.com/playlist?list=PLrc8spN1b3jkQynJ5heNvSs72gCPj_hwj
Math Minutes: youtube.com/playlist?list=PLrc8spN1b3jmVFYwHiuMzCYJ0y_yiwUge
Number Sense: youtube.com/playlist?list=PLrc8spN1b3jksKkY_oarNFEFAHjrIV97U
MATHCOUNTS: youtube.com/playlist?list=PLrc8spN1b3jlqDkZXtby9lnEaOBy7-ZY0
Follow Tim Ricchuiti:
TikTok: tiktok.com/@polymathematic
Mathstodon: https://mathstodon.xyz/@polymathematic
Instagram: instagram.com/polymathematicnet
Reddit: reddit.com/user/polymath-matic
Facebook: facebook.com/polymathematic
Pick any point inside a rectangle, measure the distance from that point to each of the four corners, and square those distances. Something surprising happens — and it's a lot easier to see than to explain.
Check out the channel! @polymathematic
The British Flag Theorem says that if you have a rectangle with corners A, B, C, and D (going around), and you pick any point P inside of it, then AP² + CP² = BP² + DP². In other words, the sums of the squared distances to opposite corners are always equal. Not approximately — exactly. No matter where you put P.
The visualization makes the whole thing click. Instead of just computing those squared distances as numbers, you can literally draw the squares. Attach a square to each of AP, BP, CP, and DP, with side length equal to that distance. Now you've got four squares of varying sizes, and the claim becomes geometric: the combined area of the squares built on AP and CP always equals the combined area of the squares built on BP and DP. Drag P around and watch the four squares stretch and shrink in all directions. The individual areas change wildly, but the opposite-corner totals stay locked together. One moment it's 6.8 on each side. Another moment it's 9.8 on each side. The match is suspiciously exact — and it should be, because the theorem is exact.
Why should that be true? The fastest path is the Pythagorean theorem. Drop a horizontal line and a vertical line through P, partitioning the rectangle into four smaller rectangles. Now each of the four distances AP, BP, CP, and DP is the diagonal of one of those little rectangles, so each squared distance breaks apart into a horizontal leg squared plus a vertical leg squared. When you add AP² + CP², you end up summing all four horizontal pieces squared and all four vertical pieces squared — and you get exactly the same total from BP² + DP². Same four building blocks, just grouped differently.
Here's a puzzle worth chewing on. If you wrap a circle around the configuration in the middle, the circle's radius is not determined by the four corner distances. You can grow the circle, shrink the circle, and AP, BP, CP, and DP stay exactly the same. Move the circle's center somewhere else inside the rectangle, though, and now you are moving P — so the lengths absolutely will change. The size of the circle is freely variable. The location of its center is what carries all the information. That's a worthwhile fact to convince yourself of, because it highlights exactly what the theorem depends on (the coordinates of P) versus what it doesn't (any other geometry you might decorate the picture with).
A nice reminder that some of the cleanest identities in geometry are really just the Pythagorean theorem wearing a clever disguise.
#britishflagtheorem #geometry #pythagoreantheorem
Watch more Math Videos:
Math Minis: youtube.com/playlist?list=PLrc8spN1b3jkQynJ5heNvSs72gCPj_hwj
Math Minutes: youtube.com/playlist?list=PLrc8spN1b3jmVFYwHiuMzCYJ0y_yiwUge
Number Sense: youtube.com/playlist?list=PLrc8spN1b3jksKkY_oarNFEFAHjrIV97U
MATHCOUNTS: youtube.com/playlist?list=PLrc8spN1b3jlqDkZXtby9lnEaOBy7-ZY0
Follow Tim Ricchuiti:
TikTok: tiktok.com/@polymathematic
Mathstodon: https://mathstodon.xyz/@polymathematic
Instagram: instagram.com/polymathematicnet
Reddit: reddit.com/user/polymath-matic
Facebook: facebook.com/polymathematic










