Discrete Math - Week 2
Discrete Math - Week 2
Propositions are tool for constructing correct mathematical arguments (the basic building blocks
of logic).
NEGATION - NOT
The proposition ¬p is read “not p.”
The truth value of the negation of p, ¬p, is the opposite of the truth value of p.
CONJUCTION - AND
The conjunction of p and q, denoted by p ∧ q, is the proposition “p and q.”
The conjunction p ∧ q is true when both p and q are true and is false otherwise.
In logic the word “but” sometimes is used instead of “and” in a conjunction.
DISJUNCTION – OR
The disjunction of p and q, denoted by p ∨ q, is the proposition “p or q”
The disjunction p ∨ q is false when both p and q are false and is true otherwise.
EXCLUSIVE OR
The exclusive or of p and q, denoted by p ⊕ q (or p XOR q), is the proposition that is true when
exactly one of p and q is true and is false otherwise.
When two compound propositions always have the same truth values, regardless of the truth
values of its propositional variables, we call them equivalent.
BICONDITIONALS – IF AND ONLY IF
The biconditional statement p ↔ q is the proposition “p if and only if q”
The biconditional statement p ↔ q is true when p and q have the same truth values, and is
false otherwise.
Biconditional statements are also called bi-implications.
The statement p ↔ q is true when both the conditional statements p → q and q → p are true
and is false otherwise.
That is why we use the words “if and only if” to express this logical connective and why it is
symbolically written by combining the symbols → and ←.
LOGICAL EQUIVALENCES
The compound propositions p and q are called logically equivalent if p ↔ q is a tautology.
The notation p ≡ q denotes that p and q are logically equivalent.
Compound propositions that have the same truth values in all possible cases are called logically
equivalent.
PREDICATES
QUANTIFIERS
When the variables in a propositional function are assigned values, the resulting statement
becomes a proposition with a certain truth value.
However, there is another important way, called quantification, to create a proposition from a
propositional function.
Quantification expresses the extent to which a predicate is true over a range of elements.
In English, the words all, some, many, none, and few are used in quantifications.
QUANTIFIER OPERATIONS
Logical equations
Negation
DeMorgan's law
PROOFS
TERMINOLOGY
The statements used in a proof can include axioms (or postulates), which are statements we
assume to be true.
Axioms may be stated using primitive terms that do not require definition, but all other terms
used in theorems and their proofs must be defined.
A less important theorem that is helpful in the proof of other results is called a lemma.
COROLLARY is a theorem that can be established directly from a theorem that has been
proved.
CONJECTURE is a statement that is being proposed to be a true statement, usually on the basis
of some partial evidence, a heuristic argument, or the intuition of an expert.
DIRECT PROOF
DIRECT PROOF of a conditional statement p → q is constructed when the first step is the
assumption that p is true; subsequent steps are constructed using rules of inference, with the final
step showing that q must also be true.
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.
In a direct proof, we assume that p is true and use axioms, definitions, and previously proven
theorems, together with rules of inference, to show that q must also be true.
PROOF BY CONTRAPOSITION
Direct proofs lead from the premises of a theorem to the conclusion.
They begin with the premises, continue with a sequence of deductions, and end with the
conclusion.
However, we will see that attempts at direct proofs often reach dead ends.
We need other methods of proving theorems of the form ∀x(P(x) → Q(x)).
Proofs of theorems of this type that are not direct proofs, that is, that do not start with the
premises and end with the conclusion, are called indirect proofs.
An extremely useful type of indirect proof is known as proof by contraposition.
VACUOUS AND TRIVIAL PROOFS
We can quickly prove that a conditional statement p → q is true when we know that p is false,
because p → q must be true when p is false.
Consequently, if we can show that p is false, then we have a proof, called a vacuous proof, of
the conditional statement p → q.
Vacuous proofs are often used to establish special cases of theorems that state that a conditional
statement is true for all positive integers [i.e., a theorem of the kind ∀nP(n), where P(n) is a
propositional function].
PROOF BY CONTRADICTION
Because the statement r ∧ ¬r is a contradiction whenever r is a proposition, we can prove that p
is true if we can show that ¬p → (r ∧ ¬r) is true for some proposition r.
Proofs of this type are called proofs by contradiction.
Because a proof by contradiction does not prove a result directly, it is another type of indirect
proof.
EXHAUSTIVE PROOF
Some theorems can be proved by examining a relatively small number of examples.
Such proofs are called exhaustive proofs, or proofs by exhaustion because these proofs
proceed by exhausting all possibilities.
An exhaustive proof is a special type of proof by cases where each case involves checking a
single example.
PROOF BY CASES
A proof by cases must cover all possible cases that arise in a theorem.
EXISTENCE PROOF
Many theorems are assertions that objects of a particular type exist.
A theorem of this type is a proposition of the form ∃xP(x), where P is a predicate.
A proof of a proposition of the form ∃xP(x) is called an existence proof.