21
Chapter 3: Introduction to Logic

Chapter 3: Introduction to Logic. Logic Main goal: use logic to analyze arguments (claims) to see if they are valid or invalid. This is useful for math

Embed Size (px)

Citation preview

Page 1: Chapter 3: Introduction to Logic. Logic Main goal: use logic to analyze arguments (claims) to see if they are valid or invalid. This is useful for math

Chapter 3: Introduction to Logic

Page 2: Chapter 3: Introduction to Logic. Logic Main goal: use logic to analyze arguments (claims) to see if they are valid or invalid. This is useful for math

LogicMain goal: use logic to analyze arguments (claims) to see if they are valid or invalid. This is useful for math theory, but also in the real world any time someone is trying to convince you of something.

To analyze an argument, we break it down into smaller pieces: statements, logical connectives and quantifiers.

Page 3: Chapter 3: Introduction to Logic. Logic Main goal: use logic to analyze arguments (claims) to see if they are valid or invalid. This is useful for math

Statements

• A statement is a declarative sentence that is either true or false (but not both at the same time)

• A compound statement consists of simple statements combined using logical connectives like and, or, not, if…then.

• The negation of a statement must have the opposite truth value to the original statement

Page 4: Chapter 3: Introduction to Logic. Logic Main goal: use logic to analyze arguments (claims) to see if they are valid or invalid. This is useful for math

Connectives and Symbols

Connective SymbolType of

Statement

and conjunction

or disjunction

not ~ negation

Page 5: Chapter 3: Introduction to Logic. Logic Main goal: use logic to analyze arguments (claims) to see if they are valid or invalid. This is useful for math

Quantifiers

• Universal quantifier: all, every, each. Statement is true if the claim is true for every object it is referring to.

• Existential quantifier: some, there exists, for at least one. Statement is true if the claim is true for al least one object it is referring to.

Page 6: Chapter 3: Introduction to Logic. Logic Main goal: use logic to analyze arguments (claims) to see if they are valid or invalid. This is useful for math

Negations of Quantified Statements

Statement Negation

All doSome do not

Not all do

Some doNone do

All do not

Page 7: Chapter 3: Introduction to Logic. Logic Main goal: use logic to analyze arguments (claims) to see if they are valid or invalid. This is useful for math

Truth Tables

• Shows truth value of a compound statement for all possible truth values of the component statements

• If there are n component statements, then the truth table has 2n rows

Page 8: Chapter 3: Introduction to Logic. Logic Main goal: use logic to analyze arguments (claims) to see if they are valid or invalid. This is useful for math

Conjunction

p q p q

T T T

T F F

F T F

F F F

Page 9: Chapter 3: Introduction to Logic. Logic Main goal: use logic to analyze arguments (claims) to see if they are valid or invalid. This is useful for math

Disjunction

p q p q

T T T

T F T

F T T

F F F

Page 10: Chapter 3: Introduction to Logic. Logic Main goal: use logic to analyze arguments (claims) to see if they are valid or invalid. This is useful for math

Negation

p ~p

T F

F T

Page 11: Chapter 3: Introduction to Logic. Logic Main goal: use logic to analyze arguments (claims) to see if they are valid or invalid. This is useful for math

Equivalent Statements

• Two statements are equivalent if they have the same truth value for every possible situation, and we write p ≡ q

• De Morgan’s Laws:

~(p q) ≡ ~p ~q

~(p q) ≡ ~p ~q

Page 12: Chapter 3: Introduction to Logic. Logic Main goal: use logic to analyze arguments (claims) to see if they are valid or invalid. This is useful for math

The Conditional

• If p, then q

• Symbols: p → q

• p is the antecedent, q is the consequent

Page 13: Chapter 3: Introduction to Logic. Logic Main goal: use logic to analyze arguments (claims) to see if they are valid or invalid. This is useful for math

Truth Table for Conditional

p q p → q

T T T

T F F

F T T

F F T

Page 14: Chapter 3: Introduction to Logic. Logic Main goal: use logic to analyze arguments (claims) to see if they are valid or invalid. This is useful for math

Useful results for the Conditional

• Equivalent to a disjunction:

p → q ≡ ~p q

• Negation:

~(p → q) ≡ p ~q

Page 15: Chapter 3: Introduction to Logic. Logic Main goal: use logic to analyze arguments (claims) to see if they are valid or invalid. This is useful for math

Related Conditional Statements

Direct statement p → q If p, then q

Converse q → p If q, then p

Inverse ~p → ~q If not p, then not q

Contrapositive ~q → ~p If not q, then not p

Page 16: Chapter 3: Introduction to Logic. Logic Main goal: use logic to analyze arguments (claims) to see if they are valid or invalid. This is useful for math

Equivalences

Direct statement and contrapositive are equivalent:

p → q ≡ ~q → ~p

Converse and Inverse are equivalent:

q → p ≡ ~p → ~q

Page 17: Chapter 3: Introduction to Logic. Logic Main goal: use logic to analyze arguments (claims) to see if they are valid or invalid. This is useful for math

Common wording for p → q

If p, then q p is sufficient for q

If p, q q is necessary for p

p implies q All p’s are q’s

p only if q q if p

Page 18: Chapter 3: Introduction to Logic. Logic Main goal: use logic to analyze arguments (claims) to see if they are valid or invalid. This is useful for math

Analyzing Arguments• We will use deductive reasoning to

determine whether logical arguments are valid or invalid.

• A logical argument is made up of premises (assumptions, statements assumed to be true) and a conclusion.

• An argument is valid if the fact that all the premises are true forces the conclusion to be true.

• An argument that is not valid is invalid, or a fallacy.

Page 19: Chapter 3: Introduction to Logic. Logic Main goal: use logic to analyze arguments (claims) to see if they are valid or invalid. This is useful for math

Techniques to Analyze Arguments

• Using truth values (assume premises are true and see if this forces conclusion to be true)

• Comparing with known valid or invalid arguments

Page 20: Chapter 3: Introduction to Logic. Logic Main goal: use logic to analyze arguments (claims) to see if they are valid or invalid. This is useful for math

Valid Argument Forms• Modus Ponens

[(p → q) p] → q• Modus Tollens

[(p → q) ~q] → ~p• Disjunctive Syllogism

[(p q) ~p] → q• Transitivity

[(p → q) (q → r)] → (p → r)

Page 21: Chapter 3: Introduction to Logic. Logic Main goal: use logic to analyze arguments (claims) to see if they are valid or invalid. This is useful for math

Fallacies

• Fallacy of the Converse

[(p → q) q] → p• Fallacy of the Inverse

[(p → q) ~p] → ~q