What is a Function?
Every input gives exactly one output — the whole definition of a function, turned into a visual check with the vertical line test.
Every input gives exactly one output — the whole definition of a function, turned into a visual check with the vertical line test.
A function is a relation with exactly one rule attached: every input gives one output, and only one. That is the whole definition. Everything else — domains, graphs, transformations — is built on it.
One input may never produce two different outputs.
The output is allowed to be the same for different inputs — a constant function returns 3 no matter what you feed it, and that is still a function. What is forbidden is one input returning two different answers.
The definition turns into a visual check. Slide a vertical line across the graph — that line asks "what does the curve give at this x?"
| Graph | Function? | Reason |
|---|---|---|
| Yes | One output for each x | |
| Yes | A straight line always gives one | |
| Yes | Constant, but still a single reading | |
| A circle | No | Two y values for one x |
| Yes | The V shape passes the test | |
| Yes | One output for each x |