Question 1
At a meeting, $8$ students each shake hands with every other student exactly once. How many handshakes take place in total?
Xem đáp án và lời giải
Đáp án: $28$
Số cái bắt tay là $\dfrac{8 \times (8 - 1)}{2} = 28$.
Luyện tập / Chủ đề Combinatorics · Tổ hợp
Bài tập quy tắc đếm, hoán vị, chỉnh hợp, tổ hợp, nguyên lý Dirichlet, bất biến và xác suất thống kê.
Đăng nhập để lưu tiến độ và tích lũy điểm trên bảng xếp hạng.
At a meeting, $8$ students each shake hands with every other student exactly once. How many handshakes take place in total?
Đáp án: $28$
Số cái bắt tay là $\dfrac{8 \times (8 - 1)}{2} = 28$.
The table summarizes the exam results of $73$ students by study mode. If a student is selected at random from those who Passed, what is the probability that the student studied In-Person?
Đáp án: $\dfrac{10}{21}$
Restricting to the Passed column gives $22 + 20 = 42$ students, of whom $20$ studied In-Person: $\dfrac{20}{42} = \dfrac{10}{21}$.
Trên một bảng lưới gồm $3$ hàng ngang và $n$ cột dọc, mỗi nút lưới được tô bởi một trong hai màu Đỏ hoặc Xanh. Tìm giá trị nhỏ nhất của $n$ để với mọi cách tô màu, ta luôn tìm được $4$ nút lưới nằm ở $4$ đỉnh của một hình chữ nhật (có cạnh song song trục lưới) mang cùng một màu!
Đáp án: $7$
Lối mòn dễ mắc: Thử đếm tất cả $2^{3n}$ bảng màu là bất khả thi; nếu dùng thô thiển số loại cột $2^3 = 8 \implies n = 9$ thì đáp số vẫn chưa phải nhỏ nhất!
Đổi câu hỏi (Chìa khóa): Trên mỗi cột gồm $3$ nút tô bằng $2$ màu Đỏ – Xanh, theo nguyên lý Dirichlet luôn có ít nhất $2$ nút cùng màu!
Lời giải gọn đẹp:
A container holds $14$ red marbles and $13$ blue marbles. If $2$ marbles are drawn at random without replacement, what is the probability that both marbles drawn are red?
Đáp án: $\dfrac{7}{27}$
Không hoàn lại (without replacement): xác suất là $\dfrac{14}{27} \times \dfrac{13}{26} = \dfrac{7}{27}$.
A $3$-person committee is to be formed from $5$ analysts and $4$ engineers. In how many ways can the committee be chosen if it must include at least $2$ engineers? (Enter a number only)
Đáp án: $34$
Dùng phần bù: tổng số cách chọn $\binom{9}{3} = 84$ trừ đi các cách có ít hơn $2$ kỹ sư, cho kết quả $34$.
Flip a balanced and homogeneous coin four times. The probability of tails appearing four times is
Tung một đồng xu cân đối và đồng chất bốn lần. Xác suất để cả bốn lần đều xuất hiện mặt sấp là:
Đáp án: $\dfrac{1}{16}$
Gieo đồng xu cân đối 4 lần, số kết quả có thể là $2^4 = 16$. Kết quả xuất hiện 4 lần mặt sấp chỉ có 1 trường hợp. Xác suất là $\dfrac{1}{16}$.
In how many different ways can $5$ delegates sit in a row of $5$ seats if Klara and Maya insist on sitting adjacent to one another?
Đáp án: $48$
Coi $2$ người ngồi cạnh nhau như $1$ nhóm, khi đó có $(4)!$ cách xếp $4$ phần tử và $2$ cách đổi chỗ $2$ người: $48$.
Trong một trò chơi truyền hình có $3$ hộp quà đóng kín, bên trong chỉ có đúng $1$ hộp chứa giải thưởng lớn, còn $2$ hộp kia hoàn toàn rỗng. Đầu tiên bạn chọn Hộp $1$ (chưa mở). Người dẫn chương trình — người biết rõ giải thưởng nằm ở đâu — chủ động mở một trong hai hộp còn lại là Hộp $2$ cho bạn thấy nó rỗng, rồi hỏi bạn: «Bạn muốn giữ nguyên Hộp $1$ hay đổi sang Hộp $3$?». Quyết định nào có lợi hơn và xác suất trúng thưởng là bao nhiêu?
Đáp án: Nên ĐỔI sang Hộp $3$: xác suất trúng thưởng tăng gấp đôi từ $1/3$ lên $2/3$!
Lối mòn dễ mắc: Trực giác đánh lừa rất nhiều người rằng «còn $2$ hộp thì mỗi hộp $50-50$» — quên mất rằng MC không mở bừa mà cố tình né hộp có quà!
Đổi câu hỏi (Chìa khóa): Đổi sang câu hỏi: «Khi nào chiến thuật ĐỔI HỘP giúp bạn thắng, và khi nào nó làm bạn thua?»
Lời giải gọn đẹp:
How many distinct $4$-digit PIN codes can be formed using the digits $1, 2, 3, 4, 5, 6$ if repetition is allowed?
Đáp án: $1296$
Answer / Đáp án: 1296
$6^4 = 1296$.
Nguồn học liệu gốc: Everything Maths Grade 11 & 12 · Siyavula & FHSST Contributors (CC BY 3.0, github.com/Siyavula/siyavula-books).
Two independent units handle incoming requests. The probability that Node $A$ succeeds is $\dfrac{2}{5}$, and the probability that Node $B$ succeeds is $\dfrac{1}{2}$. What is the probability that at least one unit succeeds?
Đáp án: $\dfrac{7}{10}$
Xác suất cả hai cùng thất bại là $\left(1 - \dfrac{2}{5}\right)\left(1 - \dfrac{1}{2}\right)$. Lấy $1$ trừ đi tích này ta được $\dfrac{7}{10}$.
In how many ways can $3$ identical rooks be placed on this $4 \times 4$ board so that no two rooks share a row or a column?
Đáp án: $96$
A badge code has $2$ distinct letters selected from $6$ allowed letters, followed by $2$ digits selected from $10$ allowed digits. How many valid badge codes exist?
Đáp án: $3000$
Theo quy tắc nhân (multiplication principle): chọn chữ cái có $30$ cách, chọn chữ số có $100$ cách. Tổng số mã là $30 \times 100 = 3000$.
Alice, Bob, and Carol play a game in which each of them chooses a real number between $0$ and $1$. The winner of the game is the one whose number is between the numbers chosen by the other two players. Alice announces that she will choose her number uniformly at random from all the numbers between $0$ and $1$, and Bob announces that he will choose his number uniformly at random from all the numbers between $\dfrac{1}{2}$ and $\dfrac{2}{3}$. Armed with this information, what number should Carol choose to maximize her chance of winning?
Đáp án: $\dfrac{13}{24}$
Let $A \sim U(0, 1)$ be Alice's choice and $B \sim U\left(\dfrac{1}{2}, \dfrac{2}{3}\right)$ be Bob's choice. Carol chooses a fixed number $c \in (0, 1)$. Carol wins if $c$ lies strictly between $A$ and $B$, which occurs in two disjoint cases: \[ A < c < B \text{ or } B < c < A. \] Clearly, to maximize this probability, Carol should choose $c \in \left[\dfrac{1}{2}, \dfrac{2}{3}\right]$. For $c \in \left[\dfrac{1}{2}, \dfrac{2}{3}\right]$: $$\begin{aligned} P(A < c < B) &= P(A < c) \cdot P(B > c) = c \cdot \dfrac{\dfrac{2}{3} - c}{\dfrac{2}{3} - \dfrac{1}{2}} = 6c\left(\dfrac{2}{3} - c\right) = 4c - 6c^2, \\ P(B < c < A) &= P(B < c) \cdot P(A > c) = \dfrac{c - \dfrac{1}{2}}{\dfrac{1}{6}} \cdot (1 - c) = 6\left(c - \dfrac{1}{2}\right)(1 - c) = (6c - 3)(1 - c). \end{aligned}$$ Summing the two probabilities: $$\begin{aligned} P(c) &= (4c - 6c^2) + (6c - 6c^2 - 3 + 3c) \\ &= -12c^2 + 13c - 3. \end{aligned}$$ This is a downward-opening quadratic in $c$. Its maximum occurs at the vertex: \[ c = -\dfrac{13}{2(-12)} = \dfrac{13}{24}. \] Notice that $\dfrac{1}{2} = \dfrac{12}{24} < \dfrac{13}{24} < \dfrac{16}{24} = \dfrac{2}{3}$, so $c = \dfrac{13}{24}$ lies in the interval. Therefore, Carol should choose $\dfrac{13}{24}$.
Events $A$ and $B$ are independent with $P(A) = 0.3$ and $P(B) = 0.5$. What is $P(A \cup B)$?
Đáp án: $0.65$
For independent events, $P(A \cap B) = 0.3 \times 0.5 = 0.15$, so $P(A \cup B) = 0.3 + 0.5 - 0.15 = 0.65$.
In a club, $14$ students take only Math, $6$ take only CS, $7$ take both, and $4$ take neither. How many students are in the club?
Đáp án: $31$