Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
00
Effective Date: 7-DEC-2016
ACTIVITY 1(Logic)
Introduction
In today’s complex world, it is not easy to summarize in a few paragraphs the subject matter
known as logic. For lawyers and judges, logic is the science of correct reasoning. They often use logic
to communicate more effectively, construct valid arguments, analyze legal contracts, and make
decisions. Law schools consider a knowledge of logic to be one of the most important predictors of
future success for their new students.
Objectives
Logic
Logic is a reasoning conducted or assessed according to strict principles of validity.
Logic Statements
Every language contains different types of sentences, such as statements, questions and
commands. For instance,
“Is the test today?” a question.
“Go get the newspaper.” a command.
“This is a nice car” is an opinion.
“Denver is the capital of Colorado” is a statement of fact
Statement
A Statement is a declarative sentence that is either true or false, but not both true
and false.
Page 1 of 8
CONTROLLED COPY
WMSU-ISMP-GU-003.00
Effective Date: 7-DEC-2016
You may not know if the sentence is true, but you do know that the sentence is either true or it is false,
and that it is not both true and false. Thus, you know that the sentence is a statement.
Solution:
a.)Zamboanga city is one of the city in the Philippines, so this sentence is true and it is a statement.
b.)The sentence “How are you?” is a question: it is not declarative sentence. Thus it is not a statement.
c.)We do not know whether 99 +2 is a prime number; however we do know that it’s a whole number larger than
1, so it is a prime number or it is not a prime number. The sentence is either true or false, and it is not both true
and false, so it is a statement.
d.)x + 1 = 4, is a statement.It is known as open statement.It is true for x=3,and it is false for any other values of
x.For any given value of x, it is true or false but not both.
Connecting simple statements with words and phrases such as and,or, if……then,and, if and only if
creates a compound statement. For instance, “I will attend the meeting or I will go to school.” Is a compound
statement. It is composed of the two simple statements, “I will attend the meeting.” and “I will go to
school.”The word or is a connective for the two statements
George Boole( a greek mathematician) used symbols such as p,q,r and s to represent simple statement
and the symbols ᴧ, ˅, ~,→,and ↔ to represent connectives.See table.
The negation of the statement, ”Today is Friday.” Is the statement, “Today is not Friday.” In symbolic
logic, the tilde symbol ~ is used to denote the negation of a statement. If a statement p is true, its negation ~p is
false, if a statement p is false, its negation ~p is true. See table below. The negation of the negation of a
statement is the original statement. Thus ~(~p) can be replaced by p in any statement.
Table 2
Truth table for ~p
Page 2 of 8
CONTROLLED COPY
WMSU-ISMP-GU-003.00
Effective Date: 7-DEC-2016
p ~p
T F
F T
Solution:
a.)Willie Revillame does not have a yacht.
b.)Avatar was selected as the best picture at the 82 nd Academy Awards ceremony.
Example3.Write the following compound statements in symbolic form.
Consider the following simple statements.
p: Today is Friday.
q: It is raining.
r: I am going to a movie.
s: I am not going to a basketball game.
a.)Today is Friday and it is raining.
b.)It is not raining and I am going to a movie.
c.)I am going to the basketball game or I am going to a movie.
d.)If it is raining, then I am not going to a basketball game.
Solution:
a.)p ᴧ q b.) ~ q ᴧ r c.) ~s ˅ r d.) q →s
Solution:
a.)The game will be shown on ABS-CBN and the game will be played in Zamboanga city.
b.)The game will be shown on ESPN and the Family’s Brand Sardines are favoured to win.
c.)Family’s Brand Sardines are favoured to win if and only if the game will be played in Zamboanga. city.
p, and q or not r. q and ~r are grouped together because they are on the same side of the comma.
Page 3 of 8
CONTROLLED COPY
WMSU-ISMP-GU-003.00
Effective Date: 7-DEC-2016
~q →(~p ᴧ~r)
The use of parentheses in a symbolic statement may affect the meaning of the statement.For instance, ~(p ˅ q) indicates
the negation of the compound statement p ˅ q. however, ~p ˅ q indicates that only p statement is negated.
The statement ~(p ˅ q) is read as, “It is not true that, p or q.”The statement ~p ˅ q is read as, “not p or q.”
If you order cake and ice cream in a restaurant, the waiter will bring both cake and
ice cream. In general, the conjunction p ᴧ q is true if both p and q are true, and the conjunction
is false if either p or q is false. The truth table below shows the four possible cases that arise when we form a
conjunction of two statements.
Table 5
Truth Table for p ᴧ q
p q pᴧq
T T T
T F F
F T F
Truth Value of a Conjunction
F F F The conjunction p ᴧ q is true if and only if both p and q
are true.
Sometimes the word but is used in place of the connective and. For instance, “I ride
my bike to school, but I ride the bus to work,” is equivalent to the conjunction, “I ride my
bike to school and I ride the bus to work.”
Any disjunction p ˅ q is true if p is true or q is true or both p and q are true. The
truth table shows that the disjunction p or q is false if both p and q are false;
however, it is true in all other cases.
Table 6
Truth Table for p ˅ q
P Q p˅q
T T T
T F T
F T T
F F F
Page 4 of 8
CONTROLLED COPY
WMSU-ISMP-GU-003.00
Effective Date: 7-DEC-2016
Solution:
a. 7 ≥ 5 means 7 > 5 or 7=5. Because 7 > 5 is a true statement,the statement 7 ≥ 5 is true statement.
b. This statement is false statement, because 5 is not an even number.
p imples q
q if p
q is implied by p
p only if q
every p is a q
q provided that p
The converse of p →q is q → p.
Page 5 of 8
CONTROLLED COPY
WMSU-ISMP-GU-003.00
Effective Date: 7-DEC-2016
Since the columns p↔q and ( p→q ) ᴧ (q→p) have the same truth values, hence they are equivalent.
Page 6 of 8
CONTROLLED COPY
WMSU-ISMP-GU-003.00
Effective Date: 7-DEC-2016
In a statement, the words none, no, all, and every are called universal quantifiers.
The universal quantifiers none and no deny the existence of something, whereas
the universal quantifiers all and every are used to assert that every element of a given set
satisfies some condition.
Recall that the negation of a false statement is a true statement and the negation of a true statement is a false
statement. It is important to remember this fact when forming the negation of a quantified statement. For
instance, what is the negation of the false statement, “No doctors write in a legible manner”? Whatever the
negation is, we know it must be a true statement. The negation cannot be
“All doctors write in a legible manner,” because this is also a false statement. The negation
is “Some doctors write in a legible manner.” This can also be stated as, “There exists at
least one doctor who writes in a legible manner.”The table below illustrates how to write the negation of some
quantified statements.
Work/Practice Exercise
Page 7 of 8
CONTROLLED COPY
WMSU-ISMP-GU-003.00
Effective Date: 7-DEC-2016
REFERENCES
Aufmann, R., Lockwood J., Nation R.,Daniel K.,and Clegg,D.(2014) Mathematical excursion(3 rd
ed.)Boston, MA: Cengage
Baltazar, E.,Ragasa, C., and Evangelista J., Mathematics in the Modern World, C&E Publishing 2018
Page 8 of 8
CONTROLLED COPY