Real functions: the vertical line test, piecewise rules, domains, operations and composition
Week 1 Β· Real functions: the vertical line test, domain and range from a graph, piecewise-defined functions, the domain of a rule, operations on functions and composition Β· 3 lessons
1
What a function is: the vertical line test, and the domain and range read from a graph
Pure Mathematics Sec 2 Term 1, Unit 1, Lesson 1
GoalDecide from a graph whether it shows a function, and read its domain and range.
New words
function Β· a rule that gives each input exactly one outputdomain Β· the set of all allowed inputs xrange Β· the set of all outputs y that really occur
Explanation
A real function f takes each number x of a set D, its domain, and gives exactly one number y = f(x). Several inputs may share one output (f(2) = f(β2) = 4 for xΒ²), but one input must never give two outputs. That is why we have the vertical line test: the line x = c shows the input c, and every point where it meets the graph is an output for that input. If some vertical line meets the curve twice, that input has two outputs and the curve is not a function. To read a graph, look at its shadow on each axis. The shadow on the x-axis is the domain, the shadow on the y-axis is the range (in Arabic, Ψ§ΩΩ Ψ¬Ψ§Ω and Ψ§ΩΩ Ψ―Ω). Intervals are written with the French brackets: ]a, b[ leaves both ends out, [a, b] keeps both, and ]ββ, a] is every number up to a. A closed dot or square bracket means the end is included.
Worked examples
The line y = 2x β 1 is drawn only for 0 β€ x β€ 4. The domain is [0, 4]. The lowest point is (0, β1) and the highest is (4, 7), and the line is unbroken in between, so the range is [β1, 7].
The circle xΒ² + yΒ² = 9 is not a function. Draw the vertical line x = 1: it meets the circle at (1, β8) and (1, ββ8), two outputs for the input 1 (β8 is about 2.83).
f(x) = xΒ² β 4 is defined for every real x, so the domain is R. Its lowest point is (0, β4) and it rises without end, so the range is [β4, β[. The curve never goes below β4.
Class activity
Shadows. Hold a pencil vertically and slide it across the parabola above: it never touches the curve twice. Now slide a horizontal pencil up and down and say which heights it reaches (the range).
Practice
1
Which set of pairs is a function: A = {(1, 2), (2, 3), (3, 2)} or B = {(1, 2), (1, 3), (2, 5)}?
A is a function (two inputs may share the output 2). B is not: the input 1 has two outputs, 2 and 3.
2
Is the curve x = yΒ² (a parabola lying on its side) the graph of a function of x?
No. The line x = 4 meets it at (4, 2) and (4, β2).
3
Find the range of f(x) = 3x β 2 on the domain [β1, 3].
f(β1) = β5 and f(3) = 7, and the line is increasing, so the range is [β5, 7].
4
Find the range of f(x) = xΒ² on the domain [β2, 3]. Be careful.
The curve falls to 0 at x = 0 and then rises to f(3) = 9, so the range is [0, 9], not [4, 9].
5
The graph shows f(x) = |x β 1| for β2 β€ x β€ 4. Read the domain and the range, and f(β2) and f(4).
Domain [β2, 4]; the lowest point is (1, 0) and the highest value is f(β2) = f(4) = 3, so the range is [0, 3].