이산수학 2.1
이산수학 2.1
With research continuing to the present day, symbolic logic has provided,
among other things, the theoretical basis for many areas of computer
science such as digital logic circuit design (see Sections 2.4 and 2.5),
relational database theory (see Section 8.1), automata theory and
computability (see Section 7.4 and Chapter 12), and artificial intelligence
(see Sections 3.3, 10.1, and 10.5).
2
논증(Argument)은 주장을 합리적이고 설득력 있게 뒷받침하기 위해 사용하는
논리적 구조입니다. 논증을 사용하는 이유는 다음과 같습니다:
설득력 강화: 주장을 단순히 말하는 것보다 논리적 근거를 제시하면 상대방이 더
쉽게 받아들일 수 있습니다.
3
수학에서의 논증은 일반적으로 연역적 추론에 해당합니다. 수학에서는 주어진
공리(axiom)나 정의(definition), 그리고 이미 증명된 정리(theorem)들을 기반으로,
논리적인 추론을 통해 새로운 명제나 결론을 도출합니다. 이 과정에서 사용되는
논리적 구조는 매우 엄격하며, 주어진 전제가 참이라면 결론도 필연적으로 참이어야
합니다.
예를 들어:
1.전제 1: 모든 삼각형의 내각의 합은 180도이다. (기본 정리)
2.전제 2: 이 삼각형은 하나의 삼각형이다.
3.결론: 이 삼각형의 내각의 합은 180도이다.
4
2.1 Logical Form and Logical Equivalence
6
Logical Form and Logical Equivalence
In logic, the form of an argument is distinguished from its
content. Logical analysis won’t help you determine the
intrinsic merit of an argument’s content, but it will help you
analyze an argument’s form to determine whether the truth
of the conclusion follows necessarily from the truth of the
premises.
논증의 형식을 논리적으로 분석하면 결론의 진실(truth)이 필연적으로 전제의 진실(truth)을
따르는지 판단하는데 도움을 준다.
Truth : True or False
7
Logical Form and Logical Equivalence
Consider the following two arguments. They have very
different content but their logical form is the same. To help
make this clear, we use letters like p, q, and r to represent
component sentences; we let the expression “not p” refer to
the sentence “It is not the case that p”; and we let the
symbol ∴ stand for the word “therefore.”
8
Logical Form and Logical Equivalence
9
Example 2.1.1 – Identifying Logical Form
Fill in the blanks below so that argument (b) has the same
form as argument (a). Then represent the common form of
the arguments using letters to stand for component
sentences.
a. If Jane is a math major or Jane is a computer science
major, then Jane will take Math 150. Jane is a computer
science major.
Therefore, Jane will take Math 150.
11
Statements
12
Statements
For example, “Two plus two equals four” and “Two plus two
equals five” are both statements, the first because it is true
and the second because it is false. On the other hand, the
truth or falsity of
13
Statements
Similarly, the truth or falsity of
x+y>0
14
Compound Statements
15
Compound Statements
We now introduce three symbols that are used to build
more complicated logical expressions out of simpler ones.
The symbol denotes not, ∧ denotes and, and ∨ denotes
or.
16
Compound Statements
In expressions that include the symbol as well as ∧ or
∨, the order of operations specifies that is performed
first.
For instance, p ∧ q = ( p) ∧ q.
In logical expressions, as in ordinary algebraic expressions,
the order of operations can be overridden through the use
of parentheses.
17
Compound Statements
Thus (p ∧ q) represents the negation of the conjunction
of p and q. In this, as in most treatments of logic, the
symbols ∧ and ∨ are considered coequal in order of
operation, and an expression such as p ∧ q ∨ r is
considered ambiguous.
18
Example 2.1.2 – Translating from English to Symbols: But and Neither-Nor
19
Example 2.1.2 – Solution
a. The given sentence is equivalent to “It is not hot and it is
sunny,” which can be written symbolically as h ∧ s.
20
Example 2.1.3 – And, Or, and Inequalities
Suppose x is a particular real number. Let p, q, and r
symbolize “0 < x,” “x < 3,” and “x = 3,” respectively. Write
the following inequalities symbolically:
a. x ≤ 3
b. 0 < x < 3
c. 0 < x ≤ 3
21
Example 2.1.3 – Solution
a. q ∨ r
a. x ≤ 3
b. p ∧ q b. 0 < x < 3
c. 0 < x ≤ 3
c. p ∧ (q ∨ r)
Let p, q, and r symbolize “0 < x,” “x < 3,” and “x = 3,” respectively.
p = “0<x”
q = “x<3” x≤3 => q or r
r = “x=3”
22
Truth Values
23
Truth Values
24
Truth Values
25
Truth Values
The table is obtained by considering the four possible
combinations of truth values for p and q.
27
Truth Values
Here is the truth table for disjunction:
28
Evaluating the Truth of More
General Compound Statements
29
Evaluating the Truth of More General Compound Statements
30
Evaluating the Truth of More General Compound Statements
31
Example 2.1.4 – Truth Table for Exclusive Or
32
Example 2.1.4 – Solution
Set up columns labeled p, q, p ∨ q, p ∧ q, ~(p ∧ q), and
(p ∨ q) ∧ ~(p ∧ q). Fill in the p and q columns with all the
logically possible combinations of T’s and F’s. Then use the
truth tables for ∨ and ∧ to fill in the p ∨ q and p ∧ q
columns with the appropriate truth values.
Next fill in the ~(p ∧ q) column by taking the opposites of
the truth values for p ∧ q.
33
Example 2.1.4 – Solution continued
34
Example 2.1.4 – Solution continued
35
Example 2.1.5 – Truth Table for
36
Example 2.1.5 – Solution
Make columns headed p, q, r, p ∧ q, ~r, and (p ∧ q) ∨~r.
Enter the eight logically possible combinations of truth
values for p, q, and r in the three left-most columns. Then
fill in the truth values for p ∧ q and for ~r
Complete the table by considering the truth values for (p ∧
q) and for ~ r and the definition of an or statement.
37
Example 2.1.5 – Solution continued
38
Example 2.1.5 – Solution continued
39
Logical Equivalence
40
Logical Equivalence
41
Logical Equivalence
If Sally wakes up late or if she misses the bus, she will be late for work.
Therefore, if Sally arrives at work on time, she did not wake up late and did
not miss the bus.
If p or q, then r.
Therefore, if not r, then not p and not q. (statement의 형식이 같다)
42
Logical Equivalence
43
Example 2.1.6 – Double Negative Property:
44
Example 2.1.6 – Solution
45
Example 2.1.7 – Showing Nonequivalence
Show that the statement forms (p ∧ q) and p ∧ q are
not logically equivalent.
46
Example 2.1.7 – Solution
a. This method uses a truth table annotated with a
sentence of explanation.
47
Example 2.1.7 – Solution continued
48
Example 2.1.7 – Solution continued
49
Logical Equivalence
50
Example 2.1.9 – Applying De Morgan’s Laws
51
Example 2.1.9 – Solution
John is 180 cm tall and he weighs at least 90 kilograms.
b. The bus was not late and Tom’s watch was not slow.
52
Example 2.1.10 – Inequalities and De Morgan’s Laws
53
Example 2.1.10 – Solution
−1 < x ≤ 4.
The given statement is equivalent to
−1 < x and x ≤ 4.
54
Example 2.1.10 – Solution continued
55
Tautologies and Contradictions
56
Tautologies and Contradictions
57
Example 2.1.12 – Tautologies and Contradictions
58
Example 2.1.12 – Solution
59
Example 2.1.13 – Logical Equivalence Involving Tautologies and Contradictions
60
Example 2.1.13 – Solution
61
Summary of Logical Equivalences
62
Summary of Logical Equivalences
63
Example 2.1.14 – Simplifying Statement Forms
64
Example 2.1.14 – Solution
Use the laws of Theorem 2.1.1 to replace sections of the
statement form on the left by logically equivalent
expressions. Each time you do this, you obtain a logically
equivalent statement form. Continue making replacements
until you obtain the statement form on the right.
65
Example 2.1.14 – Solution continued
66