Practical Work 6 — Combinatorics and Probability
Sixth practical class of Computer Discrete Mathematics. Working by hand, you count the outcomes of a choice (arrangements, combinations, multisets) and use those counts to find probabilities — of independent draws, of conditional events, and of “at least one” via the complement.
At a glance
| Topic | The two counting principles; arrangements and tuples ; combinations and multisets; classical (Laplace) probability; independence, conditional probability, and the complement rule |
| Prerequisite lectures | L13 — Probabilities (counting and combinatorics, classical probability, conditional probability, independence) |
| Mode | In-class problem solving — pen and paper, no computer |
| Deliverable | Worked solutions to the tasks in 3classroom.md |
Contents
| # | Part | File |
|---|---|---|
| 1 | Objective | 1purpose.md |
| 2 | Methodical guidelines (self-contained theory) | 2method.md |
| 3 | Classroom tasks with solutions | 3classroom.md |
| 6 | Control questions | 6questions.md |
Conventions
- Language — all work is written in English.
- By hand. Set up each count or probability from a formula, show the substitution, and give the number; leave very large results as a product and its value.
- Notation is fixed and self-contained. is the factorial; is the number of arrangements (-permutations); is the number of combinations; (upright, with an event inside) is a probability. All are defined in 2method.md.
- Probabilities are given as an exact fraction and a decimal (e.g. ).
- Every task has a full solution. 3classroom.md gives each task together with a complete worked answer.
Summary
Combinatorics answers how many? and probability answers how likely? — and the second is built on the first. Every count reduces to two ideas: multiply choices made in sequence (the product rule) and decide whether order matters and whether repetition is allowed, which selects one of four formulas — arrangements , tuples , combinations , or multisets . For equally-likely outcomes, probability is just counting: favourable over total. Layer on three rules — the product rule for independent trials, conditional probability when one event informs another, and the complement () for “at least one” — and the nine tasks of this class are all within reach.