Algebra 2A — Functions & Quadratics
Functions — machines with one output
ELI5: a function is a machine: drop an input in, get exactly one output. Write f(x) = 2x + 1 and "f(3)" means "run 3 through the machine" → 7. Composition f(g(x)) chains two machines: run g first, feed its output into f.
a doubling-and-add-one machine
a squaring machine
= g(3) = 9, then f(9) = 19
✓ pass the machines chained: f(g(3)) = 19
Real-world hook: composition is pipelines — convert miles→km, then km→travel-time; or quantity→raw-cost, then cost→price-with-margin. Each stage is a machine feeding the next.
Try it yourself: with the same f and g, compute (g ∘ f)(2) = g(f(2)). (Order matters — f first this time!)
✏️ Your turn: compute g(f(2)). Run f on 2 first, then square the result.
✓ pass green when it equals g(f(2))