Functionsthe machine metaphor
A function is a machine: numbers in, numbers out — and its graph is a portrait of every answer at once.
Before this
Nothing. This is a starting point: it needs no other lesson first.
Next in Calculus
SlopeCalculus, stop 2 of 122 minThis opens up
Transcript
It follows the voice. Click a sentence to jump there.
Three goes in, seven comes out. Five goes in, eleven comes out. Two data points, and you can reverse-engineer what's inside: double the number, then add one. Mathematicians compress that into a single line — f of x equals two x plus one.
A rule like that earns a name — a function — on one condition: every input produces exactly one output. Feed it a four, you get nine. Feed it a four tomorrow, on a different computer, in a bad mood — still nine. That reliability is what earns it the name.
And it scales. Hand it a whole list at once — minus two, minus one, zero, up through three — and each number gets processed independently. Six inputs, six outputs, each matched to exactly one answer.
Each pair is an address: the input says how far right, the output says how far up. Two and five becomes a single point. Plot all of them and they fall on a line — and that line isn't a picture of the function. It is the function: every answer the rule will ever give, held in one shape.
Change the rule and the geometry changes with it. Squaring the input — f of x equals x squared — bends everything into a parabola, symmetric left and right, since a negative times itself comes out positive. Every rule has its own shape.
A function is a machine: one number in, one number out, no exceptions. A graph is that machine's portrait — read it well and you know what the rule does at every input, without computing a single answer. The whole behavior, drawn in one shape.