Professional Documents
Culture Documents
A. Introduction :
The field of mathematical logic—evolving around the notions of logical validity, provability, and
computation—was created in the first half of the previous century by a cohort of brilliant
mathematicians and philosophers such as Frege, Hilbert, Gödel, Turing, Tarski, Malcev, Gentzen, and
some others. The development of this discipline is arguably among the highest achievements of science
in the twentieth century: it expanded mathematics into a novel area of applications, subjected logical
reasoning and computability to rigorous analysis, and eventually led to the creation of computers.
B. Objectives:
D. Pre-Test
Direction:
Part I : Choose the letter of the best answer. Write your letter of choice in a separate sheet of
paper.
a. Non statements
c. Truth values
a. p → q b. p & q c. p v q d. ~ p
11. In a disjunction, even if one of the statements is false, the whole disjunction is still...
12. In a conditional statement, the first part is the antecedent and the second part is the...
15. The name of the following argument form is... p → q ~ p ∴ ~ q
a. Denying the consequent b. Disjunctive syllogism c. Modus tollens d. Denying the antecedent
16. In a truth table for a two-variable argument, the first guide column has the following truth
values:
a. T, T, F, F b. F, F, T, T c. T, F, T, F d. d. T, F, F, F
17. In using the short method, your overall goal is to see if you can...
Mathematical Logic
This lesson deals with the relationship between the natural language and the mathematical
language using symbols and variables.
Symbolic logic is a powerful tool for analysis and communication in mathematics. It represents the
natural language and mathematical language with symbols and variables. The main parts of
symbolic logic are statements and connectives. The following table shows some basic
propositional logic with their symbols.
Propositional logic is the fragment of logic where new statements are built from given statements using
so-called connectives like “not”, “or” and “and”. The truth value of such a new statement is then
completely determined by the truth values of the given statements. Thus, given any statements p and q,
we can form the three statements
statements and connectives. The following table shows some basic propositional logic with their
symbols.
p or q (Either p is true or
q is true or both are true )
Or disjunction p ˅q
˅
If p then q
Implies conditional p → q
→
P implies q and q
implies p
If and only if biconditional
↔ p ↔ q
P if and only if q
Solution : a.) S ^ ~ h ,
b.) S ^ ~ v
c.) ~ r →~ v
d.) v ↔h
e.) ~ h ↔~r
f.) v ˅ r
Exercises 1-A :
Convert the following symbolic statements into words given the following propositions.
p : Gian plays volleyball.
q : Lanz plays basketball
a.) ~p
b.) P^q
c.) p →~q
d.) p˅( ~p→q)
p : Adela is a singer.
q : Adele is a songwriter.
r : Adele is an actress.
Truth Table
A logical statement may either be true or false. If the statement is true , we say that the
truth value corresponding to the statement is true and is denoted by the letter T. If it is false ,
the statement has a value denoted by F. The truth table is a summary of all possible truth values
of a statement.
b.) Negation
p ~p
T F
F T
c.) Conjunction
p q P^q
T T T
T F F
F T F
F F F
d.) Disjunction
P q p˅q
T T T
T F T
F T T
F F F
e.) Conditional
P q p→q
T T T
T F F
F T T
F F T
f.) Biconditional
P q p↔q
T T T
T F F
F T F
F F T
An easy way to construct the truth table is to assign a value “ 1 “ to the true value and a value
“ 0 “ to the false value. The connective is equivalent to multiplication while the symbol is
equivalent to addition. Note that “ 1 + 1 = 1 “.
p q p˅q ~p (p˅q) ^ ~ P
T T T F F
T F T F F
F T T T T
F F F T F
Logical Equivalence
Two mathematical statements are logically equivalent if the final output of their truth tables are
recently alike.
Example 4. Verify that the statements p → q and ~p ˅ q are logically equivalent. What is the
logical content equivalent of “ if the price is right then I will accept the job offer”
p q ~p p→q
~p v ؞
p→q ~p ˅ q
T T F T T
T F F F F
F T T T T
F F T T T
Since the last two columns are identical , the given statements are logically equivalent.
Using the above results , the logical content equivalent of “ If the price is right then I will accept
the job offer” is “ The price is not right or I will accept the job offer”.
Solution : s ↔ t
Solution:
Inverse : If I do not get the job, then I will not rent the apartment.
Contrapositive : If I do not rent the apartment, then I did not get the job.
a. I will be able to tour abroad next year provided have my passport renewed.
b. Every triangle that is not a right triangle then it is an oblique triangle.
Solution:
a. If I have my passport renewed then I will be able to tour abroad next year.
b. If a triangle is not a right triangle then it is an oblique triangle.
If the conditional statement is given by p → q then the following are three related
statements.
Converse : q → p
Inverse : ~p → ~q
Contrapositive : ~q → ~p
Exercises 3 – A . : Write the converse , inverse , and contrapositive of the given sentence.
“ She is allowed to join the volleyball team , only if she knows how receive the ball.
Exercises 4 – A . : Write the converse , inverse , and contrapositive of the given sentence.
“ Every rectangle is a parallelogram”
Assessment:
p : Paul is happy.
q : Queenie is happy
r : Paul play the guitar
1. Both Paul and Queenie are happy . ______________
2. Paul plays the guitar provided that he is happy ._________
3. If Paul is happy and play the guitar then Queenie is not happy . ___________
Part II : Let M : Mark is English and L : Lem is German . Translate the following logic symbols in
words.
1. M ˅ L ____________________________
2. ~L _______________________________
3. M →~L _____________________________
4. M ^ ( ~ L ) ___________________________
5. M ˅ ( ~ M → L ) _______________________
Part III : Construct truth tables for the given compound statement.
1. p ^ ( ~ q )
2. [ p ^ ( ~ q ) ] ˅ [ ( ~ p ) ˅ q ]
3. ~ ( p ˅ ~ q ) ˅ p
Part IV : p is false and q is true , what are the truth values of the given statements ?
1. ( p ˅ q )
2. ( ~ p ) ^ ( ~ q )
Part V : Write the converse , inverse and contrapositive of the given statement. Use the
contrapositive to determine whether the original statement is true . Note : if the contrapositive
statement is true , the original statement is also true.
Converse:
_________________________________________________________________________
Inverse :
_________________________________________________________________________
Contrapositive :
____________________________________________________________________
True or False :
_____________________________________________________________________