Professional Documents
Culture Documents
Cos 203 - Introduction To Mathematical Statements and Set Theory
Cos 203 - Introduction To Mathematical Statements and Set Theory
Cos 203 - Introduction To Mathematical Statements and Set Theory
A statement is any declarative sentence which is either true or false but not both. For
example; Mobile numbers in Nigeria have 11 digits, 5 is larger than 7, 12 is a perfect
square, etc.
A predicate is a statement or mathematical assertion that contains variables, sometimes
referred to as predicate variables, and may be true or false depending on those variables’
value or values.
Proposition on the other hand is a statement that is, by itself either true of false.
Propositional logic is a mathematical system for reasoning about propositions and how
they relate to one another. Every statement in propositional logic consists of propositional
variables combined via propositional connectives.
Types Of Propositions-
In propositional logic, there are two types of propositions-
1. Atomic propositions
2. Compound propositions
1. Atomic Propositions-
• Atomic propositions are those propositions that cannot be divided further.
• Small letters like p, q, r, s etc are used to represent atomic propositions.
Examples-
Page | 1
The examples of atomic propositions are-
▪ p: Sun rises in the east.
▪ q: Sun sets in the west.
▪ r: Apples are red.
▪ s: Grapes are green.
3. Compound Propositions-
Compound propositions are those propositions that are formed by combining one or more
atomic propositions using connectives.
In other words, compound propositions are those propositions that contain some
connective.
Capital letters like P, Q, R, S etc. are used to represent compound propositions.
Examples-
▪ P: Sun rises in the east and Sun sets in the west.
▪ Q: Apples are red and Grapes are green
Statements That Are Not Propositions-
Following kinds of statements are not propositions-
1. Command
2. Question
3. Exclamation
4. Inconsistent
5. Predicate or Proposition Function
Examples-
Following statements are not propositions-
• Close the door. (Command)
• Do you speak French? (Question)
• What a beautiful picture! (Exclamation)
• I always tell lie. (Inconsistent)
• P(x): x + 3 = 5 (Predicate)
Page | 3
19.Proposition (Will be confirmed tomorrow whether true or false)
20.Proposition (True if fan is rotating otherwise false)
Propositional Variables
Every statement in propositional logic consists of propositional variables combined via
propositional connectives. Each proposition will be represented by a propositional
variable. Propositional variables are usually represented as lower-case letters, such as p,
q, r, s, etc. Each variable can take one of two values: true or
false.
Page | 4
yellow, blue) contains the names of primary colors. A set of stamps stored in loose-leaf
notebooks on a shelf is usually called a stamp collection. The set of past presidents of the
United States consists of {George Washington, John Adams, Thomas Jefferson, ...}. The
"..." is called an ellipsis and indicates that the list contains other elements.
What is the basic characteristic of a set? For any set A and any element b, either b is
in A or b is not in A. If you ask whether an element is in a set, the answer is either yes or
no. The objects that comprise of the set are called elements. The number of objects in a
set can be finite or infinite
Set Notation
Set notation refers to the different symbols used in the process of working within and
across the sets. The simplest set notation used to represent the elements of a set is the
curly brackets {}. An example of a set is A = {a, b, c, d}. Here the set is represented with
a capital letter, and its elements are denoted by small letters.
Set notation can be broadly classified as for set representation and for set operations. The
set representation notations are μ - universal set, Ø - null set, ⊂ - subset: ∈ - belongs to,
A' - complement of a set. And the set notations for operations across sets are U - union,
∩ - intersection, - difference, Δ - Delta.
Page | 5
Broadly the set notations can be classified for set representations and for set operations.
Let us now study in detail, the set notation for set representation, and the set formation
for set operations.
Example: Verify De Morgan's Laws for the sets A = 11, 2, 3, 4} and B = {3, 5, 6, 8}
when the universal set is U = {1, 2, 3, 4, 5, 6, 7, 8).
Page | 8
• ℤ {. . . −2, −1, 0, 1, 2 . . .}, the integers
• ℚ {q | q = a/b, a, b ∈ ℤ, b 6= 0}, the rational numbers
• ℚ+ {q | q ∈ Q, q > 0}, the positive rational
• ℝ the real numbers
• ℝ+ The positive reals
• P(A) The power set of any set A is the set of all subsets of A.
DISJOINT SET
Sets X and Y are said to be disjoint sets, if they have no element in common, that is, no
element of X is in Y and no element of Y is in X.
Example
i. Given 𝑋 = {1,2,3} and 𝑌 = {4,5,6}, then 𝑋 and 𝑌 are disjoint sets.
ii. If 𝑃 = {𝑎, 𝑏, 𝑐, 𝑑} and 𝑄 = {𝑑, 𝑒, 𝑓, 𝑔}, then 𝑃 and 𝑄 are not disjoint sets, since 𝑑 is
in both sets.
PRODUCTS OF SETS
The next operation on sets is familiar, because it is the formalism behind the way we are
used to seeing points in two-dimensional space represented as ordered pairs.
Definition. For any sets X and Y, the product X x Y is the set of all ordered pairs (a, b)
such that a ∈ X and b ∈ Y. When X = Y, this set is also denoted X2. Similarly, the product
of n sets X1 .... Xn is the set of all ordered n-tuples (xl, ..., Xn) of elements such that x1 ∈
X1.... and Xn ∈ Xn . When n copies of the same set X are used, the resulting Cartesian
product X x ... x X is the set of all ordered n-tuples of elements in X, denoted Xn.
Example: Let X = (0, 1) and C = {a, b}. Then, X x C = ((0, a), (0, b), (1, a), (1, b)), and C
x C = {(a, a), (a, b), (b, a), (b, b)}. The product of two sets is sometimes referred to as the
Cartesian product.
POWER SET
We call the set of all subsets of A, the power set of A, and write it as P(A).
Let A be a set. The power set of A, denoted P(A), is P(A) = {X: X ⊂ A)
Example1: Let A = {1, 2, 3}. Find P(A).
Solution: P(A) is a set of sets, all of which are subsets of A.
So, P(A) = {∅, {1}, {2}, {3}, {1, 2}, {1, 3}, {2, 3}, {1, 2, 3}}.
Page | 9
Note: The power set of a set A is normally, 2n, where n is the cardinality of the set A.
Therefore, since |A| = 3, the cardinality of the power set of A, |P(A)| = 23 = 8.
Note: Although 2 ∈ A, it will be wrong to say that 2 ∈ P(A) because none of the elements
in P(A) are numbers. However, we can say that {2} ∈ P(A) because {2} ⊆ A.
Other Examples of Power Set
We can relate the symbols of union and intersect to resemble the logic symbols of “or”
and “and”. Remember that the statement x ∈ A ∪ B is read as x is an element of A or x
is an element of B. Therefore,
x ∈ A ∪ B ↔ x ∈ A ∨ x ∈ B.
Similarly,
x ∈ A ∩ B ↔ x ∈ A ∧ x ∈ B.
Also,
x ∉ A ↔ ¬ (x ∈ A)
Problem
Let A = {2, 4, 6}, B = {1, 2, 3, 4, 5, 6}, C = {1, 2, 3}, D = {1, 3, {4, 5}, x}, and
E = {7, 8, 9}.
Using the above Sets, determine each statement to be either true, false, or meaningless.
1. A ⊂ B. 2. B ⊂ A. 3. A ∈ C. 4. ∅ ∈ B. 5. ∅ ⊂ A.
6. A < E. 7. 3 ∈ C. 8. x ⊂ D. 9. {9} ⊂ E.
SOLUTION
1. True. Every element in A is an element in B.
2. False. For example, 1 ∈ B but 1 ∉ A.
3. False. The elements in C are 1, 2, and 3. The set A is not equal to 1, 2, or 3.
4. False. The set B has exactly 6 elements, and none of them is an empty set.
5. True. Everything in the empty set (nothing) is also an element of A. Notice that the
Page | 10
empty set is a subset of every set.
6. Meaningless. A set cannot be less than another set.
7. True. 3 is one of the elements of the set C.
8. Meaningless. x is not a set, so it cannot be a subset of another set.
9. True. 9 is the only element of the set {9}, and is an element of E, so every element in
{9} is an element of E.
VENN DIAGRAMS
A Venn Diagram is a great tool used to visualize and represent operations on sets. It is
used to display sets as intersecting circles. We can highlight a region under consideration
when we carry out an operation. The cardinality of a set can be represented by putting
numbers in the corresponding area.
Page | 11
Page | 12
Page | 13
Page | 14
5.
6.
Page | 15