📚 IB Mathematics: Calculation and Meaning of Variance and Standard Deviation | IB数学:方差与标准差的计算及意义
In IB Mathematics, once you move beyond the mean, median, and mode, the next essential step is understanding how spread out the data really is. Variance and standard deviation are the most powerful tools for this purpose, and they appear across both Analysis & Approaches (AA) and Applications & Interpretation (AI), at both SL and HL.
在IB数学中,当你掌握了平均数、中位数和众数之后,下一步关键就是理解数据的离散程度。方差和标准差是衡量数据分散程度最有力的工具,在分析与方法(AA)和应用与解释(AI)中,无论是标准级别(SL)还是高级别(HL),都会频繁出现。
1. Measures of Dispersion | 离散程度的度量
Central tendency tells us where the “middle” of the data lies, but it tells us nothing about how tightly clustered or widely scattered the values are. Two datasets can have exactly the same mean yet look completely different when plotted.
集中趋势告诉我们数据的“中心”在哪,但它无法说明数据是紧密聚集还是广泛分散。两组数据可以拥有完全相同的平均数,但作图后形态却截然不同。
Consider Dataset A: 4, 5, 6, 7, 8 and Dataset B: 0, 5, 5, 5, 15. Both have a mean of 6, but Dataset B is far more variable. To capture this difference, we need measures of dispersion such as range, interquartile range, variance, and standard deviation.
考虑数据集A:4, 5, 6, 7, 8 和数据集B:0, 5, 5, 5, 15。两者的平均数都是6,但数据集B的波动性远大于A。为了捕捉这种差异,我们需要离散程度的度量,如极差、四分位距、方差和标准差。
The range is simply max minus min, but it ignores everything in between. The interquartile range is more robust, yet it still discards information. Variance and standard deviation, by contrast, use every single data point, making them the most complete measures of spread.
极差只是最大值减最小值,但忽略了中间的一切。四分位距更稳健,但依然丢弃了大量信息。相比之下,方差和标准差利用了每一个数据点,因此是最完整的离散程度度量。
2. Definition of Variance | 方差的定义
Variance is the average of the squared deviations from the mean. It answers the question: on average, how far is each data point from the mean, when we square those distances to remove negative signs?
方差是数据点与平均数之差的平方的平均值。它回答的问题是:平均而言,每个数据点距离平均数有多远——我们将距离平方以消除负号之后再进行平均。
σ² = Σ(xᵢ − μ)² / N
Here, σ² is the population variance, xᵢ represents each individual data value, μ is the population mean, and N is the total number of data points. The square ensures that positive and negative deviations do not cancel each other out.
其中,σ² 是总体方差,xᵢ 代表每一个数据值,μ 是总体平均数,N 是数据总数。平方确保了正负偏差不会相互抵消。
Why square at all? If we simply took the average of the raw deviations, the positives and negatives would always sum to zero. Squaring is a mathematical trick that converts all deviations into non-negative values while amplifying larger outliers.
为什么要平方?如果直接对原始偏差取平均,正负偏差总会相加为零。平方是一种数学技巧,它将所有偏差变为非负值,同时放大了较大离群值的影响。
3. Definition of Standard Deviation | 标准差的定义
Standard deviation is simply the square root of the variance. It brings the measure back to the original units of the data, since variance is expressed in squared units.
标准差就是方差的平方根。它把度量单位还原为数据的原始单位,因为方差是用平方单位表示的。
σ = √σ² = √(Σ(xᵢ − μ)² / N)
For example, if data are measured in metres, variance is in square metres, but standard deviation is again in metres. This makes standard deviation far more interpretable in real-world contexts.
例如,如果数据以米为单位,方差的单位是平方米,而标准差的单位又回到米。这使得标准差在实际情境中更具可解释性。
In IB formula booklets, the population standard deviation is often written as σ, and the sample standard deviation as s. You must be careful to distinguish between the two, because the formulas differ slightly.
在IB公式手册中,总体标准差常写作 σ,样本标准差写作 s。你必须仔细区分二者,因为它们的公式略有不同。
4. Sample vs Population | 样本与总体
If you have data for every member of a group, you calculate the population variance and standard deviation. If you only have a sample from a larger population, you use a slightly different formula with n − 1 in the denominator.
如果你拥有某个群体中每一个成员的数据,就计算总体方差和标准差。如果你只是从更大的总体中抽取了一个样本,则需要使用分母为 n − 1 的略微不同的公式。
s² = Σ(xᵢ − x̄)² / (n − 1)
Here, x̄ is the sample mean and n is the sample size. Dividing by n − 1 rather than n corrects for the fact that the sample mean itself is an estimate, and this adjustment ensures that the sample variance is an unbiased estimator of the population variance.
这里,x̄ 是样本平均数,n 是样本容量。除以 n − 1 而不是 n,是为了修正样本平均数本身也是估计值这一事实,这个调整保证了样本方差是总体方差的无偏估计量。
In IB exams, you may be asked to identify which formula to use. If the question says “a random sample of size n”, use n − 1. If it says “the entire population” or simply has all the data, use N.
在IB考试中,你可能会被要求判断该用哪个公式。如果题目说“容量为 n 的随机样本”,就用 n − 1。如果题目说“整个总体”或直接给出了全部数据,就用 N。
5. Step-by-Step Calculation Example | 逐步计算示例
Let us compute the variance and standard deviation for the dataset: 2, 4, 6, 8, 10. First, find the mean: (2 + 4 + 6 + 8 + 10) / 5 = 30 / 5 = 6.
让我们为数据集 2, 4, 6, 8, 10 计算方差和标准差。首先求平均数:(2 + 4 + 6 + 8 + 10) / 5 = 30 / 5 = 6。
Step 2: subtract the mean from each value and square the result.
第二步:将每个值减去平均数并平方结果。
| xᵢ | xᵢ − μ | (xᵢ − μ)² |
| 2 | −4 | 16 |
| 4 | −2 | 4 |
| 6 | 0 | 0 |
| 8 | 2 | 4 |
| 10 | 4 | 16 |
Step 3: sum the squared deviations: 16 + 4 + 0 + 4 + 16 = 40. Then divide by N = 5 to get the population variance: σ² = 40 / 5 = 8.
第三步:将平方偏差求和:16 + 4 + 0 + 4 + 16 = 40。然后除以 N = 5 得到总体方差:σ² = 40 / 5 = 8。
Step 4: take the square root to find the standard deviation: σ = √8 ≈ 2.83. This tells us that, on average, each data point lies about 2.83 units away from the mean of 6.
第四步:取平方根得到标准差:σ = √8 ≈ 2.83。这告诉我们,平均而言,每个数据点距离平均数6大约有2.83个单位。
6. Using the GDC Calculator | 使用图形计算器
In IB exams, you are expected to use your GDC (graphical display calculator) efficiently. Both TI and Casio models have built-in statistics modes that compute variance and standard deviation instantly from a list of data.
在IB考试中,你需要高效使用图形计算器(GDC)。TI和Casio型号都有内置的统计模式,可以从数据列表中立即计算出方差和标准差。
On most calculators, enter the data into a list, then run the “1-Variable Statistics” command. The calculator will output both s (sample standard deviation) and σ (population standard deviation). Make sure you copy the correct one!
在大多数计算器上,将数据输入列表,然后运行“1-变量统计”命令。计算器会同时输出 s(样本标准差)和 σ(总体标准差)。务必抄写正确的那一个!
For grouped frequency data, enter the midpoints in one list and the frequencies in another, then apply the same command. This saves time and reduces arithmetic errors, but you must still understand the underlying formula to interpret the result.
对于分组频数数据,将组中值输入一个列表,频数输入另一个列表,然后执行相同命令。这能节省时间并减少算术错误,但你必须理解背后的公式才能正确解释结果。
7. Properties of Variance and Standard Deviation | 方差与标准差的性质
Variance and standard deviation are always non-negative. They are zero only when all data values are identical, meaning there is no spread at all.
方差和标准差永远是非负的。只有当所有数据值完全相同时它们才为零,这意味着没有任何离散程度。
If you add a constant c to every data value, the variance and standard deviation do not change. This is because the mean also increases by c, leaving all deviations unchanged. Mathematically: if yᵢ = xᵢ + c, then σ²(y) = σ²(x).
如果对每个数据值都加上常数 c,方差和标准差不会改变。这是因为平均数也增加了 c,所有偏差保持不变。数学上:如果 yᵢ = xᵢ + c,则 σ²(y) = σ²(x)。
If you multiply every data value by a constant k, the variance multiplies by k² and the standard deviation multiplies by |k|. This is a classic IB exam question, often used to test whether you understand the interplay between linear transformations and dispersion.
如果对每个数据值乘以常数 k,方差乘以 k²,标准差乘以 |k|。这是经典的IB考试题,常用来测试你是否理解线性变换与离散程度之间的相互作用。
Combining these rules, if yᵢ = kxᵢ + c, then the standard deviation of y is |k| times the standard deviation of x, and the variance of y is k² times the variance of x. Note that the added constant c never affects dispersion.
综合这些规则,如果 yᵢ = kxᵢ + c,那么 y 的标准差是 x 的标准差的 |k| 倍,y 的方差是 x 的方差的 k² 倍。注意常数 c 永远不会影响离散程度。
8. Interpretation: What Does Standard Deviation Really Tell Us? | 解读:标准差究竟告诉我们什么?
Standard deviation is often described as the “typical” distance of data points from the mean. In approximately symmetric, mound-shaped distributions, about 68% of data lie within one standard deviation of the mean, and about 95% within two standard deviations. This is known as the empirical rule.
标准差常被描述为数据点与平均数之间的“典型”距离。在近似对称、钟形的分布中,约有68%的数据落在平均数的一个标准差之内,约有95%的数据落在两个标准差之内。这被称为经验法则。
In IB Applications & Interpretation, you may also encounter the normal distribution, where standard deviation defines the shape of the bell curve. A larger standard deviation produces a wider, flatter curve, while a smaller one produces a narrow, tall peak.
在IB应用与解释中,你还会遇到正态分布,其中标准差决定了钟形曲线的形状。标准差越大,曲线越宽、越平坦;标准差越小,曲线越窄、峰值越高。
For example, if test scores have a mean of 70 and a standard deviation of 5, a score of 85 is three standard deviations above the mean, which is unusually high. A score of 75 is only one standard deviation above, fairly typical.
例如,如果考试分数均值为70分,标准差为5分,那么85分比均值高出三个标准差,属于异常高分。而75分仅比均值高出一个标准差,属于相当典型的分数。
9. Applications in IB Exam Questions | IB考试中的应用
IB questions on variance and standard deviation appear in several typical formats. You may be given a list of raw data and asked to find the mean and standard deviation directly using your calculator.
关于方差和标准差的IB考题有几种典型模式。你可能会拿到一组原始数据,要求直接用计算器求平均数和标准差。
You may also be given summary statistics, such as Σx and Σx², and asked to find the variance using the alternative formula: σ² = Σx²/N − μ². This shortcut avoids calculating each deviation individually.
你也可能会拿到汇总统计量,如 Σx 和 Σx²,要求使用替代公式求方差:σ² = Σx²/N − μ²。这个快捷方式避免了逐一计算每个偏差。
σ² = (Σx² / N) − μ²
Another common question involves comparing two datasets. For instance, you might be told that class A has a mean of 60 and standard deviation of 12, while class B has the same mean but a standard deviation of 4. You must conclude that class B’s scores are more consistent, even though both have the same average.
另一类常见题涉及比较两组数据。例如,题目可能告诉你A班均分为60、标准差为12,而B班均分相同但标准差为4。你必须得出结论:即使两班平均分相同,B班的分数更稳定。
For grouped data, IB often provides a frequency table. You must calculate the estimated mean and estimated standard deviation, recognising that using midpoints introduces slight approximation.
对于分组数据,IB通常提供频数表。你必须计算估计平均数和估计标准差,并认识到使用组中值会带来轻微近似。
10. Common Mistakes and Tips | 常见错误与技巧
A frequent error is confusing sample and population formulas. If the question says “sample”, dividing by n − 1 is correct; if it says “population”, divide by N. Many students lose easy marks by using the wrong denominator.
一个常见错误是混淆样本公式和总体公式。如果题目说“样本”,除以 n − 1 是对的;如果说“总体”,除以 N。许多学生因为用错分母而丢了容易拿到的分。
Another common mistake is forgetting to square the deviations before summing. If you sum raw deviations, they cancel out to zero, which makes no sense as a measure of spread. Always square each deviation first.
另一个常见错误是求和前忘记将偏差平方。如果你直接对原始偏差求和,它们会抵消为零,这作为离散程度的度量毫无意义。务必先将每个偏差平方。
When using the alternative formula, be careful with units. If your data values are already squared, such as x² terms, ensure you do not mix up Σx² and (Σx)². These are very different quantities!
使用替代公式时,注意单位。如果你的数据值已经平方,比如 Σx²,确保不要混淆 Σx² 和 (Σx)²。这两个量完全不同!
Finally, always state your final answer with the correct notation: σ for population standard deviation, s for sample standard deviation, and σ² or s² for variance. Include units if they are given, and round to three significant figures as required by IB marking schemes.
最后,务必用正确记号写出最终答案:σ 表示总体标准差,s 表示样本标准差,σ² 或 s² 表示方差。如果题目给了单位,请保留单位,并按照IB评分标准四舍五入到三位有效数字。
11. Summary | 总结
Variance measures the average squared distance of data points from the mean, while standard deviation is its square root and shares the same units as the original data. Both quantify spread in a way that uses all data points.
方差衡量的是数据点距离平均数的平均平方距离,而标准差是其平方根,并与原始数据具有相同单位。两者都以利用全部数据点的方式量化了离散程度。
Remember the key formulas for the population, the sample, and the alternative shortcut using Σx². Know when to divide by N and when to divide by n − 1, and always interpret the result in context.
牢记总体公式、样本公式,以及使用 Σx² 的替代快捷公式。知道何时除以 N,何时除以 n − 1,并始终结合具体情境解释结果。
Mastering variance and standard deviation is not just about calculating numbers—it is about understanding variability, which lies at the heart of statistics. From IB internal assessments to real-world data analysis, this skill will serve you far beyond the exam hall.
掌握方差和标准差不仅是会计算数字——更是理解变异性,而变异性是统计学的核心。从IB内部评估到现实世界的数据分析,这项技能将在考场之外长期为你所用。
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课程辅导,国外大学本科硕士研究生博士课程论文辅导