What a Function Does
How a function links an input to an output through a fixed rule, how to write that rule in symbols, and how to use it to answer questions.
How a function links an input to an output through a fixed rule, how to write that rule in symbols, and how to use it to answer questions.
Quantities in the world are rarely independent. Study longer and you cover more pages; heat water harder and it boils sooner. A function is the mathematical tool for capturing exactly this kind of link between two quantities.
One condition matters: each input gives exactly one output. Feed the same value in twice and you must get the same answer twice.
Suppose a student needs 5 minutes to study one page. That single sentence is a complete rule:
The number of pages is the input, the time is the output, and "multiply by 5" is the rule connecting them.
Sentences are slow to work with, so the relationship is given letters:
One short line now answers every question of this kind, for any number of pages you care to name.
How long does it take to study 10 pages?
A textbook has 100 pages. How long would it take to study all of it?
The same one-line rule handled 10 pages and 100 pages without any change. That reusability is the whole point of writing it symbolically.
Functions do not always grow. Consider boiling water: the hotter the flame, the sooner it boils.
Temperature is the input and boiling time the output, but here a larger input gives a smaller output. It is still a function: one input, one output.