Luyện tập / Chủ đề Combinatorics · Tổ hợp

Luyện tập Combinatorics (Tổ hợp & Xác suất)

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ê.

Tra cứu thuật ngữ Combinatorics (Tổ hợp & Xác suất): Mở Từ điển Toán tiếng Anh (14.000+ thuật ngữ kèm phiên âm & minh họa)

Có 427 bài tập Combinatorics · Tổ hợp · khối Lớp 8 · Đang hiển thị 15 câu ngẫu nhiên

Điểm: 0/15

Question 1

Khó · +30 điểm

Đề: AMC 10 2003B · Question 21 · Lớp 8–10

A bag contains two red beads and two green beads. You reach into the bag and pull out a bead, replacing it with a red bead regardless of the color you pulled out. What is the probability that all beads in the bag are red after three such replacements?

Chọn đáp án

Xem đáp án và lời giải

Đáp án: $\dfrac{9}{32}$

Initially, there are $2$ red and $2$ green beads in the bag. To have all $4$ beads red after $3$ draws, both green beads must be drawn during the $3$ draws (meaning exactly $2$ green beads and $1$ red bead are drawn): Case 1 (Green, Green, Red): First draw green: probability $\dfrac{2}{4} = \dfrac{1}{2}$. Bag now has $3$ red, $1$ green. Second draw green: probability $\dfrac{1}{4}$. Bag now has $4$ red. Third draw (red): probability $1$. Probability: $\dfrac{1}{2} \times \dfrac{1}{4} \times 1 = \dfrac{1}{8} = \dfrac{4}{32}$. Case 2 (Green, Red, Green): First draw green: probability $\dfrac{1}{2}$. Bag now has $3$ red, $1$ green. Second draw red: probability $\dfrac{3}{4}$. Bag still has $3$ red, $1$ green. Third draw green: probability $\dfrac{1}{4}$. Probability: $\dfrac{1}{2} \times \dfrac{3}{4} \times \dfrac{1}{4} = \dfrac{3}{32}$. Case 3 (Red, Green, Green): First draw red: probability $\dfrac{2}{4} = \dfrac{1}{2}$. Bag still has $2$ red, $2$ green. Second draw green: probability $\dfrac{2}{4} = \dfrac{1}{2}$. Bag now has $3$ red, $1$ green. Third draw green: probability $\dfrac{1}{4}$. Probability: $\dfrac{1}{2} \times \dfrac{1}{2} \times \dfrac{1}{4} = \dfrac{1}{16} = \dfrac{2}{32}$. Summing these probabilities: \[ \dfrac{4}{32} + \dfrac{3}{32} + \dfrac{2}{32} = \dfrac{9}{32}. \]

Question 3

Trung bình · +20 điểm

Đề: AMC 10 2001 · Question 13 · Lớp 8–10

A telephone number has the form $ABC - DEF - GHIJ$, where each letter represents a different digit. The digits in each part of the number are in decreasing order; that is, $A > B > C$, $D > E > F$, and $G > H > I > J$. Furthermore, $D, E$, and $F$ are consecutive even digits; $G, H, I$, and $J$ are consecutive odd digits; and $A + B + C = 9$. Find $A$.

Chọn đáp án

Xem đáp án và lời giải

Đáp án: $8$

All 10 digits $0, 1, 2, \dots, 9$ are used exactly once. The consecutive odd digits $G > H > I > J$ are 4 odd digits chosen from $\{1, 3, 5, 7, 9\}$. Thus $GHIJ$ is either $9, 7, 5, 3$ (leaving 1 as the remaining odd digit) or $7, 5, 3, 1$ (leaving 9 as the remaining odd digit). The three consecutive even digits $D > E > F$ must be either $8, 6, 4$ or $6, 4, 2$ or $4, 2, 0$. The remaining three digits form the set $\{A, B, C\}$ with $A > B > C$ and $A + B + C = 9$. If $GHIJ$ leaves 9, then 9 would have to be in $\{A, B, C\}$, but $A + B + C = 9$ with three distinct non-negative digits would require $9 + B + C = 9 \implies B + C = 0$, which is impossible since the digits are distinct. Thus, $GHIJ = 9, 7, 5, 3$, leaving 1 as the odd digit. Therefore, 1 must be one of $\{A, B, C\}$. Since 1 is in $\{A, B, C\}$, the other two digits in $\{A, B, C\}$ must be even digits whose sum is $9 - 1 = 8$. The pair of distinct even digits summing to 8 can be $\{8, 0\}$ or $\{6, 2\}$. If $\{A, B, C\} = \{8, 0, 1\}$, then the remaining even digits are $\{6, 4, 2\}$, which are consecutive even digits for $DEF = 6, 4, 2$. This satisfies all conditions! Here, $\{A, B, C\} = \{8, 1, 0\}$, so $A = 8, B = 1, C = 0$, and $A + B + C = 9$. If $\{A, B, C\} = \{6, 2, 1\}$, then the remaining even digits are $\{8, 4, 0\}$, which are not consecutive. Thus $A = 8$.

Một mặt bàn ô vuông cỡ $8 \times 8$ (gồm $64$ ô vuông nhỏ) bị cưa bỏ đi hai ô vuông ở hai góc đối diện nhau theo đường chéo, còn lại $62$ ô vuông. Người ta có $31$ viên gạch domino hình chữ nhật, mỗi viên phủ khít đúng $2$ ô vuông kề cạnh nhau. Hỏi có thể lát kín vừa khít $62$ ô còn lại bằng $31$ viên domino (không chồng lên nhau, không thừa ra ngoài) hay không?

Hình minh họa câu 1
Chọn đáp án

Xem đáp án và lời giải

Đáp án: Không thể lát được, vì $62$ ô còn lại gồm $32$ ô cùng một màu và chỉ $30$ ô màu kia trên bàn cờ.

Lối mòn dễ mắc: Thấy diện tích $62 = 31 \times 2$ vừa khít nên nhiều người cặm cụi xếp thử hàng giờ mà luôn bị kẹt lại $2$ ô lẻ rời nhau ở cuối!

Đổi câu hỏi (Chìa khóa): Hãy tô màu đen – trắng xen kẽ như bàn cờ vua và hỏi: «Mỗi viên domino luôn che phủ mấy ô trắng, mấy ô đen?»

Lời giải gọn đẹp:

  • Hai ô kề chung cạnh luôn khác màu nhau, nên mỗi viên domino bắt buộc phủ đúng $1$ ô trắng và $1$ ô đen.
  • Do đó, bất kỳ vùng nào lát kín được bởi $31$ viên domino đều phải có đúng $31$ ô trắng và $31$ ô đen!
  • Thế nhưng hai góc đối diện nhau trên đường chéo bàn cờ $8 \times 8$ luôn có cùng một màu (cùng trắng hoặc cùng đen). Khi cưa bỏ hai góc cùng màu đó, phần còn lại có $32$ ô màu này nhưng chỉ có $30$ ô màu kia ($32 \ne 30$) $\implies$ tuyệt đối không thể lát kín!

Two fair $6$-sided dice are rolled. What is the probability that the sum of the two numbers rolled is $8$?

Chọn đáp án

Xem đáp án và lời giải

Đáp án: $\dfrac{5}{36}$

Out of $6 \times 6 = 36$ equally likely outcomes, $5$ pairs sum to $8$, giving probability $\dfrac{5}{36} = 5/36$.

Số cách hoán vị $n$ phần tử phân biệt là $n!$. Với $n = 5$ và $n = 6$, số hoán vị tương ứng lần lượt là bao nhiêu?

Hình minh họa câu 15
Chọn đáp án

Xem đáp án và lời giải

Đáp án: $120$ và $720$

Số hoán vị của $n$ phần tử là giai thừa $n! = n \times (n-1) \times \dots \times 1$:

  • Với $n = 3$: $3! = 6$
  • Với $n = 4$: $4! = 24$
  • Với $n = 5$: $5! = 5 \times 24 = 120$
  • Với $n = 6$: $6! = 6 \times 120 = 720$
  • Với $n = 10$: $10! = 3.628.800$.

Question 8

Cực khó · +50 điểm

Đề: AMC 10 2012A · Question 23 · Lớp 8–10

Adam, Benin, Chiang, Deshawn, Esther, and Fiona have internet accounts. Some, but not all, of them are internet friends with each other, and none of them has an internet friend outside this group. Each of them has the same number of internet friends. In how many different ways can this happen?

Chọn đáp án

Xem đáp án và lời giải

Đáp án: $170$

This situation can be modeled with a graph having these six people as vertices, in which two vertices are joined by an edge if and only if the corresponding people are internet friends. Let $n$ be the number of friends each person has; then $1 \leqslant n \leqslant 4$. If $n = 1$, then the graph consists of three edges sharing no endpoints. There are $5$ choices for Adam's friend and then $3$ ways to partition the remaining $4$ people into $2$ pairs of friends, for a total of $5 \cdot 3 = 15$ possibilities. The case $n = 4$ is complementary, with non-friendship playing the role of friendship, so there are $15$ possibilities in that case as well.

For $n = 2$, the graph must consist of cycles, and the only two choices are two triangles ($3$-cycles) and a hexagon ($6$-cycle). In the former case, there are $\binom{5}{2} = 10$ ways to choose two friends for Adam and that choice uniquely determines the triangles. In the latter case, every permutation of the six vertices determines a hexagon, but each hexagon is counted $6 \cdot 2 = 12$ times, because the hexagon can start at any vertex and be traversed in either direction. This gives $\dfrac{6!}{12} = 60$ hexagons, for a total of $10 + 60 = 70$ possibilities. The complementary case $n = 3$ provides $70$ more. The total is therefore $15 + 15 + 70 + 70 = 170$.

Question 9

Cực khó · +50 điểm

Đề: AMC 10 2009 · Question 48 · Lớp 8–10

Rachel and Robert run on a circular track. Rachel runs counterclockwise and completes a lap every $90$ seconds, and Robert runs clockwise and completes a lap every $80$ seconds. Both start from the start line at the same time. At some random time between $10$ minutes and $11$ minutes after they begin to run, a photographer standing inside the track takes a picture that shows one-fourth of the track, centered on the starting line. What is the probability that both Rachel and Robert are in the picture?

Hình minh họa câu 48
Chọn đáp án

Xem đáp án và lời giải

Đáp án: $\dfrac{3}{16}$

Let the track have length $1$, with the starting line at position $0$. The picture shows one-fourth of the track centered at $0$, which corresponds to the interval $\left[-\dfrac{1}{8}, \dfrac{1}{8}\right]$ on the track. The time interval is from $10$ to $11$ minutes, which is $600$ to $660$ seconds (a $60$-second window). Rachel runs counterclockwise with lap time $90$ seconds. At $t = 600$, $600 = 6 \times 90 + 60$, so Rachel is at position $\dfrac{60}{90} = \dfrac{2}{3} \equiv -\dfrac{1}{3}$. During the $60$-second interval $[600, 660]$, her time goes from $600$ to $660$, covering $\dfrac{60}{90} = \dfrac{2}{3}$ of a lap. She enters the photo region $\left[-\dfrac{1}{8}, \dfrac{1}{8}\right]$ when her position mod $1$ is in $\left[-\dfrac{1}{8}, \dfrac{1}{8}\right]$. Robert runs clockwise with lap time $80$ seconds. At $t = 600$, $600 = 7 \times 80 + 40$, so Robert is at position $-\dfrac{40}{80} = -\dfrac{1}{2}$. By analyzing the overlap of the time intervals in $[600, 660]$ during which both Rachel and Robert are inside the photo region: Rachel is in the picture for $90 \times \dfrac{1}{4} = 22.5$ seconds during $[600, 660]$. Robert is in the picture for $80 \times \dfrac{1}{4} = 20$ seconds during $[600, 660]$. The intersection of these two time intervals has total length $11.25$ seconds out of the $60$-second interval. Therefore, the probability is: \[ \dfrac{11.25}{60} = \dfrac{45/4}{60} = \dfrac{45}{240} = \dfrac{3}{16}. \]

Question 10

Dễ · +10 điểm

Đề: 2002 AMC 8 · Question 2 · Lớp 6–8

How many different combinations of 5-dollar bills and 2-dollar bills can be used to make a total of 17 dollars? Order does not matter in this problem.

Chọn đáp án

Xem đáp án và lời giải

Đáp án: $2$

Since the total of 17 dollars is odd, there must be an odd number of 5-dollar bills. One 5-dollar bill plus six 2-dollar bills is a solution, as is three 5-dollar bills plus one 2-dollar bill. Five 5-dollar bills exceeds 17 dollars, so these are the only two combinations that work.

Có bao nhiêu cách phân tích số 64 thành tổng của 10 số tự nhiên, mỗi số nhận giá trị từ 1 đến 12 (hai cách phân tích chỉ khác nhau thứ tự các số hạng được xem là như nhau)?

Chọn đáp án

Xem đáp án và lời giải

Đáp án: Bằng số cách phân tích số $56$ thành tổng của $10$ số tự nhiên từ $0$ đến $11$

Xét phân tích $1 \leqslant x_1 \leqslant x_2 \leqslant \dots \leqslant x_{10} \leqslant 12$ thỏa mãn $\sum_{i=1}^{10} x_i = 64$.

  • Đặt $y_i = 13 - x_{11-i}$. Khi đó $1 \leqslant y_1 \leqslant y_2 \leqslant \dots \leqslant y_{10} \leqslant 12$ và tổng của chúng là: $$\sum_{i=1}^{10} y_i = 10 \times 13 - \sum_{i=1}^{10} x_i = 130 - 64 = 66$$
  • Nếu đặt $z_i = x_i - 1 \in \{0, 1, \dots, 11\}$, bài toán tương đương với tìm số phân hoạch của $64 - 10 = 54$ thành tối đa 10 phần, mỗi phần không quá 11.

Arnold đưa ra bài toán này để học sinh nhận thức được tính đối xứng đẹp đẽ của hàm sinh và lý thuyết phân hoạch số (partitions of integers).

Question 12

Cực khó · +50 điểm

Đề: AMC 10 2010A · Question 23 · Lớp 8–10

Each of $2010$ boxes in a line contains a single red marble, and for $1 \leqslant k \leqslant 2010$, the box in the $k^{\text{th}}$ position also contains $k$ white marbles. Isabella begins at the first box and successively draws a single marble at random from each box, in order. She stops when she first draws a red marble. Let $\mathrm{P}(n)$ be the probability that Isabella stops after drawing exactly $n$ marbles. What is the smallest value of $n$ for which $\mathrm{P}(n) < \dfrac{1}{2010}$?

Chọn đáp án

Xem đáp án và lời giải

Đáp án: $45$

If Isabella reaches the $k^{\text{th}}$ box, she will draw a white marble from it with probability $\dfrac{k}{k + 1}$. For $n \geqslant 2$, the probability that she will draw white marbles from each of the first $n - 1$ boxes is \[ \dfrac{1}{2} \cdot \dfrac{2}{3} \cdot \dfrac{3}{4} \cdots \dfrac{n - 1}{n} = \dfrac{1}{n}, \] so the probability that she will draw her first red marble from the $n^{\text{th}}$ box is $\mathrm{P}(n) = \dfrac{1}{n(n + 1)}$. The condition $\mathrm{P}(n) < \dfrac{1}{2010}$ is equivalent to $n^2 + n - 2010 > 0$, from which $n > \dfrac{1}{2}(-1 + \sqrt{8041})$ and $(2n + 1)^2 > 8041$. The smallest positive odd integer whose square exceeds $8041$ is $91$, and the corresponding value of $n$ is $45$.

Question 13

Trung bình · +20 điểm

Đề: AMC 10 2012B · Question 10 · Lớp 8–10

How many ordered pairs of positive integers $(M, N)$ satisfy the equation $\dfrac{M}{6} = \dfrac{6}{N}$?

Chọn đáp án

Xem đáp án và lời giải

Đáp án: $9$

Multiplying the given equation by $6N$ gives $MN = 36$. The divisors of $36$ are $1, 2, 3, 4, 6, 9, 12, 18$, and $36$. Each of these divisors can be paired with a divisor to make a product of $36$. Hence there are $9$ ordered pairs $(M, N)$.

Question 14

OpenStax Elementary Algebra 2e · §6.5, Ex. 6 — CC BY 4.0
Trung bình · +20 điểm

Đề: OpenStax Elementary Algebra 2e · Ch.6: Polynomials (Phần 1) · Question 17 · Lớp 7–9

Expand the square of the binomial: $((y-6))^{2}$

Xem đáp án và lời giải

Đáp án: $y^{2}-12y+36$

Lời giải:

Thực hiện trong ngoặc, tính lũy thừa, nhân/chia trước cộng/trừ và gộp hạng tử đồng dạng:

$$((y-6))^{2}=y^{2} - 12 y + 36$$

Nguồn học liệu gốc (CC BY 4.0): OpenStax Elementary Algebra 2e, Chapter 6 (Polynomials), §6.5 (Special Products), Exercise 6.

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?

Hình minh họa câu 19
Chọn đáp án

Xem đáp án và lời giải

Đá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:

  • Nếu ngay từ đầu bạn chọn đúng hộp có quà (xác suất chỉ là $\dfrac{1}{3}$), thì đổi hộp bạn mới thua.
  • Ngược lại, nếu ban đầu bạn chọn trúng hộp rỗng (xác suất tới $\dfrac{2}{3}$!), thì giải thưởng chắc chắn đang nằm ở hai hộp kia — và MC đã dọn hộ bạn chiếc hộp rỗng còn lại, ép giải thưởng dồn trọn vẹn vào chiếc hộp duy nhất chưa mở!
  • Vậy đổi hộp giúp bạn thắng trong mọi lần bạn đoán trật lúc đầu, tức xác suất thắng bằng $\dfrac{2}{3}$!

Cài đặt ứng dụng O₂ Education

Thêm O₂ Education vào Màn hình chính trên iPhone / iPad để học nhanh như ứng dụng gốc:

  1. Nhấn biểu tượng Chia sẻ trên thanh công cụ Safari.
  2. Cuộn xuống và chọn Thêm vào MH chính (Add to Home Screen).
  3. Nhấn Thêm ở góc trên bên phải để hoàn tất.