Lecture 2 Speaking Mathematically PDF
Lecture 2 Speaking Mathematically PDF
Braullo D. Peñalosa
they are, or
2 you want whatever you say about it to be equally true for all elements
Solution.
In the first use, one can introduce a variable to replace the potentially
ambiguous word “it”.
Is there a number x with the property that 2x + 3 = x 2 ?
Note: To emphasize the role of a variable as a placeholder, one might
write the following:
Is there a number with the property that 2 · + 3 = 2 ?
Braullo D. Peñalosa (CMU) Problem solving September 10, 2018 4 / 40
Variables
Solution.
In the second use, introducing a variable to give a temporary name to the
(arbitrary) number one might choose enables you to maintain the
generality of the statement, and replacing all instances of the word “it” by
the name of the variable ensures that possible ambiguity is avoided:
Solution.
In the second use, introducing a variable to give a temporary name to the
(arbitrary) number one might choose enables you to maintain the
generality of the statement, and replacing all instances of the word “it” by
the name of the variable ensures that possible ambiguity is avoided:
or
All dogs are mammals.
or
All dogs are mammals.
or
All dogs are mammals.
or
All dogs are mammals.
or: For all real numbers r , there is a real number s such that s is an
additive inverse for r .
This statement is true because the number one is a positive integer, and it
Braullo D. Peñalosa (CMU) Problem solving September 10, 2018 11 / 40
Different combinations of statements
satisfies the property of being less than or equal to every positive integer.
We can rewrite the statement in several ways, some less formal and some
more formal:
satisfies the property of being less than or equal to every positive integer.
We can rewrite the statement in several ways, some less formal and some
more formal:
or: There is a positive integer m that is less than or equal to every positive
integer.
satisfies the property of being less than or equal to every positive integer.
We can rewrite the statement in several ways, some less formal and some
more formal:
or: There is a positive integer m that is less than or equal to every positive
integer.
or: There is a positive integer m such that every positive integer is greater
than or equal to m.
satisfies the property of being less than or equal to every positive integer.
We can rewrite the statement in several ways, some less formal and some
more formal:
or: There is a positive integer m that is less than or equal to every positive
integer.
or: There is a positive integer m such that every positive integer is greater
than or equal to m.
or: There is a positive integer m with the property that for all positive
integers n, m ≤ n.
Solution.
a. person in my class; every person in my class
Solution.
a. person in my class; every person in my class
b. at least as old as every person in my class.
Solution.
a. person in my class; every person in my class
b. at least as old as every person in my class.
c. at least as old as q
Concept of a set
A set is a collection of well-defined objects.
Concept of a set
A set is a collection of well-defined objects.
Sets are usually denoted by capital letters of the English alphabet. The
objects in a set are called its elements and are usually denoted by small
letters of the English alphabet. We use the symbol ∈ to mean is an
element of, is a member of, or belongs to. If an object y belongs to a set
A, we write y ∈ A. If y does not belong to A, or y is not an element of A,
we write y ∈ / A.
Concept of a set
A set is a collection of well-defined objects.
Sets are usually denoted by capital letters of the English alphabet. The
objects in a set are called its elements and are usually denoted by small
letters of the English alphabet. We use the symbol ∈ to mean is an
element of, is a member of, or belongs to. If an object y belongs to a set
A, we write y ∈ A. If y does not belong to A, or y is not an element of A,
we write y ∈ / A.
Example 1
Consider the following sets.
• A = The set of all counting numbers;
Concept of a set
A set is a collection of well-defined objects.
Sets are usually denoted by capital letters of the English alphabet. The
objects in a set are called its elements and are usually denoted by small
letters of the English alphabet. We use the symbol ∈ to mean is an
element of, is a member of, or belongs to. If an object y belongs to a set
A, we write y ∈ A. If y does not belong to A, or y is not an element of A,
we write y ∈ / A.
Example 1
Consider the following sets.
• A = The set of all counting numbers;
• B = The set of all cities in Mindanao;
Concept of a set
A set is a collection of well-defined objects.
Sets are usually denoted by capital letters of the English alphabet. The
objects in a set are called its elements and are usually denoted by small
letters of the English alphabet. We use the symbol ∈ to mean is an
element of, is a member of, or belongs to. If an object y belongs to a set
A, we write y ∈ A. If y does not belong to A, or y is not an element of A,
we write y ∈ / A.
Example 1
Consider the following sets.
• A = The set of all counting numbers;
• B = The set of all cities in Mindanao;
• C = The set of all distinct letters in the word luzviminda;
Example 1 (continuation...)
• D = The set of all letters of the English alphabet;
Example 1 (continuation...)
• D = The set of all letters of the English alphabet;
• E = The set of all odd counting numbers less than 10;
Example 1 (continuation...)
• D = The set of all letters of the English alphabet;
• E = The set of all odd counting numbers less than 10;
• F = The set of all carabaos with two feet.
Example 1 (continuation...)
• D = The set of all letters of the English alphabet;
• E = The set of all odd counting numbers less than 10;
• F = The set of all carabaos with two feet.
Accordingly, m ∈ C , 11 ∈
/ E , and Iligan City ∈ B. Set F has no elements.
Set D has 26 elements, whereas set A has (infinitely) many elements.
Example 1 (continuation...)
• D = The set of all letters of the English alphabet;
• E = The set of all odd counting numbers less than 10;
• F = The set of all carabaos with two feet.
Accordingly, m ∈ C , 11 ∈
/ E , and Iligan City ∈ B. Set F has no elements.
Set D has 26 elements, whereas set A has (infinitely) many elements.
Example 1 (continuation...)
• D = The set of all letters of the English alphabet;
• E = The set of all odd counting numbers less than 10;
• F = The set of all carabaos with two feet.
Accordingly, m ∈ C , 11 ∈
/ E , and Iligan City ∈ B. Set F has no elements.
Set D has 26 elements, whereas set A has (infinitely) many elements.
Note that the order of listing the elements of a set does not affect the set
itself. For example, set E above can also be written as E = {7, 5, 3, 9, 1}.
Note that the order of listing the elements of a set does not affect the set
itself. For example, set E above can also be written as E = {7, 5, 3, 9, 1}.
The three dots ( . . . ) in sets A and D are called ellipsis. They tell us that
something is missing in a list. In the set A, there are other counting
numbers after 4 that also belong to A. Similarly, there are other letters
between d and x belonging to the set D.
Note that the order of listing the elements of a set does not affect the set
itself. For example, set E above can also be written as E = {7, 5, 3, 9, 1}.
The three dots ( . . . ) in sets A and D are called ellipsis. They tell us that
something is missing in a list. In the set A, there are other counting
numbers after 4 that also belong to A. Similarly, there are other letters
between d and x belonging to the set D.
Empty and universal sets
An empty set or null set, denoted by ∅ or {}, is a set that does not
contain any element. The set F in Example 1 is a null set, so we can also
write F = ∅ or F = {}.
A universal set, denoted by U, is a set containing all elements included in
a single discussion. It is the set from which all other sets are derived. In
Example 2, set D is a universal set of set C .
The symbols “:” and “|” both mean such that. The set A in Example 3 is
described as the set of all elements x such that x is a counting number.
The letter x is called a variable and is used to represent any element of A.
In set B, the variable x represents Iligan City, Cagayan de Oro City, or any
city in Mindanao. In set E , x represents 1, 3, 5, 7, or 9. There is nothing
special about x; any other letter such as a, b, w , y , or z may be used
instead of x as a variable.
Braullo D. Peñalosa (CMU) Problem solving September 10, 2018 18 / 40
Basic concepts of Set Theory
Subsets
Set A is a subset of set B, if every element of A is also an element of B.
In this case we write A ⊆ B. If there is at least one element of A that is
not an element of B, then A is not a subset of B, and we write A 6⊆ B.
Subsets
Set A is a subset of set B, if every element of A is also an element of B.
In this case we write A ⊆ B. If there is at least one element of A that is
not an element of B, then A is not a subset of B, and we write A 6⊆ B.
Subsets
Set A is a subset of set B, if every element of A is also an element of B.
In this case we write A ⊆ B. If there is at least one element of A that is
not an element of B, then A is not a subset of B, and we write A 6⊆ B.
Subsets
Set A is a subset of set B, if every element of A is also an element of B.
In this case we write A ⊆ B. If there is at least one element of A that is
not an element of B, then A is not a subset of B, and we write A 6⊆ B.
1-1 correspondence
Two sets A and B are said to be in one-to-one (or 1-1) correspondence
if there is an equal pairing of elements between A and B. That is, each
element of A is paired with exactly one element of B and each element of
B is paired with exactly one element of A. For example, there is a 1-1
correspondence between sets {a, 2, x} and {x, y , z}, but none between
{a, 2, x} and {a, 2c}.
1-1 correspondence
Two sets A and B are said to be in one-to-one (or 1-1) correspondence
if there is an equal pairing of elements between A and B. That is, each
element of A is paired with exactly one element of B and each element of
B is paired with exactly one element of A. For example, there is a 1-1
correspondence between sets {a, 2, x} and {x, y , z}, but none between
{a, 2, x} and {a, 2c}.
Equivalent sets
Sets A and B are said to be equivalent if there is a 1-1 correspondence
between them. This is denoted by A ∼ B. If A and B are not equivalent,
we write A 6∼ B. For example, {a, 2, x} ∼ {x, y , z}, but {a, 2, x} 6∼ {a, 2c}.
Clearly, if A and B have the same number of elements, then A ∼ B.
Finite sets
A nonempty set is said to be finite if, for some fixed counting number n, it
is equivalent to the set {1, 2, . . . , n}. This means that a set is finite if it is
possible to write down a complete list of all its elements. For example, the
set of all letters of the English alphabet is a finite set since it is equivalent
to the set {1, 2, 3, . . . , 26}.
Finite sets
A nonempty set is said to be finite if, for some fixed counting number n, it
is equivalent to the set {1, 2, . . . , n}. This means that a set is finite if it is
possible to write down a complete list of all its elements. For example, the
set of all letters of the English alphabet is a finite set since it is equivalent
to the set {1, 2, 3, . . . , 26}.
Infinite sets
A nonempty set that is not finite is said to be infinite. For example, the
set of all counting numbers is an infinite set.
The cardinality of a finite set A, denoted by n(A), is the number of
elements of A. Technically it is the unique counting number n such that
the elements of A are in one-to-one correspondence with the elements of
the set {1, 2, . . . , n}. For example, the set A = {a, b, c, xy , z} has 5
elements, so n(A) = 5. The cardinality of an empty set is 0 so n(∅) = 0.
Venn Diagrams
A diagram showing the relationship among sets and between elements and
sets is called a Venn diagram; it is named after the English logician
James Venn (1834–1883). In a Venn diagram, the universal set U is
usually represented by a rectangle, while the other sets, which are subsets
of U, are usually represented by circles, triangles, and other closed
geometric figures. The Venn diagram in Figure 1 shows the relationships
A ⊆ B, b ∈ B, b ∈ / A for sets A, B, and element b.
U ' $
'$ B
A qb
&%
& %
A ∪ B = {x : x ∈ A or x ∈ B}.
A ∪ B = {x : x ∈ A or x ∈ B}.
A ∪ B = {x : x ∈ A or x ∈ B}.
A \ B = A ∩ B 0 = {x : x ∈ A and x ∈
/ B}.
Example 1.5
We shall describe the sets X ∪ W , X ∩ Y , Y ∩ W , W 0 , W \ X , and
X × Y , where
U = {x : x is a counting number from 1 to 10},
X = {x : x is an even counting number < 10 & divisible by 4},
Y = The set of all odd counting numbers less than 7,
W = The set of all counting numbers less than 5.
Also, draw a Venn diagram showing the relationships between the sets
U, X , Y , W .
Braullo D. Peñalosa (CMU) Problem solving September 10, 2018 26 / 40
Basic concepts of Set Theory
Example 1.6
Using the sets U, X , Y , W in Example 1.5, we shall describe the sets
X ∪ Y ∪ W , X ∩ Y ∩ W , W ∪ (Y ∩ X ), (W ∪ Y ) ∩ (W ∪ X ), X 0 ∪ Y 0 ,
(X ∩ Y )0 , and (X ∪ Y ∪ W )0 .
Relations
Let A and B be sets. A relation R from A to B is a subset of A × B
such that every element x of A assigns to at least one element of B. Given
an ordered pair (x, y ) in A × B, x is related to y by R, written x R y , if,
and only if, (x, y ) is in R. The set A is called the domain of R and the set
B is called its co-domain.
Relations
Let A and B be sets. A relation R from A to B is a subset of A × B
such that every element x of A assigns to at least one element of B. Given
an ordered pair (x, y ) in A × B, x is related to y by R, written x R y , if,
and only if, (x, y ) is in R. The set A is called the domain of R and the set
B is called its co-domain.
Caution: The notation x 6 R y means that x is not related to y by R:
F = {(x, y ) ∈ R × R : y = x 2 + 3}.
F = {(x, y ) ∈ R × R : y = x 2 + 3}.
To find the range of the relation, we do the same thing, i.e., solve for x in
terms of y , and determine the set of values y for which x is well-defined.
x−y
Given any (x, y ) ∈ R means that 2 is an integer.
√
1 Is (1, 0) ∈ C ? Is (0, 0) ∈ C ? Is − 12 , 23 ∈ C ? Is −2 C 0? Is
0 C (−1)? Is 1 C 1?
2 What are the domain and co-domain of C ?
3 Draw a graph for C by ploting the points of C in the cartesian plane.
Functions
A function F from a set A to a set B is a relation with domain A and
co-domain B that satisfies the following two properties:
1 Every element of A is the first element of an ordered pair of F .
2 No two distinct ordered pairs in F have the same first element.
Functions
A function F from a set A to a set B is a relation with domain A and
co-domain B that satisfies the following two properties:
1 Every element of A is the first element of an ordered pair of F .
2 No two distinct ordered pairs in F have the same first element.
Notation
1 If A and B are sets and F is a function from A to B, then given any
element x ∈ A, the unique element in B that is related to x by F is
denoted by F (x), which is read as “F of x”.
2 f equals g , written f = g , if, and only if, f (x) = g (x) for all x ∈ A.
1 R=
{(2, 5), (4, 1), (4, 3), (6, 5)}
2 For all (x, y ) ∈ A × B,
4PP 3 (x, y ) ∈ S means that
PP
PP y = x + 1.
6 P
q
P- 1 3 T is defined by the arrow
&%&% diagram at the left.
A B A B
'$'$'$'$
0 1
- 0 0 - 0
1 1
- 1 1 1
- 1
−1 2 −1 2
2PP 3 2PP 3
PP PP
P P
−2 −2
PP
q
P- 4 PP
q
P- 4
&%&%&%&%
(1) Relation (2) Function
f (x) = kxk ∀x ∈ R
√
g (x) = x 2 ∀x ∈ R
Does f = g ?