Numerical Demonstrations of Summation Formulas | 求和公式的数值演示

📚 Numerical Demonstrations of Summation Formulas | 求和公式的数值演示

Summation formulas are among the most practical tools in IB Mathematics, bridging arithmetic and geometric sequences, calculus, and probability. In this article, we demonstrate these formulas numerically — showing exactly how they work, step by step, with concrete values.

求和公式是IB数学中最实用的工具之一,它将等差与等比数列、微积分和概率论紧密联系在一起。本文将通过具体数值,一步一步地演示这些公式的运作方式,帮助你真正理解而非死记。


1. Sigma Notation and the Idea of a Sum | Σ记号与求和的本质

The symbol Σ (capital Greek sigma) means “add up”. For example, Σₖ₌₁⁵ k means 1 + 2 + 3 + 4 + 5. The number at the bottom (k = 1) is the starting index, and the number at the top (5) is the ending index.

符号Σ(大写希腊字母sigma)表示“求和”。例如,Σₖ₌₁⁵ k 代表 1 + 2 + 3 + 4 + 5。下标处的 k = 1 是起始指标,上标处的 5 是终止指标。

A summation formula replaces the long addition process with a compact expression involving n, the number of terms. Let us verify these formulas by direct numerical computation.

求和公式将冗长的加法过程替换为仅含 n(项数)的简洁表达式。下面我们通过直接数值计算来验证这些公式。


2. Arithmetic Series: Sum of the First n Integers | 等差数列:前n个整数的和

The most famous summation formula is Σₖ₌₁ⁿ k = n(n + 1)/2. Take n = 10. Direct addition: 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 = 55. Using the formula: 10 × 11 / 2 = 55. Both agree perfectly.

最著名的求和公式是 Σₖ₌₁ⁿ k = n(n + 1)/2。取 n = 10。直接相加:1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 = 55。套用公式:10 × 11 / 2 = 55。两者完全一致。

Why does this work? Pair the first and last terms: 1 + 10 = 11, 2 + 9 = 11, 3 + 8 = 11, 4 + 7 = 11, 5 + 6 = 11. There are 5 pairs, each summing to 11. Thus total = 5 × 11 = 55.

为什么这样可行?将首项与末项配对:1 + 10 = 11,2 + 9 = 11,3 + 8 = 11,4 + 7 = 11,5 + 6 = 11。共有5对,每对和为11。因此总和 = 5 × 11 = 55。

Σₖ₌₁ⁿ k = n(n + 1) / 2


3. General Arithmetic Series | 一般等差数列的求和

For an arithmetic sequence with first term a, common difference d, and n terms, the sum is Sₙ = n/2 [2a + (n − 1)d]. Consider a = 3, d = 5, n = 6. The terms are: 3, 8, 13, 18, 23, 28.

对于首项为 a、公差为 d、项数为 n 的等差数列,求和公式为 Sₙ = n/2 [2a + (n − 1)d]。设 a = 3,d = 5,n = 6。各项为:3,8,13,18,23,28。

Direct addition: 3 + 8 + 13 + 18 + 23 + 28 = 93. Formula: S₆ = 6/2 × [2(3) + 5(5)] = 3 × [6 + 25] = 3 × 31 = 93. The formula matches the direct sum exactly.

直接相加:3 + 8 + 13 + 18 + 23 + 28 = 93。公式计算:S₆ = 6/2 × [2(3) + 5(5)] = 3 × [6 + 25] = 3 × 31 = 93。公式与直接相加的结果完全吻合。

An alternative form uses the last term l: Sₙ = n(a + l)/2. Here the last term l = 28, so S₆ = 6(3 + 28)/2 = 6 × 31/2 = 93. This mirrors the pairing argument.

另一种形式使用末项 l:Sₙ = n(a + l)/2。此处末项 l = 28,因此 S₆ = 6(3 + 28)/2 = 6 × 31/2 = 93。这与配对的思路完全一致。


4. Geometric Series: Finite Sum | 等比数列:有限项求和

For a geometric sequence with first term a, common ratio r, and n terms, the sum is Sₙ = a(1 − rⁿ)/(1 − r). Let a = 2, r = 3, n = 5. The terms are: 2, 6, 18, 54, 162.

对于首项为 a、公比为 r、项数为 n 的等比数列,求和公式为 Sₙ = a(1 − rⁿ)/(1 − r)。设 a = 2,r = 3,n = 5。各项为:2,6,18,54,162。

Direct sum: 2 + 6 + 18 + 54 + 162 = 242. Formula: S₅ = 2(1 − 3⁵)/(1 − 3) = 2(1 − 243)/(−2) = 2(−242)/(−2) = 242. The two methods agree.

直接求和:2 + 6 + 18 + 54 + 162 = 242。公式:S₅ = 2(1 − 3⁵)/(1 − 3) = 2(1 − 243)/(−2) = 2(−242)/(−2) = 242。两种方法结果一致。

Sₙ = a(1 − rⁿ) / (1 − r), r ≠ 1

Notice how the formula avoids adding term by term. Even with thousands of terms, the formula requires only one exponentiation and one division.

注意公式避免了逐项相加。即使有成千上万项,公式也只需一次乘方和一次除法。


5. Sum of Squares: Σk² | 平方和公式:Σk²

The formula Σₖ₌₁ⁿ k² = n(n + 1)(2n + 1)/6 is essential for many IB problems. Let n = 4. Direct sum: 1² + 2² + 3² + 4² = 1 + 4 + 9 + 16 = 30.

公式 Σₖ₌₁ⁿ k² = n(n + 1)(2n + 1)/6 在IB题目中至关重要。取 n = 4。直接求和:1² + 2² + 3² + 4² = 1 + 4 + 9 + 16 = 30。

Formula: 4(5)(9)/6 = 180/6 = 30. Perfect match. For n = 10, the formula gives 10(11)(21)/6 = 2310/6 = 385, which equals 1 + 4 + 9 + … + 100.

公式:4(5)(9)/6 = 180/6 = 30。完全吻合。对于 n = 10,公式给出 10(11)(21)/6 = 2310/6 = 385,即 1 + 4 + 9 + … + 100 的和。

Σₖ₌₁ⁿ k² = n(n + 1)(2n + 1) / 6


6. Sum of Cubes: Σk³ and a Beautiful Surprise | 立方和:Σk³ 与一个美丽的惊喜

The sum of cubes follows the elegant identity Σₖ₌₁ⁿ k³ = [n(n + 1)/2]². That is, the sum of cubes equals the square of the sum of integers. Let us verify numerically with n = 3.

立方和遵循优雅的恒等式 Σₖ₌₁ⁿ k³ = [n(n + 1)/2]²。也就是说,立方和等于整数和的平方。让我们用 n = 3 进行数值验证。

Direct sum: 1³ + 2³ + 3³ = 1 + 8 + 27 = 36. Now compute [3(4)/2]² = 6² = 36. The equality holds.

直接求和:1³ + 2³ + 3³ = 1 + 8 + 27 = 36。再计算 [3(4)/2]² = 6² = 36。等式成立。

For n = 5: direct sum 1 + 8 + 27 + 64 + 125 = 225. The formula gives [5(6)/2]² = 15² = 225. This identity is often tested in IB Paper 1.

对于 n = 5:直接求和 1 + 8 + 27 + 64 + 125 = 225。公式给出 [5(6)/2]² = 15² = 225。这一恒等式常出现在IB Paper 1中。

Σₖ₌₁ⁿ k³ = [n(n + 1) / 2]²


7. Numerical Verification Table | 数值验证表

The following table compares direct summation with formula results for various n values.

下表比较了不同 n 值下直接求和与公式计算的结果。

n Σk (direct) n(n+1)/2 Σk² (direct) n(n+1)(2n+1)/6
1 1 1 1 1
2 3 3 5 5
3 6 6 14 14
4 10 10 30 30
5 15 15 55 55
10 55 55 385 385

Every row confirms that the compact formula reproduces the brute-force sum exactly. This table is a quick reference for exam preparation.

每一行都确认了简洁公式能精确复现逐项求和的结果。此表可作为备考时的快速参考。


8. Infinite Geometric Series | 无穷等比级数

When |r| < 1, the infinite geometric series converges to S∞ = a/(1 − r). Take a = 100 and r = 0.5. The terms are: 100, 50, 25, 12.5, 6.25, ... The partial sums approach 200.

当 |r| < 1 时,无穷等比级数收敛于 S∞ = a/(1 − r)。取 a = 100,r = 0.5。各项为:100,50,25,12.5,6.25,... 部分和逐渐逼近200。

After 5 terms: 100 + 50 + 25 + 12.5 + 6.25 = 193.75. The formula predicts 100/(1 − 0.5) = 200. After 10 terms the partial sum equals 100(1 − 0.5¹⁰)/(0.5) = 200(1 − 0.0009766) ≈ 199.8047, very close to 200.

前5项之和:100 + 50 + 25 + 12.5 + 6.25 = 193.75。公式预测 100/(1 − 0.5) = 200。前10项的部分和为 100(1 − 0.5¹⁰)/(0.5) = 200(1 − 0.0009766) ≈ 199.8047,非常接近200。

S∞ = a / (1 − r), |r| < 1

If |r| ≥ 1, the series diverges — the partial sums grow without bound. For example, 1 + 2 + 4 + 8 + … clearly has no finite limit.

若 |r| ≥ 1,级数发散——部分和无限增长。例如,1 + 2 + 4 + 8 + … 显然没有有限极限。


9. Changing the Lower Index | 改变求和下标的技巧

IB exams often shift indices. For example, Σₖ₌₃⁷ k equals Σₖ₌₁⁷ k − Σₖ₌₁² k. Numerically: Σₖ₌₃⁷ k = 3 + 4 + 5 + 6 + 7 = 25. Using formulas: 7(8)/2 − 2(3)/2 = 28 − 3 = 25.

IB考试常考指标偏移。例如,Σₖ₌₃⁷ k 等于 Σₖ₌₁⁷ k − Σₖ₌₁² k。数值上:Σₖ₌₃⁷ k = 3 + 4 + 5 + 6 + 7 = 25。用公式:7(8)/2 − 2(3)/2 = 28 − 3 = 25。

Similarly, Σₖ₌₀ⁿ (2k + 1) can be split as 2Σₖ₌₀ⁿ k + Σₖ₌₀ⁿ 1 = 2 × n(n+1)/2 + (n+1) = (n+1)². For n = 4: the odd numbers are 1 + 3 + 5 + 7 + 9 = 25 = 5². This confirms the identity.

类似地,Σₖ₌₀ⁿ (2k + 1) 可拆分为 2Σₖ₌₀ⁿ k + Σₖ₌₀ⁿ 1 = 2 × n(n+1)/2 + (n+1) = (n+1)²。对于 n = 4:前几个奇数为 1 + 3 + 5 + 7 + 9 = 25 = 5²。这验证了该恒等式。


10. Application: Compound Interest and Mortgage Models | 应用:复利与房贷模型

Geometric summation formulas appear directly in financial mathematics. Suppose you deposit $500 at the end of each year into an account earning 4% annual interest. After n years, the total value is 500(1.04ⁿ − 1)/0.04 — a finite geometric series with a = 500 and r = 1.04.

等比求和公式直接应用于金融数学。假设你每年年末向一个年利率为4%的账户存入500美元。n年后,总价值为 500(1.04ⁿ − 1)/0.04——这是一个 a = 500、r = 1.04 的有限等比级数。

For n = 3: the deposits grow as follows: year 1 deposit becomes 500 × (1.04)² = 540.80; year 2 deposit becomes 500 × 1.04 = 520.00; year 3 deposit stays 500. Total = 540.80 + 520.00 + 500.00 = 1560.80.

以 n = 3 为例:各笔存款增值如下:第1年存款变为 500 × (1.04)² = 540.80;第2年存款变为 500 × 1.04 = 520.00;第3年存款保持500。总计 = 540.80 + 520.00 + 500.00 = 1560.80。

The formula: 500(1.04³ − 1)/0.04 = 500(1.124864 − 1)/0.04 = 500 × 0.124864/0.04 = 500 × 3.1216 = 1560.80. Exact match.

公式计算:500(1.04³ − 1)/0.04 = 500(1.124864 − 1)/0.04 = 500 × 0.124864/0.04 = 500 × 3.1216 = 1560.80。完全吻合。


11. Telescoping Sums | 裂项相消法

A telescoping series simplifies dramatically when terms cancel. Consider Σₖ₌₁ⁿ 1/[k(k+1)]. Note that 1/[k(k+1)] = 1/k − 1/(k+1). For n = 4:

裂项相消级数在项与项相互抵消时大为简化。考虑 Σₖ₌₁ⁿ 1/[k(k+1)]。注意 1/[k(k+1)] = 1/k − 1/(k+1)。以 n = 4 为例:

Direct sum: 1/(1×2) + 1/(2×3) + 1/(3×4) + 1/(4×5) = 1/2 + 1/6 + 1/12 + 1/20 = 30/60 + 10/60 + 5/60 + 3/60 = 48/60 = 4/5.

直接求和:1/(1×2) + 1/(2×3) + 1/(3×4) + 1/(4×5) = 1/2 + 1/6 + 1/12 + 1/20 = 30/60 + 10/60 + 5/60 + 3/60 = 48/60 = 4/5。

Using the telescoping identity: (1/1 − 1/2) + (1/2 − 1/3) + (1/3 − 1/4) + (1/4 − 1/5) = 1 − 1/5 = 4/5. All middle terms vanish. In general, the sum equals n/(n+1).

利用裂项恒等式:(1/1 − 1/2) + (1/2 − 1/3) + (1/3 − 1/4) + (1/4 − 1/5) = 1 − 1/5 = 4/5。所有中间项全部抵消。一般地,该和等于 n/(n+1)。

Σₖ₌₁ⁿ 1/[k(k+1)] = n / (n + 1)


12. Summary and Exam Tips | 总结与考试要点

Numerical demonstrations reveal that summation formulas are not arbitrary — they encode patterns that always hold. For IB exams, memorise these core results: Σk = n(n+1)/2, Σk² = n(n+1)(2n+1)/6, Σk³ = [n(n+1)/2]², and the geometric series formula Sₙ = a(rⁿ − 1)/(r − 1).

数值演示揭示了求和公式并非随意编造——它们编码了永恒成立的规律。为IB考试,请牢记以下核心结论:Σk = n(n+1)/2,Σk² = n(n+1)(2n+1)/6,Σk³ = [n(n+1)/2]²,以及等比级数公式 Sₙ = a(rⁿ − 1)/(r − 1)。

When using these formulas, always check the starting index. If it is not k = 1, subtract the omitted terms. Also verify with a small n like n = 3 or n = 4 — a quick numerical check catches most algebra errors.

使用这些公式时,务必检查起始指标。若不为 k = 1,则需减去被省略的项。另外,用 n = 3 或 n = 4 这样的小值快速验证——简单的数值检查能发现大多数代数错误。

Practice transforming expressions into standard forms. For instance, Σ(2k − 1)² = 4Σk² − 4Σk + Σ1. Numerical check for n = 3: left side = 1 + 9 + 25 = 35; right side = 4(14) − 4(6) + 3 = 56 − 24 + 3 = 35. Master these manipulations and you will handle any IB summation question with confidence.

练习将表达式变形为标准形式。例如,Σ(2k − 1)² = 4Σk² − 4Σk + Σ1。以 n = 3 数值验证:左边 = 1 + 9 + 25 = 35;右边 = 4(14) − 4(6) + 3 = 56 − 24 + 3 = 35。掌握了这些变形技巧,你就能自信地应对任何IB求和问题。

Published by TutorHao | Mathematics Revision Series | aleveler.com

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

Comments

屏轩国际教育cambridge primary/secondary checkpoint, cat4, ukiset,ukcat,igcse,alevel,PAT,STEP,MAT, ibdp,ap,ssat,sat,sat2课程辅导,国外大学本科硕士研究生博士课程论文辅导

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Discover more from aleveler.com

Subscribe now to keep reading and get access to the full archive.

Continue reading