Function Composition
This video presents the same text shown beside it, spoken and on screen. It adds nothing the text does not say.
State
Function composition feeds one function's output into another as input: (f ∘ g)(x) = f(g(x)), reading inside out.
Show
For f(x) = x² and g(x) = x + 1: f(g(2)) runs g first — g(2) = 3 — then f: f(3) = 9. Two machines, one assembly line.
Builds on
- Nothing — this is a starting point.
Unlocks
- Nothing yet depends on this.