Содержание
- 2. Introduction Logic is the study of the principles and techniques of reasoning. It originated with the
- 3. Introduction However, it was not until the 17th century that symbols were used in the development
- 4. Introduction Nevertheless, no significant contributions in symbolic logic were made until those of George Boole, an
- 5. Introduction Logic plays a central role in the development of every area of learning, especially in
- 6. Introduction This chapter presents the fundamentals of logic, its symbols, and rules to help you to
- 7. Propositions Our discussion begins with an introduction to the basic building blocks of logic – propositions.
- 8. Propositions Example 1 All the following declarative sentences are propositions. 1. Minsk is the capital of
- 9. Propositions
- 10. Propositions
- 11. Propositions Consider the sentence, This sentence is false. It is certainly a valid declarative sentence, but
- 12. Propositions This sentence is false. Thus, if we assume that the sentence is true, it is
- 13. Propositions The truth value of a proposition may not be known for some reason, but that
- 14. Propositions Pierre-Simon de Fermat
- 15. Propositions His conjecture, known as Fermat's Last "Theorem," was one of the celebrated unsolved problems in
- 16. Propositions Although the truth value of the conjecture eluded mathematicians for over three centuries, it was
- 17. Propositions Here is another example of such a proposition. In 1742 the Prussian mathematician Christian Goldbach
- 18. Propositions Christian Goldbach
- 19. Propositions The area of logic that deals with propositions is called the propositional calculus or propositional
- 20. Propositions We now turn our attention to methods for producing new propositions from those that we
- 21. Compound propositions Many mathematical statements are constructed by combining one or more propositions. New propositions, called
- 22. The negation of a proposition
- 23. The negation of a proposition
- 24. The negation of a proposition Example 3 Find the negation of the proposition “Vandana’s smartphone has
- 25. The conjunction of two propositions Definition 3 Let p and q be propositions. The conjunction of
- 26. The conjunction of two propositions
- 27. The conjunction of two propositions Example 4 Find the conjunction of the propositions p and q
- 28. The conjunction of two propositions Solution The conjunction of these propositions, p∧q, is the proposition “Rebecca’s
- 29. The disjunction of two propositions Definition 4 Let p and q be propositions. The disjunction of
- 30. The disjunction of two propositions
- 31. The disjunction of two propositions Example 5 Find the disjunction of the propositions p and q
- 32. The disjunction of two propositions Solution The disjunction of p and q, p∨q, is the proposition
- 33. The exclusive or The use of the connective or in a disjunction corresponds to one of
- 34. The exclusive or On the other hand, we are using the exclusive or when we say
- 35. The exclusive or Definition 5 Let p and q be propositions. The exclusive or of p
- 36. The exclusive or
- 37. Conditional statements
- 38. Conditional statements
- 39. Conditional statements
- 40. Conditional statements
- 41. Conditional statements
- 42. Converse, contrapositive and inverse
- 43. Converse, contrapositive and inverse
- 44. Biconditionals
- 45. Biconditionals
- 46. Biconditionals
- 47. Biconditionals
- 48. Truth tables of compound propositions We have now introduced four important logical connectives – conjunctions, disjunctions,
- 49. Truth tables of compound propositions We can use truth tables to determine the truth values of
- 50. Truth tables of compound propositions Example 9 Construct the truth table of the compound proposition (pq)
- 51. Truth tables of compound propositions Example 9 Construct the truth table of the compound proposition (pq)
- 52. Truth tables of compound propositions Example 9 Construct the truth table of the compound proposition (pq)
- 53. Truth tables of compound propositions Example 9 Construct the truth table of the compound proposition (pq)
- 54. Truth tables of compound propositions Example 9 Construct the truth table of the compound proposition (pq)
- 55. Truth tables of compound propositions Example 9 Construct the truth table of the compound proposition (pq)
- 56. Truth tables of compound propositions Example 9 Construct the truth table of the compound proposition (pq)
- 57. Truth tables of compound propositions The next two examples illustrate the power of truth tables in
- 58. Propositions He states “I’ve never had a conflict between teaching and research as some people do
- 59. Propositions Raymond Smullyan dropped out of high school. He wanted to study what he was really
- 60. Propositions After jumping from one university to the next, he earned an undergraduate degree in mathematics
- 61. Propositions After graduating from Princeton, he taught mathematics and logic at Dartmouth College, Princeton University, Yeshiva
- 62. Propositions He paid his college expenses by performing magic tricks at parties and clubs. He obtained
- 63. Propositions After graduating from Princeton, he taught mathematics and logic at Dartmouth College, Princeton University, Yeshiva
- 64. Propositions He joined the philosophy department at Indiana University in 1981 where he is now an
- 65. Propositions Smullyan has written many books on recreational logic and mathematics, including Satan, Cantor, and Infinity;
- 66. Truth tables of compound propositions Example 10 Faced with engine problems, Ellen Wright made an emergency
- 67. Truth tables of compound propositions
- 68. Truth tables of compound propositions Ellen then made a table on the back of her guidebook,
- 69. Truth tables of compound propositions Solution: Let c: The capital is in the mountains and r:
- 70. Truth tables of compound propositions Since B could not give both false and true statements (see
- 71. Truth tables of compound propositions
- 72. Truth tables of compound propositions
- 73. Truth tables of compound propositions
- 74. Truth tables of compound propositions Example 11 Confused and somewhat perplexed, Ellen asked them whether they
- 75. Precedence of logical operators
- 76. Precedence of logical operators
- 77. Precedence of logical operators
- 78. Precedence of logical operators Another general rule of precedence is that the conjunction operator takes precedence
- 79. Precedence of logical operators
- 80. Tautologies and contradictions Definition 8 A compound proposition that is always true, no matter what the
- 81. Tautologies and contradictions Example 12 We can construct examples of tautologies and contradictions using just one
- 82. Tautologies and contradictions
- 83. Logical equivalences
- 84. Logical equivalences One way to determine whether two compound propositions are equivalent is to use a
- 85. Logical equivalences Example 13 Show that (pq) and pq are logically equivalent.
- 86. Logical equivalences Example 13 Show that (pq) and pq are logically equivalent.
- 87. Logical equivalences Example 13 Show that (pq) and pq are logically equivalent.
- 88. Logical equivalences Example 13 Show that (pq) and pq are logically equivalent.
- 89. Logical equivalences Example 13 Show that (pq) and pq are logically equivalent.
- 90. Logical equivalences Example 14 Show that (pq) and pq are logically equivalent.
- 91. Logical equivalences Example 14 Show that (pq) and pq are logically equivalent.
- 92. Logical equivalences
- 93. Logical equivalences (pq) pq This logical equivalence is one of the two De Morgan laws,
- 94. Logical equivalences
- 95. Logical equivalences
- 96. Logical equivalences
- 97. Logical equivalences
- 98. Logical equivalences
- 99. Logical equivalences
- 100. Logical equivalences
- 101. Logical equivalences We will now establish a logical equivalence of two compound propositions involving three different
- 102. Logical equivalences Example 16 Show that p∨(q∧r) and (p∨q)∧(p∨r) are logically equivalent. This is the distributive
- 103. A Demonstration That p(qr) and (pq)(pr) Are Logically Equivalent.
- 104. A Demonstration That p(qr) and (pq)(pr) Are Logically Equivalent.
- 105. A Demonstration That p(qr) and (pq)(pr) Are Logically Equivalent.
- 106. A Demonstration That p(qr) and (pq)(pr) Are Logically Equivalent.
- 107. A Demonstration That p(qr) and (pq)(pr) Are Logically Equivalent.
- 108. A Demonstration That p(qr) and (pq)(pr) Are Logically Equivalent.
- 109. A Demonstration That p(qr) and (pq)(pr) Are Logically Equivalent.
- 110. A Demonstration That p(qr) and (pq)(pr) Are Logically Equivalent. Because the truth values of p∨(q∧r) and
- 111. Logical equivalences Next table contains some important equivalences. In these equivalences, T denotes the compound proposition
- 114. Logical equivalences
- 115. Logical equivalences We also display some useful equivalences for compound propositions involving conditional statements and biconditional
- 118. Using De Morgan’s Laws Example 17 Use De Morgan’s laws to express the negations of “Miguel
- 119. Using De Morgan’s Laws Example 17 Use De Morgan’s laws to express the negations of “Miguel
- 120. Constructing new logical equivalences The logical equivalences in Table 1, as well as any others that
- 121. Constructing new logical equivalences This technique is illustrated in Examples 14 – 16, where we also
- 122. Constructing new logical equivalences Example 18 Show that (p q) and p q are
- 123. Constructing new logical equivalences Example 18 Show that (p q) and p q are
- 124. Constructing new logical equivalences Example 19 Show that (p (p q)) and (p
- 125. Constructing new logical equivalences Example 19 Show that (p (p q)) and (p
- 126. Constructing new logical equivalences Example 20 Show that (p q) (p q) is
- 127. Propositional satisfiability Definition 10 A compound proposition is satisfiable if there is an assignment of truth
- 128. Propositional satisfiability Definition 11 When we find a particular assignment of truth values that makes a
- 129. Propositional satisfiability However, to show that a compound proposition is unsatisfiable, we need to show that
- 130. Propositional satisfiability Example 21 Determine whether each of the compound propositions (p q) (q
- 131. Propositional satisfiability
- 132. Satisfiability problem Many problems, in diverse areas such as robotics, software testing, computer-aided design, machine vision,
- 133. Sudoku 99 A Sudoku puzzle is represented by a 9×9 grid made up of nine 3×3
- 134. Sudoku 99 The puzzle is solved by assigning a number to each blank cell so that
- 136. Скачать презентацию