Download - PROPOSITIONAL CALCULUS · PDF file · 2017-08-29proposition ⇒ : If it is raining very hard ... of the logical connective or _. Rule of Inference: ... Hypothetical Syllogism 7

Transcript
Page 1: PROPOSITIONAL CALCULUS · PDF file · 2017-08-29proposition ⇒ : If it is raining very hard ... of the logical connective or _. Rule of Inference: ... Hypothetical Syllogism 7

PROPOSITIONAL CALCULUS

A proposition is a complete declarative sentence that is either TRUE (truth value T or 1) or FALSE (truth value F or 0), but not both.

Page 2: PROPOSITIONAL CALCULUS · PDF file · 2017-08-29proposition ⇒ : If it is raining very hard ... of the logical connective or _. Rule of Inference: ... Hypothetical Syllogism 7

These are not propositions!

Page 3: PROPOSITIONAL CALCULUS · PDF file · 2017-08-29proposition ⇒ : If it is raining very hard ... of the logical connective or _. Rule of Inference: ... Hypothetical Syllogism 7

Connectives and Compound Propositions

Page 4: PROPOSITIONAL CALCULUS · PDF file · 2017-08-29proposition ⇒ : If it is raining very hard ... of the logical connective or _. Rule of Inference: ... Hypothetical Syllogism 7

PROPOSITIONAL CONNECTIVES

Page 5: PROPOSITIONAL CALCULUS · PDF file · 2017-08-29proposition ⇒ : If it is raining very hard ... of the logical connective or _. Rule of Inference: ... Hypothetical Syllogism 7

Negation of a Proposition

โ€ข The negation of a proposition ๐‘ƒ is denoted by ยฌ๐‘ƒ and is read as โ€œnot ๐‘ƒโ€.

โ€ข The truth table is shown below:

Page 6: PROPOSITIONAL CALCULUS · PDF file · 2017-08-29proposition ⇒ : If it is raining very hard ... of the logical connective or _. Rule of Inference: ... Hypothetical Syllogism 7

Example 1: Negation of a Proposition

1. ๐‘ƒ: It will rain today.

ยฌ๐‘ƒ: It will not rain today.

2. ๐‘„: Angela is hardworking.

ยฌ๐‘„: Angela is not hardworking.

3. ๐‘…: You will pass this course.

ยฌ๐‘…: You will not pass this course.

Page 7: PROPOSITIONAL CALCULUS · PDF file · 2017-08-29proposition ⇒ : If it is raining very hard ... of the logical connective or _. Rule of Inference: ... Hypothetical Syllogism 7

Conjunction of Propositions

โ€ข The proposition โ€œ๐‘ƒ and ๐‘„โ€, denoted by ๐‘ƒ โˆง ๐‘„, is called the conjunction of ๐‘ƒ and ๐‘„.

โ€ข Other keywords: โ€œbutโ€, โ€œneverthelessโ€

Page 8: PROPOSITIONAL CALCULUS · PDF file · 2017-08-29proposition ⇒ : If it is raining very hard ... of the logical connective or _. Rule of Inference: ... Hypothetical Syllogism 7

Conjunction of Propositions

โ€ข The truth table is shown as follows:

Page 9: PROPOSITIONAL CALCULUS · PDF file · 2017-08-29proposition ⇒ : If it is raining very hard ... of the logical connective or _. Rule of Inference: ... Hypothetical Syllogism 7

Example 2: Conjunction of a Proposition

1. ๐‘ƒ: Sofia is beautiful.

๐‘„: Anton is strong.

๐‘ƒ โˆง ๐‘„: Sofia is beautiful and Anton is strong.

2. ๐‘†: The stock exchange is down.

๐‘‡: It will continue to decrease.

๐‘† โˆง ๐‘‡: The stock exchange is down and it will continue to decrease.

Page 10: PROPOSITIONAL CALCULUS · PDF file · 2017-08-29proposition ⇒ : If it is raining very hard ... of the logical connective or _. Rule of Inference: ... Hypothetical Syllogism 7

Disjunction: Inclusive โ€œorโ€

โ€ข The proposition โ€œ๐‘ƒ or ๐‘„โ€, denoted by ๐‘ƒ โˆจ ๐‘„, is called the disjunction of ๐‘ƒ or ๐‘„. This is also referred to as the inclusive โ€œorโ€.

โ€ข Other keywords: โ€œunlessโ€

Page 11: PROPOSITIONAL CALCULUS · PDF file · 2017-08-29proposition ⇒ : If it is raining very hard ... of the logical connective or _. Rule of Inference: ... Hypothetical Syllogism 7

Disjunction: Inclusive โ€œorโ€

โ€ข The truth table is shown below:

Page 12: PROPOSITIONAL CALCULUS · PDF file · 2017-08-29proposition ⇒ : If it is raining very hard ... of the logical connective or _. Rule of Inference: ... Hypothetical Syllogism 7

Example 3: Inclusive โ€œorโ€

1. ๐‘ƒ: This lesson is interesting.

๐‘„: The lesson is easy.

๐‘ƒ โˆจ ๐‘„: This lesson is interesting or it is easy.

2. ๐‘†: I want to take a diet.

๐‘‡: The food is irresistible.

๐‘† โˆจ ๐‘‡: I want to take a diet or the food is irresistible.

Page 13: PROPOSITIONAL CALCULUS · PDF file · 2017-08-29proposition ⇒ : If it is raining very hard ... of the logical connective or _. Rule of Inference: ... Hypothetical Syllogism 7

Disjunction: Exclusive โ€œorโ€

The disjunction proposition โ€œ๐‘ƒ or ๐‘„ but not bothโ€, denoted by ๐‘ƒ โŠ• ๐‘„, is called the exclusive โ€œorโ€. The truth table is shown as follows:

Page 14: PROPOSITIONAL CALCULUS · PDF file · 2017-08-29proposition ⇒ : If it is raining very hard ... of the logical connective or _. Rule of Inference: ... Hypothetical Syllogism 7

Example 4: Exclusive โ€œorโ€

๐‘ƒ: Presidential candidate A wins.

๐‘„: Presidential candidate B wins.

๐‘ƒ โŠ• ๐‘„ : Either presidential candidate A or B wins.

Page 15: PROPOSITIONAL CALCULUS · PDF file · 2017-08-29proposition ⇒ : If it is raining very hard ... of the logical connective or _. Rule of Inference: ... Hypothetical Syllogism 7

Implications or Conditionals

โ€ข The proposition โ€œIf ๐‘ƒ, then ๐‘„โ€, denoted by ๐‘ƒ โ‡’ ๐‘„ is called an implication or a conditional.

โ€ข Equivalent propositions: โ€œ๐‘ƒ only if ๐‘„โ€, โ€œ๐‘„ follows from ๐‘ƒโ€, โ€œ๐‘ƒ is a sufficient condition for ๐‘„โ€, โ€œ๐‘„ whenever ๐‘ƒโ€

Page 16: PROPOSITIONAL CALCULUS · PDF file · 2017-08-29proposition ⇒ : If it is raining very hard ... of the logical connective or _. Rule of Inference: ... Hypothetical Syllogism 7

Implications or Conditionals

โ€ข The truth table for an implication is shown as follows:

Page 17: PROPOSITIONAL CALCULUS · PDF file · 2017-08-29proposition ⇒ : If it is raining very hard ... of the logical connective or _. Rule of Inference: ... Hypothetical Syllogism 7

Example 5: Implications

๐‘ƒ: It is raining very hard today.

๐‘„: Classes are suspended.

๐‘ƒ โ‡’ ๐‘„: If it is raining very hard today, then classes are suspended.

Page 18: PROPOSITIONAL CALCULUS · PDF file · 2017-08-29proposition ⇒ : If it is raining very hard ... of the logical connective or _. Rule of Inference: ... Hypothetical Syllogism 7

Related Implication: Converse

โ€ข The converse of the proposition โ€œIf ๐‘ƒ, then ๐‘„โ€ is the proposition โ€œIf ๐‘„, then ๐‘ƒโ€. In symbols, the converse of ๐‘ƒ โ‡’ ๐‘„ is ๐‘„ โ‡’ ๐‘ƒ.

โ€ข Example: The converse of the proposition ๐‘ƒ โ‡’ ๐‘„: โ€œIf it is raining very hard today, then classes are suspended.โ€ is the proposition ๐‘„ โ‡’ ๐‘ƒ: โ€œIf classes are suspended, then it is raining very hard today.โ€

Page 19: PROPOSITIONAL CALCULUS · PDF file · 2017-08-29proposition ⇒ : If it is raining very hard ... of the logical connective or _. Rule of Inference: ... Hypothetical Syllogism 7

Related Implication: Contrapositive

โ€ข The contrapositive of the proposition โ€œIf ๐‘ƒ, then ๐‘„โ€ is the proposition โ€œIf not ๐‘„, then not ๐‘ƒโ€. In symbols, the contrapositive of ๐‘ƒ โ‡’ ๐‘„ is ยฌ๐‘„ โ‡’ ยฌ๐‘ƒ.

โ€ข Example: The contrapositive of the proposition ๐‘ƒ โ‡’ ๐‘„: โ€œIf it is raining very hard today, then classes are suspended.โ€ is the proposition ยฌ๐‘„ โ‡’ ยฌ๐‘ƒ: โ€œIf classes are not suspended, then it is not raining very hard today.โ€

Page 20: PROPOSITIONAL CALCULUS · PDF file · 2017-08-29proposition ⇒ : If it is raining very hard ... of the logical connective or _. Rule of Inference: ... Hypothetical Syllogism 7

Related Implication: Inverse

โ€ข The inverse of the proposition โ€œIf ๐‘ƒ, then ๐‘„โ€ is the proposition โ€œIf not ๐‘ƒ, then not ๐‘„โ€. In symbols, the inverse of ๐‘ƒ โ‡’ ๐‘„ is ยฌ๐‘ƒ โ‡’ ยฌ๐‘„.

โ€ข Example: The inverse of the proposition ๐‘ƒ โ‡’ ๐‘„: โ€œIf it is raining very hard today, then classes are suspended.โ€ is the proposition ยฌ๐‘„ โ‡’ ยฌ๐‘ƒ: โ€œIf it is not raining very hard today, then classes are not suspended.โ€

Page 21: PROPOSITIONAL CALCULUS · PDF file · 2017-08-29proposition ⇒ : If it is raining very hard ... of the logical connective or _. Rule of Inference: ... Hypothetical Syllogism 7

Biconditionals

โ€ข The proposition โ€œ๐‘ƒ if and only if ๐‘„โ€, denoted by ๐‘ƒ โ‡” ๐‘„ is called a biconditional.

โ€ข Equivalent propositions: โ€œ๐‘ƒ is equivalent to ๐‘„โ€, โ€œ๐‘ƒ is a necessary and sufficient condition for ๐‘„โ€

Page 22: PROPOSITIONAL CALCULUS · PDF file · 2017-08-29proposition ⇒ : If it is raining very hard ... of the logical connective or _. Rule of Inference: ... Hypothetical Syllogism 7

Biconditionals

โ€ข The truth table for a biconditional is shown as follows:

Page 23: PROPOSITIONAL CALCULUS · PDF file · 2017-08-29proposition ⇒ : If it is raining very hard ... of the logical connective or _. Rule of Inference: ... Hypothetical Syllogism 7

Example 6: Biconditionals

๐‘ƒ: I will pass Matapre.

๐‘„: My grade is at least 60.

๐‘ƒ โ‡” ๐‘„: I will pass Matapre if and only if my grade is at least 60.

Page 24: PROPOSITIONAL CALCULUS · PDF file · 2017-08-29proposition ⇒ : If it is raining very hard ... of the logical connective or _. Rule of Inference: ... Hypothetical Syllogism 7

TRUTH TABLE SUMMARY

Page 25: PROPOSITIONAL CALCULUS · PDF file · 2017-08-29proposition ⇒ : If it is raining very hard ... of the logical connective or _. Rule of Inference: ... Hypothetical Syllogism 7

Truth Tables

โ€ข In constructing a truth table, the number of rows is equal to 2๐‘› where ๐‘› is the number of propositional variables.

โ€ข For example, if there are 4 propositional variables, then the truth table will consist of 24 = 16.

Page 26: PROPOSITIONAL CALCULUS · PDF file · 2017-08-29proposition ⇒ : If it is raining very hard ... of the logical connective or _. Rule of Inference: ... Hypothetical Syllogism 7

Assignment of Values

For two propositional variables, we have 4 rows for the truth table and the assignment of values are shown as follows:

Page 27: PROPOSITIONAL CALCULUS · PDF file · 2017-08-29proposition ⇒ : If it is raining very hard ... of the logical connective or _. Rule of Inference: ... Hypothetical Syllogism 7

Assignment of Values

For three propositional variables, we have 8 rows:

Page 28: PROPOSITIONAL CALCULUS · PDF file · 2017-08-29proposition ⇒ : If it is raining very hard ... of the logical connective or _. Rule of Inference: ... Hypothetical Syllogism 7

Assignment of values

Page 29: PROPOSITIONAL CALCULUS · PDF file · 2017-08-29proposition ⇒ : If it is raining very hard ... of the logical connective or _. Rule of Inference: ... Hypothetical Syllogism 7

Types of Propositional Forms

There are three types of propositional forms:

โ€ข Tautology

โ€ข Contradiction

โ€ข Contingency

Page 30: PROPOSITIONAL CALCULUS · PDF file · 2017-08-29proposition ⇒ : If it is raining very hard ... of the logical connective or _. Rule of Inference: ... Hypothetical Syllogism 7

Tautology

A propositional form that is true under all circumstances is called a tautology.

Example: The proposition ๐‘ƒ โ‡’ ๐‘„ โ‡” ยฌ๐‘ƒ โˆจ ๐‘„

is a tautology. The truth table is shown as follows:

Page 31: PROPOSITIONAL CALCULUS · PDF file · 2017-08-29proposition ⇒ : If it is raining very hard ... of the logical connective or _. Rule of Inference: ... Hypothetical Syllogism 7

Tautology

Page 32: PROPOSITIONAL CALCULUS · PDF file · 2017-08-29proposition ⇒ : If it is raining very hard ... of the logical connective or _. Rule of Inference: ... Hypothetical Syllogism 7

Contradiction

A propositional form that is false under all circumstances is called a contradiction.

Example: The proposition ยฌ ๐‘ƒ โˆง ๐‘„ โ‡” (๐‘„ โˆง ๐‘ƒ)

is a contradiction. The truth table is shown as follows:

Page 33: PROPOSITIONAL CALCULUS · PDF file · 2017-08-29proposition ⇒ : If it is raining very hard ... of the logical connective or _. Rule of Inference: ... Hypothetical Syllogism 7

Contradiction

Page 34: PROPOSITIONAL CALCULUS · PDF file · 2017-08-29proposition ⇒ : If it is raining very hard ... of the logical connective or _. Rule of Inference: ... Hypothetical Syllogism 7

Contingency

A propositional form that is neither a tautology nor a contradiction is called a contingency.

Example: The proposition (๐‘ƒ โˆจ ๐‘„) โ‡’ ๐‘…

is a contingency. The truth table is shown as follows:

Page 35: PROPOSITIONAL CALCULUS · PDF file · 2017-08-29proposition ⇒ : If it is raining very hard ... of the logical connective or _. Rule of Inference: ... Hypothetical Syllogism 7

Contingency

Page 36: PROPOSITIONAL CALCULUS · PDF file · 2017-08-29proposition ⇒ : If it is raining very hard ... of the logical connective or _. Rule of Inference: ... Hypothetical Syllogism 7

Knowledge Check 1.3

Test 1: Determine if the following propositional forms is a tautology, contradiction or contingency by constructing truth tables for each.

1. ๐‘ƒ โ‡” ยฌ๐‘ƒ

2. ๐‘„ โˆจ ๐‘† โ‡’ ยฌ๐‘ƒ

3. ๐‘„ โ‡’ ๐‘ƒ โ‡” ๐‘ƒ โˆง ๐‘„

4. ยฌ๐‘„ โ‡’ ๐‘† โˆง ๐‘ƒ โˆจ ๐‘†

Test 2: Turn on page 15 and answer number 18.

Page 37: PROPOSITIONAL CALCULUS · PDF file · 2017-08-29proposition ⇒ : If it is raining very hard ... of the logical connective or _. Rule of Inference: ... Hypothetical Syllogism 7

Logically Equivalent Propositions

Page 38: PROPOSITIONAL CALCULUS · PDF file · 2017-08-29proposition ⇒ : If it is raining very hard ... of the logical connective or _. Rule of Inference: ... Hypothetical Syllogism 7

Some Logically Equivalent Propositions

Page 39: PROPOSITIONAL CALCULUS · PDF file · 2017-08-29proposition ⇒ : If it is raining very hard ... of the logical connective or _. Rule of Inference: ... Hypothetical Syllogism 7

Some Logically Equivalent Propositions

Page 40: PROPOSITIONAL CALCULUS · PDF file · 2017-08-29proposition ⇒ : If it is raining very hard ... of the logical connective or _. Rule of Inference: ... Hypothetical Syllogism 7

Remark: Implications

Page 41: PROPOSITIONAL CALCULUS · PDF file · 2017-08-29proposition ⇒ : If it is raining very hard ... of the logical connective or _. Rule of Inference: ... Hypothetical Syllogism 7

When is a Mathematical Reasoning Correct?

Page 42: PROPOSITIONAL CALCULUS · PDF file · 2017-08-29proposition ⇒ : If it is raining very hard ... of the logical connective or _. Rule of Inference: ... Hypothetical Syllogism 7

Rule of Inference: Addition

1. Addition ๐‘ƒ

โˆด ๐‘ƒ โˆจ ๐‘„

โ€ข In this rule of inference, we can add any propositional variable to another with the use of the logical connective โ€œorโ€.

Page 43: PROPOSITIONAL CALCULUS · PDF file · 2017-08-29proposition ⇒ : If it is raining very hard ... of the logical connective or _. Rule of Inference: ... Hypothetical Syllogism 7

Rule of Inference: Simplification

2. Simplification ๐‘ƒ โˆง ๐‘„

โˆด ๐‘ƒ

โ€ข Illustration: Give the appropriate conclusion using simplification rule.

(๐‘… โ‡’ ๐‘†) โˆง ยฌ๐‘‡ โˆด _________?

Page 44: PROPOSITIONAL CALCULUS · PDF file · 2017-08-29proposition ⇒ : If it is raining very hard ... of the logical connective or _. Rule of Inference: ... Hypothetical Syllogism 7

Rule of Inference: Conjunction

3. Conjunction ๐‘ƒ ๐‘„

โˆด ๐‘ƒ โˆง ๐‘„

โ€ข Illustration: Give the appropriate conclusion using conjunction rule.

๐‘† โ‡’ ๐‘‡ ๐‘ โˆจ ๐‘…

โˆด _________?

Page 45: PROPOSITIONAL CALCULUS · PDF file · 2017-08-29proposition ⇒ : If it is raining very hard ... of the logical connective or _. Rule of Inference: ... Hypothetical Syllogism 7

Rule of Inference: Modus Ponens

4. Modus Ponens ๐‘ƒ โ‡’ ๐‘„

๐‘ƒ โˆด ๐‘„

โ€ข Illustration: Give the appropriate conclusion using modus ponens rule.

(๐‘€ โˆง ๐‘) โ‡’ ยฌ๐‘‡ ๐‘€ โˆง ๐‘

โˆด _________?

Page 46: PROPOSITIONAL CALCULUS · PDF file · 2017-08-29proposition ⇒ : If it is raining very hard ... of the logical connective or _. Rule of Inference: ... Hypothetical Syllogism 7

Rule of Inference: Modus Tollens

5. Modus Tollens ๐‘ƒ โ‡’ ๐‘„

ยฌ๐‘„ โˆด ยฌ๐‘ƒ

โ€ข Illustration: Give the appropriate conclusion using modus tollens rule.

๐‘€ โ‡’ (๐ต โˆง ๐ถ) ยฌ(๐ต โˆง ๐ถ)

โˆด _________?

Page 47: PROPOSITIONAL CALCULUS · PDF file · 2017-08-29proposition ⇒ : If it is raining very hard ... of the logical connective or _. Rule of Inference: ... Hypothetical Syllogism 7

Rule of Inference: Disjunctive Syllogism

6. Disjunctive Syllogism ๐‘ƒ โˆจ ๐‘„

ยฌ๐‘ƒ โˆด ๐‘„

โ€ข Illustration: Give the appropriate conclusion using disjunctive syllogism rule.

๐‘ โˆจ (๐‘‹ โ‡’ ๐‘Œ) ยฌ๐‘

โˆด _________?

Page 48: PROPOSITIONAL CALCULUS · PDF file · 2017-08-29proposition ⇒ : If it is raining very hard ... of the logical connective or _. Rule of Inference: ... Hypothetical Syllogism 7

Rule of Inference: Hypothetical Syllogism

7. Hypothetical Syllogism ๐‘ƒ โ‡’ ๐‘„ ๐‘„ โ‡’ ๐‘…

โˆด ๐‘ƒ โ‡’ ๐‘…

โ€ข Illustration: Give the appropriate conclusion using hypothetical syllogism rule.

(๐‘‹ โˆง ๐‘) โ‡’ ยฌ๐‘‡ ยฌ๐‘‡ โ‡’ (๐ด โˆจ ๐ต)

โˆด _________?

Page 49: PROPOSITIONAL CALCULUS · PDF file · 2017-08-29proposition ⇒ : If it is raining very hard ... of the logical connective or _. Rule of Inference: ... Hypothetical Syllogism 7

Some Applications

Page 50: PROPOSITIONAL CALCULUS · PDF file · 2017-08-29proposition ⇒ : If it is raining very hard ... of the logical connective or _. Rule of Inference: ... Hypothetical Syllogism 7

Some Applications

Page 51: PROPOSITIONAL CALCULUS · PDF file · 2017-08-29proposition ⇒ : If it is raining very hard ... of the logical connective or _. Rule of Inference: ... Hypothetical Syllogism 7

Knowledge Check 1.4

State the rule of inference by which the conclusion follows from its premise/s.

1. ๐ด โ‡’ (๐ต โ‡” ยฌ๐ถ)

๐ต โ‡” ยฌ๐ถ โ‡’ ๐ท

โˆด ๐ด โ‡’ ๐ท

2. ๐‘‡ โˆจ ๐‘ˆ โˆจ ๐‘Š

[๐‘‡ โˆจ ๐‘ˆ โˆจ ๐‘Š ] โˆจ ๐‘ƒ

Page 52: PROPOSITIONAL CALCULUS · PDF file · 2017-08-29proposition ⇒ : If it is raining very hard ... of the logical connective or _. Rule of Inference: ... Hypothetical Syllogism 7

Knowledge Check 1.4

3. ๐ธ โ‡’ ยฌ๐น โ‡’ ยฌ๐บ โˆจ ยฌ๐ป

๐ธ โ‡’ ยฌ๐น

โˆด ยฌ๐บ โˆจ ยฌ๐ป

4. ๐ผ โ‡’ ๐ฝ โˆจ ๐พ โ‡’ ๐ฟ

ยฌ ๐ผ โ‡’ ๐ฝ

โˆด ๐พ โ‡’ ๐ฟ

Page 53: PROPOSITIONAL CALCULUS · PDF file · 2017-08-29proposition ⇒ : If it is raining very hard ... of the logical connective or _. Rule of Inference: ... Hypothetical Syllogism 7

Knowledge Check 1.4

5. ๐‘€ โ‡’ ยฌ๐‘

ยฌ๐‘ โ‡’ ๐‘„

โˆด (๐‘€ โ‡’ ยฌ๐‘) โˆง (ยฌ๐‘ โ‡’ ๐‘„)

6. ยฌ๐‘ƒ โ‡” ๐‘„ โˆจ ๐‘… โˆจ ๐‘†

ยฌ ยฌ๐‘ƒ โ‡” ๐‘„

โˆด ๐‘… โˆจ ๐‘†