By describing a rule more carefully it is possible to make sure a single output results from a single
input, thereby defining a valid rule for a function. For example, the rule ‘take the positive square
root of the input’ is a valid function rule because a given input produces a single output. The graph
of this function is displayed in Figure 11(b).
Many-to-one and one-to-one functions
Consider the function y(x) = x
2
. An input of x = 3 produces an output of 9. Similarly, an i npu t of
−3 also produces an output of 9. In general, a function for which different inputs can produce the
same output is called a many-to-one function. This is represented pictorially in Figure 12 from
which it is clear why we call this a many-to-one function.
Figure 12: This represents a many-to-one function
Note that whilst this is many-to-one it is still a function since any chosen input value has only one
arrow emerging from it. Thus there is a single output for each input.
It is possible to decide if a function is many-to-one by examining its graph. Consider the graph of
y = x
2
shown in Figure 13.
Figure 13: The function y = x
2
is a many-to-one function
We see that a horizontal line drawn on the graph cuts it more than once. This means that two (or
more) different inputs have yielded the same output and s o the function is many-to-one.
If a function is not many-to-one then it is said to be one-to-one. This means that each different
input to the function yields a different output.
Consider the function y(x) = x
3
which is shown in Figure 14. A horizontal line drawn on this graph
will intersect the curve only once. This means that each input value of x yields a different output
value for y.
22 HELM (2008):
Workbook 2: Basic Functions