Logic Mat101
Logic Mat101
Logic Mat101
Logic Statements
Logic – a science of correct, critical reasoning.
– a belief that is supported by factual evidence.
Every language contains different types of sentences,
such as statements, questions, and commands. For
instance,
“Is the test today?” is a question.
“Go get the newspaper.” is a command.
“This is a nice car.” is an opinion.
“Denver is the capital of Colorado.” is a statement of
fact.
Logic Statements
▼ A Statement
A statement is a declarative sentence that is either true or false, but not
both true and false.
Solution:
a. 7 ≥ 5 means 7 > 5 or 7 = 5. Because 7 > 5 is true, the statement
7 ≥ 5 is a true statement.
b. This is a false statement because 5 is not an even number.
c. This is a true statement because each simple statement is true.
De Morgan’s
Negation, Conjunction andLawDisjunction
for
Statements
STATEMENT TRUTH SET NEGATION TRUTH SET
�� ∧ � � �∩� ∼ �� ∧ �� ≡∼ �� ∨∼ �� �� ∪ � �
�� ∨ � � �∪� ∼ �� ∨ �� ≡∼ �� ∧∼ �� �� ∩ � �
1. �� ∧ �� : �2 = 4 � � � �2 + � − 2 = 0;
2. �� ∨ �� : � + 4 = 4 � � �2 < 5.
Universal and Existential Statements
Universal Statement – a statement that states a property
that is TRUE TO ALL.
Example 8:
1. ALL positive numbers are greater than zero.
2. For EVERY even integer � , � is divisible by 2.
3. Ang BAWAT ISA ay may pag-asa.
4. Ang LAHAT ng halaman ay nakakain.
Universal and Existential Statements
Existential Statement – a statement which states that
there is AT LEAST ONE thing for which the property is true.
Example 9:
1. THERE IS a prime number that is even.
2. THERE EXIST a number which is divisible by any number
except itself.
3. Mayroon isang taong sa mundo na magmamahal
saiyo.
Quantifiers and Negation
In a statement, the word some and the phrases there exists and at
least one are called existential quantifiers. Existential quantifiers
are used as prefixes to assert the existence of something.
Notation: “∃� ” to be read as “for some � ” or “there exists �
such that…”.
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.
Notation: “∀� ” to be read as “for every � ” or “for all � ”.
Quantifiers and Negation
Example 10. Determine the truth value in each of the following:
1. ∀� ∈ {1,2,3} : �2 �� less than 10.
2. ∃� ∈ {10,15,20} : 3� + 1 is odd.
3. ∀� ,� ∈ {1,2,3} : � + � is prime.
4. ∃� ∈ {2,4,6} : 2� − 5 = 5.
Negations of ∀� :� and ∃� :�
STATEMENT NEGATION
∀�: � ~ ∀�: � ≡ ∃�: ~�
∃�: � ~ ∃�: � ≡ ∀�: ~�
Quantifiers and Negation
Negations of Universal and Existential Statement
▼ The Negation of � → �
∼ � → � = � ∧∼ �
Truth table for � → �
Conditional Statements
Examples: Determine the truth value of each of the
following. Then state the negation of each statement.
a. If 2 is an integer, then 2 is a rational number.
b. If 3 is a negative number, then 5 > 7.
c. If 5 > 3, then 2 + 7 = 4
Biconditional Statements
The statement � → � ˄ � → � is called a biconditional and is denoted
by � ↔ � which is read as “� if and only if � .”
▼ The Biconditional � ↔
�
�↔�≡ �→� ∧ �→�