1 / 45

Chapter 3 – Introduction to Logic

Chapter 3 – Introduction to Logic. Logic is the formal systematic study of the principles of valid inference and correct reasoning. . It is used in most intellectual activities, but is studied primarily in the disciplines of philosophy, mathematics, semantics, and computer science. .

marvel
Download Presentation

Chapter 3 – Introduction to Logic

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Chapter 3 – Introduction to Logic Logic is the formal systematic study of the principles of valid inference and correct reasoning. It is used in most intellectual activities, but is studied primarily in the disciplines of philosophy, mathematics, semantics, and computer science. Logic examines: (a) general forms which arguments may take, (b) which forms are valid, and (c) which forms are fallacies. The initial motivation for the study of logic was to learn to distinguish good arguments from bad arguments.

  2. 3.1 – Statements and Quantifiers Statements A statement is defined as a declarative sentence that is either true or false, but not both simultaneously. Compound Statements A compound statement may be formed by combining two or more statements. The statements making up the compound statement are called the component statements. Connectives such as and, or, not, and if…then, can be used in forming compound statements.

  3. 3.1 – Statements and Quantifiers Determine whether or not the following sentences are statements, compound statements, or neither. If Amanda said it, then it must be true. Compound statement (if, then) Today is extremely warm. Statement The gun is made by Smith and Wesson. Statement The gun is a pistol and it is made by Smith and Wesson. Compound statement (and)

  4. 3.1 – Statements and Quantifiers Negations A negation is a statement that is a refusal or denial of some other statement. Max has a valuable card. Statement: Negation: Max does not have a valuable card. The negation of a true statement is false and the negation of a false statement is true. The number 9 is odd. Statement: Negation: The number 9 is not odd. The product of 2 negative numbers is not positive. Statement: Negation: The product of 2 negative numbers is positive.

  5. 3.1 – Statements and Quantifiers Negations and Inequality Symbols Give a negation of each inequality. Do not use a slash symbol. p ≥ 3 3x – 2y < 12 Statement: Statement: Negation: p < 3 Negation: 3x – 2y ≥ 12

  6. 3.1 – Statements and Quantifiers Symbols To simplify work with logic, symbols are used. Statements are represented with letters, such as p, q, or r, while several symbols for connectives are shown below. and Conjunction or Disjunction not Negation

  7. 3.1 – Statements and Quantifiers Translating from Symbols to Words Let: p represent “It is raining,” q represent “It is March.” Write each symbolic statement in words. p ˅ q It is raining or it is March. ̴ (p ˄ q) It is not the case that it is raining and it is March.

  8. 3.1 – Statements and Quantifiers Quantifiers Universal Quantifiers are the words all, each, every, no, and none. Existential Quantifiers are words or phrases such as some, there exists, forat least one, andat least one. Quantifiers are used extensively in mathematics to indicate how many cases of a particular situation exist. Negations of Quantified Statements

  9. 3.1 – Statements and Quantifiers Forming Negations of Quantified Statements Some cats have fleas. Statement: Negation: No cats have fleas. Some cats do not have fleas. Statement: Negation: All cats have fleas. All dinosaurs are extinct. Statement: Negation: Not all dinosaurs are extinct. No horses fly. Statement: Negation: Some horses fly.

  10. 3.1 – Statements and Quantifiers Sets of Numbers • Natural Numbers: {1, 2, 3, 4, …} • Whole Numbers: {0, 1, 2, 3, …} Integers: {…, -3, -2, -1, 0, 1, 2, 3, 4, …} Rational Numbers: Any number that can be expressed as a quotient of two integers (terminating or repeating decimal). Irrational Numbers: Any number that can not be expressed as a quotient of two integers (non-terminating and non-repeating). Real Numbers: Any number expressed as a decimal.

  11. 3.1 – Statements and Quantifiers True or False Every integer is a natural number. False: – 1 is an integer but not a natural number. A whole number exists that is not a natural number. True: 0 is the number. There exists an irrational number that is not real. False: All irrational numbers are real numbers.

  12. 3.2 – Truth Tables and Equivalent Statements Conjunctions Truth Values The truth values of component statements are used to find the truth values of compound statements. The truth values of the conjunction p and q (p ˄ q), are given in the truth table on the next slide. The connective “and” implies “both.” Truth Table A truth table shows all four possible combinations of truth values for component statements.

  13. 3.2 – Truth Tables and Equivalent Statements Conjunction Truth Table p and q

  14. 3.2 – Truth Tables and Equivalent Statements Finding the Truth Value of a Conjunction If p represent the statement 4 > 1 and q represent the statement 12 < 9, find the truth value of p ˄ q. p and q 4 > 1 p is true 12 < 9 q is false The truth value for p ˄ q is false

  15. 3.2 – Truth Tables and Equivalent Statements Disjunctions The truth values of the disjunction p or q (p˅q) are given in the truth table below. The connective “or” implies “either.” Disjunction Truth Table p or q

  16. 3.2 – Truth Tables and Equivalent Statements Finding the Truth Value of a Disjunction If p represent the statement 4 > 1, and q represent the statement 12 < 9, find the truth value of p˅q. p or q 4 > 1 p is true 12 < 9 q is false The truth value for p ˅ q is true

  17. 3.2 – Truth Tables and Equivalent Statements Negation The truth values of the negation of p( ̴ p) are given in the truth table below. not p

  18. 3.2 – Truth Tables and Equivalent Statements Example: Constructing a Truth Table Construct the truth table for: p ˄ (~ p ˅ ~ q) A logical statement having n component statements will have 2n rows in its truth table. 22 = 4 rows

  19. 3.2 – Truth Tables and Equivalent Statements Example: Constructing a Truth Table Construct the truth table for: p ˄ (~ p ˅ ~ q) A logical statement having n component statements will have 2n rows in its truth table. 22 = 4 rows

  20. 3.2 – Truth Tables and Equivalent Statements Example: Constructing a Truth Table Construct the truth table for: p ˄ (~ p ˅ ~ q) A logical statement having n component statements will have 2n rows in its truth table. 22 = 4 rows

  21. 3.2 – Truth Tables and Equivalent Statements Example: Constructing a Truth Table Construct the truth table for: p ˄ (~ p ˅ ~ q) A logical statement having n component statements will have 2n rows in its truth table. 22 = 4 rows

  22. 3.2 – Truth Tables and Equivalent Statements Example: Constructing a Truth Table Construct the truth table for: p ˄ (~ p ˅ ~ q) A logical statement having n component statements will have 2n rows in its truth table. 22 = 4 rows

  23. 3.2 – Truth Tables and Equivalent Statements Example: Mathematical Statements If p represent the statement 4 > 1, and q represent the statement 12 < 9, and r represent 0 < 1, decide whether the statement is true or false. ̴ p ˄ ̴ q

  24. 3.2 – Truth Tables and Equivalent Statements Example: Mathematical Statements If p represent the statement 4 > 1, and q represent the statement 12 < 9, and r represent 0 < 1, decide whether the statement is true or false. ̴ p ˄ ̴ q

  25. 3.2 – Truth Tables and Equivalent Statements Example: Mathematical Statements If p represent the statement 4 > 1, and q represent the statement 12 < 9, and r represent 0 < 1, decide whether the statement is true or false. ̴ p ˄ ̴ q The truth value for the statement is false.

  26. 3.2 – Truth Tables and Equivalent Statements Example: Mathematical Statements If p represent the statement 4 > 1, and q represent the statement 12 < 9, and r represent 0 < 1, decide whether the statement is true or false. ( ̴ p ˄ r) ˅ ( ̴ q ˄ p)

  27. 3.2 – Truth Tables and Equivalent Statements Example: Mathematical Statements If p represent the statement 4 > 1, and q represent the statement 12 < 9, and r represent 0 < 1, decide whether the statement is true or false. ( ̴ p ˄ r) ˅ ( ̴ q ˄ p)

  28. 3.2 – Truth Tables and Equivalent Statements Example: Mathematical Statements If p represent the statement 4 > 1, and q represent the statement 12 < 9, and r represent 0 < 1, decide whether the statement is true or false. ( ̴ p ˄ r) ˅ ( ̴ q ˄ p)

  29. 3.2 – Truth Tables and Equivalent Statements Example: Mathematical Statements If p represent the statement 4 > 1, and q represent the statement 12 < 9, and r represent 0 < 1, decide whether the statement is true or false. ( ̴ p ˄ r) ˅ ( ̴ q ˄ p)

  30. 3.2 – Truth Tables and Equivalent Statements Example: Mathematical Statements If p represent the statement 4 > 1, and q represent the statement 12 < 9, and r represent 0 < 1, decide whether the statement is true or false. ( ̴ p ˄ r) ˅ ( ̴ q ˄ p) The truth value for the statement is true.

  31. 3.2 – Truth Tables and Equivalent Statements Equivalent Statements Two statements are equivalent if they have the same truth value in every possible situation. Are the following statements equivalent? ~ p ˄ ~ q and ̴ (p ˅ q)

  32. 3.2 – Truth Tables and Equivalent Statements Equivalent Statements Two statements are equivalent if they have the same truth value in every possible situation. Are the following statements equivalent? ~ p ˄ ~ q and ̴ (p ˅ q)

  33. 3.2 – Truth Tables and Equivalent Statements Equivalent Statements Two statements are equivalent if they have the same truth value in every possible situation. Are the following statements equivalent? ~ p ˄ ~ q and ̴ (p ˅ q) Yes

  34. 3.3 – The Conditional A conditional statement is a compound statement that uses the connective if…then. The conditional is written with an arrow, so “if p then q” is symbolized The conditional is read as “p implies q” or “if p then q.” The statement p is the antecedent, while q is the consequent.

  35. 3.3 – The Conditional Special Characteristics of Conditional Statementsfor a Truth Table Teacher: “If you participate in class, then you will get extra points."  When the antecedent is true and the consequent is true, p → q is true. If you participate in class (true) and you get extra points (true) then, The teacher's statement is true. When the antecedent is true and the consequent is false, p → q is false. If you participate in class (true) and you do not get extra points(false), then, The teacher’s statement is false.

  36. 3.3 – The Conditional Special Characteristics of Conditional Statementsfor a Truth Table “If you participate in class, then you will get extra points."  If the antecedent is false, then p → qis automatically true. If you do not participate in class (false), the truthof the teacher's statement cannot be judged. The teacher did not state what would happen if you did NOT participate in class.  Therefore, the statement has to be “true”. If you do not participate in class (false), then you get extra points. If you do not participate in class (false), then you do not get extra points. The teacher's statement is true in both cases.

  37. 3.3 – The Conditional Truth Table for The Conditional If p,then q A tautology is a statement that is always true, no matter what the truth values of the components are.

  38. 3.3 – The Conditional Examples: Decide whether each statement is True or False (T represents a true statement, F a false statement). F → (3 ≠ 9) T → (4 < 2) (8 = 1) → F F → T T → F F → F T F T

  39. 3.4 – More on the Conditional Converse, Inverse, and Contrapositive • p → q • If p, then q • q → p • If q, then p • Converse • If not p, then not q • Inverse • ̴ p → ̴ q • If not q, then not p • Contrapositive • ̴ q → ̴ p

  40. 3.4 – More on the Conditional Determining Related Conditional Statements Given the conditional statement, determine the following: a) the converse, b) the inverse, and c) the contrapositive. If I live in Wisconsin, then I shovel snow, a) Converse If I shovel snow, then I live in Wisconsin. b) Inverse If I do not live in Wisconsin, then I do not shovel snow. c) Contrapositive If I do not shovel snow, then I do not live in Wisconsin.

  41. 3.4 – More on the Conditional Equivalences A conditional statement and its contrapositive are equivalent, and the converse and inverse are equivalent. Alternative Forms of “If p, then q” The conditional p → q can be translated in any of the following ways: If p, then q. p is sufficient for q. If p, q. q is necessary for p. p implies q. All p are q. ponly if q. q if p.

  42. 3.4 – More on the Conditional Rewording Conditional Statements Write each statement in the form “if p, then q.” a) You’ll be sorry if I go. (q if p) If I go, then you’ll be sorry. b) Today is Sunday only if yesterday was Saturday. (p only if q) If today is Sunday, then yesterday was Saturday. c) All Chemists wear lab coats. (All p are q) If you are a Chemist, then you wear a lab coat.

  43. 3.4 – More on the Conditional Negation of a Conditional The negation of A Conditional as a Disjunction The conditional is equivalent to Examples: If the river is narrow, then we can cross it. p: the river is narrow. p: the river is not narrow. q: we can cross it. q: we cannot cross it. Negation: Disjunction: The river is narrow and we cannot cross it. The river is not narrow or we can cross it.

  44. 3.4 – More on the Conditional Negation of a Conditional The negation of A Conditional as a Disjunction The conditional is equivalent to Examples: If you are absent, then you have a test. p: you are absent. p: you are not absent. q: you do not have a test. q: you have a test. Negation: Disjunction: You are absent and you do not have a test. You are not absent or you have a test.

More Related