Real functions: the vertical line test, piecewise rules, domains, operations and composition
الأسبوع 1 · الدوال الحقيقية: اختبار الخط الرأسي ومجال الدالة ومداها والدالة متعددة التعريف وإيجاد المجال من القاعدة والعمليات على الدوال وتركيبها · 3 دروس
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].