Part1 2existence
Part1 2existence
Discrete Mathematics
PART 2
GRAPH THEORY
(Lý thuyết đồ thị) 2
Contents of Part 1
Chapter 0: Sets, Relations
Chapter 1: Counting problem
Chapter 2: Existence problem
Chapter 3: Enumeration problem
Chapter 4: Combinatorial optimization problem
Chapter 2
Existence roblem
A
B
C
If P, Then Q
• In most theorems, exercises or tests, you need to prove the form "If P,
Then Q".
• In this example: “if a divides b and b divides c, then a divides c”
– "P" is "If a divides b and b divides c" and "Q" is "a divides c".
• This is the standard state of many theorems.
• The direct proof can be conceived as a series of inferences beginning
with "P" and ending with "Q":
P ... Q
Most of proof is direct. When you have to prove, try starting with direct
proof, unless you have a good reason not to.
Proof by contradiction:
Assume this does not happen (not Q: could not find any 3 consecutive segments
such that the sum of length of the first 2 segments is greater than that of the last).
2.2. Proof by Contradiction
• Proof by contradiction: Assume this does not happen (could not find any 3
consecutive segments such that the sum of length of the first 2 segments is greater
than that of the last). Thus, we have equalities:
a 1 + a2 a 3,
a 2 + a3 a 4,
a 3 + a4 a 5,
a 4 + a5 a 6,
a 5 + a6 a 7.
• As a1, a2 are greater than 10, we have a3 > 20. As a2 > 10 and a3 > 20, we
have a4 > 30, ..., continuing we have a5 > 50, a6 > 80 and a7 > 130.
• The last equalities a7 > 130 is contradiction with the given condition of the
problem: all segments has the length less than 100. Thus, the assumption is
false.
NGUYỄN KHÁNH PHƯƠNG
Bộ môn KHMT – ĐHBK HN
2.2. Proof by Contradiction
Example 6. The vertices of a decagon (a ten-sided polygon or 10-gon) decimal
are arbitrarily numbered by the integers 0, 1, ..., 9. Prove that you can always
find three consecutive vertices whose sum of the numbers is greater than 13.
Solution: Let x1, x2, . . ., x10 be the numbers assigned to the vertices of 1, 2, ...,
10 of the decagon.
Proof by contradiction:
Assume this does not happen (not Q: could not find any three consecutive
vertices to satisfy the assertion of the example). Then we have:
x1 + x2 + x3 13,
x2 + x3 + x4 13,
+ . . . . .
Summing side by side of all inequalities
x9 + x10 + x1 13,
x10 + x1 + x2 13,
3(x1 + x2 + . . . + x10) 130
2.2. Proof by Contradiction
• Summing side by side of all above inequalities, we have
3(x1 + x2 + . . . + x10) 130.
• On the other hand, as
3(x1 + x2 + . . . + x10)
= 3 (0 + 1 + 2 + . . . + 9)
= 135,
• Therefore:
135 = 3(x1 + x2 + . . . + x10) 130
The obtained contradiction proved the claim in the example to be
correct. .
Solution:
Suppose the opposite is finding a way to connect 31 computers so that
each computer is connected to exactly 5 other computers. Then the
number of connected channels is
5 x 31 / 2 = 75.5 ?! (not an integer)
The obtained absurdity proves the claim in the example to be true.
(n+1)5 – (n+1)
= [(n-1)+2]5 – [(n-1)+2]
= (n-1)5 + 10(n-1)4+40(n-1)3+80(n-1)2+80(n-1)+32
-(n-1) -2
= [(n-1)5 – (n-1)] + 10[(n-1)4 + 4(n-1)3 +8(n-1)2+8(n-1)+3]
10c
= 10 [c + (n-1)4 + 4(n-1)3 +8(n-1)2+8(n-1)+3]
integer
10 | (n+1)5 – (n+1)
Example 4
For all naturals n ≥ 0, we have 10| n5 – n
Proof: using strong induction
• Basic step: Prove P(0) is true.
When n = 0: we have 05-0=0 and 10|0 statement is true for n = 0
When n = 1: we have 15-1=0 and 10|0 statement is true for n = 1
• Inductive hypothesis: Assume P(k) is true 0 k n.
Asume k ≥ 0, and 10 | k5 – k is true for với 0 k n
As 0 n-1 n, inductive hypothesis implies that P(n-1) is true, so
(n-1)5 – (n-1) = 10c for c ℤ
• Inductive step: Prove P(n+1) is true
10 | (n+1)5 – (n+1)
Content
1. Introduction to existence problems
2. Basic proof methods
3. Dirichlet principle (pigeonhole principle)
• 7 objects
• 6 boxes
Proof. (Contradiction).
The reverse assumption is that one could not find a box containing 2 objects.
That means that each box contains 1 object.
The total number of objects put in n boxes n
Contrary to the given condition of problem that more than n objects are put in
them.
3.1. Dirichlet principle
The above principle has been successfully applied by the German
mathematician Dirichlet to solving many existence problems in
combinatorics.
It is also presented in the language of pigeons:
“If one put more than n pigeons into n pigeonholes, then at least one hole
has more than one pigeon ( 2).”
So the principle is also known as " Pigeonhole principle ".
"If putting n objects into k boxes, one could always find at least one box containing
n/k objects".
Proof by contradiction.
Example 6.
There are 50 baskets. Every basket contains apples, but not more than 24apples.
Prove that there are at least 3 baskets containing the same amount of apples.
Solution:
Number of Objects ~ Number of baskets 50 baskets
Number of Boxes ~ Number of apples in each basket 24 boxes
1 2 3 24
• Therefore, according to Dirichlet principle, two of these elements are equal. As the numbers
a1, ..., a30 are thirty distinct positive integer numbers and numbers a1+14, ..., a30+14 are thirty
distinct positive integer numbers, thus we could find index i and j such that ai = aj+14. It
means there are exactly 14 matches in the period from day j+1 to day i.
Example
Example 12. Prove that, among n+1 positive integer numbers, each not larger than 2n,
one could always find two numbers, such that one number is divisible by the other
Solution: Let the given numbers be
a1, a2, . . . , an+1 .
Write each number aj of n+1 above numbers in the form:
aj = 2k(j)qj , j = 1, 2, ..., n+1
where k(j) is a non-negative integer, qj is odd.
• Numbers q1, q2, ..., qn+1 are odd integers, each number is not greater than 2n.
• Integers from 1 to 2n, there are only n odd numbers, so according Dirichlet
principle we have: two numbers of (n+1) numbers q1, q2, ..., qn+1 are equal, it means
we could find two indices i and j such that qi = qj = q.
• Then
ai = 2k(i)q, aj = 2k(j)q.
So if k(i) < k(j) then aj is divisible by ai, and if k(i) k(j) then ai is divisible by aj.
Example
Example 13. On the plane, let’s consider 5 points with integer
coordinates Mi(xi, yi), i=1, 2, ..., 5. Prove that there are always two
points such that the segment connecting them, excluding the two
ends, passes through another point having integer coordinates.
Middle point
Solution. We prove that: always could find 2 points such that the
segment connecting these two points has the middle point with
integer coordinates. According to the parity of two coordinates, given
5 points could be divided into at most 4 groups:
(Even, Even), (Even, Odd), (Odd, Even), (Odd, Odd).