Raw

3. Classroom tasks and solutions / Аудиторні задачі та розв’язання

Source of tasks. The problems below are taken from the practical-class assignment for this topic (combinatorics and probability); only the wording has been translated to English. Every task is followed by a complete solution. Theory and notation are in 2method.md: the product rule, P(n,k)P(n,k) (arrangements), C(n,k)=(nk)C(n,k)=\binom{n}{k} (combinations), (n+k1k)\binom{n+k-1}{k} (multisets), and the classical probability P(A)=A/ΩP(A)=|A|/|\Omega|.

Combinatorics

Задача 1 — car plates

A car plate consists of four letters of an alphabet (12 letters are used) and four digits. How many different plates are there?

Each of the four letter positions is filled independently from 1212 letters, and each of the four digit positions from 1010 digits (0099); repetition is allowed. By the product rule,

N=124104=2073610000=207360000.N = 12^{4}\cdot 10^{4} = 20\,736\cdot 10\,000 = \boxed{207\,360\,000}.

Задача 2 — captain and deputy

A football team has 11 players; a captain and a deputy captain must be chosen. In how many ways?

The two roles are distinct, so order matters, and one person cannot hold both, so there is no repetition — an arrangement of 22 out of 1111:

P(11,2)=1110=110.P(11,2) = 11\cdot 10 = \boxed{110}.

Задача 3 — a football-pools card

A card must predict the results of thirteen matches. Each result is a win for one of the two teams or a draw (three outcomes; the score does not matter). How many ways can one card be filled in?

Each of the 1313 matches has 33 possible outcomes, chosen independently:

313=1594323.3^{13} = \boxed{1\,594\,323}.

Задача 4 — balls into boxes

In how many ways can 4 black, 4 white, and 4 blue balls be placed into 6 different boxes?

Balls of the same colour are identical, so placing the 44 balls of one colour into 66 distinct boxes is a multiset (stars-and-bars) count — 44 stars and 55 bars:

(6+414)=(94)=126.\binom{6+4-1}{4}=\binom{9}{4}=126.

The three colours are placed independently, so by the product rule

[(94)]3=1263=2000376.\left[\binom{9}{4}\right]^{3}=126^{3}=\boxed{2\,000\,376}.

Задача 5 — a detachment from a company

A company has 3 officers, 6 sergeants, and 60 privates. In how many ways can a detachment of one officer, two sergeants, and twenty privates be formed?

Order within each rank does not matter, so each rank is a combination, and the three independent choices multiply:

C(3,1)C(6,2)C(60,20)=315(6020).C(3,1)\,C(6,2)\,C(60,20)=3\cdot 15\cdot\binom{60}{20}.

With (6020)=4191844505805495\binom{60}{20}=4\,191\,844\,505\,805\,495,

454191844505805495=188633002761247275.45\cdot 4\,191\,844\,505\,805\,495=\boxed{188\,633\,002\,761\,247\,275}.

Probability

Задача 6 — one ball from each of two boxes

Box 1 holds 2 white and 10 red balls; Box 2 holds 8 white and 4 red. One ball is drawn from each box. What is the probability that both are white?

Two boxes: Box 1 with 2 white and 10 red balls, Box 2 with 8 white and 4 red balls

The two draws are independent (different boxes), so the probabilities multiply:

P=212812=1623=190.111.P = \frac{2}{12}\cdot\frac{8}{12}=\frac16\cdot\frac23=\boxed{\tfrac{1}{9}\approx 0.111}.

Задача 7 — two balls from one box

A box holds 10 white and 14 red balls (24 in all). Two balls are drawn. What is the probability that both are white?

One box with 10 white and 14 red balls

All (242)\binom{24}{2} two-ball subsets are equally likely, and (102)\binom{10}{2} of them are all-white:

P=C(10,2)C(24,2)=45276=15920.163.P = \frac{C(10,2)}{C(24,2)}=\frac{45}{276}=\boxed{\tfrac{15}{92}\approx 0.163}.

Equivalently, drawing one after another, 1024923=1592\dfrac{10}{24}\cdot\dfrac{9}{23}=\dfrac{15}{92}.

Задача 8 — grade of a part

A part is chosen at random. It is known that 4% of parts are defective, and that 75% of the non-defective parts are of the first grade. Find the probability that the part is of the first grade.

Probability tree: a part is good (0.96) or defective (0.04); a good part is first grade (0.75) or lower grade (0.25)

A first-grade part must first be non-defective — probability 10.04=0.961-0.04=0.96 — and then first grade among the good ones — probability 0.750.75. Multiply along the branch (the conditional/multiplication rule):

P(1st grade)=P(good)P(1stgood)=0.960.75=0.72.P(\text{1st grade}) = P(\text{good})\cdot P(\text{1st}\mid\text{good}) = 0.96\cdot 0.75 = \boxed{0.72}.

Задача 9 — winning at least once

Of 100 lottery tickets, 5 are winning. Two tickets are bought. What is the probability of winning by at least one ticket?

Use the complement: “at least one win” is the opposite of “no win”. Both tickets missing means both come from the 9595 losing tickets:

P(no win)=C(95,2)C(100,2)=44654950=893990.P(\text{no win}) = \frac{C(95,2)}{C(100,2)}=\frac{4465}{4950}=\frac{893}{990}.

P(at least one win)=1893990=979900.098.P(\text{at least one win}) = 1-\frac{893}{990}=\boxed{\tfrac{97}{990}\approx 0.098}.

As a check, counting the winning cases directly gives the same value: C(5,1)C(95,1)+C(5,2)C(100,2)=475+104950=4854950=97990\dfrac{C(5,1)\,C(95,1)+C(5,2)}{C(100,2)}=\dfrac{475+10}{4950}=\dfrac{485}{4950}=\dfrac{97}{990}.

Practical/Practical6/3classroom.md · 5.0 KB · updated 2026-07-31 21:14