Function notation, domain and range
Evaluate a function, a composite f(g(x)) and a piecewise function at a value, and give a function's domain and range from its formula or its graph.
It opens on
The shop's price graph has a flat piece and a steeper piece that both start at 2 hours. Does a ride of exactly 2 hours cost $10 or $15?
Why it matters
ACT Math scores 7 or 8 Functions questions out of 41, and many of them start by reading f of a number from a formula or a graph, so this notation is the door to the whole category.
Good to know first
- Exponents, radicals and rational expressions: substituting into an expression, a square root needs a number that is not negative, and a fraction is undefined where its denominator is zero
- reading points on a coordinate graph
Step by step
Reading C(h) and a piecewise rule
Evaluate a function written in function notation, including a piecewise function, and decide which piece an input belongs to from the inequality or the dot.
To find C(5), first find the piece whose stretch holds 5. Five is more than 2, so use the second piece, and C(5) = 3 × 5 + 9 = 24.
C(5) = 3(5) + 9 = 24
A common mix-up
f(3) means f times 3.
In fact: f(3) is the output when the input is 3; C(5) = 24 is the height of the graph above 5, not C multiplied by 5.
A function inside a function
Evaluate a composite function f(g(x)) at a number and write it as an expression, working from the inside out.
Here is the ACT's usual form. Let f(x) = x² + 1 and g(x) = 2x − 3, and find f(g(2)). Inside first, g(2) = 2 × 2 − 3 = 1, then f(1) = 1 + 1 = 2.
f(x) = x² + 1, g(x) = 2x − 3, g(2) = 1, f(g(2)) = f(1) = 2
A common mix-up
f(g(x)) means f(x) times g(x).
In fact: It means g's output fed into f; at x = 2, f(g(2)) = 2 while f(2) × g(2) = 5 × 1 = 5.
Domain and range from the graph
Read a function's domain and range from its graph, including open and closed ends and a gap in the range.
The steep piece starts just above 15 and climbs to 3 × 8 + 9 = 33 at the filled dot. So the range is the single value 10 together with 15 < C ≤ 33.
the purple range bar at the right, a dot at 10, a ring at 15, a bar up to 33; C = 10 or 15 < C ≤ 33
A common mix-up
The range runs from the lowest output to the highest.
In fact: a piecewise graph can jump, so the range here is 10 and 15 < C ≤ 33, and costs like $12 are left out.
Domain from a formula
Find the domain of a function from its formula by excluding inputs that make a square root negative or a denominator zero.
Take f(x) = √(x − 3). The inside must satisfy x − 3 ≥ 0, so x ≥ 3. The graph starts at (3, 0) and has nothing to its left.
the graph of y = √(x − 3), x − 3 ≥ 0, x ≥ 3
A common mix-up
A denominator x² − 9 only excludes x = 3.
In fact: a square has two roots, so x = −3 also makes it zero; the domain leaves out both.
Try it
f(x) = x² if x < 1 and f(x) = 4 − x if x ≥ 1. What is f(−2) + f(1)?Answer
4 + 3 = 7 (hint: −2 is less than 1, and 1 fits x ≥ 1).
f(x) = 3x − 1 and g(x) = x². What is f(g(−2))?Answer
11, since g(−2) = 4 and f(4) = 11 (hint: square −2 first).
A graph is the parabola y = x² drawn only from x = −1 to x = 3, with filled dots at both ends. What is its range?Answer
0 ≤ y ≤ 9; the lowest point is the vertex at 0, not the end at x = −1 (hint: where is the parabola lowest?).
What is the domain of y = 2/(x − 1) + √x?Answer
x ≥ 0 and x ≠ 1 (hint: one rule for the root, one for the denominator).
What is C(1), and what is C(3)?Answer
C(1) = 10, from the flat piece, and C(3) = 3 × 3 + 9 = 18, from the steep piece.
