Professional Documents
Culture Documents
Topic 3 - Sets, Relations and Functions Edit
Topic 3 - Sets, Relations and Functions Edit
SETS, RELATIONS
&
FUNCTIONS
3.1 SETS
Definition set
SET IS A GROUP OF OBJECT
SET can be represent by :
1) By description.
B is a set of whole numbers from 5 to 8
Example
Find L’
The union of sets A and B, denoted by is the set of all elements which
belong to A or B or both A and B.
Example
Given 𝝃 = { = {multiples of 3}, Q = {prime numbers}
R = { perfect squares}
The intersection of sets A and B is the set of elements which are common to
both A and B. This relationship is written as A ∩ B
Example
Given 𝝃 = { = {Even numbers}, Q = {multiples of 3}
R = { sum of two digits more 6}
c) Find P ∩ R and P’
D. DIFFERENCE OF SETS
Example
Given = {a, k, m, n} and M = {b, c, m, p, k}, find
a) K – M
b) M – K
c) K ⨁ M
Example
A poll was taken of the leisure time activities of 90 students. 60 students watch TV
(T), 60 students read (R), 70 students go to the cinema (C). 26 students watch TV,
read and go to the cinema, 20 students watch TV and go to the cinema only. 18
students read and go to the cinema only. 10 students read and watch TV only.
a. Draw a Venn diagram to illustrate the above information.
b. Calculate how many students:
i. only watch TV.
ii. only go to the cinema.
F. Combined Operations on Sets
• Example
Given = { x : x is an integer and }, K = { x : x is contain digit 7 or 9}, L = { x : x is sum
of digits are less than 5} and M = { x : x is multiple of 5}. Write each of the
following sets by listing its elements.
a) K∩L'∪M
b) K ∪ (L ∩ M)’
c) n [M∩(K'∪L)]
G. CARTESIAN PRODUCT
Let A and B be sets. The Cartesian product of A and B, denoted by A x B, is the set
of all ordered pairs (a, b), where a ϵ A and b ϵ B.
Hence, A x B = { (a, b) a ϵ A and b ϵ B}
Example:
Given A = { 2, 4, 6} and B = { g, h}. Find
a) A x B
b) B x A
3.2 RELATIONS
Definition of Relations (R)
A relation from set A to the set B is the subset of Cartesian product A x B.
Relations on a Set
A relation on the set A is a relation from A to A (itself).
1) Draw the diagraph of the R = { (a, b), (b, a), (b, b), (b, c), (c, a)} on set A = {a, b, c}
2) State In-degree and Out-degree of each vertex
Properties of relations
Reflexive
Symmetric
Transitive
EXAMPLE
Consider the following relations on A = {1,2,3,4}, determine whether these
relations are reflexive, symmetric and/or transitive. Hence, determine whether
these relations are equivalence relation.
3.3 FUNCTIONS
Definition of Functions (f)
A relation in which every element in the domain has a unique image (one and only one) or
element in the range.
a. the image of 3
b. f(-2)
c. the object which has an image of 10
Composite Function gf(x)
1. Given f = {(a,2), (b,3),(c,4)} from set A to B and g = {(2,m), (3,m), (4,n)} from
set B to set C. Find gf.
a) fg(x)
b) gf (x)
c) (x)
Inverse Function (x)
1. Given f = {(2,4), (3,9),(4,16), (5,25)} from set A to B. Find .
a) (x)
b) (3)
Floor and Ceiling Function
Floor function is the greatest integer that is less than or equal to x.
Example
a)
b)
c)
d) + x
END