📚 PDF Joiner: Mastering Piecewise Probability Density Functions for Edexcel A-Level | PDF 连接者:掌握分段概率密度函数(Edexcel A-Level)
Probability density functions (PDFs) are the backbone of continuous random variables in Edexcel A-Level Mathematics. When a single function cannot describe the probability behaviour across the entire domain, we resort to piecewise PDFs – think of them as several different curves carefully “joined” together to form one valid model. This article unpacks the art of joining these pieces, guiding you through the rules, calculations, and common pitfalls of piecewise PDFs, all aligned with the S2 syllabus.
概率密度函数(PDF)是 Edexcel A-Level 数学中连续随机变量的核心。当单一函数无法描述整个定义域上的概率行为时,我们就会使用分段 PDF——可以想象成将几条不同的曲线精心“连接”起来,构成一个有效的模型。本文将剖析连接这些分段的技巧,带你逐一掌握分段 PDF 的规则、计算方法和常见误区,所有内容均紧扣 S2 考纲。
1. What Is a Probability Density Function? | 什么是概率密度函数?
rete probability, the probability that X equals an exact number is zero. Instead, probability is measured by the area under the curve: P(a ≤ X ≤ b) = ∫ₐᵇ f(x) dx. Two essential properties must hold: f(x) ≥ 0 for all x, and the total area under the curve across the entire domain must equal 1.
概率密度函数 f(x) 描述连续随机变量 X 取某特定值的相对可能性。与离散概率不同,X 恰好等于某个具体数值的概率为零。概率是通过曲线下的面积来度量的:P(a ≤ X ≤ b) = ∫ₐᵇ f(x) dx。必须满足两个基本性质:对所有 x 有 f(x) ≥ 0,且整个定义域上曲线下的总面积必须等于 1。
2. Why We Need Piecewise PDFs | 为什么需要分段 PDF
xam models do not follow a single neat formula across all possible values. A piecewise PDF “joins” different functional parts – for instance, a linear ramp, a constant plateau, and a sharp drop-off – x ≤ 2; 0.2, 2 < x ≤ 4; 0 otherwise. These pieces are the building blocks you must master.
现实世界的数据以及许多考试模型并不会在所有取值上遵循一个单一的简洁公式。分段 PDF 将不同的函数部分“连接”起来——例如一段线性上升、一段常数平稳期、再一段急剧下降——以模拟真实行为。在 Edexcel S2 中,你会频繁看到形如 f(x) = { 0.5x, 0 ≤ x ≤ 2; 0.2, 2 < x ≤ 4; 0 其他 的定义。这些分段就是你必须掌握的基础构件。
3. The Two Golden Rules for Valid Joins | 有效连接的黄金法则
When you join several pieces into one PDF, the combined function must respect two golden rules. First, non‑negativity: every part of the definition must be greater than or equal to zero throughout its sub-interval. Second, the total area under all pieces must sum to exactly 1. Even if there are gaps between sub-intervals, the PDF is defined as zero there, which automatically satisfies non‑negativity and contributes nothing to the area.
当你将多段连接成一个 PDF 时,合并后的函数必须遵守两条黄金法则。第一,非负性:定义的每个部分在其子区间内必须大于或等于零。第二,所有分段下的总面积必须恰好等于 1。即使子区间之间有间隙,PDF 在那里被定义为零,这会自动满足非负性并且对面积没有贡献。
| Rule | Description |
| f(x) ≥ 0 | No negative probabilities allowed |
| ∫₋∞⁺∞ f(x) dx = 1 | Total area must equal 1 |
表格总结:规则一 f(x) ≥ 0,规则二总面积等于 1。
4. Finding Unknown Constants in a Joined PDF | 求连接 PDF 中的未知常数
give you a piecewise PDF containing unknown constants, such as f(x) = { kx, 0 ≤ x ≤ 3; m(5 – re the sum of the integrals of each piece equals 1. Often you also need an extra condition – maybe a given probability or a fact about continuity – to form a second equation.
考官们喜欢给出含有未知常数的分段 PDF,例如 f(x) = { kx, 0 ≤ x ≤ 3; m(5 – x), 3 < x ≤ 5; 0 其他。为求得 k 和 m,你需要建立一个面积方程,令各段积分的总和等于 1。通常还需要一个附加条件——可能是给定的某个概率值或连续性条件——来列出第二个方程。
5. Calculating Probabilities from Joined Pieces | 根据连接分段计算概率
egrating the appropriate piece(s) between the limits. If the interval crosses a join point, split the integral at that boundary. For example, with the earlier two‑ rate the first piece from 1 to 3 and the second piece from 3 to 3.5, then add the results.
一旦你有了一个有效的连接 PDF,求 P(a ≤ X ≤ b) 就只需要在积分上下限之间对适当的分段进行积分。如果积分区间跨越连接点,就在该边界处把积分分开。例如,对于前面两段式 PDF,要计算 P(1 ≤ X ≤ 3.5),你需要对第一段从 1 到 3 积分,再对第二段从 3 到 3.5 积分,然后把结果相加。
6. Cumulative Distribution Function – The Ultimate Joiner | 累积分布函数——终极连接器
ntinuous version of your PDF’s story. For a piecewise PDF, F(x) is also defined piecewise, building up from left to right. On each sub-interval, you integrate the PDF up to that x and add the total area of all previous segments. F(x) will always start at 0 and climb to 1, often becoming a “joiner” that makes the probability picture easier to handle.
累积分布函数 F(x) = P(X ≤ x) 为你分段 PDF 的故事提供了一个更平滑、连续的版本。对于分段 PDF,F(x) 也是分段定义的,从左向右逐步累加。在每个子区间上,你对 PDF 积分到该 x,再加上之前所有段的总面积。F(x) 始终从 0 开始攀升至 1,往往成为一个使概率图像更易于处理的“连接者”。
7. Finding Medians, Modes and Percentiles in Joined PDFs | 求连接 PDF 中的中位数、众数和百分位数
lve ∫₋∞ᵐ f(x) dx = 0.5 using the appropriate piece, remembering to include the area gained from earlier segments. The mode is the x‑value where f(x) attains its maximum within the joined pieces – don’t forget to check the boundaries. Percentiles follow the same logic as the median.
中位数 m 满足 F(m) = 0.5。为确定其位置,先通过检查连接点处的累积面积来判断中位数落在哪一段。然后利用对应的分段求解 ∫₋∞ᵐ f(x) dx = 0.5,并记得加上前面各段已经累积的面积。众数是使得 f(x) 在连接的各段中取得最大值的 x 值——别忘了检查边界点。百分位数的逻辑与中位数相同。
∫ₐˣ f(t) dt + (area of earlier pieces) = 0.5
居中公式:∫ₐˣ f(t) dt +(之前各段面积)= 0.5。
8. Expectation and Variance – Disassembling the Joins | 期望与方差——拆解连接之处
ts. Similarly, E(X²) is handled by integrating x²·f(x) piece by piece. Then Var(X) = E(X²) – contributions that still add up smoothly, exactly like summing the moments of several mini‑distributions.
为求连接 PDF 的 E(X),你需要分别对每一段积分 x·f(x),再把结果相加。同理,E(X²) 通过逐段积分 x²·f(x) 来处理。然后 Var(X) = E(X²) – [E(X)]²。尽管在连接点处定义突变,但积分过程把它们视为独立的贡献,最终仍能平滑相加,就像把若干小分布的矩求和一样。
9. Do the Pieces Need to Join Continuously? | 各个分段需要连续连接吗?
A common misconception is that a piecewise PDF must be continuous at the join boundaries. Edexcel exam questions sometimes require continuity, but a PDF is entirely valid even if it jumps, provided the area stays equal to 1 and non‑negativity holds. You may see a PDF that drops instantly from one value to another at a boundary – that’s perfectly acceptable. Always read the question carefully to see whether continuity is implied or given.
一个常见的误解是分段 PDF 必须在连接边界处连续。Edexcel 考题有时会要求连续性,但只要总面积保持为 1 且满足非负性,即使 PDF 在边界处跳跃也是完全有效的。你可能会见到 PDF 在边界处从一个值瞬间跳变到另一个值——这完全可以接受。务必仔细阅读题目,弄清连续性是否是隐含条件或被明确给出。
10. Transforming and Joining New PDFs | 变换并连接新的 PDF
ined PDF transforms piece by piece. Each piece’s domain shifts and the height scales by 1/|a| but appears in more demanding questions where you combine scaling and translation to create a new family of joined PDFs.
如果应用变换,例如 Y = aX + b,原连接 PDF 将逐段变换。每个分段的定义域发生偏移,高度按 1/|a| 缩放以保持面积不变。掌握这一技巧在标准 S2 中不太常见,但会出现在要求较高的题目中,需要结合缩放与平移创建新的连接 PDF 族。
fY(y) = fX( (y – b)/a ) × 1/|a|
变换公式:fY(y) = fX( (y – b)/a ) × 1/|a|。
11. Common Pitfalls When Joining PDFs | 连接 PDF 时的常见陷阱
Pitfall one: forgetting to split integrals at join boundaries. Pitfall two: assuming the constant piece is a probability rather than a density. Pitfall three: misinterpreting “otherwise” – if a range is omitted, the PDF is zero there, not undefined. Pitfall four: integrating over the wrong piece because of a sign error in F(x). Vigilance with these details will save you many marks.
陷阱一:忘记在连接边界处分割积分。陷阱二:误把常数段当作概率而非密度。陷阱三:误解“其他”的含义——如果某个范围被省略,PDF 在那里为零,而不是未定义。陷阱四:由于 F(x) 中的符号错误而在错误分段上积分。留心这些细节将为你挽回不少分数。
- Always sketch the joined PDF first.
- Match each probability interval to the correct piece.
- Double-check the total area using quick geometry when possible.
建议:先画出连接 PDF 的草图;把每个概率区间匹配到正确的分段;尽可能用简单几何快速核对总面积。
12. Exam-Style Strategy and Final Summary | 考试策略与总结
Approach any joined PDF question methodically: identify the pieces and their domains, use the total area condition to find unknown constants, then move on to probabilities, F(x), and summary statistics. Treat the question as a puzzle where you are “joining” several simple functions into a coherent probabilistic model. With practice, piecewise PDFs become one of the most rewarding topic areas in Edexcel S2.
有条不紊地处理任何连接 PDF 题目:识别各分段及其定义域,利用总面积条件求出未知常数,然后依次处理概率、F(x) 和汇总统计量。把题目看作一个拼图,你正在将几个简单函数“连接”成一个连贯的概率模型。经过练习,分段 PDF 将成为 Edexcel S2 中最有收获感的知识领域之一。
Published by TutorHao | Mathematics Revision Series | aleveler.com
更多咨询请联系16621398022(同微信)

或截图后用「扫一扫 → 相册」选择本图