Professional Documents
Culture Documents
The Language of Sets
The Language of Sets
The Language of Sets
We can think of a set intuitively, as simply as a well-defined collection of objects, called elements.
If S is a set, the notation x S means that x is an element of S. The notation x S means that x is not
an element of A.
A set may be specified using the set-roster notation or roster method by writing all of its elements
between braces.
Example 1:
A = 1, 2, 3, 4, 5, ...→ A is a set containing the elements 1,2,3,4,5, and so on - all positive
integers. This is an example of infinite set.
B = 1, 2,3, 4,5,6,7,8 → B is a set containing all integers from 1 to 8. This is an example offinite
set.
Empty set or
Set of natural numbers = 1, 2, 3, 4, 5,...
Set of integers =... , −3, −2, −1, 0,1, 2, 3, ...
+
Set of positive integers
−
Set of negative integers
Another way to specify a set uses what is called the set-builder notation.
Set-Builder Notation
Let S denote a set and let P(x) be a property that elements of S may or may not satisfy. We may
define a new set to be the set of all elements x in S such that P(x) is true. We denote this set as follows:
x S | P( X )
What if I want to know the set containing ever numbers between 0 and 11?
Answer: S = x 0 x 11, x is even
Answer: C = x | x 4
Answer: D = 1, 2, 3, 4
Subsets
If A and B are sets, then A is called a subset of B, written A B , if, and only if, every element of A is
also an element of B.
It follows from the definition of subset that for a Set A not to be a subset of a set B means that there is
at least one element of A that is not an element of B.
Symbolically: A B means that There is at least one element x such that x A and x B .
Proper Subsets
Let A and B be sets. A is a proper subset of B, written A B , if, and only if, every element of A is in B
but there is at least one element of B that is not in A.
Example 3:
Let A = +
, B = n 0 n 100, and C = 100, 200,300, 400,500. Evaluate the truth and falsity
of each of the following statements:
a. B A-
b. C A –
c. C and B have atleast one element in common.
d. C B
e. C C
Answer:
a. False
b. True
c. True
d. False
e. True
Ordered Pair
Given elements a and b, the symbol (a,b) denotes the ordered pair consisting of a and b together with
the specification that a is the first element of the pair and b is the second element.
Two ordered pairs (a,b) and (c,d) are equal if and only if a = c and b = d. Symbolically; (a, b) = (c, d)
means that a = c and b = d
Illustration:
a) If (a, b) = (3, 2), what would be the value of a and b. Here, by definition that two ordered pairs (a,b)
and (c,d) are equal iff a = c and b = d. Hence, a = 3 and b = 2.
b) Find x and y if (4x + 3, y) = (3x + 5, – 2). Solution: Since (4x + 3, y) = (3x + 5, – 2), so 4x + 3 = 3x + 5
Solving for x, we got x = 2 and obviously y = – 2
Cartesian Product
Given sets A and B, the Cartesian product of A and B, denoted by A B and read as “A cross B”, is the
set of all ordered pairs (a,b), where a is in A and b is in B.