📚 Sample Space: Concept and Construction | 样本空间的概念与构建
In probability theory, the sample space is the set of all possible outcomes of a random experiment. It forms the foundation upon which events are defined and probabilities are calculated. Without a clearly constructed sample space, any probability statement lacks precision and rigor.
在概率论中,样本空间是随机试验所有可能结果构成的集合。它构成了定义事件、计算概率的基础。没有清晰构建的样本空间,任何概率陈述都缺乏精确性和严谨性。
1. Random Experiment and Sample Points | 随机试验与样本点
A random experiment is a process whose outcome cannot be predicted with certainty before it is performed. Each possible result of the experiment is called a sample point or an outcome. The set of all these sample points is called the sample space, usually denoted by the Greek letter Ω (omega).
随机试验是结果在实施前无法确定的过程。试验的每个可能结果称为样本点或结果。所有样本点构成的集合称为样本空间,通常用希腊字母 Ω(omega)表示。
For example, when rolling a fair six-sided die once, the sample points are 1, 2, 3, 4, 5, and 6. Therefore, the sample space is written as:
例如,掷一次公平的六面骰子时,样本点为 1、2、3、4、5、6。因此样本空间写为:
Ω = {1, 2, 3, 4, 5, 6}
Each sample point must be mutually exclusive and collectively exhaustive: the outcome of the experiment is exactly one of these points.
每个样本点必须互斥且穷尽:试验的结果恰好是这些点中的一个。
2. Defining the Sample Space | 定义样本空间
Formally, a sample space is a set whose elements represent all possible outcomes of a random experiment. The elements themselves can be numbers, symbols, words, or even more complex structures such as ordered pairs or sequences.
形式上,样本空间是一个集合,其元素表示随机试验的所有可能结果。元素可以是数字、符号、单词,甚至更复杂的结构,如有序对或序列。
It is essential that the sample space is chosen appropriately for the question being asked. A common mistake is to choose a sample space that is too coarse or too fine, which can lead to incorrect probability calculations.
必须根据所问的问题恰当地选择样本空间。一个常见错误是选择过粗或过细的样本空间,这可能导致错误的概率计算。
For instance, if we toss two coins and are interested in the number of heads, a suitable sample space is {0, 1, 2}. However, if we are interested in the exact sequence of outcomes, the sample space should be {HH, HT, TH, TT}.
例如,如果我们抛两枚硬币并关心正面的数量,合适的样本空间是 {0, 1, 2}。但如果我们关心结果的确切顺序,样本空间应为 {HH, HT, TH, TT}。
3. Constructing Sample Spaces by Listing | 通过列举构建样本空间
The simplest way to build a sample space is to list all possible outcomes explicitly. This is effective when the total number of outcomes is small and manageable.
构建样本空间最简单的方法是显式列出所有可能结果。当结果总数较少且易于管理时,这种方法非常有效。
Consider drawing one card from a standard deck of 52 cards. The sample space contains 52 elements, each representing a specific card, for example: A♠, K♥, Q♦, J♣, etc.
考虑从一副 52 张的标准扑克牌中抽一张牌。样本空间包含 52 个元素,每个表示一张具体牌,例如:A♠、K♥、Q♦、J♣ 等。
When listing is impractical, we can use a systematic method such as a table or a tree diagram to ensure no outcome is missed.
当列举不切实际时,我们可以使用表格或树形图等系统方法,以确保不遗漏任何结果。
4. Using Tables and Grids | 使用表格与网格
For experiments involving two independent stages, such as rolling two dice, a two-dimensional table is an excellent way to visualize the sample space.
对于涉及两个独立阶段的试验,例如掷两枚骰子,二维表格是可视化样本空间的绝佳方式。
When two dice are rolled, each die has 6 outcomes. The combined sample space consists of all ordered pairs (a, b), where a and b are from 1 to 6. This gives 6 × 6 = 36 sample points.
掷两枚骰子时,每枚骰子有 6 种结果。组合样本空间由所有有序对 (a, b) 组成,其中 a 和 b 取自 1 到 6。这给出 6 × 6 = 36 个样本点。
| (1,1) | (1,2) | … | (1,6) |
| (2,1) | (2,2) | … | (2,6) |
| ⋮ | ⋮ | ⋱ | ⋮ |
| (6,1) | (6,2) | … | (6,6) |
This grid makes it easy to count outcomes for events such as “sum equals 7”, which corresponds to the diagonal (1,6), (2,5), (3,4), (4,3), (5,2), (6,1).
通过这种网格可以轻松计数诸如“和为 7”的事件,它对应于对角线 (1,6)、(2,5)、(3,4)、(4,3)、(5,2)、(6,1)。
5. Tree Diagrams for Multi-Stage Experiments | 多阶段试验的树形图
When an experiment consists of several stages, a tree diagram can systematically list all possible outcomes. Each branch represents one outcome of a stage.
当试验由多个阶段组成时,树形图可以系统地列出所有可能结果。每个分支代表一个阶段的一个结果。
For example, tossing a coin three times yields a tree with three levels. Each level has two branches (H for heads, T for tails). The final leaves give eight outcomes: HHH, HHT, HTH, HTT, THH, THT, TTH, TTT.
例如,将一枚硬币抛三次,得到一棵三层树。每层有两个分支(H 表示正面,T 表示反面)。最终叶子给出八种结果:HHH、HHT、HTH、HTT、THH、THT、TTH、TTT。
Tree diagrams are especially useful when the probabilities of branches are not equal, as in drawing without replacement from a bag of colored balls.
当分支概率不相等时,例如从不放回的彩球袋中抽取,树形图尤其有用。
6. Finite and Infinite Sample Spaces | 有限与无限样本空间
A sample space can be finite or infinite. Rolling a die gives a finite sample space with 6 elements. Choosing a real number uniformly between 0 and 1 gives an infinite sample space: Ω = {x : 0 ≤ x ≤ 1}.
样本空间可以是有限或无限的。掷骰子给出含 6 个元素的有限样本空间。在 0 和 1 之间均匀选择一个实数,给出无限样本空间:Ω = {x : 0 ≤ x ≤ 1}。
Infinite sample spaces can be discrete, such as the non-negative integers ℕ₀ = {0, 1, 2, …}, or continuous, such as the interval [0, 1]. In the continuous case, probabilities are assigned to intervals rather than to individual points.
无限样本空间可以是离散的,例如非负整数集 ℕ₀ = {0, 1, 2, …};也可以是连续的,例如区间 [0, 1]。在连续情形中,概率分配给区间而不是单个点。
For IB Mathematics, finite sample spaces are the most commonly tested, but an understanding of infinite spaces is necessary for more advanced topics such as probability density functions.
在 IB 数学中,有限样本空间是最常考查的,但理解无限空间对于概率密度函数等更高级主题是必要的。
7. Events as Subsets of the Sample Space | 事件作为样本空间的子集
An event is any subset of the sample space. If the outcome of the experiment belongs to that subset, the event is said to have occurred.
事件是样本空间的任意子集。如果试验的结果属于该子集,则称该事件发生。
For example, for the sample space Ω = {1, 2, 3, 4, 5, 6}, the event “an even number is rolled” is the set E = {2, 4, 6}.
例如,对于样本空间 Ω = {1, 2, 3, 4, 5, 6},事件“掷出偶数”是集合 E = {2, 4, 6}。
The empty set ∅ is an impossible event, and the entire sample space Ω is a certain event. A simple event contains exactly one sample point, while a compound event contains two or more.
空集 ∅ 是不可能事件,整个样本空间 Ω 是必然事件。基本事件恰好包含一个样本点,复合事件包含两个或更多。
8. Set Operations on Events | 事件的集合运算
Because events are sets, we can apply standard set operations to create new events:
由于事件是集合,我们可以应用标准集合运算来构造新事件:
- Union A ∪ B: the event that A or B (or both) occurs.
- 并集 A ∪ B:A 或 B(或两者)发生的事件。
- Intersection A ∩ B: the event that both A and B occur.
- 交集 A ∩ B:A 和 B 同时发生的事件。
- Complement A′ or Aᶜ: the event that A does not occur.
- 补集 A′ 或 Aᶜ:A 不发生的事件。
Two events are mutually exclusive if A ∩ B = ∅, meaning they cannot occur at the same time.
如果 A ∩ B = ∅,则两个事件是互斥的,意味着它们不能同时发生。
De Morgan’s laws also apply:
德摩根定律同样适用:
(A ∪ B)′ = A′ ∩ B′ and (A ∩ B)′ = A′ ∪ B′
9. Probability Axioms and the Sample Space | 概率公理与样本空间
A probability measure P assigns a number between 0 and 1 to each event. This assignment must satisfy the three axioms of probability:
概率测度 P 为每个事件分配一个介于 0 和 1 之间的数。这种分配必须满足三条概率公理:
- P(A) ≥ 0 for every event A.
- P(A) ≥ 0 对每个事件 A 成立。
- P(Ω) = 1, meaning the probability of the entire sample space is 1.
- P(Ω) = 1,即整个样本空间的概率为 1。
- For countable disjoint events A₁, A₂, …, P(A₁ ∪ A₂ ∪ …) = P(A₁) + P(A₂) + …
- 对于可数互斥事件 A₁, A₂, …,P(A₁ ∪ A₂ ∪ …) = P(A₁) + P(A₂) + …
If all sample points are equally likely, then the probability of an event A is simply:
如果所有样本点等可能,则事件 A 的概率为:
P(A) = number of outcomes in A / number of outcomes in Ω
This formula is central to many IB probability questions, but it requires that the sample space be chosen so that all outcomes have equal probability.
这个公式是许多 IB 概率问题的核心,但它要求所选样本空间的所有结果具有等可能性。
10. Choosing the Right Sample Space | 选择正确的样本空间
A critical skill is choosing a sample space that matches the physical situation and makes probability calculations straightforward.
一项关键技能是选择与实际情形匹配且使概率计算简化的样本空间。
Consider drawing two balls without replacement from a bag containing 3 red and 2 blue balls. If we only care about the final colors, the sample space could be {RR, RB, BR, BB}. However, these outcomes are not equally likely because the number of red and blue balls differ.
考虑从一个装有 3 个红球和 2 个蓝球的袋子中不放回地抽取两个球。如果我们只关心最终颜色,样本空间可以是 {RR, RB, BR, BB}。但这些结果并非等可能,因为红球和蓝球的数量不同。
To apply the equally-likely formula, we must label the balls individually (R₁, R₂, R₃, B₁, B₂). Then each ordered pair of individual balls is equally likely, and the sample space contains 5 × 4 = 20 outcomes.
为了应用等可能公式,我们必须给球单独编号(R₁、R₂、R₃、B₁、B₂)。这样每个有序球对都是等可能的,样本空间包含 5 × 4 = 20 个结果。
P(both red) = (3 × 2) / (5 × 4) = 6 / 20 = 3 / 10
This example illustrates that a coarser sample space is not always wrong, but it requires the use of conditional probabilities or the multiplication rule instead of simple counting.
这个例子说明,较粗的样本空间并非总是错误,但需要使用条件概率或乘法规则,而不是简单计数。
11. Common IB Exam Questions | IB考试常见题型
IB Mathematics exams frequently ask students to construct a sample space for a given experiment, then use it to find probabilities of events.
IB 数学考试经常要求学生为给定试验构建样本空间,然后使用它求事件的概率。
Typical experiments include:
典型试验包括:
- Rolling one or two dice.
- 掷一枚或两枚骰子。
- Tossing coins multiple times.
- 多次抛硬币。
- Drawing cards from a deck with or without replacement.
- 从一副牌中有放回或无放回地抽牌。
- Selecting items from a group, with or without order.
- 从一组物品中选择,考虑或不考虑顺序。
For example, a question might ask: “A fair die and a fair coin are tossed. Construct the sample space and find the probability that the die shows a number greater than 4 and the coin shows heads.”
例如,问题可能是:“一枚公平骰子和一枚公平硬币被抛掷。构建样本空间,并求骰子显示大于 4 的数且硬币显示正面的概率。”
The sample space is Ω = {(1,H), (2,H), …, (6,H), (1,T), (2,T), …, (6,T)}, containing 12 equally likely outcomes. The desired event is {(5,H), (6,H)}. Thus P = 2/12 = 1/6.
样本空间为 Ω = {(1,H), (2,H), …, (6,H), (1,T), (2,T), …, (6,T)},包含 12 个等可能结果。所求事件为 {(5,H), (6,H)}。因此 P = 2/12 = 1/6。
12. Common Mistakes and Tips | 常见错误与提示
Students often make mistakes when constructing sample spaces. Here are some important pitfalls to avoid:
学生在构建样本空间时常犯错误。以下是一些需要避免的重要误区和提示:
- Forgetting to consider order. When rolling two dice, (2,3) and (3,2) are different outcomes because the dice are distinguishable.
- 忘记考虑顺序。掷两枚骰子时,(2,3) 和 (3,2) 是不同的结果,因为骰子是可区分的。
- Choosing a sample space with outcomes that are not equally likely, then using simple counting without adjustment.
- 选择了结果不等可能的样本空间,然后不加调整地使用简单计数。
- Missing outcomes in a tree diagram, especially when probabilities are not equal.
- 在树形图中遗漏结果,尤其是当概率不相等时。
- Confusing “with replacement” and “without replacement”. The number of outcomes in the sample space depends on this.
- 混淆“有放回”和“无放回”。样本空间的结果数量取决于这一点。
Always check that the sum of probabilities of all sample points equals 1. This is a quick and reliable way to verify that the sample space is complete.
始终检查所有样本点的概率之和等于 1。这是验证样本空间是否完整的快速且可靠的方法。
Finally, practice constructing sample spaces for different experiments, because this skill is the bridge between a real-world situation and the elegant mathematics of probability.
最后,练习为不同试验构建样本空间,因为这项技能是连接现实情境与优雅概率数学的桥梁。
Published by TutorHao | IB Mathematics Revision Series | aleveler.com
更多咨询请联系16621398022(同微信)
屏轩国际教育cambridge primary/secondary checkpoint, cat4, ukiset,ukcat,igcse,alevel,PAT,STEP,MAT, ibdp,ap,ssat,sat,sat2课程辅导,国外大学本科硕士研究生博士课程论文辅导