1. Home
  2. Explore
  3. Mathematics
  4. Hidden Pythagorean Gem

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Hidden Pythagorean Gem

Fibonacci Numbers and Pythagorean Triples: A Beautiful Connection

🔢 Introduction: Two Mathematical Gems

  • The Pythagorean triple 3,4,53,4,53,4,5 satisfies 32+42=523^2 + 4^2 = 5^232+42=52, the smallest instance of integer right triangles.

  • The Fibonacci sequence begins 1,1,2,3,5,8,13,…1, 1, 2, 3, 5, 8, 13, \dots1,1,2,3,5,8,13,… where each term is the sum of the two preceding terms.

  • At first glance, these two topics seem unrelated. However, a 2007 discovery revealed a deep connection: by "bending" the Fibonacci sequence and forming a 2×22 \times 22×2 block of four consecutive Fibonacci numbers, one can extract the sides and incircle/excircle radii of a Pythagorean triangle.


📦 The 2×22 \times 22×2 Fibonacci Box Construction

Take any four consecutive Fibonacci numbers arranged in a 2×22 \times 22×2 block:

a   b
c   d

Where a,b,c,da, b, c, da,b,c,d are consecutive Fibonacci numbers. For the first block: 1,1,2,31,1,2,31,1,2,3.

  • Top row: 111 and 111

  • Bottom row: 222 and 333

Extracting the Pythagorean Triple

From the block, compute:

  • Short side 1: product of the top-left and bottom-left numbers: a×ca \times ca×c.

  • Short side 2: twice the product of the top-right and bottom-left numbers: 2×(b×c)2 \times (b \times c)2×(b×c).

  • Hypotenuse: sum of the diagonal products: (a×d)+(b×c)(a \times d) + (b \times c)(a×d)+(b×c).

For 1,1,2,31,1,2,31,1,2,3:

  • 1×2=21 \times 2 = 21×2=2 → doubled → 444

  • 1×3=31 \times 3 = 31×3=3

  • (1×3)+(1×2)=3+2=5(1 \times 3) + (1 \times 2) = 3 + 2 = 5(1×3)+(1×2)=3+2=5 Thus the triple is 3,4,53,4,53,4,5.

Radii of Incircle and Excircles

  • Incircle radius: product of the top two numbers: a×ba \times ba×b.

  • Excircle touching the hypotenuse: product of the bottom two numbers: c×dc \times dc×d.

  • Other two excircles: products of the diagonal numbers: a×da \times da×d and b×cb \times cb×c.

For 1,1,2,31,1,2,31,1,2,3:

  • Incircle radius: 1×1=11 \times 1 = 11×1=1

  • Hypotenuse excircle: 2×3=62 \times 3 = 62×3=6

  • Side excircles: 1×3=31 \times 3 = 31×3=3 and 1×2=21 \times 2 = 21×2=2

Area of the Triangle

The area equals the product of all four numbers in the block: a×b×c×da \times b \times c \times da×b×c×d. For 1,1,2,31,1,2,31,1,2,3: 1×1×2×3=61 \times 1 \times 2 \times 3 = 61×1×2×3=6, which matches 12×3×4=6\frac{1}{2} \times 3 \times 4 = 621​×3×4=6.

Key Takeaway: Every block of four consecutive Fibonacci numbers produces a Pythagorean triple and all associated circle radii.


🌳 Infinite Tree of Primitive Pythagorean Triples

The construction can be iterated to generate an infinite tree where each node is a 2×22 \times 22×2 Fibonacci box.

Root of the Tree

The root is the box for 3,4,53,4,53,4,5:

1  1
2  3

Generating Children

From any parent box, three child boxes are produced:

  1. Identify the three pairs that correspond to the excircle radii (the diagonals and the bottom row).

  2. Discard the other numbers, keeping only these three pairs.

  3. Move the retained pairs to the top of the new child boxes.

  4. Complete each child box "a la Fibonacci": fill the remaining entries so that each row/column follows the Fibonacci addition rule.

Example: For the root, the excircle pairs are (1,3)(1,3)(1,3), (2,1)(2,1)(2,1), (2,3)(2,3)(2,3). These become the top numbers of the three children, and the rest are filled in:

  • Child 1 (from diagonal (1,3)(1,3)(1,3)): top 1,31,31,3 → bottom 4,74,74,7 → triple 15,8,1715,8,1715,8,17

  • Child 2 (from diagonal (2,1)(2,1)(2,1)): top 2,12,12,1 → bottom 3,43,43,4 → triple 5,12,135,12,135,12,13

  • Child 3 (from bottom row (2,3)(2,3)(2,3)): top 2,32,32,3 → bottom 5,85,85,8 → triple 21,20,2921,20,2921,20,29

Primitive vs Non‑Primitive Pythagorean Triples

  • A primitive Pythagorean triple has no common factor greater than 1 among its three sides (e.g., 3,4,53,4,53,4,5; 5,12,135,12,135,12,13).

  • Non‑primitive triples are multiples of primitive ones (e.g., 6,8,106,8,106,8,10 is 2×3,4,52 \times 3,4,52×3,4,5).

The tree contains every primitive Pythagorean triple exactly once and no non‑primitive ones. Since every triple is a multiple of a primitive one, the tree implicitly captures all Pythagorean triples.

Fraction Tree Interpretation

If the two columns of the box are turned into fractions ac\frac{a}{c}ca​ and bd\frac{b}{d}db​, the tree becomes a tree of positive fractions less than 1. Remarkably, this tree contains every reduced fraction less than 1 exactly once — i.e., every rational number in (0,1)(0,1)(0,1) with no common factors.


📐 Euclid’s Formula and the Tree

Euclid’s formula (from Elements, ~300 BC) generates all primitive Pythagorean triples:

For positive integers uuu and vvv with u<vu < vu<v, uuu and vvv of opposite parity (one odd, one even), and gcd⁥(u,v)=1\gcd(u,v) = 1gcd(u,v)=1, the triple is:

(v2−u2,  2uv,  v2+u2)(v^2 - u^2,\; 2uv,\; v^2 + u^2)(v2−u2,2uv,v2+u2)

In the Fibonacci box, if we label the right‑hand column as uuu (top) and vvv (bottom), then:

  • The triple obtained is exactly Euclid’s: v2−u2v^2 - u^2v2−u2, 2uv2uv2uv, v2+u2v^2 + u^2v2+u2.

  • The tree’s right‑hand column always satisfies the three Euclid conditions, guaranteeing primitiveness.

Proof sketch: For any primitive triple, its u,vu,vu,v appear exactly once in the tree. Moving up the tree (to the parent) corresponds to reducing the incircle radius, eventually reaching the root 3,4,53,4,53,4,5 (incircle radius 1). The monotonic decrease of incircle radius ensures unique ancestry.


🔍 Geometric Growth: Feuerbach Circle and Scaling

A purely geometric way to generate the child triangles exists, involving the Feuerbach circle (nine‑point circle) of the parent triangle.

Feuerbach's Theorem (1822)

For any triangle, the circle passing through the midpoints of the three sides is tangent to the incircle and all three excircles. Additionally, for a right triangle, this circle also passes through the right‑angle vertex.

From Parent to Children

Given a parent right triangle (e.g., 3,4,53,4,53,4,5):

  1. Draw its incircle and three excircles.

  2. Construct the Feuerbach circle (touches all four circles).

  3. Connect the center of the Feuerbach circle to the centers of the three excircles.

  4. Extend these three lines to form right‑angled triangles with horizontal and vertical legs (the triangle's legs).

  5. Scale each of these triangles by a factor of 4 — the resulting triangles are exactly the three children of the parent.

Example: For the parent 3,4,53,4,53,4,5, the pink child triangle emerges by scaling the triangle formed by connecting the Feuerbach center to the excircle center on the hypotenuse. The legs of this small triangle become 777 and 242424 after scaling, yielding the triple 7,24,257,24,257,24,25.

Recovering the Parent

Conversely, given any child triangle (except the root), its parent can be found by:

  1. Connect the centers of the incircle and Feuerbach circle.

  2. Extend to form a right‑angled triangle.

  3. Scale by 4 — the result is the parent triangle.

This creates a fully geometric growth mechanism without any numbers.


🧮 Special Families of Pythagorean Triples

Climbing the tree along specific paths yields famous families:

Fermat’s Family (Central Path)

When moving straight up the middle of the tree, the two short sides differ by exactly 1. These triangles become arbitrarily close to isosceles. Since an exact isosceles right triangle with integer sides would imply 2\sqrt{2}2​ rational, none exists — but these triples provide excellent rational approximations to 2\sqrt{2}2​.

Example: 119,120,169119, 120, 169119,120,169 gives 169120≈1.4083\frac{169}{120} \approx 1.4083120169​≈1.4083, close to 2≈1.4142\sqrt{2} \approx 1.41422​≈1.4142.

Pythagoras’ Family (Far Right Path)

The largest and second‑largest numbers differ by 1. Rescaled so that the longer short side is constant, the triangles become thinner and thinner, eventually degenerating to a line.

Examples: 3,4,53,4,53,4,5; 5,12,135,12,135,12,13; 7,24,257,24,257,24,25; ...

Plato’s Family (Far Left Path)

The largest number is two more than one of the smaller numbers. Similar to Pythagoras’ family in behavior.

Examples: 4,3,54,3,54,3,5 (same as 3,4,53,4,53,4,5); 8,15,178,15,178,15,17; 12,35,3712,35,3712,35,37; ...

These families correspond to regular branching patterns in the tree.


💡 Real‑World Application: The 3‑4‑5 Rule

A practical method to check for right angles:

  • Mark 333 meters along one wall from a corner.

  • Mark 444 meters along the other wall from the same corner.

  • Measure between the marks — if exactly 555 meters, the corner is square.

This works because 32+42=523^2 + 4^2 = 5^232+42=52 and is used in construction and tiling.


✨ Extra Special Fibonacci Property

Although any two positive integers at the top of the box generate a Pythagorean triple, using actual consecutive Fibonacci numbers yields a bonus: the hypotenuse is always a Fibonacci number.

Specifically, taking four consecutive Fibonacci numbers Fn,Fn+1,Fn+2,Fn+3F_n, F_{n+1}, F_{n+2}, F_{n+3}Fn​,Fn+1​,Fn+2​,Fn+3​ produces the triple:

(FnFn+2,  2Fn+1Fn+2,  FnFn+3+Fn+1Fn+2)\left( F_n F_{n+2},\; 2 F_{n+1} F_{n+2},\; F_n F_{n+3} + F_{n+1} F_{n+2} \right)(Fn​Fn+2​,2Fn+1​Fn+2​,Fn​Fn+3​+Fn+1​Fn+2​)

The hypotenuse simplifies to F2n+3F_{2n+3}F2n+3​, which is every second Fibonacci number starting from 555.

Examples:

  • 1,1,2,31,1,2,31,1,2,3 → 555 (the 5th Fibonacci)

  • 1,2,3,51,2,3,51,2,3,5 → 131313 (the 7th)

  • 2,3,5,82,3,5,82,3,5,8 → 343434 (the 9th)

  • 3,5,8,133,5,8,133,5,8,13 → 898989 (the 11th)

This surprising identity reveals yet another hidden pattern in the Fibonacci sequence.


📝 Summary of Key Formulas

Given a 2×22\times 22×2 Fibonacci box:

a   b
c   d
  • Pythagorean triple:

    • x=a⋅cx = a \cdot cx=a⋅c

    • y=2⋅b⋅cy = 2 \cdot b \cdot cy=2⋅b⋅c

    • z=a⋅d+b⋅cz = a \cdot d + b \cdot cz=a⋅d+b⋅c

  • Incircle radius: r=a⋅br = a \cdot br=a⋅b

  • Hypotenuse excircle radius: rh=c⋅dr_h = c \cdot drh​=c⋅d

  • Side excircle radii: r1=a⋅dr_1 = a \cdot dr1​=a⋅d, r2=b⋅cr_2 = b \cdot cr2​=b⋅c

  • Triangle area: Δ=a⋅b⋅c⋅d\Delta = a \cdot b \cdot c \cdot dΔ=a⋅b⋅c⋅d

With u=bu = bu=b, v=dv = dv=d (right column) and Euclid’s conditions, the triple becomes:

(v2−u2,  2uv,  v2+u2)( v^2 - u^2,\; 2uv,\; v^2 + u^2 )(v2−u2,2uv,v2+u2)

🔗 Connections to Deeper Mathematics

  • The fraction tree (columns as fractions) is intimately related to the Farey tree and Stern‑Brocot tree, both of which enumerate all rationals in (0,1)(0,1)(0,1).

  • The geometric growth via Feuerbach circles ties to classical triangle geometry, with the Feuerbach circle itself being a subject of many additional properties.

  • The existence of all primitive triples exactly once in the tree provides a visual proof of Euclid’s formula’s completeness.


🤔 Challenge Questions

  1. Given the primitive triple 153,104,185153, 104, 185153,104,185, find the four numbers in its Fibonacci box.

  2. From the root 3,4,53,4,53,4,5, what sequence of left/middle/right child choices leads to 153,104,185153,104,185153,104,185?

  3. If the bottom square of the Pythagorean fractal tree has area 111, what is the total area of the entire tree (the fractal shown in the video)?

  4. Apply the parent‑reconstruction construction to 3,4,53,4,53,4,5 — why does it fail to produce a parent?

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent