Nonlinear functions 3: function notation and transformations
Advanced Math is about 35% of SAT Math (13β15 of 44 questions). Function notation is the language of many questions: evaluating f(a), solving f(x) = b, reading a graph or table, compositions, transformations, and the zeros of polynomials.
What f(x) means
The letter f is the name of the rule and x is the input. To find f(3), replace every x by 3 and calculate. If f(x) = 2xΒ² β 5x + 1, then f(3) = 2(3)Β² β 5(3) + 1 = 18 β 15 + 1 = 4. The statement f(3) = 4 tells you two things: the output for input 3 is 4, and the point (3, 4) is on the graph. The input is always the horizontal coordinate. Put brackets around a negative input, because (β3)Β² = 9 but β3Β² = β9.
Two different questions
βFind f(a)β gives you the input and asks for the output: substitute. βFor what x is f(x) = b?β gives you the output and asks for the input: set the rule equal to b and solve. Take f(x) = 3x β 2. Substituting 4 gives f(4) = 10. Solving 3x β 2 = 10 gives x = 4. The same point (4, 10) answers both, but the work is different.
| Question | What to do | With f(x) = 3x β 2 |
|---|---|---|
| Find f(4) | substitute x = 4 | 3(4) β 2 = 10 |
| For what x is f(x) = 10? | solve 3x β 2 = 10 | x = 4 |
Reading graphs and tables
On a graph, f(a) is the height of the curve above (or below) x = a. To solve f(x) = b, draw a horizontal line at height b and read the x-values where it meets the curve; there can be several. The zeros of f are where the curve meets the x-axis. In the graph below, f(0) = 3, f(1) = 4, and f(x) = 0 at x = β1 and x = 3. In a table, find the input in the top row and read the output under it.
Composition: inside first
The notation f(g(x)) means: put x into g first, then put that output into f. With f(x) = x + 3 and g(x) = 2x, we get g(2) = 4 and then f(4) = 7, so f(g(2)) = 7. The other order gives a different result: f(2) = 5 and g(5) = 10, so g(f(2)) = 10. Always start with the innermost brackets.
Shifts and reflections
Changing the function changes the graph in a predictable way. A change outside the brackets acts on the heights and does what you expect: f(x) + 2 moves the graph up 2. A change inside the brackets acts on x and does the opposite of what you expect: f(x β 2) moves the graph right 2, and f(x + 2) moves it left 2. A minus sign outside, βf(x), flips the graph over the x-axis; a minus sign inside, f(βx), flips it over the y-axis. For a parabola, move the vertex the same way.
| New function (h, k > 0) | What happens to the graph of f |
|---|---|
| f(x) + k | up k units |
| f(x) β k | down k units |
| f(x β h) | right h units |
| f(x + h) | left h units |
| βf(x) | flipped over the x-axis |
| f(βx) | flipped over the y-axis |
Zeros, factors and fractions
If f(a) = 0, then a is a zero of f and (x β a) is a factor of f(x); this works backward too. For example xΒ² β x β 6 = (x β 3)(x + 2) has zeros 3 and β2. A fraction is undefined when its denominator is 0. The function f(x) = 1/(x β 2) is undefined at x = 2, and its graph has a vertical asymptote there. A rational function equals 0 only where its numerator is 0 and its denominator is not.
- Replace every x with (β3) and keep the brackets.
- f(β3) = (β3)Β² β 4(β3) + 1
- = 9 + 12 + 1 = 22
- Work inside first: f(2) = 3(2) β 1 = 5.
- Now g(5) = 5Β² + 2 = 27.
- (β2, β4)
- (6, β4)
- (β2, β2)
- (6, β2)
- f(x + 4) is inside the brackets: it moves the graph left 4, so the x-coordinate becomes 2 β 4 = β2.
- The β 1 is outside: it moves the graph down 1, so the y-coordinate becomes β3 β 1 = β4.
- The new vertex is (β2, β4).
- x + 2
- x β 2
- x β 6
- x + 6
- Check: p(2) = 8 β 14 + 6 = 0 β
- If p(a) = 0 then (x β a) is a factor. Here a = 2.
- So x β 2 is a factor.
- Dropping brackets around a negative inputWrite f(β3) = (β3)Β² β 4(β3) + 1. Without brackets, β3Β² becomes β9.
- Reading the axes backwardf(2) = 5 is the point (2, 5): the input 2 is horizontal and the output 5 is vertical.
- Composing in the wrong orderIn f(g(x)) the function g works first. Work from the innermost brackets outward.
- Shifting the wrong wayInside the brackets the effect is opposite: f(x + 3) moves left, f(x β 3) moves right. Outside the brackets it is as expected.
- Thinking f(a + b) = f(a) + f(b)This is false for most functions. If f(x) = xΒ², then f(1 + 2) = 9, not 1 + 4 = 5.
- Forgetting that a denominator cannot be 0Set the denominator equal to 0 to find the excluded inputs. A zero of the numerator is a zero of the function, not an excluded value.
Define a function by typing f(x) = 2xΒ² β 5x + 1. Then type f(3) on a new line: Desmos shows the value. You can define g(x) too and type f(g(2)) for a composition. To see a transformation, type f(x β 2) + 1 as a second graph and compare it with f(x). A slider for k in f(x) + k shows the shift. Click the x-axis crossings to read zeros.
- Type f(x) = x^2 β 4x + 1
- Type f(β3) to see 22
- Type y = f(x + 2) β 1 to see the shifted graph
- Type y = 10 and click the crossings to solve f(x) = 10
Use Desmos to check a value or to solve f(x) = b with ugly numbers. For direct substitution with small numbers, doing it by hand is faster.
Open Desmos β