Labs / Mathematics

Composition Machine

Pick two functions and watch a value ride the pipeline: it passes through g, comes out changed, then flows into f. The graph plots the whole composite f(g(x)), and you can scrub the input by dragging across it. Composition means chaining functions together — the output of one becomes the input of the next.

Labs / Mathematics / Composition Machine

Mathematics20–30 minFoundation

Composition Machine

Pick two functions and watch a value ride the pipeline: it passes through g, comes out changed, then flows into f. The graph plots the whole composite f(g(x)), and you can scrub the input by dragging across it. Composition means chaining functions together — the output of one becomes the input of the next.

Why it matters

Why explore this?

Mathematics helps us describe patterns precisely and predict what comes next. This model turns an abstract relationship into something you can change and observe.