Iterated function systems
Pythagoras tree
Dutch mathematics teacher Albert Bosman invented the Pythagoras tree in 1942. Each square spawns two smaller squares atop a right triangle whose hypotenuse is the parent’s top edge, recreating the Pythagorean theorem at every step.
At a glance
| Designer | Albert Bosman, 1942 |
|---|---|
| Standard angle | 45° / 45° right triangle on each square |
| Symmetric tree dimension | 2 (overlapping / space-filling at 45°) |
| Asymmetric (e.g. 30°/60°) dimension | Strictly less than 2 |
Construction
- Start with a unit square.
- On its top edge place a right triangle with legs a, b.
- Build a square on each leg (sides a, b).
- Recurse on each new square.
Pythagorean theorem at every step
The hypotenuse of the right triangle has length 1, and the squares on the legs have areas a2 and b2, satisfying a2 + b2 = 1. Each iteration of the tree is a visual proof of a2 + b2 = c2.
Acute, right, obtuse variants
For acute triangles the children do not overlap and the tree remains visually a tree; at 45° (isoceles right) the tree eventually overlaps itself, producing a space-filling object; for obtuse triangles the tree spreads out and may self-overlap early.
References
- Bosman, A. E., Het Wondere Onderzoekingsveld der Vlakke Meetkunde, 1942.
- Mandelbrot, B., The Fractal Geometry of Nature, W. H. Freeman, 1982.
- IFS Playground
Try it
Run an interactive playground at /tools/pythagoras-tree.
Quick quiz
Test yourself on pythagoras-tree
5 multiple-choice questions. Pick an answer for each, then submit to see explanations.
Q1.The Pythagoras tree was invented by:
Q2.The tree is built by repeatedly attaching to a square:
Q3.The standard (isoceles, 45°) Pythagoras tree has fractal dimension approximately:
Q4.Why is the construction called 'Pythagoras' tree?
Q5.A non-isoceles Pythagoras tree (with non-45° angle) is: