One output per input
Different inputs may have the same output. One input cannot have two different outputs. In a graph of a function, a vertical line can meet the graph at most once.
A function gives one output for each allowed input. Read the rule, follow the input through it, and check which inputs can produce a given result.
Different inputs may have the same output. One input cannot have two different outputs. In a graph of a function, a vertical line can meet the graph at most once.
For f(g(x)), calculate g(x) first and use its result as the input to f. Reversing the order can change the result.
A linear function changes by a constant amount for each unit increase in its input. In f(x) = (x − h)2 + k, the minimum output is k at x = h. Inputs equally far from h give the same output.
A piecewise function gives different formulas for different inputs. Check the condition before substituting. For example, the floor function gives the greatest integer less than or equal to the input, so the floor of −0.7 is −1.
A print shop charges a setup fee of $4 and $3 per poster. For f(x) = 4 + 3x, each additional poster raises the total by $3. The setup fee is the value at zero.
| Posters | 0 | 1 | 2 |
|---|---|---|---|
| Cost | $4 | $7 | $10 |
The floor of 2.8 is 2. The floor of −0.2 is −1 because −1 is the greatest integer at or below −0.2.
| Input | −1 | −0.2 | 0 | 2.8 |
|---|---|---|---|---|
| Floor | −1 | −1 | 0 | 2 |
A machine is supposed to give exactly one output for each setting. The table shows four recorded tests. Which input shows that the recorded relationship cannot be a function?
| Input | Output |
|---|---|
| 1 | 6 |
| 3 | 8 |
| 5 | 6 |
| 3 | 9 |
Look for a repeated input, then compare its outputs.
The conflicting input is 3, which has outputs 8 and 9. Inputs 1 and 5 both giving 6 is allowed.
Let f(x) = 3x − 2 and g(x) = x2 + 1. Start with −2. Find f(g(−2)) and g(f(−2)).
Compute g(−2) and f(−2) separately. Use parentheses when squaring a negative input.
g(−2) = 5, then f(5) = 13. In the other order, f(−2) = −8, then g(−8) = 65.
A puzzle assigns a score of h(x) = (x − 3)2 + 5 to any real-number input x. Which inputs give a score of 14?
Subtract 5 from 14. What distances from 3 have that square?
(x − 3)2 = 9, so x − 3 is either −3 or 3. The two inputs are 0 and 6. Each gives 9 + 5 = 14.
Connect the last problem to a graph by finding the vertex and line of symmetry in this Shark Academy lesson.