Академический Документы
Профессиональный Документы
Культура Документы
Introduction to Logic
Dexter Jane L. Indong
Introduction to Logic
Statements Tautologies, Contradictions and Logical Equivalence Quantied Statements Negating Quantied Statements Disp
Statements
We will dene a statement intuitively as a sentence that can be assigned either to the class of things we would call TRUE or to the class of things we could call FALSE, but not both.
Introduction to Logic
Statements Tautologies, Contradictions and Logical Equivalence Quantied Statements Negating Quantied Statements Disp
Logical Connectives
Complex statements can be constructed from simple ones by means of logical connectives. Five logical connectives will be considered in this section, namely: , , , and .
Introduction to Logic
Statements Tautologies, Contradictions and Logical Equivalence Quantied Statements Negating Quantied Statements Disp
Negation
The negation of a statement P is the statement P, read as not P. The negation P is true when P is false, and false when P is true, that is, P P T F F T
Introduction to Logic
Statements Tautologies, Contradictions and Logical Equivalence Quantied Statements Negating Quantied Statements Disp
Negation
P P It is raining today. It is not raining today. 2 is a prime number. 2 is not a prime number. My shirt is black. My shirt is not black.
Introduction to Logic
Statements Tautologies, Contradictions and Logical Equivalence Quantied Statements Negating Quantied Statements Disp
Conjunction
The conjunction of two statements P and Q is the statement P Q, read as P and Q. The conjunction P Q is true only if both P and Q are true; otherwise, P Q is false, that is, P Q P Q T T T T F F F T F F F F
Introduction to Logic
Statements Tautologies, Contradictions and Logical Equivalence Quantied Statements Negating Quantied Statements Disp
Conjunction
Suppose that P : John is a sophomore. and Q : 2 is less than 1. Then P Q is the statement John is a sophomore and 2 is less than 1.
Introduction to Logic
Statements Tautologies, Contradictions and Logical Equivalence Quantied Statements Negating Quantied Statements Disp
Disjunction
The disjunction of two statements P and Q is the statement P Q, read as P or Q. The disjunction P Q is true if at least one of P and Q is true; otherwise, P Q is false, that is, P Q P Q T T T T F T F T T F F F
Introduction to Logic
Statements Tautologies, Contradictions and Logical Equivalence Quantied Statements Negating Quantied Statements Disp
Exclusive Disjunction
To address a statement involving P and Q that is true when precisely one of them is true, we use the exclusive disjunction, denoted by, P Q, that is, P Q P Q T T F T F T F T T F F F
Introduction to Logic
Statements Tautologies, Contradictions and Logical Equivalence Quantied Statements Negating Quantied Statements Disp
Implication
For statements P and Q, the implication is the statement: If P then Q, and is denoted by P Q. The truth table for P Q is given by P Q PQ T T T T F F F T T F F T
Introduction to Logic
Statements Tautologies, Contradictions and Logical Equivalence Quantied Statements Negating Quantied Statements Disp
Implication
If your computer is not working properly, an agent from our company will come to x it. Suppose P: Your computer is not working properly. Q: An agent from our company will come to x it.
Introduction to Logic
Statements Tautologies, Contradictions and Logical Equivalence Quantied Statements Negating Quantied Statements Disp
Indeterminates
In this case, we have p(x) q(x) can be stated as If x = 3, then |x| = 3. This implication is, in fact, a true statement.
Introduction to Logic
Statements Tautologies, Contradictions and Logical Equivalence Quantied Statements Negating Quantied Statements Disp
Biconditional
Introduction to Logic
Statements Tautologies, Contradictions and Logical Equivalence Quantied Statements Negating Quantied Statements Disp
Biconditional
Suppose that P : An integer is divisible by 6. and Q : An integer is divisible by 2 and 3. Then P Q is the statement An integer is divisible by 6 if and only if it is divisible by 2 and 3.
Introduction to Logic
Statements Tautologies, Contradictions and Logical Equivalence Quantied Statements Negating Quantied Statements Disp
Rules of Precedence
The hierarchical order of the connectives is as follows: , then or have the same precedence, followed by , and then .
Introduction to Logic
Statements Tautologies, Contradictions and Logical Equivalence Quantied Statements Negating Quantied Statements Disp
Rules of Precedence
The following is a list of ambiguous statements and thus, grouping symbols have to be present when writing them. 1 P Q does not stand for (P Q); it stands for (P) Q. 2 P Q Q stands for (P Q) R, not for P (Q R). 3 P R T is ambiguous, since it is not clear whether to apply or rst. 4 P Q R is ambiguous, since either occurrence of can be applied rst.
Introduction to Logic
Statements Tautologies, Contradictions and Logical Equivalence Quantied Statements Negating Quantied Statements Disp
Introduction to Logic
Statements Tautologies, Contradictions and Logical Equivalence Quantied Statements Negating Quantied Statements Disp
Statements without logical connectives are called prime statements while statements with connectives are called composite statements. The statements which formed a composite statement are called its component statements.
Introduction to Logic
Statements Tautologies, Contradictions and Logical Equivalence Quantied Statements Negating Quantied Statements Disp
Tautology
A statement S is called a tautology if it is true for all possible combinations of truth values of the component statements that compose S. The symbol I will denote a statement that always has truth value T .
Introduction to Logic
Statements Tautologies, Contradictions and Logical Equivalence Quantied Statements Negating Quantied Statements Disp
Tautology
Introduction to Logic
Statements Tautologies, Contradictions and Logical Equivalence Quantied Statements Negating Quantied Statements Disp
Contradiction
A statement S is called a contradiction if it is false for all possible combinations of truth values of the component statements that are used to form S. The symbol O will denote a statement that always has truth value F .
Introduction to Logic
Statements Tautologies, Contradictions and Logical Equivalence Quantied Statements Negating Quantied Statements Disp
Contradiction
Introduction to Logic
Statements Tautologies, Contradictions and Logical Equivalence Quantied Statements Negating Quantied Statements Disp
Contradiction
Introduction to Logic
Statements Tautologies, Contradictions and Logical Equivalence Quantied Statements Negating Quantied Statements Disp
Logical Equivalence
We say that statements P and Q are logically equivalent, denoted by P Q, if they have the same truth values for all combinations of truth values of their component statements.
Introduction to Logic
Statements Tautologies, Contradictions and Logical Equivalence Quantied Statements Negating Quantied Statements Disp
P(QR) (PQ)(PR)
Introduction to Logic
Statements Tautologies, Contradictions and Logical Equivalence Quantied Statements Negating Quantied Statements Disp
(P Q) (P) (Q)
Statements Tautologies, Contradictions and Logical Equivalence Quantied Statements Negating Quantied Statements Disp
Statements Tautologies, Contradictions and Logical Equivalence Quantied Statements Negating Quantied Statements Disp
Rules of Precedence
The symbol has the least precedence among the logical connectives introduced above.
Introduction to Logic
Statements Tautologies, Contradictions and Logical Equivalence Quantied Statements Negating Quantied Statements Disp
Quantied Statements
Now, we go to quantied.
Introduction to Logic
Statements Tautologies, Contradictions and Logical Equivalence Quantied Statements Negating Quantied Statements Disp
Universal quantier
Introduction to Logic
Statements Tautologies, Contradictions and Logical Equivalence Quantied Statements Negating Quantied Statements Disp
Universal quantier
If x is a real number, then x 2 0. This statement is an implication, of course, and can be rephrased by The square of every real number is nonnegative or For every real number x, we have x 2 0. If we dene the open sentence P(x) by P(x) : x 2 0, then we can rewrite the above statement in terms of the universal quantier as (x R)(P(x)).
Introduction to Logic
Statements Tautologies, Contradictions and Logical Equivalence Quantied Statements Negating Quantied Statements Disp
Existential quantier
The existential quantier x means there exists an x such that or there is an x such that.
Introduction to Logic
Statements Tautologies, Contradictions and Logical Equivalence Quantied Statements Negating Quantied Statements Disp
Existential quantier
There exists a real number x such that x 2 = 3. If we let P(x) : x 2 = 3 then this statement can be rewritten in terms of the existential quantier as (x R)(P(x)).
Introduction to Logic
Statements Tautologies, Contradictions and Logical Equivalence Quantied Statements Negating Quantied Statements Disp
Introduction to Logic
Statements Tautologies, Contradictions and Logical Equivalence Quantied Statements Negating Quantied Statements Disp
Introduction to Logic
Statements Tautologies, Contradictions and Logical Equivalence Quantied Statements Negating Quantied Statements Disp
Negating Statements
Statement Negation P Q (P) (Q) P Q (P) (Q) PQ (P Q) P (Q) PQ (P (Q)) (Q (P)) (x U)(P(x)) (x U)(P(x)) (x U)(P(x)) (x U)(P(x))
Introduction to Logic
Statements Tautologies, Contradictions and Logical Equivalence Quantied Statements Negating Quantied Statements Disp
Negating Statements
Write in terms of the quantiers the negation of the following statements. 1 Someone in this class cheated on the nal exam. 2 There exists a natural number x such that x y for all y N. 3 For every > 0 there exists a > 0 such that, if 0 < |x a| < , then |f (x) L| < .
Introduction to Logic
Statements Tautologies, Contradictions and Logical Equivalence Quantied Statements Negating Quantied Statements Disp
Sometimes it is important to know not only that something exists, but also that exactly one such thing exists. We say that there exists a unique x with property P, denoted by (! x U)(P(x)), provided that 1 there exists x U with property P, and 2 for all x1 U and x2 U, if x1 and x2 both have property P, then x1 = x2 .
Introduction to Logic
Statements Tautologies, Contradictions and Logical Equivalence Quantied Statements Negating Quantied Statements Disp
Counterexample
Sometimes we are presented with a mathematical statement and we are asked to verify whether it is a tautology. Of course, you can create a truth table for the given statement and check if it is indeed a tautology, that is, if all entries in the main column are T . The combination of truth values assigned to the component statements in any row that produces a false in the main column of the truth table is called a counterexample.
Introduction to Logic
Statements Tautologies, Contradictions and Logical Equivalence Quantied Statements Negating Quantied Statements Disp
Counterexample
Show that (P Q) Q P is not a tautology. P Q (P Q) Q P T T T T F T F T F F F T The counterexample is P false and Q is true. Claiming the above example to be a tautology is a well-known fallacy of logic. It is called the fallacy of asserting the conclusion, since the conclusion Q has been asserted as part of the hypothesis.
Dexter Jane L. Indong Introduction to Logic