Logic and Set Theory Reviewer
Logic and Set Theory Reviewer
- mathematical statement that is true and can be (and has been) verified as true.
- statement that can be shown to be true.
PROOF
- a written verification that shows that the theorem is definitely and unequivocally
true.
- valid argument that establishes the truth of a theorem.
DEFINITION
- an exact, unambiguous explanation of the meaning of a mathematical word or
phrase.
AXIOM
- statement used in a proof. Statements we assume to be true (for example, the
axioms for the real numbers)
PROPOSITION
- A statement that is true but not as significant
4.2 Definitions
● A proof of a theorem should be absolutely convincing.
● meanings of the sets;
- N = natural numbers
- Z = integers
- R = real numbers
- Q = rational numbers
- ø = empty set
● symbols
- ∈
- ⊆ = subset
Definition 4.1
● An integer n is even if n = 2a for some integer a ∈ Z.
- ex.
10 is even because 10 = 2·5.
Definition 4.2
● An integer n is odd if n = 2a+1 for some integer a ∈ Z.
- ex.
7 is odd because 7 = 2·3+1
Definition 4.3
● Two integers have the same parity if they are both even or they are both odd.
Otherwise they have opposite parity.
- ex.
5 and -17, 8 and 0 (same parity)
3 and 4 (opposite parity)
Definition 4.4
● Suppose a and b are integers. We say that a divides b;
● written a | b, if b = ac for some c ∈ Z. In this case we also say that a is a divisor
of b, and that b is a multiple of a.
- ex.
5 divides 15 because 15 = 5·3.
We write this as 5 | 15.
Definition 4.5
● A natural number n is prime if it has exactly two positive divisors, 1 and n.
- ex.
2 is prime, as are 5 and 17.
DIRECT PROOF
● a simple way to prove theorems or propositions that have the form of conditional
statements.
● A direct proof shows that a conditional statement p → q is true by showing that if
p is true, then q must also be true, so that the combination p true and q false
never occurs.
●
● involve proving statements that are almost obviously true. *propositions
NOTE: The methods of proof discussed in this chapter are important not only because they are
used to prove mathematical theorems, but also for their many applications to computer science.
example:
ELLIPSES
● (...) are used when the general pattern of the elements is obvious.
- ex.
set of positive integers less than 100. {1, 2, 3,..., 99}.
INTERVALS
- When a and b are real numbers with a< b, we write
● [a, b]={x | a ≤ x ≤ b}
NOTE:
- [a, b] is called the closed interval from a to b
- (a, b) is called the open interval from a to b.
EMPTY SET {}
- null set
- a special set that has no elements.
- denoted by Ø
- The empty set can also be denoted by {}
NOTE: the set of all positive integers that are greater than their squares is the null set.