Selasa, 24 Januari 2012

SETS OPERATION

There are four operations on set, they are:
a. Sets intersection
b. Sets Union
c. Difference of a set
d. Complement of a set
We are going to discuss each other.
A. Sets Intersection
The intersection of sets A and B, written as AB, is a set of elements which are common to A and B, that is, those elements which belong to A and which belong to B.
AB= { x|x A and x B}.
Example:
Determine the intersection of A = {factor of 50} and B ={five first prime numbers}. Then determine n(AB).
Solution:
A = {1,2,5,10,25,50}
B = {2,3,5,7,11}
The elements common to A and B are 2 and 5. Thus, AB ={2,5}.
Because there are two elements in set AB, then n(AB)=2.
B. Union
The union of two sets A and B is denoted by AB. The union of two sets A and B is the set of all elements which belong to A or to B or to both. The union of A and B is denoted by
AB = {x|x A or x B}.
Example:
Find AB if A = {a,b,c,d} and B = {d,e,f,g}.
Solutions:
The elements of the union of set A and B are a,b,c,d,e,f and g.
Thus, AB ={a,b,c,d,e,f,g}.
C.Difference of Sets
The difference of sets P and Q, written as P-Q, is the set of elements which belong to P but which do not belong to Q.
P-Q={x|x P and X Q}.
Example:
Let:
P = {a,b,c,d,e}
Q = {c, d, e, f,g h}
Determine:
a. P-Q
b. Q-P
Solution:
a. P-Q={a,b,c,d,e}-{c,d,e,f,g,h}
={a,b}
b.Q-P = {c,d,e,f,g,h}-{a,b,c,d,e}
={f,g,h}
d. Complement of a Set
The complement of a set A, denoted by is the set of elements which do not belong to A.
= {x|xA}.
Example:
Given universal set S = {1,2,3,4,5,6,7,8}
let A={prime numbers}
B = {1,2,3,4,5}.
Determine:
a. Complement of A.
b. Complement of B.
c. Complement of (AB).
Solution:
a. Complement of A = { 1,4,6,8}
b. Complement of B = {6,7,8}
c. Complement of (AB)= {1,4,6,7,8}.

Tidak ada komentar: