Cour 21 11 26

Table of contents

  1. Chapter 1: Counting
  2. Chapter 2: Probability
  3. Chapter 3: Statistics

1. Chapter 1: Counting

1.1 Introduction

Counting, or enumeration, involves determining the number of possibilities for a given situation without necessarily listing them all. This systematic approach is crucial for solving various problems, especially in probability calculations.

This chapter covers finite sets, basic counting principles, permutations, arrangements, and combinations 4.

1.2 Finite sets

📝 The set E={1,2,3,6,7}E = \{1, 2, 3, 6, 7\} has a cardinality of 5, denoted as Card(E)=5\text{Card}(E) = 5 5.

1.3 Notion of a set

A set is a collection of distinct objects, called its elements. If an element xx belongs to a set EE, it is denoted as x∈Ex \in E.

If xx does not belong to EE, it is denoted as x∉Ex \notin E 4.

1.4 Finite set and cardinality

A set EE is finite if it is empty or contains a limited number of elements. The number of elements in a finite set EE is its cardinality, denoted as Card(E)=n\text{Card}(E) = n.

The empty set, denoted by ∅\emptyset, has a cardinality of 0 5.

1.5 Subset of a set

A set AA is a subset (or sub-ensemble) of a set EE if all elements of AA are also elements of EE. This is denoted as A⊂EA \subset E.

It is important to distinguish between x∈Ex \in E (x is an element of E) and A⊂EA \subset E (A is a subset of E) 5.

1.6 Cartesian product of two sets

The Cartesian product of two sets AA and BB, denoted as A×BA \times B, is the set of all ordered pairs (a,b)(a, b) where a∈Aa \in A and b∈Bb \in B. The order of elements in a pair is significant, meaning (a,b)≠(b,a)(a, b) \neq (b, a) if a≠ba \neq b 5.

1.7 Power set of a set

The power set of a set EE, denoted as P(E)P(E), is the set of all possible subsets of EE 6.

1.8 Operations on sets

  • Intersection: The intersection of two sets EE and FF, denoted E∩FE \cap F, is the set of elements common to both EE and FF.
  • Disjoint sets: Two sets EE and FF are disjoint if they have no elements in common, meaning E∩F=∅E \cap F = \emptyset 6.
  • Union: The union of two sets EE and FF, denoted E∪FE \cup F, is the set of all elements belonging to EE or FF (or both).
  • Complement: The complement of a set EE within a universal set Ω\Omega, denoted Eˉ\bar{E}, is the set of elements in Ω\Omega that are not in EE. This satisfies E∪Eˉ=ΩE \cup \bar{E} = \Omega and E∩Eˉ=∅E \cap \bar{E} = \emptyset.
  • Difference: The difference between two sets EE and FF, denoted E−FE - F, is the set of elements that are in EE but not in FF. This can also be written as E∩FˉE \cap \bar{F} 7.
  • Symmetric difference: The symmetric difference of two sets EE and FF, denoted EΔFE \Delta F, is defined as (E−F)∪(F−E)(E - F) \cup (F - E) 8.

1.9 Cardinality and operations on sets

For finite sets AA and BB:

  • Union: Card(A∪B)=Card(A)+Card(B)−Card(A∩B)\text{Card}(A \cup B) = \text{Card}(A) + \text{Card}(B) - \text{Card}(A \cap B). If AA and BB are disjoint, Card(A∪B)=Card(A)+Card(B)\text{Card}(A \cup B) = \text{Card}(A) + \text{Card}(B).
  • Complement: Card(Aˉ)=Card(E)−Card(A)\text{Card}(\bar{A}) = \text{Card}(E) - \text{Card}(A), where EE is the universal set 8.
  • Difference: Card(A−B)=Card(A)−Card(A∩B)\text{Card}(A - B) = \text{Card}(A) - \text{Card}(A \cap B) 9.

1.10 Sum rule

If a task can be performed in one of pp mutually exclusive cases, and there are n1n_1 ways to do it in the first case, n2n_2 ways in the second,..., and npn_p ways in the pp-th case, then the total number of ways to perform the task is n1+n2+⋯+npn_1 + n_2 + \dots + n_p 9.

📝 If a procedure can be broken down into two steps, with 3 ways to perform the first step and 4 ways to perform the second, the total number of ways is 3×4=123 \times 4 = 12 9.

1.11 Product rule

If a procedure can be broken down into a sequence of pp independent steps, and there are n1n_1 ways to perform the first step, n2n_2 ways to perform the second step,..., and npn_p ways to perform the pp-th step, then the total number of ways to perform the procedure is n1×n2×⋯×npn_1 \times n_2 \times \dots \times n_p 9.

1.12 Factorial of a natural number

The factorial of a non-negative integer nn, denoted n!n!, is the product of all positive integers less than or equal to nn. By convention, 0!=10! = 1 10. n!=n×(n−1)×(n−2)×⋯×2×1n! = n \times (n-1) \times (n-2) \times \dots \times 2 \times 1

1.13 Permutations without repetition

A permutation without repetition of nn distinct elements is an ordered arrangement of all nn elements. The number of such permutations is Pn=n!P_n = n! 10.

📝 The number of permutations with repetition of 7 elements, where 'a' appears 2 times, 'b' appears 2 times, and 'c' appears 3 times, is 7!2!2!3!=210\frac{7!}{2! 2! 3!} = 210 11.

1.14 Permutations with repetition

A permutation with repetition of nn elements, where element X1X_1 appears n1n_1 times, X2X_2 appears n2n_2 times,..., and XkX_k appears nkn_k times (with n1+n2+⋯+nk=nn_1 + n_2 + \dots + n_k = n), is the number of distinct ordered arrangements. The formula is: Pn(n1,n2,…,nk)=n!n1!n2!…nk!P_n(n_1, n_2, \dots, n_k) = \frac{n!}{n_1! n_2! \dots n_k!} 11.

1.15 Arrangements

An arrangement of pp elements chosen from nn elements is an ordered selection of pp of these nn elements.

1.16 Arrangements without repetition

An arrangement without repetition of pp elements from nn is an ordered selection of pp distinct elements from a set of nn elements. The number of such arrangements is denoted as ApnA_p^n and is calculated as: Apn=n!(n−p)!=n(n−1)…(n−p+1)A_p^n = \frac{n!}{(n-p)!} = n(n-1)\dots(n-p+1) 12.

1.17 Arrangements with repetition

An arrangement with repetition of pp elements from nn is an ordered selection of pp elements from a set of nn elements, where elements can be repeated. The number of such arrangements is npn^p 13.

1.18 Combinations

A combination of pp elements chosen from nn elements is an unordered selection of pp of these nn elements.

1.19 Combinations without repetition

A combination without repetition of pp elements from nn is an unordered selection of pp distinct elements from a set of nn elements. The number of such combinations is denoted as CpnC_p^n and is calculated as: Cpn=n!p!(n−p)!C_p^n = \frac{n!}{p!(n-p)!} 14.

1.20 Combinations with repetition 16

A combination with repetition of pp elements from nn is an unordered selection of pp elements from a set of nn elements, where elements can be chosen multiple times. The number of such combinations is denoted as KpnK_p^n and is calculated as: Kpn=Cn+p−1p=(n+p−1)!p!(n−1)!K_p^n = C_{n+p-1}^p = \frac{(n+p-1)!}{p!(n-1)!} 15.

TypeOrderedRepetitionFormulaNotation
Permutation without repetitionYesNon!n!PnP_n
Permutation with repetitionYesYesn!n1!n2!…nk!\frac{n!}{n_1! n_2! \dots n_k!}Pn(n1,n2,…,nk)P_n(n_1, n_2, \dots, n_k)
Arrangement without repetitionYesNon!(n−p)!\frac{n!}{(n-p)!}ApnA_p^n
Arrangement with repetitionYesYesnpn^pNone
Combination without repetitionNoNon!p!(n−p)!\frac{n!}{p!(n-p)!}CpnC_p^n
Combination with repetitionNoYes(n+p−1)!p!(n−1)!\frac{(n+p-1)!}{p!(n-1)!}KpnK_p^n

2. Chapter 2: Probability

2.1 Introduction

Probability theory allows the study of situations involving chance, providing tools to measure uncertainty in experimental outcomes. This chapter focuses on simple random experiments from familiar scenarios like coin flips, dice rolls, drawing balls from an urn, and lottery wheels.

It will explore different drawing methods (with or without replacement, successive or simultaneous) and their application in solving probability problems 17.

2.2 Vocabulary of probabilities

📝 For a six-sided die roll, the outcomes are {1, 2, 3, 4, 5, 6}, so Ω = {1, 2, 3, 4, 5, 6} and the cardinality of Ω is 6 17.

2.3 Random experiment

A random experiment is an experiment whose outcome cannot be predicted with certainty and depends on chance 17.

2.4 Outcome and universe

An outcome is a possible result of a random experiment. The set of all possible outcomes is called the universe, denoted by Ω. For a six-sided die roll, the outcomes are {1, 2, 3, 4, 5, 6}, so Ω = {1, 2, 3, 4, 5, 6} and the cardinality of Ω is 6 17.

2.5 Event

An event is a set of outcomes from a random experiment, representing a subset of the universe Ω 17. For a six-sided die roll (Ω = {1, 2, 3, 4, 5, 6}), the event A = {obtaining an odd number} is {1, 3, 5}, and event B = {obtaining a number less than or equal to 3} is {1, 2, 3} 18.

2.6 Particular events

Within a universe Ω:

  • An elementary event consists of a single outcome.
  • The certain event includes all possible outcomes, corresponding to Ω.
  • The impossible event contains no outcomes and is denoted by ∅. For a six-sided die, {3} is an elementary event, Ω is the certain event, and ∅ is the impossible event 18.

2.7 Operations on events

Events, being subsets of Ω, can undergo set operations:

  • Intersection (A ∩ B): Event "A and B," occurs when both A and B happen simultaneously.
  • Union (A ∪ B): Event "A or B," occurs when at least one of A or B happens.
  • Complement (Ā): Event "not A," occurs when A does not happen.
  • Difference (A - B): Event "A but not B." 18.

Two events A and B are incompatible if they cannot occur simultaneously (A ∩ B = ∅) 18.

2.8 Definition

The probability of an event A, denoted P(A), is a real number between 0 and 1 that measures the likelihood of A occurring. Key properties include:

  • 0≤P(A)≤10 \le P(A) \le 1
  • P(∅)=0P(\emptyset) = 0
  • P(Ω)=1P(\Omega) = 1 18.

2.9 Case of equiprobability

Equiprobability exists when all outcomes in Ω have an equal chance of occurring. For a finite universe with equiprobable outcomes, the probability of event A is: P(A)=Card(A)Card(Ω)=number of favorable casesnumber of possible casesP(A) = \frac{\text{Card}(A)}{\text{Card}(\Omega)} = \frac{\text{number of favorable cases}}{\text{number of possible cases}}.

For a fair six-sided die, the event A = {obtaining an even number} has P(A) = 3/6 = 1/2, as A = {2, 4, 6} 19.

2.10 Drawing methods

When drawing pp balls from an urn containing nn distinct balls, different drawing methods apply 19.

2.11 Successive drawing with replacement

In this method, balls are drawn one by one, and each ball is returned to the urn before the next draw.

  • The order of draws is important.
  • The same ball can be drawn multiple times. The number of possible draws is npn^p. Example: Drawing 3 balls with replacement from an urn with 5 distinct balls yields 53=1255^3 = 125 possible draws 19.

2.12 Successive drawing without replacement

Here, balls are drawn one by one, but each drawn ball is not returned to the urn.

  • The order of draws is important.
  • Each ball can be drawn only once. The number of possible draws is given by the permutation formula Apn=n!(n−p)!A_p^n = \frac{n!}{(n-p)!} 19. Example: Drawing 3 balls without replacement from an urn with 5 distinct balls yields A53=5!(5−3)!=5×4×3=60A_5^3 = \frac{5!}{(5-3)!} = 5 \times 4 \times 3 = 60 possible draws 20.

2.13 Simultaneous drawing

In this method, all pp balls are drawn at the same time, so the order does not matter. The number of possible draws is given by the combination formula Cpn=n!p!(n−p)!C_p^n = \frac{n!}{p!(n-p)!}.

Example: Drawing 3 balls simultaneously from an urn with 5 distinct balls yields C53=5!3!2!=10C_5^3 = \frac{5!}{3!2!} = 10 possible draws 20.

2.14 Summary table of drawing methods 20

Drawing methodOrderNumber of possibilities
Successive with replacementImportantn^p
Successive without replacementImportantA_p^n = n! / (n-p)!
SimultaneousNot importantC_p^n = n! / (p!(n-p)!)

2.15 Exercise 2.5.1

An urn contains 4 red and 3 yellow balls. 3 balls are drawn simultaneously.

  1. Determine the number of possible draws.
  2. Calculate the probability of obtaining 2 red balls and 1 yellow ball 20.

2.16 Exercise 2.5.2

An urn contains 4 red and 3 yellow balls. 3 balls are drawn successively without replacement.

  1. Determine the number of possible draws.
  2. Calculate the probability of drawing three red balls.
  3. Calculate the probability of drawing three balls of the same color 20.

2.17 Exercise 2.5.3

An urn contains 4 red and 3 yellow balls. 3 balls are drawn successively with replacement.

  1. Determine the number of possible draws.
  2. Calculate the probability of obtaining exactly two yellow balls and one red ball 20.

2.18 Properties of probabilities

For events A and B in a universe Ω:

  • P(∅)=0P(\emptyset) = 0 and P(Ω)=1P(\Omega) = 1.
  • If A⊂BA \subset B, then P(A)≤P(B)P(A) \le P(B).
  • For any two events A and B: P(A∪B)=P(A)+P(B)−P(A∩B)P(A \cup B) = P(A) + P(B) - P(A \cap B) 20.
  • If A and B are incompatible (A∩B=∅A \cap B = \emptyset), then P(A∪B)=P(A)+P(B)P(A \cup B) = P(A) + P(B).
  • The probability of the complementary event of A is: P(Aˉ)=1−P(A)P(\bar{A}) = 1 - P(A).
  • For two events A and B: P(A−B)=P(A)−P(A∩B)P(A - B) = P(A) - P(A \cap B) 21.

3. Chapter 3: Statistics

3.1 Introduction

Statistics is a collection of methods used to gather, organize, present, and analyze data. It helps answer questions about average values, common characteristics, and the spread of data within a group.

The process involves organizing data into tables, visualizing it with graphs, and summarizing it with key numerical parameters like the mean or median. This chapter covers statistical terminology, data organization in tables, graphical representations, measures of central tendency (mode, median, mean), and measures of dispersion (variance, standard deviation) 22.

3.2 Statistical population and sample

A statistical population is the entire set of elements being studied. Each element is called an individual or statistical unit.

The total number of individuals in the population is the total effectif, denoted by N. An sample is a subset of the population from which data is actually collected. The number of individuals in the sample is its sample size 22.

  • Census: A study that includes all individuals in the population.
  • Survey: A study conducted on a sample of the population, used when the population is too large for a census 23.

3.3 Statistical character or variable 24

A statistical character is a property studied in the individuals of a population. The different values a character can take are called modalities 23.

  • Qualitative character: Modalities are words, not numbers.
  • Nominal: Modalities cannot be ordered (e.g., eye color).
  • Ordinal: Modalities can be ordered (e.g., academic mention: passable < assez bien < bien < très bien).
  • Quantitative character (or statistical variable, denoted X): Modalities are numbers on which calculations can be performed.
  • Discrete: Takes only isolated values, usually integers (e.g., number of siblings).
  • Continuous: Can take any value within an interval (e.g., height). For continuous variables, values are often grouped into classes (intervals like [a; b[) 23 24.
Character TypeExamples
Qualitative NominalEye color, City of origin
Qualitative OrdinalBaccalaureate mention
Quantitative DiscreteNumber of children, Number of absences
Quantitative ContinuousHeight, Weight, Age

3.4 Order of values of a quantitative statistical variable

Quantitative variable values can be arranged in ascending order: x1≤x2≤⋯≤xNx_1 \leq x_2 \leq \dots \leq x_N.

  • x1x_1 is the smallest value.
  • xNx_N is the largest value.
  • The range of the series is xN−x1x_N - x_1 24.

📝 Example The scores of 9 students are: 12, 8, 15, 10, 12, 9, 14, 10, 16. Ordered: 8, 9, 10, 10, 12, 12, 14, 15, 16. Smallest value (x1x_1) = 8. Largest value (x9x_9) = 16. Range = 16−8=816 - 8 = 8 24.

3.5 Statistical series

A statistical series is the list of character values observed for the individuals in a population 25.

3.6 Statistical tables

  • The effectif (nin_i) of a value (xix_i) is the number of times that value appears.
  • The total effectif (N) is the sum of all effectifs: N=n1+n2+⋯+nkN = n_1 + n_2 + \dots + n_k 25.

For continuous variables, values are grouped into classes [a; b[. The center of a class is c=a+b2c = \frac{a+b}{2} 26.

3.7 Frequencies

  • The frequency (fif_i) of a value (xix_i) is fi=niNf_i = \frac{n_i}{N}.

  • The percentage (pip_i) is pi=fi×100p_i = f_i \times 100. The sum of frequencies is 1, and the sum of percentages is 100% 26.

  • The cumulative effectif (ascending) of a value (xix_i) is the sum of effectifs for values less than or equal to xix_i. It indicates the number of individuals with at most value xix_i 26.

Value (xi)Effectif (ni)Frequency (fi)Percentage (pi)Cumulative Effectif
720.1010 %2
1050.2525 %7
1270.3535 %14
1440.2020 %18
1620.1010 %20

Exercice 5.3.1. For 25 families, the number of children (xix_i) and number of families (nin_i) are:

  • xix_i: 0, 1, 2, 3, 4
  • nin_i: 3, 6, 8, 5, 3
  1. Total effectif N=3+6+8+5+3=25N = 3+6+8+5+3 = 25.
  2. Frequencies and percentages are calculated as fi=ni/25f_i = n_i/25 and pi=fi×100p_i = f_i \times 100.
  3. Cumulative effectifs are calculated by summing effectifs from left to right.
  4. The cumulative effectif for 2 children is 17, meaning 17 families have at most 2 children 27.

3.8 Graphical representations

Graphs help visualize data distribution. The type of graph depends on the character type 27.

Character TypeGraph Type
QualitativePie chart
Quantitative DiscreteBar chart
Quantitative ContinuousHistogram

3.9 Bar chart

A bar chart is used for discrete quantitative variables. A vertical bar is drawn at each value xix_i with height equal to its effectif nin_i 27.

3.10 Pie chart

A pie chart is used for qualitative characters. A circle is divided into sectors, where the angle (αi\alpha_i) of each sector is calculated as αi=niN×360∘\alpha_i = \frac{n_i}{N} \times 360^\circ 28.

3.11 Histogram

A histogram is used for continuous quantitative variables grouped into classes of equal amplitude. Each class is represented by a rectangle where the base is the class interval and the height is the class effectif.

Rectangles in a histogram are adjacent 28.

Exercice 5.4.1.

  1. For 30 students' means of transport (Bus: 15, Taxi: 10, Walking: 5), calculate angles for a pie chart: Bus: 180∘180^\circ, Taxi: 120∘120^\circ, Walking: 60∘60^\circ.
  2. For 25 families' number of children (0: 3, 1: 6, 2: 8, 3: 5, 4: 3), draw a bar chart with bars of height nin_i at each xix_i 29.

3.12 Measures of position

Measures of position summarize a statistical series with a single number representing its "center" 30.

3.13 Mode

The mode (Mo) is the value with the highest effectif. For continuous variables, the modal class is the class with the highest effectif.

The mode can also exist for qualitative characters 30.

3.14 Arithmetic mean

The arithmetic mean (xˉ\bar{x}) of a series of N values x1,…,xNx_1, \dots, x_N is xˉ=x1+x2+⋯+xNN\bar{x} = \frac{x_1 + x_2 + \dots + x_N}{N}. When data is in a frequency table: xˉ=n1x1+n2x2+⋯+nkxkN\bar{x} = \frac{n_1x_1 + n_2x_2 + \dots + n_kx_k}{N}.

For continuous variables grouped into classes, use the class centers (cic_i): xˉ=n1c1+n2c2+⋯+nkckN\bar{x} = \frac{n_1c_1 + n_2c_2 + \dots + n_kc_k}{N} 30 31.

3.15 Median value

The median (Me) is the value that divides a series, ordered in ascending order, into two halves of equal effectif.

  • If N is odd, the median is the middle value (rank N+12\frac{N+1}{2}).
  • If N is even, the median is the average of the two middle values (ranks N2\frac{N}{2} and N2+1\frac{N}{2}+1) 31.

For continuous variables grouped into classes: The median class is the first class whose cumulative effectif is ≥N2\geq \frac{N}{2}. The median is calculated as: Me=a+N2−navantnclasse×(b−a)Me = a + \frac{\frac{N}{2} - n_{\text{avant}}}{n_{\text{classe}}} \times (b - a), where [a; b[ is the median class, navantn_{\text{avant}} is the cumulative effectif before the median class, and nclassen_{\text{classe}} is the effectif of the median class 32.

Exercice 5.5.1. For the number of children data (0: 3, 1: 6, 2: 8, 3: 5, 4: 3):

  • Mode: The highest effectif is 8, corresponding to 2 children. Mo = 2.
  • Mean: xˉ=(0×3)+(1×6)+(2×8)+(3×5)+(4×3)25=4925=1.96\bar{x} = \frac{(0 \times 3) + (1 \times 6) + (2 \times 8) + (3 \times 5) + (4 \times 3)}{25} = \frac{49}{25} = 1.96.
  • Median: N=25 (odd). Middle rank is 25+12=13\frac{25+1}{2} = 13. The 13th value falls within the '2 children' category. Me = 2 33.

3.16 Measures of dispersion

Measures of dispersion quantify how spread out the values in a series are from the mean 33.

3.17 Variance

The variance (V) is the average of the squared differences from the mean: V=∑i=1N(xi−xˉ)2NV = \frac{\sum_{i=1}^{N} (x_i - \bar{x})^2}{N}. A practical formula for data in frequency tables is: V=∑i=1knixi2N−xˉ2V = \frac{\sum_{i=1}^{k} n_ix_i^2}{N} - \bar{x}^2.

This means variance is the mean of the squares minus the square of the mean 33 34.

3.18 Standard deviation (root mean square deviation)

The standard deviation (σ\sigma) is the square root of the variance: σ=V\sigma = \sqrt{V}. It has the same units as the data.

A smaller standard deviation indicates values are closer to the mean 34.

MeasureFormula (N values)Formula (Frequency Table)Interpretation
Variance (V)V=∑(xi−xˉ)2NV = \frac{\sum (x_i - \bar{x})^2}{N}V=∑nixi2N−xˉ2V = \frac{\sum n_ix_i^2}{N} - \bar{x}^2Average of squared deviations from the mean.
Standard Deviation (σ)σ=V\sigma = \sqrt{V}σ=V\sigma = \sqrt{V}Square root of variance; measures spread in original units.

Exercice 5.6.1. For the number of children data (mean xˉ=1.96\bar{x} = 1.96):

  • Variance: V=(02×3)+(12×6)+(22×8)+(32×5)+(42×3)25−(1.96)2=13125−3.8416=5.24−3.8416=1.3984≈1.40V = \frac{(0^2 \times 3) + (1^2 \times 6) + (2^2 \times 8) + (3^2 \times 5) + (4^2 \times 3)}{25} - (1.96)^2 = \frac{131}{25} - 3.8416 = 5.24 - 3.8416 = 1.3984 \approx 1.40.
  • Standard Deviation: σ=1.3984≈1.18\sigma = \sqrt{1.3984} \approx 1.18 34 35.

© 2026 Maeve. All rights reserved. This content is protected by copyright.

See also