Maclaurin Expansion | 麦克劳林展开

📚 Maclaurin Expansion | 麦克劳林展开

Although Maclaurin expansions are usually introduced at A-Level, understanding them early can give you a powerful tool for approximating functions with polynomials. This guide breaks down the concept into clear steps, providing the foundation you need for advanced calculus. We will explore the general formula, work through key examples like ex, sin x and cos x, and see how these series are used in real-world approximations.

虽然麦克劳林展开通常在 A-Level 阶段才正式学习,但提前理解这个概念能让你掌握用多项式逼近函数的强大工具。本文将逐步拆解麦克劳林级数的核心概念,为高级微积分打下坚实基础。我们将探讨一般公式,通过 ex、sin x 和 cos x 等关键示例进行演练,并揭示这些级数如何在现实世界的近似计算中发挥作用。


1. Introduction to Series Expansions | 级数展开简介

A series expansion writes a function as an infinite sum of terms, often powers of x. This transforms a complicated function into a polynomial-like form that is much easier to evaluate, differentiate, or integrate. The simplest example is a geometric series, but Maclaurin series let us do this for functions like exponentials and trigonometric functions.

级数展开是将一个函数写成无穷多项之和的形式,这些项通常是 x 的幂次。这就把复杂函数转化成了多项式形式,使得计算、求导或积分变得容易得多。最简单的例子是几何级数,而麦克劳林级数则让我们能对指数函数、三角函数等操作同样的事情。

Key idea: If a function is smooth enough, we can match its value, slope, curvature, and all higher derivatives at a single point, then build a polynomial that mimics the function near that point.

核心思想:如果函数足够光滑,我们可以在某一点匹配它的函数值、斜率、曲率以及所有高阶导数,然后构造出一个在该点附近与函数完全吻合的多项式。


2. What is a Maclaurin Series? | 什么是麦克劳林级数?

A Maclaurin series is a Taylor series expansion of a function about the point x = 0. It expresses the function as an infinite sum of terms calculated from the values of its derivatives at zero. For many common functions, the series converges to the function for all x or within a certain radius.

麦克劳林级数是函数在 x = 0 处的泰勒级数展开。它将函数表示为无穷多项之和,这些项由函数在 0 点的各阶导数值计算得出。对于许多常见函数,级数对所有 x 或在一定半径内收敛于原函数。

To build a Maclaurin series, we need the function to be infinitely differentiable at x = 0. The coefficients are derived from the nth derivative f(n)(0) divided by n!.

要构造麦克劳林级数,函数必须在 x = 0 处无限可导。系数由第 n 阶导数 f(n)(0) 除以 n! 得到。


3. The General Formula | 一般公式

The Maclaurin series for a function f(x) is given by:

函数 f(x) 的麦克劳林级数由下式给出:

f(x) = f(0) + f'(0)x + f”(0)x²/2! + f”'(0)x³/3! + … + f(n)(0)xⁿ/n! + …

Here, f'(0) denotes the first derivative evaluated at 0, f”(0) the second derivative, and f(n)(0) the nth derivative. The symbol n! means n factorial, the product of all positive integers up to n.

这里 f'(0) 表示在 0 处的一阶导数,f”(0) 表示二阶导数,f(n)(0) 表示第 n 阶导数。符号 n! 表示 n 的阶乘,即所有不超过 n 的正整数之积。

Every term involves a power of x multiplied by a coefficient that depends solely on the derivatives at zero. This formula turns the problem of evaluating a complicated function into simple addition and multiplication.

每一项都是 x 的幂次乘以一个仅依赖于 0 点导数的系数。这个公式把计算复杂函数的值转化为简单的加法和乘法。


4. Example: ex Expansion | 示例:ex 的展开

The exponential function ex is the easiest starting point because all its derivatives are ex, and at x = 0 they all equal 1. Thus, every term’s coefficient is 1/n!.

指数函数 ex 是最简单的入门示例,因为它所有的导数都是 ex,且在 x=0 处都等于 1。因此每一项的系数都是 1/n!。

Compute the first few derivatives:

计算前几阶导数:

  • f(x) = ex → f(0) = 1

    f(x) = ex → f(0) = 1

  • f'(x) = ex → f'(0) = 1

    f'(x) = ex → f'(0) = 1

  • f”(x) = ex → f”(0) = 1

    f”(x) = ex → f”(0) = 1

  • f”'(x) = ex → f”'(0) = 1

    f”'(x) = ex → f”'(0) = 1

Plugging into the formula:

代入公式:

ex = 1 + x + x²/2! + x³/3! + x⁴/4! + …

This series converges for all real x. If you take only the first three terms (1 + x + x²/2), you get a quadratic approximation that works well for small x.

该级数对所有实数 x 收敛。如果你只取前三项 (1 + x + x²/2),就能得到一个对较小 x 效果很好的二次近似。


5. Example: sin x Expansion | 示例:sin x 的展开

The sine function is interesting because its derivatives cycle every four steps: sin x → cos x → −sin x → −cos x → sin x. At x = 0, sin(0)=0 and cos(0)=1, so only odd powers survive.

正弦函数很有趣,因为它的导数每四步循环一次:sin x → cos x → −sin x → −cos x → sin x。在 x=0 处,sin(0)=0,cos(0)=1,因此只有奇次幂项保留。

We find: f(0)=0, f'(0)=1, f”(0)=0, f”'(0)=−1, f⁗(0)=0, f⁗'(0)=1, etc. The signs alternate and only odd derivatives are non-zero.

我们得到:f(0)=0, f'(0)=1, f”(0)=0, f”'(0)=−1, f⁗(0)=0, f⁗'(0)=1,等等。符号交替出现,且只有奇次导数非零。

The Maclaurin series becomes:

由此得到麦克劳林级数:

sin x = x − x³/3! + x⁵/5! − x⁷/7! + …

Notice that this is an odd function, matching the symmetry of sin x. The series also demonstrates the small-angle approximation sin x ≈ x for very small x.

注意这是一个奇函数,与 sin x 的对称性吻合。该级数也体现了小角度近似 sin x ≈ x(当 x 很小时)。


6. Example: cos x Expansion | 示例:cos x 的展开

Like sine, cosine derivatives cycle but with a shift: cos x → −sin x → −cos x → sin x → cos x. At x = 0, cos(0)=1 and −sin(0)=0, so only even powers appear.

与正弦类似,余弦的导数同样循环,但相位发生了偏移:cos x → −sin x → −cos x → sin x → cos x。在 x=0 处,cos(0)=1,−sin(0)=0,因此只有偶次幂项出现。

Evaluating: f(0)=1, f'(0)=0, f”(0)=−1, f”'(0)=0, f⁗(0)=1, …

计算得:f(0)=1, f'(0)=0, f”(0)=−1, f”'(0)=0, f⁗(0)=1,……

Thus:

因此:

cos x = 1 − x²/2! + x⁴/4! − x⁶/6! + …

The series starts with 1 and then subtracts a small quadratic term, which explains why cos x ≈ 1 − x²/2 for small x. This approximation is widely used in physics and engineering.

该级数以 1 开始,然后减去一个小的二次项,这就解释了为什么对于较小的 x 有 cos x ≈ 1 − x²/2。这个近似在物理和工程中被广泛应用。


7. Approximating Functions | 用多项式近似函数

Maclaurin series allow us to replace a complicated function with a polynomial that is easy to compute. The more terms we include, the better the approximation becomes near x = 0. For example, with just two terms, ex ≈ 1 + x is a linear approximation; with three terms, ex ≈ 1 + x + x²/2 captures curvature.

麦克劳林级数让我们能用易于计算的多项式替代复杂函数。我们包含的项数越多,在 x=0 附近的近似就越好。例如,只用两项,ex ≈ 1 + x 是线性近似;用三项,ex ≈ 1 + x + x²/2 则捕捉了曲率。

In practical calculations, you can decide how many terms you need based on the desired accuracy. For x = 0.1, using terms up to x³ gives an error of about 0.000004 for ex. This makes Maclaurin series essential for calculators and computer algorithms.

在实际计算中,你可以根据所需精度决定取多少项。对于 x = 0.1,对于 ex 取到 x³ 项约产生 0.000004 的误差。这使得麦克劳林级数对计算器和计算机算法至关重要。


8. Applications in Physics and Engineering | 在物理和工程中的应用

Maclaurin expansions are not just theoretical – they are used in countless real-world scenarios. The small-angle approximations sin θ ≈ θ and cos θ ≈ 1 − θ²/2 simplify pendulum motion equations. In optics, the paraxial approximation relies on expanding sine and tangent.

麦克劳林展开不仅是理论工具——它们在无数真实场景中都有应用。小角度近似 sin θ ≈ θ 和 cos θ ≈ 1 − θ²/2 简化了单摆运动方程。在光学中,近轴近似依赖于正弦和正切的展开。

Engineers use series expansions to linearise nonlinear systems, making them easier to control. For instance, the exponential growth of a population or the charging of a capacitor can be approximated using the first few terms of ex.

工程师利用级数展开将非线性系统线性化,使其更易于控制。例如,种群指数增长或电容充电都可以用 ex 的前几项来近似。

In statistics, the normal distribution’s probability density involves e−x²/2, which can be expanded to compute probabilities without integration tables.

在统计学中,正态分布的概率密度包含 e−x²/2,可展开后在没有积分表的情况下计算概率。


9. Convergence and Validity | 收敛性与有效性

Not every function can be represented by a Maclaurin series, and even when a series exists, it may only converge for a limited range of x. For ex, sin x, and cos x, the series converge for all real x. However, the series for ln(1+x) converges only for −1 < x ≤ 1.

并非每个函数都可以用麦克劳林级数表示,即使级数存在,也可能只在有限范围内收敛。对于 ex、sin x 和 cos x,级数对所有实数 x 收敛。然而 ln(1+x) 的级数仅在 −1 < x ≤ 1 内收敛。

You can test convergence using the ratio test. For ln(1+x), the absolute ratio of consecutive terms tends to |x|, so convergence requires |x| < 1. At x = 1, it conditionally converges; at x = −1, it diverges.

你可以用比值判别法检验收敛性。对于 ln(1+x),相邻项的绝对值之比趋于 |x|,因此收敛要求 |x| < 1。在 x = 1 处条件收敛;在 x = −1 处发散。

Always check the radius of convergence when using a Maclaurin series for approximation. Outside the valid interval, the polynomial will ‘blow up’ and give nonsense values.

使用麦克劳林级数进行近似时,务必检查收敛半径。在有效区间外,多项式会“爆炸”并给出无意义的值。


10. Key Exam Tips | 考试要点总结

When tackling Maclaurin expansions in an exam, always start by computing the first few derivatives at 0. Write them down clearly, and be careful with signs. Factorials grow quickly, so simplify fractions where possible.

在考试中处理麦克劳林展开时,一定要先计算在 0 处的前几阶导数。清晰写下来,并注意符号。阶乘增长很快,所以尽可能化简分数。

Memorise the standard expansions for ex, sin x, and cos x – they often form the basis for more complicated functions. For example, e3x can be obtained by replacing x with 3x in the ex series.

记住 ex、sin x 和 cos x 的标准展开式——它们常常是更复杂函数的基础。例如,e3x 只需将 ex 级数中的 x 替换为 3x 即可得到。

If you are asked to find a series up to a certain term, stop once you have that power of x. Show your substitution clearly and state the final polynomial with its domain of validity if required.

如果题目要求求出到某次项为止的级数,一旦得到那个 x 的幂次就停止。清晰地写出你的代入过程,如有要求,还需注明最终多项式及其有效域。

Practice using the general term to find specific coefficients without computing all preceding ones. For instance, the coefficient of x⁷ in sin x is (−1)³/(7!), which is negative.

练习使用通项来求特定系数,而无需计算所有前面的项。例如,sin x 中 x⁷ 的系数是 (−1)³/(7!),它是负数。

Finally, remember that a Maclaurin series is just a Taylor series centred at zero. All the techniques you learn here will transfer directly to Taylor expansions about other points.

最后,记住麦克劳林级数只是中心在零点的泰勒级数。你在这里学到的所有技巧将直接适用于其他点处的泰勒展开。


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课程辅导,国外大学本科硕士研究生博士课程论文辅导Cancel reply

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

Exit mobile version