← 返回资讯屏轩教育 · 行业资讯

Piecewise Probability Density Functions: The Joining Technique | 分段概率密度函数的连接技巧

2026-08-02 17:38 · 本文部分内容由AI辅助创作

📚 Piecewise Probability Density Functions: The Joining Technique | 分段概率密度函数的连接技巧

In Edexcel A-Level Mathematics, especially within the Statistics component, continuous random variables are often defined by probability density functions (PDFs) that consist of two or more pieces. The term 'PDF joiner' informally refers to the process of determining unknown constants so that the pieces connect smoothly and satisfy the fundamental properties of a PDF. This article explores how to join piecewise functions into a single valid PDF, covering continuity, integration to unity, and typical exam applications.

在Edexcel A-Level 数学中,特别是在统计部分,连续随机变量常由分段概率密度函数(PDF)来定义。所谓“PDF连接器”是指确定未知常数以使各段平滑连接并满足 PDF 基本性质的过程。本文将探讨如何将分段函数连接为一个有效的概率密度函数,内容包括连续性、积分和为1以及典型考试应用。


1. Understanding Probability Density Functions | 理解概率密度函数

A probability density function f(x) describes the likelihood of a continuous random variable X taking values within a particular range. Unlike discrete probabilities, the function itself does not give a probability directly; instead, the area under the curve between two points represents the probability that X lies in that interval.

概率密度函数 f(x) 描述了连续随机变量 X 在某个范围内取值的可能性。与离散概率不同,函数本身并不直接给出概率;曲线下某两点之间的面积表示 X 落在该区间内的概率。

tal area under the curve over the entire domain must equal 1. These conditions form the backbone of the joining technique we will employ.

任何 PDF 必须满足两个基本要求:对于所有 x 都有 f(x) ≥ 0,并且整个定义域上曲线下的总面积必须等于1。这两个条件是我们要使用的连接技巧的核心。


2. The Pieces and Their Unknowns | 分段函数与未知数

≤ 4, with f(x) = 0 otherwise. The constants k and m are the unknown parameters that must be found.

在典型的 A-Level 题目中,f(x) 在两到三个子区间内有不同的表达式。例如:当 0 ≤ x ≤ 2 时 f(x) = kx;当 2 < x ≤ 4 时 f(x) = m(4 − x),其他情况则为 0。常数 k 和 m 是必须求出的未知参数。

The number of unknowns determines how many conditions we need. If there are two unknown constants, we generally use the continuity condition at the boundary and the total area condition (integration over the whole domain equals 1) to set up simultaneous equations.

未知数的个数决定了我们需要多少条件。如果有两个未知常数,通常需要使用边界处的连续性条件以及全域积分等于1的总面积条件来建立方程组。


3. The Joining Condition: Continuity | 连接条件:连续性

erwise). The condition states that at the point where two pieces meet, say x = a, the left-hand limit and right-hand limit of f(x) must be equal.

为了使分段 PDF 定义良好,通常要求函数在连接点处连续(除非考试大纲另有说明)。该条件要求在两部分相遇的点,比如说 x = a,f(x) 的左极限和右极限必须相等。

2). This provides one equation linking the unknowns, which greatly simplifies the problem.

如果对于 0 ≤ x ≤ 2 有 f₁(x),对于 2 < x ≤ 4 有 f₂(x),连续性条件给出 f₁(2) = f₂(2)。这提供了一个将未知数联系起来的方程,极大地简化了问题。


4. Total Probability Condition | 总概率条件

o integrate over the union of the subintervals. For a two-piece function on [0, 4], this becomes ∫₀² f₁(x) dx + ∫₂⁴ f₂(x) dx = 1.

第二个关键条件是 f(x) 在所有实数上的积分等于1。由于 f(x) 在定义区间外为零,只需对各个子区间的并集进行积分。对于 [0, 4] 上的两段函数,这变为 ∫₀² f₁(x) dx + ∫₂⁴ f₂(x) dx = 1。

Combining this integral equation with the continuity equation gives a system that can be solved simultaneously. Always check that the resulting constants keep f(x) non-negative everywhere on the domain.

将此积分方程与连续性方程结合,就给出了可联立求解的方程组。务必检查求得的常数能确保 f(x) 在定义域内处处非负。


5. Step-by-Step Joining Procedure | 分步连接步骤

Here is a reliable method for joining piecewise PDFs:

以下是连接分段 PDF 的可靠方法:

Step 1: dition at each join point. For a single join at x = c, set left piece(c) = right piece(c).
Step 2: Write the total probability integral as a sum of integrals over the pieces, set equal to 1.
Step 3: Solve the resulting equations for the unknown constants.
Step 4: Substitute the constants back into the definition and check f(x) ≥ 0.

第一步:写出每个连接点处的连续性条件。对于在 x = c 处的单个连接,令左段函数(c) = 右段函数(c)。
第二步:将总概率积分写为各段积分之和,令其等于1。
第三步:求解所得的方程,得出未知常数。
第四步:将常数代回定义,并检查 f(x) ≥ 0。


6. Worked Example: Linear Joining | 实例解析:线性连接

by: f(x) = Ax, 0 ≤ x ≤ 3; and f(x) = B(6 − x), 3 < x ≤ 6; zero elsewhere. Find A and B.

考虑随机变量 X 的概率密度函数 f(x) 为:当 0 ≤ x ≤ 3 时 f(x) = Ax;当 3 < x ≤ 6 时 f(x) = B(6 − x);其余地方为零。求 A 和 B。

Continuity at x = 3: A·3 = B(6 − 3) ⇒ 3A = 3B ⇒ A = B. This simplifies the work.

在 x = 3 处的连续性:A·3 = B(6 − 3) ⇒ 3A = 3B ⇒ A = B。这简化了计算。

Total probability: ₃⁶ A(6−x) dx = A [6x − x²/2]₃⁶ = A[(36−18) − (18−4.5)] = A[18 − 13.5] = 4.5A. Sum = 9A = 1 ⇒ A = 1/9, hence B = 1/9.

总概率:∫₀³ Ax dx + ∫₃⁶ A(6 − x) dx = 1。计算第一个积分:[A x²/2]₀³ = A·9/2 = 4.5A。第二个积分:∫₃⁶ A(6−x) dx = A [6x − x²/2]₃⁶ = A[(36−18) − (18−4.5)] = A[18 − 13.5] = 4.5A。和 = 9A = 1 ⇒ A = 1/9,因此 B = 1/9。

ity: For x in [0,3], f(x) = x/9 ≥ 0; for x in (3,6], f(x) = (6−x)/9 ≥ 0. The PDF is valid.

检查非负性:在 [0,3] 上,f(x) = x/9 ≥ 0;在 (3,6] 上,f(x) = (6−x)/9 ≥ 0。PDF 有效。


广告 / Sponsored

7. Handling Three or More Pieces | 处理三段或更多分段

, giving two continuity equations. Together with the total area = 1, you obtain three equations for three unknowns.

有时 PDF 在三段区间上定义,例如 [0, 2]、[2, 5] 和 [5, 8]。同样的原则适用。将有两个连接点,给出两个连续性方程。再结合总面积 = 1,即可得到三个方程来求解三个未知数。

A systematic approach is to label the constants and write the conditions in order. In examinations, these extended problems test your integration accuracy and algebraic manipulation skills.

一种系统性的方法是标记常数并依次写出条件。在考试中,这些扩展问题考查的是你的积分准确度和代数运算能力。


8. Common Mistakes and How to Avoid Them | 常见错误及避免方法

Mistake 1: ) = 0 outside the given intervals. Always fully define the PDF to ensure it is understood.

错误1:忘记在给定区间外将 f(x) 置为 0。务必完整定义 PDF 以确保理解准确。

Mistake 2: Applying continuity where the function is not required to be continuous. In Edexcel papers, the PDF is almost always continuous, but read the question carefully.

错误2:在不需要连续的地方强加连续性。在 Edexcel 试卷中,PDF 几乎总是连续的,但仍需仔细读题。

Mistake 3: Incorrect limits of integration. Double-check the intervals; using the wrong piece for a boundary value can ruin the solution.

错误3:积分限错误。仔细核对区间;错误地在边界值处使用错了分段函数会毁掉整个解答。

Mistake 4: the equations yield constants, they might produce negative values for some x, rendering the PDF invalid.

错误4:忽略验证 f(x) ≥ 0。即使方程解出了常数,也可能对某些 x 产生负值,导致 PDF 无效。


9. Using the Joined PDF to Find Probabilities | 使用连接好的 PDF 求概率

Once the constants are found, typical follow-up questions ask for probabilities like P(X < a) or P(b < X < c). You simply integrate the appropriate piece(s) over the desired interval. For a join point c, you might need to split the integral into two parts.

一旦求出常数,典型的后续问题会要求计算诸如 P(X < a) 或 P(b < X < c) 之类的概率。只需在所需区间内对相应的分段进行积分。若跨越连接点 c,可能需要将积分分成两部分。

₃⁴ ((6−x)/9) dx. This tests both integration and understanding of the piecewise structure.

例如,利用之前 A = B = 1/9 的 PDF,P(X < 4) = ∫₀³ (x/9) dx + ∫₃⁴ ((6−x)/9) dx。这既考查了积分,又考查了对分段结构的理解。


10. The Median and Quartiles for Joiner PDFs | 连接型 PDF 的中位数和四分位数

ise PDF, you must first identify which piece contains the median by evaluating cumulative areas up to each join point. This often involves setting up an equation using one of the function pieces.

求中位数 m 需要解 ∫₋∞ᵐ f(x) dx = 0.5。对于分段 PDF,需先通过计算到各连接点的累积面积来判断中位数落在哪一段。这通常需要利用其中一段函数建立方程。

Similar logic applies for lower quartile (0.25) and upper quartile (0.75). These questions combine the joining concept with the cumulative distribution function.

类似的逻辑也适用于下四分位数(0.25)和上四分位数(0.75)。这类题目将连接概念与累积分布函数相结合。


11. Modelling with Piecewise Density Functions | 用分段密度函数建模

Piecewise PDFs are often used to model real-world situations where the behaviour of a variable changes after a certain threshold. For instance, the time taken for a chemical reaction may have a constant failure rate for an initial period and then a linearly increasing rate later. Joining these pieces correctly yields a realistic model.

分段 PDF 常用于模拟现实情况中变量在某一阈值后行为发生变化的情形。例如,化学反应所需时间可能在初期具有恒定的失效率,随后线性增加。将各段正确连接即可得到一个真实的模型。

In the Edexcel syllabus, interpreting the constants in context and commenting on the suitability of the model is a higher-order skill frequently examined.

在 Edexcel 教学大纲中,结合背景解读常数并评论模型的适当性是一项常考的高阶技能。


12. Summary and Key Takeaways | 总结与关键要点

The joining of piecewise probability density functions is a core skill in A-Level Statistics. The process hinges on two fundamental conditions: continuity at join points and total area equals one. By setting up and solving simultaneous equations, you can determine all unknown parameters and then use the PDF to compute probabilities and percentiles.

分段概率密度函数的连接是 A-Level 统计学的核心技能。这一过程依赖于两个基本条件:连接点的连续性和总面积等于1。通过建立并求解方程组,可以确定所有未知参数,然后利用该 PDF 计算概率和百分位数。

Always remember to check non-negativity and to handle integrals carefully across piece boundaries. With systematic practice, joining PDFs becomes a routine and rewarding component of the Edexcel Mathematics paper.

要始终牢记检查非负性,并在分段边界处小心处理积分。经过系统练习,连接 PDF 将成为 Edexcel 数学试卷中一项常规且易得分的组成部分。

Published by TutorHao | Mathematics Revision Series | aleveler.com

广告 / Sponsored
海外直订Cambridge Primary Computing Learner's Book Stage... 剑桥初…
计算机 备考教辅 · 正版现货 · 与本文同科同级别
查看详情 / View on Taobao参考价 ¥306.0

更多咨询请联系16621398022(同微信)

备考资讯每日更新,关注不错过
考纲变化 · 科目分析 · 学习方法
扫码关注公众号 tutorhao
在微信里长按二维码识别关注
或截图后用「扫一扫 → 相册」选择本图
公众号:tutorhao