A. Quadratic Functions · Quadratic FunctionsFunction Notation: Evaluating and Interpreting f(x)
A2.2About 65 minutes
Learning goals- I can read and write function notation such as f(3) = 7.
- I can evaluate linear and quadratic functions for numbers and simple expressions.
- I can find the input that gives a known output.
- I can explain what function notation means in a real-world context, with units.
Words to know
function notation
Writing f(x) for the output of the function f when the input is x. Read "f of x".
evaluate
Find the value of a function for a given input by substituting and simplifying.
f(a)
The output of f when the input is a. The point (a, f(a)) is on the graph of f.
y-intercept
The output when the input is 0, f(0).
zero of a function
An input x for which f(x) = 0; an x-intercept of its graph.
A shorter way to say it
"The height of the ball, in metres, 2 seconds after it was thrown." That is a lot of words. Mathematicians write h(2). The letter h names the function (height), the 2 in brackets is the input (time), and h(2) is the output (the height).
This is function notation. You will use it throughout your Grade 11 and Grade 12 math courses, and in physics, chemistry, economics and coding.
Reading function notation
For a function named f:
- f(x) is read "f of x". It means the output of f when the input is x.
- f(x) is not f times x. The brackets hold the input.
- y = f(x). The graph of f is the set of points (x, f(x)).
- f(3) = 7 says: when the input is 3, the output is 7. So the point (3, 7) is on the graph.
Functions can have any name: f, g, h, C for cost, P for profit, h for height.
Each part of f(3) = 7 has a job: f names the function, 3 is the input and 7 is the output. Together they describe one point on the graph.Evaluating a function
To evaluate f(a), replace every x in the rule with a, then simplify.
Put brackets around the substituted value, especially when it is negative. For f(x) = x² − 3x, f(−2) = (−2)² − 3(−2) = 4 + 6 = 10. Without brackets, it is easy to write −2² = −4 by mistake.
Worked exampleExample 1: Evaluating linear and quadratic functions
f(x) = 4x − 7 and g(x) = 2x² − 5x + 1. Find (a) f(3), (b) f(−1.5), (c) g(−2), (d) g(0) and (e) f(2) + g(3).
- (a) f(3) = 4(3) − 7 = 12 − 7 = 5.
- (b) f(−1.5) = 4(−1.5) − 7 = −6 − 7 = −13.
- (c) g(−2) = 2(−2)² − 5(−2) + 1 = 2(4) + 10 + 1 = 19.
- (d) g(0) = 2(0)² − 5(0) + 1 = 1. (For any function, f(0) is the y-intercept.)
- (e) g(3) = 2(9) − 15 + 1 = 4, so f(2) + g(3) = (8 − 7) + 4 = 1 + 4 = 5.
f(3) = 5, f(−1.5) = −13, g(−2) = 19, g(0) = 1, f(2) + g(3) = 5.
Worked exampleExample 2: Substituting expressions
f(x) = x² − 3. Find (a) f(a), (b) f(2a) and (c) f(x + 2). Simplify.
- The rule is: square the input, then subtract 3. Whatever is in the brackets is the input.
- (a) f(a) = a² − 3.
- (b) f(2a) = (2a)² − 3 = 4a² − 3. Square the whole input: (2a)² = 4a², not 2a².
- (c) f(x + 2) = (x + 2)² − 3 = x² + 4x + 4 − 3 = x² + 4x + 1.
f(a) = a² − 3, f(2a) = 4a² − 3, f(x + 2) = x² + 4x + 1.
Working backwards: when does f(x) equal a value?
Sometimes you know the output and want the input. Set the rule equal to the output and solve.
- A linear function usually gives one answer.
- A quadratic function can give two answers, one answer or none, because a horizontal line can cross a parabola twice, once or not at all.
To find f(2), go up from x = 2 to the curve, then across to the y-axis: f(2) = −3. To solve f(x) = 5, draw the horizontal line y = 5. It crosses the parabola twice, so x = −2 or x = 4.Worked exampleExample 3: Solving f(x) = k
(a) f(x) = 3x + 4. Find x so that f(x) = 19.
(b) g(x) = x² − 2x − 3. Find x so that g(x) = 5.
- (a) 3x + 4 = 19, so 3x = 15 and x = 5. Check: f(5) = 15 + 4 = 19. ✓
- (b) x² − 2x − 3 = 5, so x² − 2x − 8 = 0.
- Factor (see the unit Quadratic Expressions and Equations): (x − 4)(x + 2) = 0, so x = 4 or x = −2.
- Check: g(4) = 16 − 8 − 3 = 5 ✓ and g(−2) = 4 + 4 − 3 = 5 ✓. The graph above shows both points.
(a) x = 5; (b) x = 4 or x = −2.
Worked exampleExample 4: Function notation in context
A ball is tossed up from a balcony. Its height in metres after t seconds is h(t) = −4.9t² + 19.6t + 2.
(a) Find h(0), h(1) and h(2) and explain what each means.
(b) Explain in words what h(3) = 16.7 means.
- (a) h(0) = 0 + 0 + 2 = 2: the ball starts 2 m above the ground.
- h(1) = −4.9(1) + 19.6(1) + 2 = 16.7: after 1 s the ball is 16.7 m high.
- h(2) = −4.9(4) + 19.6(2) + 2 = −19.6 + 39.2 + 2 = 21.6: after 2 s it is 21.6 m high.
- (b) Check: h(3) = −4.9(9) + 58.8 + 2 = −44.1 + 60.8 = 16.7. ✓ After 3 s the ball is 16.7 m high, the same height as at 1 s. At 1 s it was going up; at 3 s it is coming down.
h(0) = 2, h(1) = 16.7, h(2) = 21.6. h(3) = 16.7 means the ball is 16.7 m high after 3 s.
Units tell the story
In a context, give every input and output its unit. "h(2) = 21.6" becomes "after 2 s, the height is 21.6 m". If C(n) is the cost in dollars of n items, then C(40) = 730 means "40 items cost $730".
Just for funWhy is f(x) such a good listener?
You tell it one thing, and it always gives you exactly one answer back. No rambling.
Hands-on activityThe secret rule game
You need: a partner (a family member or friend), paper and a pencil. A calculator helps.
- Your partner secretly writes a rule, either linear (like f(x) = 3x − 1) or simple quadratic (like f(x) = x² + 2 or f(x) = 2x²).
- You call out inputs. Your partner answers with outputs, written in function notation: "f(4) = 11".
- Record the pairs in a table. After each answer, try to guess the rule.
- To check a guess, predict an output first, for example "f(10) should be 29", then ask.
- Swap roles.
Tips: asking for f(0) gives the constant term. Asking for f(1), f(2), f(3) lets you use first and second differences: constant first differences mean linear; constant second differences mean quadratic, and for steps of 1 the second difference is 2a.
What to look for: each guess should be written with function notation, and each guess should be tested with a prediction before it is accepted.
Your turn
1f(x) = 3x − 5. Find f(4), f(−2) and f(0).
f(4) = 12 − 5 = 7; f(−2) = −6 − 5 = −11; f(0) = −5.
2g(x) = x² + 2x − 1. Find g(3) and g(−3).
g(3) = 9 + 6 − 1 = 14; g(−3) = 9 − 6 − 1 = 2.
3h(x) = −2x² + x. Find h(−1) and h(0.5).
h(−1) = −2(1) + (−1) = −3; h(0.5) = −2(0.25) + 0.5 = 0.
4f(x) = 4x + 1. Find x if f(x) = 21.
4x + 1 = 21, so 4x = 20 and x = 5.
5g(x) = x² − 9. Find x if g(x) = 16.
x² − 9 = 16, so x² = 25 and x = 5 or x = −5.
6f(x) = x² + 1. Find f(a) and f(2a).
f(a) = a² + 1; f(2a) = (2a)² + 1 = 4a² + 1.
7A cottage costs C(d) = 150d + 75 dollars to rent for d days (including a $75 cleaning fee). Find C(4) and explain its meaning.
C(4) = 600 + 75 = 675. Renting the cottage for 4 days costs $675.
More practice: warm-up
4f(5) = 2. Which point is on the graph of f?
5f(x) = 10 − x. Find f(10).
More practice: on your own
1f(x) = −x² + 4x + 5. Find f(2) and f(−1). What does f(−1) = 0 tell you about the graph?
f(2) = −4 + 8 + 5 = 9; f(−1) = −1 − 4 + 5 = 0. The graph crosses the x-axis at x = −1, so −1 is a zero of f.
2f(x) = 2x − 3 and g(x) = x². Find f(3) + g(−2) and 2f(1) − g(3).
f(3) + g(−2) = 3 + 4 = 7. 2f(1) − g(3) = 2(−1) − 9 = −11.
3f(x) = x² − 3. Find f(x + 2) and simplify.
(x + 2)² − 3 = x² + 4x + 4 − 3 = x² + 4x + 1.
4A ball's height is h(t) = −5t² + 20t + 1 metres after t seconds. Find h(1) and h(3). Why are they equal?
h(1) = −5 + 20 + 1 = 16; h(3) = −45 + 60 + 1 = 16. The ball passes 16 m twice: once going up (1 s) and once coming down (3 s). The times are symmetric about the time of the maximum, t = 2.
5f(x) = 3x + b and f(2) = 11. Find b, then find f(−1).
6 + b = 11, so b = 5. f(−1) = −3 + 5 = 2.
Challenge
1f(x) = x² − 2x. Find f(5), then find every x with f(x) = f(5).
f(5) = 25 − 10 = 15. Solve x² − 2x = 15: x² − 2x − 15 = 0, (x − 5)(x + 3) = 0, so x = 5 or x = −3. Check: f(−3) = 9 + 6 = 15 ✓.
2f(x) = ax² + 3 and f(2) = 23. Find a, then explain why f(−2) must also be 23.
4a + 3 = 23, so 4a = 20 and a = 5. f(−2) = 5(4) + 3 = 23, because (−2)² = 2²: the function only uses x², so inputs that are opposites give the same output (the graph is symmetric about the y-axis).
3A model rocket's height is h(t) = −4.9t² + 49t metres. Show that h(5 + d) = h(5 − d) for any number d. What does this tell you about the rocket's flight?
h(5 + d) = −4.9(25 + 10d + d²) + 49(5 + d) = −122.5 − 49d − 4.9d² + 245 + 49d = 122.5 − 4.9d². Replacing d with −d gives h(5 − d) = 122.5 − 4.9d² too, so the two are equal. The flight is symmetric about t = 5 s, and the largest height is h(5) = 122.5 m (when d = 0, since −4.9d² is never positive).
Check your understandingQuiz
1. f(x) = x² − 5. What is f(−3)?
2. What does f(2) = 7 tell you?
3. f(x) = 2x + 1. For which x is f(x) = 9?
4. h(t) = −5t² + 30t gives a height in metres after t seconds. What is h(2)?
5. g(x) = x² + x. What is g(a)?
6. For any function f, the y-intercept of the graph of y = f(x) is…
For parents and teachersBig idea: expectation A2.2 asks students to substitute into and evaluate linear and quadratic functions written in function notation, including functions from real-world situations.
How to help: ask your teen to read notation aloud ("f of 3") and to say what it means in words, with units, in a context: "C(12) = 300 means 12 tickets cost $300." Invent rules together (cost of a taxi ride, cost of a cottage rental) and evaluate them.
Common difficulties:
- Reading f(x) as "f times x".
- Sign errors when substituting negatives: insist on brackets, (−3)² = 9.
- Substituting into only some of the x's in the rule.
- Mixing up f(a) (find the output) with "f(x) = a" (find the input).
- Forgetting the second answer when solving a quadratic f(x) = k.