Mat 115 Week 8 Lecture Notes
Mat 115 Week 8 Lecture Notes
1 FUNCTIONS 3
1.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
2
Chapter 1
FUNCTIONS
1.1 Introduction
Functions are special case of relations. If we suppose A and B are two non-empty sets
Definition 1.1.1. Let A and B be non- empty sets. A function f from set A to set B
If f : A → B, the set A is called the Domain of f , the set B is called the Codomain
of f .If f (a) = b, the element b is the image of a under f , while a is the pre-image of b
under f . The set of all image values of f is called the image or range of f . The range
is a subset of B.
Example 1.1.1. Let A = {a, b, c, d}, and B = {x, y, z, w}. Consider the assignment
rule f : A → B which is defined by: f = {(a, y), (b, x), (c, z), (d, y)}.We first check that
3
1.1 Introduction 4
f (c) = z and f (d) = y. Also every element in A has uniquely been assigned to a element
element. For the range, we look at B, out of the four elements three have a pre-image,
Example 1.1.2. State whether or not each of the following relation arrow diagram
a) This is not a function since element b has not been assigned to an element in B.
A B
a x
b y
c z
b) This is not a function since element c has not been uniquely assigned to an element
A B
a x
b y
c z
A B
a x
b y
c z
3. Visually: by a graph
Example 1.1.3. Let A be the set of students in MAT 115 class. Determine which
This is a function since each student has only one value that can be assigned
This is a function since every student fits into one category of gender.
This is not a function since it possible to have more than one spouse or none.
Example 1.1.4. Let X = {1, 2, 3, 4}. Determine whether each of the following relations
on X defines a function on X.
1.1 Introduction 6
a) f = {(2, 3), (1, 4), (2, 1), (3, 2), (4, 4)}
This is not a function since the element 2 has not been uniquely assigned into a single
This is not a function since the element 2 has not been assigned to an element in the
codomain
c) f = {(2, 1), (3, 4), (1, 4), (2, 1), (4, 4)}
This is a function .
Example 1.1.5. Let f : R → R be the function that assigns to each real number x its
f (x) = x2
variable.
b) f (Ann)
c) f (x + h)
d) f (x + h) − f (x)
f (x + h) − f (x)
e)
h
f) image of f
1.2 Types of fuctions 7
The table below indicates the domain and the range of various functions
The identity function is a function which returns the same value, which was used as its
, for all values of x. The identity function algebraically is the function y = x, its graph
is shown below:
1.2 Types of fuctions 8
2 y
x
−2 −1 1 2
−1
−2
For x = 1, IA (1) = 1,
For x = 2, IA (2) = 2
For x = 3, IA (3) = 3
For x = 4, IA (4) = 4
For x = 5, IA (5) = 5
assigned the same element i.e. a constant function is a function whose value is the same
Example 1.2.2. The function f : R → R defined by f (x) = 3. This function maps all
the real numbers to the same value 3. Its graph is shown below:
1.2 Types of fuctions 9
3.6 y
3.4
3.2
2.8
x
−3 −2 −1 1 2 3
restriction of f to Z. Find
iii) fˆ(1/2). Solution: fˆ(1/2) is not defined since 1/2 is not in the domain of fˆ.
defined by i(x) = x for every x ∈ S. The inclusion map of S into A is the restriction of
iii) i(−5). Solution: i(−5) is not defined since −6 is not in the domain N of i : S ,→ A.
1.2 Types of fuctions 10
These are functions which map sets into R. Frequently, the domain of f is R or an
interval subset of R and hence the functions can be ploteed in the coordinate plane
R×R = R2 . In particular, when the functions are piecewise continous and differentiable,
graph of such a function can be approximated by first plotting some of its points and
3 y
x
−3 −2 −1 1 2 3
A piecewise function is a function where more than one formula is used to define the
output over different pieces of the domain.Each formula has its own domain, and the
Evaluate:
i) f (−2)
ii) f (0)
iii) f (5)
respectively. Find:
i) (g ◦ f )(4) .
ii) (f ◦ g)(4) .
v) a formula for f ◦ f .
Exercise 1:
√ x
If f (x) = x, g(x) = and h(x) = 4x − 8, find:
4
i) (h ◦ g ◦ f )(4)
ii) (h ◦ g ◦ f )(x)
iii) (h ◦ f ◦ g)(4)
iv) (g ◦ f ◦ h)(4)
v) (f ◦ g ◦ h)(4)
vi) (f ◦ f ◦ f )(4)