Definition of a function
If each value of x gives exactly one value of y, then y is a function of x. You write this as . Different x values going to the same y is fine, but if one x goes to two y values, it is not a function.
Formulas
- Each x value gives exactly one y value: that is a function
When to use it
Use it when you decide whether a relationship between two quantities, a mapping diagram, or a table is a function.
Worked example
A pencil costs 500 won, and y won is the price of x pencils, so . When x is 1, y is 500; when x is 2, y is 1,000, so each x gives one y. Therefore y is a function of x.
Common mistake
Many students think it is not a function when different x values go to the same y. The only thing to check is whether each single x goes to exactly one y.