What a function is
A function is an unambiguous assignment: every argument gets exactly one value. Meet the f(x) notation, the domain and the range, the four ways to define a function, and the vertical line test on a graph.
Before you start
This topic builds on earlier ideas. Before you start, it's worth working through the lessons below — they'll make everything click:
- Algebraic expressionsAn algebraic expression is a piece of notation where letters stand beside numbers. Learn the variable, the term and the coefficient, collect like terms, multiply brackets out and evaluate an expression for a given number.
- Linear equationsA linear equation is an equality with the unknown in the first power. Learn the operations that keep equations equivalent, solve one step by step, check the result, and learn to spot contradictory and identity equations.
All formulas
A function from X into Y
assigns exactly one element of Y to every element of X
The value notation
x is the argument, y the value of the function at it
Domain
the set of all arguments
Range
the set of all values the function takes
Zero of a function
an argument whose value is zero
The graph
the set of points (argument, value)
A function is an unambiguous assignment: to every element of one set it assigns exactly one element of another set.
The easiest picture is a machine: you put a number in, a number comes out. The same number put in twice must give the same result — otherwise the machine is broken, and the assignment is not a function.
Argument, value, and the f(x) notation
The number going in is the argument, the number coming out is the value of the function at that argument:
We read as "the value of at the argument is ". This is not multiplied by — the bracket here says "compute the result for this input", not "multiply".
The question can also be turned around: we know the value and look for the argument. That is an equation:
Domain and range
The domain is the set of all arguments the function is defined for — what may go into the machine:
The range is the set of everything that comes out of it:
For the domain is every real number — any number can be doubled and reduced by one. It is not always so: the formula makes no sense at , because we do not divide by zero, and makes no sense for negative numbers. The domain is therefore not a formality but the first thing to check when you look at a formula.
The domain can also be imposed by the wording of a problem: if counts the pupils in a class, then no formula, however pretty, will allow or .
The graph of a function
The graph of a function is the set of points whose first coordinate is an argument and whose second one is the matching value:
It is the most convenient way to look at a function: everything about it is visible at once. A value is read in two moves — from the argument up to the graph, then left to the vertical axis:
The same path travelled the other way — from a value on the vertical axis right to the graph and down to the horizontal one — gives the preimage, that is the answer to "for which does the function take this value".
The vertical line test
Since one argument must have exactly one value, every vertical line can meet the graph of a function at most once:
This is why a circle is not the graph of a function: a vertical line through its interior hits two points, so one would have two different values of . The reverse is allowed: two different arguments may share a value — the parabola above assigns the same value to both and and remains a function.
Four ways to define a function
The same function can be described in several ways:
- by a formula — ;
- by a table — a finite list of argument–value pairs;
- by a graph — a set of points in the plane;
- in words — "assign to every number its double, less one".
A table is convenient but incomplete — it shows six pairs, while the function assigns a value to every real number. The formula and the graph carry all of it at once.
A zero, and the value at zero
Two numbers that are very easy to confuse:
- a zero of the function is an argument with — on the graph, a crossing with the -axis;
- the value at zero is the number — on the graph, the crossing with the -axis.
For the zero is and the value at zero is . Two entirely different numbers with misleadingly similar names; we come back to both in the linear function.
Exercises
The questions cover both directions of the assignment: sometimes you are given the argument and asked for the value, sometimes given the value and asked which argument it came from. Type the number alone.
Practice
Work through a set of exercises — they get harder as you go. At the end you'll see your score and the mistakes worth reviewing.
Common mistakes
- Reading as a product — is the value at three, not .
- Confusing a zero with — the first is an argument, the second a value.
- Losing a sign at a negative argument — in substitute , brackets included.
- Skipping the domain — fails at zero and fails for negative numbers.
- Taking every curve for a graph of a function — a circle is not one; it fails the vertical line test.
- Mixing up domain and range — the domain lives on the horizontal axis, the range on the vertical one.
Formula card
Topic: What a function is
A function from X into Y
assigns exactly one element of Y to every element of X
The value notation
x is the argument, y the value of the function at it
Domain
the set of all arguments
Range
the set of all values the function takes
Zero of a function
an argument whose value is zero
The graph
the set of points (argument, value)
