Functions Domain and Range 1
Functions Domain and Range 1
Functions Domain and Range 1
Jackie Nicholas
Jacquie Hargreaves
Janet Hunter
!2006
c University of Sydney
Mathematics Learning Centre, University of Sydney 1
1 Functions
In these notes we will cover various aspects of functions. We will look at the definition
of a function, the domain and range of a function, and what we mean by specifying the
domain of a function.
One way to demonstrate the meaning of this definition is by using arrow diagrams.
X Y X Y
f g
1 5 1 5
2 2 6
3 3 3 3
4 2 4 2
A function can also be described as a set of ordered pairs (x, y) such that for any x-value in
the set, there is only one y-value. This means that there cannot be any repeated x-values
with different y-values.
The examples above can be described by the following sets of ordered pairs.
The definition we have given is a general one. While in the examples we have used numbers
as elements of X and Y , there is no reason why this must be so. However, in these notes
we will only consider functions where X and Y are subsets of the real numbers.
In this setting, we often describe a function using the rule, y = f (x), and create a graph
of that function by plotting the ordered pairs (x, f (x)) on the Cartesian Plane. This
graphical representation allows us to use a test to decide whether or not we have the
graph of a function: The Vertical Line Test.
Mathematics Learning Centre, University of Sydney 2
The Vertical Line Test states that if it is not possible to draw a vertical line through a
graph so that it cuts the graph in more than one point, then the graph is a function.
y y
x
0
x
0
This is the graph of a function. All possi- This is not the graph of a function. The
ble vertical lines will cut this graph only vertical line we have drawn cuts the
once. graph twice.
This also corresponds to the set of x-values when we describe a function as a set of ordered
pairs (x, y).
For a function f : X → Y the range of f is the set of y-values such that y = f (x) for
some x in X.
This corresponds to the set of√y-values when we describe a function as a set of ordered
pairs (x, y). The function y = x has range; all real y ≥ 0.
Example
√
a. State the domain and range of y = x + 4.
√
b. Sketch, showing significant features, the graph of y = x + 4.
Mathematics Learning Centre, University of Sydney 3
Solution
√
a. The domain of y = x + 4 is all real x ≥ −4. We know that square root functions are
only defined for positive numbers so we require that x + 4 ≥ 0, ie x ≥ −4.√We also
know that the square root functions are always positive so the range of y = x + 4 is
all real y ≥ 0.
b.
y
3
1
x
–4 –3 –2 –1 0 1
√
The graph of y = x + 4.
Example
–2
–3
Solution
The domain of this parabola is all real x. The range is all real y ≥ −3.
Example
b. f (q)
c. f (x2 ).
Mathematics Learning Centre, University of Sydney 4
Solution
x
–1 0 1 2 3
a. The domain is all real x. The range is all real y where y ≤ 2.25.
b. f (q) = 3q − q 2
2
c. f (x2 ) = 3(x2 ) − (x2 ) = 3x2 − x4
Example
y
6
x
–2 0 2 4
Solution
The function is defined for all real x. The vertex of the function is at (1, 1) and therfore
the range of the function is all real y ≥ 1.
y = x2 for 0≤x≤2
then the domain is given as 0 ≤ x ≤ 2. The natural domain has been restricted to the
subinterval 0 ≤ x ≤ 2.
Consequently, the range of this function is all real y where 0 ≤ y ≤ 4. We can best
illustrate this by sketching the graph.
y
4
x
–1 0 1 2
1.3 Exercises
√
1. a. State the domain and range of f (x) = 9 − x2 .
√
b. Sketch the graph of y = 9 − x2 .
2. Sketch the following functions stating the domain and range of each:
√
a. y = x − 1
b. y = |2x|
Mathematics Learning Centre, University of Sydney 6
1
c. y = x−4
d. y = |2x| − 1.
3. Explain the meanings of function, domain and range. Discuss whether or not y 2 = x3
is a function.
4. Sketch the following relations, showing all intercepts and features. State which ones
are functions giving their domain and range.
√
a. y = − 4 − x2
b. |x| − |y| = 0
c. y = x3
x
d. y = |x|
,x &= 0
e. |y| = x.
5. Write down the values of x which are not in the domain of the following functions:
√
a. f (x) = x2 − 4x
x
b. g(x) = x2 −1
√
1. a. The domain of f (x) = 9 − x2 is all real x where −3 ≤ x ≤ 3. The range is all
real y such that 0 ≤ y ≤ 3.
b.
y
4
x
–4 –2 0 2 4
√
The graph of f (x) = 9 − x2 .
Mathematics Learning Centre, University of Sydney 7
2. a. b.
y y
4 4
2 2
x x
0 1 3 5 –2 0 2
√
The graph of y = x − 1. The domain
is all real x ≥ 1 and the range is all real The graph of y = |2x|. Its domain is all
y ≥ 0. real x and range all real y ≥ 0.
c.
y
0
2 4 6 8 x
1
The graph of y = x−4
. The domain is all real x &= 4 and the range is all real y &= 0.
d.
y
4
x
–2 0 2
–1
The graph of y = |2x| − 1. The domain is all real x, and the range is all real
y ≥ −1.
4. a. b.
y y
2 2
x x
–2 0 2 –2 0 2
–2 –2
√
The graph of y = − 4 − x2 . This is a
function with the domain: all real x such The graph of |x| − |y| = 0. This is not
that −2 ≤ x ≤ 2 and range: all real y the graph of a function.
such that −2 ≤ y ≤ 0.
c. d.
y y
2 2
x x
–2 0 2 –2 0 2
–2 –2
x
0 2
–2