Professional Documents
Culture Documents
LOGIC
Chapter Outline
Unit 9.1 Logical Statement
Unit 9.2 TruthTables and Tautologies
Unit 9.3Conditional,Biconditional and Related Statements
Unit 9.4 Symbolic Arguments
Unit 9.5 Arguments and Euler Diagrams
9.1
Logical Statement
and Qualifiers
“LOGIC”
is often used, but not always in its technical sense.
is technically defined as “the SCIENCE” of study of
how to evaluate arguments and reasoning.
helps us to differentiate correct reasoning from
poor reasoning.
It is the important to in the sense that it help us to
reason correctly.
LOGICAL
REASONING
is used on mathematics to prove theorems.
in computer science to verify correctness
of pograms and to prove theorems.
In this chapter it will be limited to the
discussion of mathematical logic.
MATHEMATICAL
LOGIC or symbolic method
is a branch of mathematics with close connections to computer
science.
It includes both the mathematical study of logic applications of formal logic
to other areas of mathematics.
Mathematical logic includes the study of the deductive formal
proofs systems and expressive formal systems. Mathematical
logic has four division: Set Theory, Model Theory, Recusion
Theory and Proof Theory.
4 DIVISION OF
MATHEMATICAL
LOGIC
PROPOSITION
(or statement)
is a declarative sentence which is either true or
false, but not both.
The truth value of positions is the truth and falsity
of the proposition.
Example 1:
B. ”What day is it?” It’s a question;it can be considered either true or false
thus,it is not a proposition.
A. Mathematics is fun.
B. Calculus is more interesting than Trigonometry.
C. It was hot in Manila.
D. Street vendors are poor.
Example 1:
Formal Propositional
Variable
written using propositional logic notation p, q and r
are used to represent propositions.
Logical Connectives
are used to combine simple propositions which are referred as compound
proposition.
Compound Proposition
is a proposition compsed of two or more simple
propositions connected by logical connectives “and” “or”
“If” “then” “not” “if” and only if,” and “exclusive or”
Logical Connectives
are used to combine simple propositions which are referred as compound
proposition.
Compound Proposition
is a proposition compsed of two or more simple
propositions connected by logical connectives “and” “or”
“If” “then” “not” “if” and only if,” and “exclusive or”
Logical Connectives
are used to combine simple propositions which are referred as compound
proposition.
Compound Proposition
is a proposition compsed of two or more simple
propositions connected by logical connectives “and” “or”
“If” “then” “not” “if” and only if,” and “exclusive or”
Example 2:
Determine the truth value of each
of the following conjunctions.
A. 3+5=8.
B. Sofia is a girl.
C. Achaiah is not here.
ANSWERS:
A. 3+5≠ 8.
B. Sofia is not a girl. Or Sofia is a boy.
C. Achaiah is here.
CONDITIONAL
The conditional (or implication) of the proposition p and q is the compound
proposition “if p then q.” Symbolically, p ➝q, where ➝ is the symbol for “if
then.” p is called hypothesis (or antecedent or premise) and q is called
conclusion (or consequent or consequence).
Example 6 :
A. If vinegar is sweet, then sugar is sour.
B. 2+5=7 is a sufficient condition for 5+6=1.
C. 14-8=4 is a necessary condition that 6÷3=2.
ANSWERS:
A. Since the propositions “vinegar is sweet” and the “sugar is sour” are both
false, therefore the conditional of the compound proposition is true.
B. Note that “2+5=7” is true and “5+6=1” is false, thus the conditional of the
compound proposition is false.
Property 6. If p and q are true or both false, then p ⊕ q is false; if p and q have opposite
truth values, then p⊕ q is true.
It can be noted that the truth values of p ⊕ ↔
q is the negation of the truth values of p q.
Given the proposition “Sofia will take her launch in Batangas or she will have it in Singapore,”
it can be noted from the statement that “Sofia cannot have her launch in Batangas and at the
same time do it in Singapore,” thus it is considered false.
If Sofia will have her launch in Batangas or Singapore, meaning she can only have it in one
location given a single schedule (the truth value is true). Lastly, if she ought to decide to have
her lunch elsewhere (neither in Batangas or Singapore), therefore the truth value is false.
Common
Words
Associated with
Various
Connectives
B. Switching
Network
is a collection of wires and switches connecting two terminals x
and y. A switch may be either open O or closed C. An open switch
will not permit the current to flow while a closed switch will be
permit current to flow.
UNIT 9.2
TRUTH
TABLES,
EQUIVALENT
STATEMENTS
AND AUTO
GLASS
A. TRUTH TABLE
This section shows the construction of compound proposition
through tables which reffered a standard table form.
Example 1 :
Construct the truth table for each of the following
proposition.
A. ~p v~q C. (~p^ q) v (p ^~q)
B. p- (p-q) D.(p-q) v (q ^~ r)
B. EQUIVALENT
STATEMENTS
This sections covers the definition of logically equivalent
proposition and the laws of logical equivalent which were
supported with some examples.
LOGICALLY
EQUIVALENT
Two proposition re said to be logically equivalent(or equivalent)if they
have the same truth value of every row of the truth table is x—y is a
tautogoly symbolically x=y
C. TAUTOLOGIES
Tautology- is a compound statement that is true for all possible combinations of
the truth values of the propositional variables called logically true
The truth tables below show the comparison in the variation of conditional propositions.
Observe that p -> q is equivalent to ~q -> ~p, while q -> p is equivalent to ~p -> ~q. On
the other hand, p -> q is not equivalent to q -> p and ~p -> ~q.
Example :
Example: Given the conditional proposition “If Achaiah goes to
school, the Sofia will go home,” determine the converse, inverse.
And the contrapositive of the proposition.
Solution :
Converse: if Sofia will go home, then Achaiah goes to school.
Inverse: if Achaiah does not go to school, then Sofia will not go home.
Let us examine one rule of inference to prove the validity of arguments. One of
the rules of inference is the rule of detachment. Rule of Detachment (or Modus
Ponens) means the method of affirming. The truth tables shows that [p ^ (p➝
q)]➝ is a tautology.
Example 1: The government should impose death penalty. Many respected people,
such as the former Secretary of Justice, have publicly stated her opposition to it.
Example 2: Floyd Mayweather signs autographs with Parker pen, so evidently Parker
pen is the most reliable pen on the market.