COSC 50 Module 2
COSC 50 Module 2
www.cvsu.edu.ph
1
Module 2
Lesson 1 Propositions
A proposition is a sentence in which the subject and predicate are combined in order to state something
as true or false. A proposition therefore either affirms or denies.
The valid propositional sentence excludes the exclamatory, interrogative, and the imperative.
Propositions are the material of our reasoning. A proposition links nouns, pronouns, and phrase to other
words in a sentence. The word or phrase that the proposition introduces is called the object of the
proposition. A proposition is a judgment expressed in a language and a judgment is a mental act in which
two or more than two ideas are combined together.
Judgments have two types:
1. Affirmative
2. 2. Negative
A proposition usually indicates the temporal, spatial, or logical relationship of its object to the rest of the
sentence as in the following examples:
Elements of Propositions
Every proposition has matter and form.
The subject and predicate are called the matter –the thought-content of the proposition –because
they are the material out of which the proposition is made.
The copula or bonding verb “is” is called the form –the structure of a proposition –because it is
the unifying principle that maintains the structure of the proposition and imparts to its materials
the nature of a proposition.
Hence a valid proposition is one which is true in its matter and correct in its form.
Example:
Politicians are liars. (affirmative)
S C P
3
S C P
Categorical Proposition:
A categorical proposition is simply a statement about the relationship between categories. It
states whether one category or categorical term is fully contained with another, is partially
contained within another or is completely separate.
They may also have quantity: such as ‘a’, ‘some’, ‘most’ or ‘all’. The ‘all’ quantity is also
described as being universal and other quantities particular.
It is the quality of the copula, and the copula alone, that determines the quality of the proposition
(affirmative or negative).
Since the subject and the predicate have no bearing on the quality of the proposition,
propositions of the structures “A is non-B” and “Non-A is non-B” are, thus affirmative
propositions.
Examples:
None of the students will go. (affirmative)
No cat has nine tails. (affirmative)
4
Angels are non-material beings. (affirmative)
That today is not Sunday is true. (affirmative)
5
20. The Republic of the Philippines is a great nation.
Also, indefinite affirmative and singular affirmative and singular affirmative propositions are
considered universal affirmative.
Examples:
Man is fallible.
The insect is poisonous.
Universal Negative proposition (E)- A proposition having a universal quantifier and a negative
copula.
Examples:
No transparencies are plastic.
Also, indefinite negative and singular negative propositions are considered universal negative.
Examples:
6
Beauty is not sensible.
This snake is not venomous.
Examples:
Few students are in the dean’s list.
Some policemen are rich.
Certain men are geniuses.
Examples:
Men are selfish. (Most?)
Women are fickle. (Some? A large minority? Most?)
Particular Negative proposition (O) - A proposition having a particular quantifier and a negative
copula.
Examples:
Some honest people are not married.
Majority of the soldiers are not brave.
Examples:
Politicians are not corrupt. (A few?)
Priests are not celibate. (Many?)
7
Exercise: Classify the following propositions as A, E, I, or O.
1. All cats are animals.
2. No man is immortal by nature.
3. Some roses are red.
4. Gloria is the president of the Philippines.
5. Some roses are not red.
6. This man is not a sailor.
7. No zebras are native to the Philippines.
8. Camels are not native to the Philippines.
9. Not all basketball players are good students.
10. All basketball players are not good students.
11. No one who does no work will get any pay.
12. All the members of that class are architecture majors.
13. Lindberg was not the first to fly across the Atlantic.
14. Whatever is lighter than water floats on water.
15. All students in this room weigh over 2 tons.
16. No student in this room weighs over 200 pounds.
17. Woman is fickle.
18. Men are selfish creatures.
19. Romeo is a romantic character.
20. The Republic of the Philippines is a great nation.
8
In symbolic logic, atomic sentences are assigned letters, often starting with P and then
continuing alphabetically. But any letter may be used.
Example:
Let D be the proposition “Dogs are mammals.”
Let R be the proposition “Ray Bans are expensive.”
Let K be the proposition “Kato is a beautiful dog.”
When two or more atomic sentences are strung together with the use of words such as “and”,
“if”, “but” and “not”, they form a more complex sentence called compound sentence. The words
that join together atomic sentences are called connectives or operators and they are given
symbols to represent their function.
Compound sentences express logical relationships between the simpler sentences of which they
are composed. There are five types of compound sentences: negations, conjunctions,
disjunctions, implications, and biconditionals.
Five types of Compound Sentences
1. A negation is a sentence which is modified by the word “not”. The negation symbol is
the tilde (¬).
Proposition Symbol Negation Symbol
2 is a prime. P 2 is not a prime ¬P
The sun is shining. S The sun is not shining. ¬S
2. A conjunction is a compound sentence formed by joining two sentences with the use of
the word “and”. The symbol for conjunction is the 𝖠 operator and enclosed in
parentheses, as shown below. The constituent sentences are called conjuncts.
9
3. A disjunction is a sentence formed by connecting two sentences with the word “or”. The
disjunction uses the ∨ operator. The constituent sentences are called disjuncts.
5. A biconditional is a sentence formed from two sentences using “if and only if”. It is a
combination of an implication and a reverse implication. It is uses the operator ↔.
10
Parenthesization
Note that the constituent sentences within any compound sentence can be either simple sentences
or compound sentences or a mixture of the two. For example, the following is a legal compound
sentence.
((P ∨ Q) → R)
One disadvantage of our notation, as written, is that the parentheses tend to build up and need to
be matched correctly. It would be nice if we could dispense with parentheses, e.g. simplifying
the preceding sentence to the one shown below.
P∨Q→R
((P ∨ Q) → R)
(P ∨ (Q → R))
The solution to this problem is the use of operator precedence. The following table gives a
hierarchy of precedences for our operators. The ¬ operator has higher precedence than 𝖠; 𝖠 has
higher precedence than ∨; ∨ has higher precedence than →; and → has higher precedence than
↔.
¬
𝖠
∨
→
↔
In sentences without parentheses, it is often the case that an expression is flanked by operators,
one on either side. In interpreting such sentences, the question is whether the expression
associates with the operator on its left or the one on its right. We can use precedence to make this
determination. In particular, we agree that an operand in such a situation always associates with
the operator of higher precedence. The following examples show how these rules work in
various cases. The expressions on the right are the fully parenthesized versions of the
expressions on the left.
¬P𝖠Q ((¬ P) 𝖠 Q)
P𝖠¬Q (P 𝖠 (¬ Q))
P𝖠Q∨R ((P 𝖠 Q) ∨ R)
11
P∨Q𝖠R (P ∨ (Q 𝖠 R))
P→Q↔R ((P → Q) ↔ R))
P↔Q→R (P ↔ (Q → R))
When an operand is surrounded by two 𝖠 operators or by two ∨ operators, the operand associates
to the left. When an operand is surrounded by two ⇒ operators or by two ⇔ operators, the
operand associates to the right.
Note that just because precedence allows us to delete parentheses in some cases does not mean
that we can dispense with parentheses entirely. Consider the example shown earlier. Precedence
eliminates the ambiguity by dictating that the sentence without parentheses is an implication with
a disjunction as antecedent. However, this makes for a problem for those cases when we want to
express a disjunction with an implication as a disjunct. In such cases, we must retain at least one
pair of parentheses.
We end the section with two simple definitions that are useful in discussing Propositional Logic.
A propositional vocabulary is a set of proposition constants. A propositional language is the set
of all propositional sentences that can be formed from a propositional vocabulary.
AND (𝖠) − The AND operation of two propositions P and Q (written as P𝖠Q) is true if both the
propositional variable P and Q is true.
The truth table is as follows −
P Q P𝖠Q
True True True
True False False
12
False True False
False False False
OR (∨) − The OR operation of two propositions P and Q (written as P∨Q) is true if at least any
of the propositional variable P or Q is true.
The truth table is as follows −
P Q P∨Q
True True True
True False True
False True True
False False False
Implication / if-then (→) − An implication P→Q is the proposition “if P, then Q”. It is false if
P is true and Q is false. The rest cases are true.
The truth table is as follows −
P Q P→Q
True True True
True False False
False True True
False False True
If and only if (↔) − P↔Q is bi-conditional logical connective which is true when P and Q are
same, i.e. both are false or both are true.
The truth table is as follows −
P Q P↔Q
True True True
True False False
False True False
False False True
Tautologies
A Tautology is a formula which is always true for every value of its propositional variables.
Example − Prove [(P→Q)𝖠P]→Q is a tautology
13
The truth table is as follows –
P Q P→Q (P → Q) 𝖠 P [( P → Q ) 𝖠 P] → Q
T T T T T
T F F F T
F T T F T
F F T F T
Contradictions
A Contradiction is a formula which is always false for every value of its propositional variables.
Example − Prove (P∨Q)𝖠[(¬P)𝖠(¬Q)] is a contradiction
The truth table is as follows –
P Q P∨Q ¬P ¬Q (¬ P) 𝖠 ( ¬ Q) (P ∨ Q) 𝖠 [( ¬ P) 𝖠 (¬ Q)]
T T T F F F F
T F T F T F F
F T T T F F F
F F F T T T F
14
Contingency
A Contingency is a formula which has both some true and some false values for every value of
its propositional variables.
Example − Prove (P∨Q)𝖠(¬P) a contingency
The truth table is as follows –
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
As we can see every value of (P∨Q)∧(¬P)has both “True” and “False”, it is a contingency.
15