Ripetizioni di Analisi
EN

Theory

Counting, probability and statistics

Counting techniques, conditional probability and Bayes’ theorem, frequencies and descriptive statistics.

On this page
  1. Counting by cases and in stages
  2. Permutations and ordered selections

Counting by cases and in stages

The addition and multiplication rules

A counting problem begins with a description of the outcome. For instance, a route can be identified by its two legs in order. One way to classify routes is to group them by the mode of transport on the first leg.

The addition rule applies when the cases are disjoint and exhaust all possibilities. The total is the sum of the number of objects in each case. If two cases share objects, the objects counted twice can be subtracted.

The multiplication rule applies to choices made in stages. If the first stage has possibilities and the second has possibilities for each first-stage outcome, the total is . The number of possibilities may differ from stage to stage. At a given stage, the number of choices must be the same for every sequence of choices already made.

Two branches with different numbers of choices

Each morning, a shuttle reaches the town center from three stops. From either of the first two stops, it can be paired with one of four regional trains. From the third stop, there are two direct trains to choose from. Each outcome consists of a stop and a train.

The first two stops give pairs. The third gives . Since a given pair belongs to exactly one of the two cases, the total is . The product would include two unavailable pairings.

Counting by negating a condition

If the total number of outcomes is known, it is sometimes enough to count the outcomes that fail the condition. For a five-digit code, for example, at least one zero occurs in cases. The total allows every digit in every position. Each excluded code has nine choices in every position, because zero is ruled out in all of them.

Permutations and ordered selections

1. Ordered choices

In an ordered selection of objects, order is part of the outcome. If there are distinct objects and each can appear at most once, the first positions have possible choices, respectively. For this gives

Here is the product of the first positive integers and . For there is one outcome, the empty sequence. With these are the permutations of all objects, and there are of them.

If repetition is allowed, each of the positions again has possible choices, giving sequences. Repetition affects the available choices. Order determines whether two sequences count as distinct objects.

A restriction on the first digit

Consider all three-digit numbers made from distinct digits in . The first digit has four possibilities, because a leading zero would yield a two-digit number. Once the first digit is fixed, four digits remain, including zero. With the second digit fixed too, there are three possibilities for the last digit. The total is . If the same symbols form a code that may begin with zero, the outcomes change and the total becomes .

2. Permutations with indistinguishable items

If positions are filled by copies of one symbol, copies of a second symbol, and so on, with , the number of distinct sequences is

Temporarily labeling all copies gives permutations. Once the labels are removed, each sequence has been counted exactly times, because labels on identical symbols can be exchanged in any order. The letters of MAMMA thus give distinct sequences.

End of the free preview

The theory of this topic continues with 7 more sections

  1. Combinations and groups
  2. Events, unions, and complements
  3. Conditioning and independence
  4. Total probability and Bayes’ rule
  5. Frequencies, tables, and charts
  6. Measures of center and spread
  7. Keep studying

Full access also includes the other 5 worked examples of this topic and the solutions of the 14 practice exercises.

Unlock Bocconi Test · €79

Read the first 3 worked examples in this chapter for free.

Report a mistake

Where:

Ripetizioni di Analisi

Keep studying

With a free account, you can pick up where you left off and see your progress next time you visit.

Sign up for free

Already have an account? Sign in

Contents