A function is a relation for which there is only one value of yy corresponding to any value of xx. We sometimes write y=f(x)y=f(x), which is notation meaning 'yy is a function of xx'. This definition makes complete sense when compared to our real world examples — each person has only one height, so height is a function of people; on each day, in a specific town, there is only one average temperature.
However, some very common mathematical constructions are not functions. For example, consider the relation x2+y2=4x2+y2=4. This relation describes a circle of radius 2 centred at the origin, as in Figure 1. If we let x=0x=0, we see that y2=4y2=4 and thus either y=2y=2 or y=-2y=-2. Since there are two yy values which are possible for the same xx value, the relation x2+y2=4x2+y2=4 is not the graph a function.
There is a simple test to check if a relation is a function, by looking at its graph. This test is called the vertical line test. If it is possible to draw any vertical line (a line of constant xx) which crosses the graph of the relation more than once, then the relation is not a function. If more than one intersection point exists, then the intersections correspond to multiple values of yy for a single value of xx.
We can see this with our previous example of the circle by looking at its graph again in Figure 1.
We see that we can draw a vertical line, for example the dotted line in the drawing, which cuts the circle more than once. Therefore this is not a function.
- State whether each of the following equations are functions or not:
- x+y=4x+y=4
- y=x4y=x4
- y=2xy=2x
- x2+y2=4x2+y2=4
- The table gives the average per capita income, dd, in a region of the country as a function of uu, the percentage
unemployed. Write down the equation to show that income is a function of the persent unemployed.
Table 1| uu | 1 | 2 | 3 | 4 |
| dd | 22500 | 22000 | 21500 | 21000 |
"Accessible versions of this collection are available at Bookshare. DAISY and BRF provided."