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ó 819 bài tập Combinatorics · Tổ hợp · khối Lớp 10 · Trang 10/55 (Question 136–150)

Điểm: 0/15

Nối $n$ đỉnh được đánh số $1, 2, \dots, n$ bởi $n-1$ cạnh để tạo thành một đồ thị cây có nhãn. Theo công thức Cayley, với $n = 5$ đỉnh có tất cả bao nhiêu cây khác nhau?

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

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

Đáp án: 125 cây ($5^3$)

Công thức cây của Cayley (Cayley's Formula): Số cây có nhãn khác nhau trên $n$ đỉnh phân biệt là: $$T_n = n^{n-2}$$ Kiểm tra:

  • $n = 2: 2^0 = 1$
  • $n = 3: 3^1 = 3$
  • $n = 4: 4^2 = 16$
  • Với $n = 5$: $$T_5 = 5^{5-2} = 5^3 = 125 \text{ cây}$$

Công thức này có thể thiết lập thông qua phép tương ứng 1-1 với dãy mã Prüfer độ dài $n-2$.

Một hoán vị $(x_1, x_2, \dots, x_n)$ của $\{1, 2, \dots, n\}$ gọi là “con rắn” (hoán vị zigzag đan xen) nếu $x_1 < x_2 > x_3 < x_4 > \dots$ Số lượng con rắn độ dài $n = 10$ (số Euler $E_{10}$) bằng bao nhiêu?

Chọn đáp án

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

Đáp án: $50.521$

Các số lượng hoán vị đan xen (số con rắn) $s_n$ thỏa mãn bảng số Entringer:

  • $s_1 = 1$
  • $s_2 = 1$
  • $s_3 = 2$
  • $s_4 = 5$
  • $s_5 = 16$
  • $s_6 = 61$
  • $s_7 = 272$
  • $s_8 = 1.385$
  • $s_9 = 7.936$
  • $s_{10} = 50.521$

Số con rắn có độ dài 10 là đúng $50.521$.

Xác suất để một phân số tạo bởi hai số nguyên ngẫu nhiên $\dfrac{p}{q}$ là một phân số tối giản (tức $\gcd(p, q) = 1$) bằng bao nhiêu?

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

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

Đáp án: $\dfrac{6}{\pi^2} \approx 60{,}79\%$

Xác suất để hai số nguyên ngẫu nhiên không cùng chia hết cho một số nguyên tố $p$ là $1 - \dfrac{1}{p^2}$. Vì tính chia hết cho các số nguyên tố khác nhau là độc lập, xác suất để $\gcd(p, q) = 1$ là tích vô hạn Euler: $$P = \prod_{p} \left(1 - \dfrac{1}{p^2}\right) = \dfrac{1}{\sum_{n=1}^\infty \dfrac{1}{n^2}} = \dfrac{1}{\zeta(2)}$$ Theo bài toán Basel, $\zeta(2) = \dfrac{\pi^2}{6}$. Do đó: $$P = \dfrac{1}{\dfrac{\pi^2}{6}} = \dfrac{6}{\pi^2} \approx 0{,}607927 = 60{,}79\%$$

Matchsticks are arranged to build a row of connected squares: $1$ square uses $4$ matches, $2$ connected squares use $7$ matches, and $3$ connected squares use $10$ matches. How many matchsticks are required to build a row of $25$ connected squares?

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

Đáp án: $76$

Answer / Đáp án: 76

The first square needs $4$ matchsticks and each additional square adds $3$ matchsticks: $T_n = 3n + 1$. For $n = 25$: $T_{25} = 3(25) + 1 = 76$.

Nguồn học liệu gốc: Everything Maths Grade 10 · Siyavula & FHSST Contributors (CC BY 3.0).

(Blaise Pascal & Xác suất đồng xu) Tung đồng thời $4$ đồng xu cân đối giống hệt nhau. Tính xác suất để thu được đúng $2$ mặt Ngửa và $2$ mặt Sấp.

Chọn đáp án

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

Đáp án: $3/8$

Tổng số kết quả có thể là $2^4 = 16$. Số cách chọn $2$ trong $4$ đồng xu ra mặt Ngửa là $\binom{4}{2} = 6$ (chính là số ở hàng 4 của Tam giác Pascal: 1, 4, 6, 4, 1). Xác suất là $\dfrac{6}{16} = \dfrac{3}{8}$.

Trong buổi tổng kết có $50$ học sinh, mỗi bạn bỏ $1$ tấm thiệp ghi tên mình vào thùng thăm rồi nhắm mắt bốc trả lại ngẫu nhiên mỗi người $1$ tấm thiệp (mọi cách chia đều đồng khả năng). Gọi $X$ là số học sinh tình cờ bốc trúng lại tấm thiệp của chính mình. Giá trị trung bình (kỳ vọng toán học) của $X$ bằng bao nhiêu?

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

Đáp án: $1$

Lối mòn dễ mắc: Cố đếm số hoán vị có $0, 1, 2, \dots, 50$ điểm bất động trong $50!$ trường hợp là cơn ác mộng tổ hợp.

Đổi câu hỏi (Chìa khóa): Nhờ tính chất cộng của kỳ vọng, ta tách bài toán $50$ người thành $50$ bài toán siêu nhỏ cho từng học sinh riêng lẻ!

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

  • Xét riêng học sinh thứ $i$: có $50$ tấm thiệp đồng khả năng nên xác suất bạn đó nhận đúng thiệp của mình là $\dfrac{1}{50}$ (tức đóng góp trung bình $\dfrac{1}{50}$ thiệp đúng).
  • Cộng trung bình trên cả $50$ học sinh (tính tuyến tính của kỳ vọng đúng cả khi các sự kiện phụ thuộc nhau!): $$E(X) = 50 \times \dfrac{1}{50} = 1.$$ Dù lớp có $10$ bạn hay $1000$ bạn, trung bình vẫn luôn có đúng $1$ bạn nhận lại thiệp của mình!

Một gia đình có đúng $2$ người con. Biết rằng ít nhất một trong hai người con là con gái. Giả sử xác suất sinh trai và gái là như nhau ($50\%$), tính xác suất để cả hai người con đều là con gái.

Chọn đáp án

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

Đáp án: $1/3$

Không gian mẫu $2$ con đồng khả năng ban đầu là {Gái-Gái, Gái-Trai, Trai-Gái, Trai-Trai}. Biết có ít nhất $1$ con gái nên loại Trai-Trai, còn $3$ khả năng đồng xác suất. Chỉ có $1$ trường hợp Gái-Gái, nên xác suất là $\dfrac{1}{3}$.

Tại $4$ đỉnh của một hình vuông có $4$ con robot. Cùng một lúc, mỗi robot chọn ngẫu nhiên một trong hai cạnh kề với nó rồi đi thẳng dọc theo cạnh đó với cùng vận tốc tới đỉnh kế tiếp. Tính xác suất để không có hai robot nào va chạm nhau trên đường đi hoặc tại đỉnh đích.

Chọn đáp án

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

Đáp án: $1/8$

Mỗi robot có $2$ lựa chọn hướng đi (theo chiều kim đồng hồ hoặc ngược chiều kim đồng hồ), nên tổng số cách chọn cho cả $4$ robot là $2^4 = 16$ trường hợp đồng khả năng. Để không va chạm trên cạnh hoặc đụng nhau tại đỉnh đích, cả $4$ robot bắt buộc phải đi cùng theo chiều kim đồng hồ hoặc cùng ngược chiều kim đồng hồ — chỉ có đúng $2$ trường hợp thuận lợi. Xác suất cần tìm là $\dfrac{2}{16} = \dfrac{1}{8}$.

Question 144

Khó · +30 điểm

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

Pat wants to buy four donuts from an ample supply of three types of donuts: glazed, chocolate, and powdered. How many different selections are possible?

Chọn đáp án

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

Đáp án: $15$

Let $g, c, p$ be the number of glazed, chocolate, and powdered donuts chosen, respectively. We need to find the number of non-negative integer solutions to \[ g + c + p = 4. \] Using the stars and bars method, the number of solutions is \[ \binom{4 + 3 - 1}{3 - 1} = \binom{6}{2} = \dfrac{6 \times 5}{2} = 15. \] Thus, 15 different selections are possible.

Question 145

Khó · +30 điểm

Đề: AMC 10 2003A · Question 20 · Lớp 8–10

A base-10 three-digit number $n$ is selected at random. Which of the following is closest to the probability that the base-9 representation and the base-11 representation of $n$ are both three-digit numerals?

Chọn đáp án

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

Đáp án: $0.7$

The largest base-9 three-digit number is $9^3 - 1 = 728$ and the smallest base-11 three-digit number is $11^2 = 121$. There are $608$ integers that satisfy $121 \leqslant n \leqslant 728$, and $900$ three-digit numbers altogether, so the probability is \[ \dfrac{608}{900} \approx 0.7. \]

Question 146

Khó · +30 điểm

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

Pat is to select six cookies from a tray containing only chocolate chip, oatmeal, and peanut butter cookies. There are at least six of each of these three kinds of cookies on the tray. How many different assortments of six cookies can be selected?

Chọn đáp án

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

Đáp án: $28$

The numbers of the three types of cookies must have a sum of six. Possible sets of whole numbers whose sum is six are \[ 0{,}0{,}6; 0{,}1{,}5; 0{,}2{,}4; 0{,}3{,}3; 1{,}1{,}4; 1{,}2{,}3; \text{ and } 2{,}2{,}2. \] Every ordering of each of these sets determines a different assortment of cookies. There are $3$ orders for each of the sets $0{,}0{,}6$; $0{,}3{,}3$; and $1{,}1{,}4$. There are $6$ orders for each of the sets $0{,}1{,}5$; $0{,}2{,}4$; and $1{,}2{,}3$. There is only one order for $2{,}2{,}2$. Therefore the total number of assortments of six cookies is \[ 3 \cdot 3 + 3 \cdot 6 + 1 = 28. \]

Another approach: Construct eight slots, six to place the cookies in and two to divide the cookies by type. Let the number of chocolate chip cookies be the number of slots to the left of the first divider, the number of oatmeal cookies be the number of slots between the two dividers, and the number of peanut butter cookies be the number of slots to the right of the second divider. For example, $111 \mid 11 \mid 1$ represents three chocolate chip cookies, two oatmeal cookies, and one peanut butter cookie. There are $C_8^2 = 28$ ways to place the two dividers, so there are $28$ ways to select the six cookies.

Question 147

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 148

Khó · +30 điểm

Đề: AMC 10 2005A · Question 18 · Lớp 8–10

Team A and team B play a series. The first team to win three games wins the series. Each team is equally likely to win each game, there are no ties, and the outcomes of the individual games are independent. If team B wins the second game and team A wins the series, what is the probability that team B wins the first game?

Chọn đáp án

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

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

Let $A$ and $B$ denote a win by team A and team B, respectively. We are given that team B wins the second game ($\_ B \dots$) and team A wins the series (reaches $3$ wins before team B reaches $3$ wins). Since team A must win $3$ games, team A wins either in $4$ games or in $5$ games: Series ends in 4 games: Team A wins $3$ games and team B wins $1$ game. Since B won game 2, the only sequence is $ABAA$. The probability of this specific $4$-game sequence is $\left(\dfrac{1}{2}\right)^4 = \dfrac{1}{16} = \dfrac{2}{32}$. Series ends in 5 games: Team A wins $3$ games and team B wins $2$ games, with team A winning game $5$. Since B won game 2, team B must win exactly one of games $1, 3, 4$: If B wins game 1: the sequence is $BBAAA$. If B wins game 3: the sequence is $ABBAA$. If B wins game 4: the sequence is $ABABA$. Each of these three $5$-game sequences has probability $\left(\dfrac{1}{2}\right)^5 = \dfrac{1}{32}$. The total probability of all favorable sequences satisfying the condition is: \[ P(\text{total}) = \dfrac{2}{32} + \dfrac{1}{32} + \dfrac{1}{32} + \dfrac{1}{32} = \dfrac{5}{32}. \] Among these, the sequences where team B wins the first game are only $BBAAA$, which has probability $\dfrac{1}{32}$. Therefore, the conditional probability is: \[ P = \dfrac{\dfrac{1}{32}}{\dfrac{5}{32}} = \dfrac{1}{5}. \]

Question 149

Khó · +30 điểm

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

All of David's telephone numbers have the form $555\text{--}abc\text{--}defg$, where $a, b, c, d, e, f$, and $g$ are distinct digits and in increasing order, and none is either $0$ or $1$. How many different telephone numbers can David have?

Chọn đáp án

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

Đáp án: $8$

The digits $a, b, c, d, e, f, g$ are $7$ distinct digits chosen from the digits $\{0, 1, 2, 3, 4, 5, 6, 7, 8, 9\}$ excluding $0$ and $1$. Thus, they are chosen from the set of $8$ available digits: \[ S = \{2, 3, 4, 5, 6, 7, 8, 9\}. \] Any choice of $7$ distinct digits from this set of $8$ digits can be arranged in strictly increasing order in exactly one way ($a < b < c < d < e < f < g$). Therefore, the number of possible telephone numbers is simply the number of ways to choose $7$ digits out of $8$: \[ \binom{8}{7} = 8. \]

Question 150

Khó · +30 điểm

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

Forty slips are placed into a hat, each bearing a number $1, 2, 3, 4, 5, 6, 7, 8, 9$, or $10$, with each number entered on four slips. Four slips are drawn from the hat at random and without replacement. Let $p$ be the probability that all four slips bear the same number. Let $q$ be the probability that two of the slips bear a number $a$ and the other two bear a number $b \ne a$. What is the value of $q/p$?

Chọn đáp án

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

Đáp án: $162$

Both probabilities $p$ and $q$ share the common denominator $\binom{40}{4}$, so the ratio $\dfrac{q}{p}$ equals the ratio of the number of favorable outcomes for each event: For event $p$ (all four slips bear the same number): There are $10$ possible numbers ($1$ through $10$). For any chosen number, all $4$ of its slips must be drawn. The number of ways is: \[ N_p = 10 \times \binom{4}{4} = 10. \] For event $q$ (two slips bear number $a$ and two slips bear number $b \ne a$): We choose the two distinct numbers $\{a, b\}$ from the $10$ numbers in $\binom{10}{2}$ ways. For each chosen number, we choose $2$ slips out of its $4$ slips in $\binom{4}{2}$ ways. The number of ways is: \[ N_q = \binom{10}{2} \times \binom{4}{2} \times \binom{4}{2} = 45 \times 6 \times 6 = 1620. \] Therefore, the ratio $\dfrac{q}{p}$ is: \[ \dfrac{q}{p} = \dfrac{N_q}{N_p} = \dfrac{1620}{10} = 162. \]

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.