You are on page 1of 16

DISCRETE STRUCTURES

FINAL EXAM REVIEW

Question 1
(“Trái cây” 3, 10)
Prove:
Chứng minh:
1. ∃x ∈ Z such that x ≥ 69 and x2 - 69x + 96 ≥ 0.
2. Prove that (n + 1)3 ≥ 3n if n is a positive integer with n ≤ 4.
3. Prove that if n is an integer, then n2 ≥ n
4. If n is an odd integer, then n2 is odd
5. An integer a is a perfect square if there is an integer b such that a = b2. For example, 9 is a
perfect square because of 9 = 32. Prove that if m and n are both perfect squares, then n ∗
m is also a perfect square.
6. If n is an integer and 3n + 2 is odd, then n is odd
7. If n = a ∗ b, where a and b are positive integers, then a ≤ √n or b ≤ √n
8. Show that the proposition P(0) is true, where P (n) is "If n ≥ 1, then n2 ≥ n” and the
domain consists of all integers.
9. Let P(n) be "If a and b are positive integers with a ≥ b, then an ≥ bn", where the domain
consists of all nonnegative integers. Show that P(0) is true.
10. Show that at least four of any 22 days must fall on the same day of the week.
11. If n is an integer and n2 is even, then n is even.
12. For all natural numbers a; b and c where a2 + b2 = c2, we have a + b ≥ c.
13. Use a direct proof to show that the sum of two odd integers is even.
14. Show that the square of an even number is an even number using a direct proof.
15. Prove that if m + n and n + p are even integers, where m; n, and p are integers, then m + p
is even.
16. Show that if n is an integer and n3 + 5 is odd, then n is even
17. Prove the proposition P (0), where P (n) is the proposition "If n is a positive integer
greater than 1, then n2 ≥ n". What kind of proof did you use?
18. Prove the proposition P (1), where P (n) is the proposition "If n is a positive integer, then
n2 ≥ n". What kind of proof did you use?
19. If the following statement is true, prove it, otherwise give a counterexample: "The
square of an irrational number is irrational".
20. Prove that √2 is irrational by giving a proof by contradiction.
21. If x + y = 16, then x ≥ 8 or y ≥ 8.
22. 1 + 2 + … + n = n(n + 1)/2; ∀n ≥ 1
23. 1 + a + a2 +… + an = (an+1 - 1)/(a - 1); ∀n ≥ 1
24. What is sum of n first odd natural numbers? Prove your answer.

Question 2
(“Trái cây” 10 + bổ sung)
(a) Is this following relation reflexive, symetric, anti-symetric, transitive? Prove your answer. Is
it an equivalence relation? If it is, describe its equivalence class. Is it a partial order?
Quan hệ trên hình sau có tính chất phản xạ, đối xứng, phản xứng, bắc cầu không? Chứng minh
đáp án của mình. Đây có phải là một quan hệ tương đương không? Nếu phải, hãy mô tả các lớp
tương đương của nó. Đây có phải là một thứ tự bộ phận không?

(b) Let R be the relation of equal (=) between 2 number on N. Is R reflexive, symetric, anti-
symetric, transitive? Prove your answer. Is it an equivalence relation? If it is, describe its
equivalence class. Is it a partial order?
Gọi R là quan hệ nhị phân về tính bằng (=) giữa hai số trên tập N. Quan hệ R có tính chất phản
xạ, đối xứng, phản xứng, bắc cầu? Chứng minh đáp án của mình. Đây có phải là một quan hệ
tương đương không? Nếu phải, hãy mô tả các lớp tương đương của nó. Đây có phải là một thứ tự
bộ phận không?

(c) Let R be the relation of being subset (⊆) between 2 set. Is R reflexive, symetric, anti-
symetric, transitive? Prove your answer. Is it an equivalence relation? If it is, describe its
equivalence class. Is it a partial order?
Gọi R là quan hệ nhị phân về tập con (⊆) giữa hai tập hợp. Quan hệ R có tính chất phản xạ, đối
xứng, phản xứng, bắc cầu? Chứng minh đáp án của mình. Đây có phải là một quan hệ tương
đương không? Nếu phải, hãy mô tả các lớp tương đương của nó. Đây có phải là một thứ tự bộ
phận không?
(d) Let R be the relation of NOT being subset (⊄) between 2 set. Is R reflexive, symetric, anti-
symetric, transitive? Prove your answer. Is it an equivalence relation? If it is, describe its
equivalence class. Is it a partial order?
Gọi R là quan hệ nhị phân về KHÔNG là tập con (⊄) giữa hai tập hợp. Quan hệ R có tính chất
phản xạ, đối xứng, phản xứng, bắc cầu? Chứng minh đáp án của mình. Đây có phải là một quan
hệ tương đương không? Nếu phải, hãy mô tả các lớp tương đương của nó. Đây có phải là một
thứ tự bộ phận không?
(e) Let R be a binary relation defined on 2 integers as follow:
Gọi R là quan hệ nhị phân được định nghĩa trên hai số nguyên như sau:
∀a, b ∈ Z(aRb ↔ 2|(a + b))

Is R reflexive, symetric, anti-symetric, transitive? Prove your answer. Is it an equivalence


relation? If it is, describe its equivalence class. Is it a partial order?
Quan hệ R có tính chất phản xạ, đối xứng, phản xứng, bắc cầu? Chứng minh đáp án của mình.
Đây có phải là một quan hệ tương đương không? Nếu phải, hãy mô tả các lớp tương đương của
nó. Đây có phải là một thứ tự bộ phận không?
(f) Let R be a binary relation of “large or equal” on real number set R defined as follow:
Gọi R là quan hệ nhị phân "lớn hơn hoặc bằng" trên tập số thực R được phát biểu như sau:
∀x; y ∈ R; xRy ↔ x ≥ y

Is R reflexive, symetric, anti-symetric, transitive? Prove your answer. Is it an equivalence


relation? If it is, describe its equivalence class. Is it a partial order?
Quan hệ R có tính chất phản xạ, đối xứng, phản xứng, bắc cầu? Chứng minh đáp án của mình.
Đây có phải là một quan hệ tương đương không? Nếu phải, hãy mô tả các lớp tương đương của
nó. Đây có phải là một thứ tự bộ phận không?
(g) Let R be a binary relation between 2 real numbers such that “its product is not negative”
defined as follow:
Gọi R là quan hệ nhị phân giữa hai số thực mà "tích của chúng không âm" được phát biểu như
sau:
∀x; y ∈ R; xRy ↔ x ∗ y ≥ 0

Is R reflexive, symetric, anti-symetric, transitive? Prove your answer. Is it an equivalence


relation? If it is, describe its equivalence class. Is it a partial order?
Quan hệ R có tính chất phản xạ, đối xứng, phản xứng, bắc cầu? Chứng minh đáp án của mình.
Đây có phải là một quan hệ tương đương không? Nếu phải, hãy mô tả các lớp tương đương của
nó. Đây có phải là một thứ tự bộ phận không?
Question 3
(“Trái cây” 06)
(a) Prove that f : N  N, where f(n) = 6n + 9 is an injective function.
Chứng minh rằng f : N  N, trong đó f(n) = 6n + 9 là một đơn ánh.
(b) Prove that f : Z  N, where f(n) = n2 + 4 is NOT an injective function. Hint: you need to find
n1, n2 ∈ Z such that n1 ≠ n2 but f(n1) = f(n2).
Chứng minh rằng f : Z  N, trong đó f(n) = n2 + 4 KHÔNG là một đơn ánh. Gợi ý: bạn cần tìm
n1, n2 ∈ Z sao cho n1 ≠ n2 nhưng f(n1) = f(n2).
(c) Prove the theorem: if f : A  B is an injection and g : B  C is an injection, then the funtion
g ◦ f : A  C is an injection.
Chứng minh định lý: nếu f : A  B là một đơn ánh và g : B  C là một đơn ánh, thì ánh xạ g ◦ f
: A  C cũng là một đơn ánh.

Question 4
(“Trái cây” 06)
(a) Prove that: f : R  R, where f(x) = (6/9)x + (9/6) is a surjective function.
Chứng minh rằng f : R  R, trong đó f(x) = (6/9)x + (9/6) là một toàn ánh.
(b) Prove the theorem: if f : A  B is a surjective and g : B  C is surjective, then the funtion
g ◦ f : A  C is also surjective. That is, ∀c ∈ C: ∃a ∈ A.(g ◦ f)(a) = c. Hint: you should choose
arbitrary c ∈ C and prove that there is some a ∈ A such that (g ◦ f)(a) = c.
Chứng minh định lý: nếu f : A  B là một toàn ánh và g : B  C là một toàn ánh, thì ánh xạ
g ◦ f : A  C cũng là một toàn ánh. Tức là, ∀c ∈ C: ∃a ∈ A.(g ◦ f)(a) = c. Gợi ý: bạn nên chọn
ngẫu nhiên c ∈ C và chứng minh rằng có một số nào đó a ∈ A sao cho (g ◦ f)(a) = c.

Question 5
(“Trái cây” 06)
(a) Is this a bijective function: f : R+ R+, where f(x) = x2
Ánh xạ sau có phải là song ánh không: f : R+ R+, trong đó f(x) = x2
(b) Is this a bijective function: f : R  R+, where f(x) = x2
Ánh xạ sau có phải là song ánh không: f : R  R+, trong đó f(x) = x2
(c) Prove or disprove: if f : A  B and g : B  C are bijections, then g ◦ f is also a bijection.
Chứng minh hoặc bác bỏ: nếu f : A  B và g : B  C là song ánh, thì g ◦ f cũng là song ánh.
Question 6
(“Trái cây” 10)
1. Two teams are organized to play in rounds. Number of rounds is unlimited. The first team
wins the 3 round (it doesn't have to be consecutive) wins the game. If there is a winning team,
the game will be ended.
Hai đội bóng được tổ chức thi đấu theo từng hiệp. Số hiệp là không giới hạn. Nếu đội nào thắng
được 3 hiệp trước (không cần phải liền nhau) thì đội đó thắng. Có đội thằng thì trận đấu kết thúc.
(a) How many ways will the game be ended?
Có bao nhiêu cách để trận đấu kết thúc.
(b) Calculate the probability of “need at least 4 rounds to end the game”.
Tính xác suất cần ít nhất 4 hiệp để trận đấu kết thúc.

Question 7
(“Trái cây” 10)
Roll 2 standard dice.
Gieo hai viên xúc sắc.
(a) Indicate how many cases are possible when rolling 2 dice.
Cho biết có tất cả bao nhiêu khả năng có thể xảy ra khi gieo 2 viên xúc sắc.
(b) Calculate the probability of getting 8 scores by rolling 2 dice.
Tính xác suất để đạt 8 điểm khi gieo 2 viên xúc sắc.
(c) How likely is it that at least 1 dice have a score of 1.
Có bao nhiêu khả năng có ít nhất 1 viên xúc sắc có điểm là 1.
(d) If the score of one dice is 1. Calculate the probability that the other die is also 1.
Nếu điểm một viên xúc sắc là 1. Tính xác suất để viên còn lại cũng là 1.

Question 8
Tranverse the following trees in Pre-order, In-order and Post-order. What is the tree’s height?
Duyệt các cây sau đây theo thứ tự trước, thứ tự giữa và thứ tự sau. Chiều cao của cây là bao
nhiêu?
Question 9
Apply Prim’s/Kruskal’s/Dijstra’s algorithm to the following graphs.
Áp dụng thuật toán Prim/Kruskal/Dijstra trên các đồ thị sau.
Question 10
Which of these following pairs of graphs are isomophic? Prove your answer.
Cặp đồ thị nào sau đây là đẳng cấu? Chứng minh câu trả lời của bạn.

You might also like