📚 Complementary Functions and Particular Integrals | 余函数与特解
In A-Level Further Mathematics, solving second-order linear differential equations with constant coefficients is a core skill. The general solution of a non-homogeneous equation is formed by adding two parts: the complementary function (CF), which solves the associated homogeneous equation, and a particular integral (PI), which is any single solution to the full non-homogeneous equation.
在 A-Level 进阶数学中,求解常系数二阶线性微分方程是一项核心技能。非齐次方程的通解由两部分相加组成:余函数(CF)是对应齐次方程的解,而特解(PI)是原非齐次方程的任意一个解。
1. Setting the Stage: The General Form | 基本框架:一般形式
We study equations of the form ad2y⁄dx2 + bdydx + cy = f(x), where a, b, and c are real constants. When f(x) = 0, the equation is homogeneous; when f(x) ≠ 0, it is non-homogeneous. The complete solution is written as y = CF + PI.
我们研究的方程形式为 ad2y⁄dx2 + bdydx + cy = f(x),其中 a、b、c 为实常数。当 f(x) = 0 时,方程为齐次的;当 f(x) ≠ 0 时,方程为非齐次的。完整的解写作 y = CF + PI。
2. The Auxiliary Equation | 辅助方程
To find the complementary function, we replace each derivative by a power of a variable m. Thus, ad2y⁄dx2 + bdydx + cy = 0 leads to the auxiliary equation am2 + bm + c = 0. Solving this quadratic gives us the roots that determine the form of the CF.
为了求余函数,我们将每阶导数替换为变量 m 的幂。于是 ad2y⁄dx2 + bdydx + cy = 0 对应辅助方程 am2 + bm + c = 0。解这个二次方程得到的根决定了 CF 的形式。
3. Two Distinct Real Roots | 两个相异实根
If the auxiliary equation has two distinct real roots m1 and m2, the complementary function is yc = Aem1x + Bem2x. Here A and B are arbitrary constants determined by boundary or initial conditions.
若辅助方程有两个相异实根 m1 和 m2,余函数为 yc = Aem1x + Bem2x。其中 A 和 B 是由边界条件或初值条件确定的任意常数。
Example: y'' - 3y' + 2y = 0
Auxiliary: m2 - 3m + 2 = 0 ⇒ m = 1, 2
CF: yc = Aex + Be2x
4. Repeated Real Root | 重根
When the auxiliary equation has a repeated root m = r, the CF becomes yc = (A + Bx)erx. The extra factor x is necessary to produce two linearly independent solutions.
当辅助方程有重根 m = r 时,CF 变为 yc = (A + Bx)erx。额外的因子 x 是为了产生两个线性无关的解。
Example: y'' + 6y' + 9y = 0
m2 + 6m + 9 = 0 ⇒ m = -3 (twice)
CF: yc = (A + Bx)e-3x
5. Complex Conjugate Roots | 共轭复根
If the roots are complex conjugate pairs m = p ± qi, the CF is expressed using sine and cosine: yc = epx(Acos(qx) + Bsin(qx)). This form is essential for modelling oscillatory systems such as springs and circuits.
若根为共轭复根 m = p ± qi,CF 用正弦和余弦表示:yc = epx(Acos(qx) + Bsin(qx))。这种形式对于弹簧、电路等振荡系统的建模至关重要。
Example: y'' - 2y' + 5y = 0
m = 1 ± 2i
CF: yc = ex(Acos 2x + Bsin 2x)
6. Locating the Particular Integral | 确定特解的形式
For a given f(x), we propose a trial solution whose form matches f(x). For example, if f(x) is a polynomial of degree n, try yp = anxn + ⋯ + a1x + a0. If f(x) = kemx, try yp = Cemx. If f(x) = kcos(ω x) or ksin(ω x), try a combination of sine and cosine.
对于给定的 f(x),我们尝试一个与 f(x) 形式匹配的试探解。例如,若 f(x) 是 n 次多项式,则设 yp = anxn + ⋯ + a1x + a0。若 f(x) = kemx,则设 yp = Cemx。若 f(x) = kcos(ω x) 或 ksin(ω x),则尝试正弦与余弦的组合。
7. Substitution and Comparison of Coefficients | 代入与比较系数
We substitute the trial solution into the left-hand side of the differential equation and equate coefficients of like terms with f(x). This yields a system of linear equations that determines the unknown constants in the PI.
将试探解代入微分方程左端,并与 f(x) 比较同类项的系数。这样得到一组线性方程,求解这些方程即可确定特解中的未知常数。
Worked Example:
Solve y'' + y' - 2y = 4x.
CF: m2 + m - 2 = 0 ⇒ m = 1, -2, so yc = Aex + Be-2x.
Try yp = Cx + D. Then yp' = C, yp'' = 0.
Substitute: 0 + C - 2(Cx + D) = 4x.
Equate: -2C = 4, C - 2D = 0.
Hence C = -2, D = -1.
General solution: y = Aex + Be-2x - 2x - 1.
8. When the Standard Trial Fails: Resonance | 标准试探解失效时:共振
If the proposed PI is already part of the CF, it will not work because substitution yields zero on the left-hand side. This is called resonance. In this case, multiply the trial solution by x (or a higher power if necessary) until it is no longer contained in the CF.
若提议的特解已包含在 CF 中,代入后左端恒为零,试探将失效。这称为共振。此时需将试探解乘以 x(必要时乘以更高次幂),直到它不再被包含在 CF 中为止。
Example: y'' + 4y = cos 2x
CF: yc = Acos 2x + Bsin 2x.
Since cos 2x is in the CF, try yp = x(Ccos 2x + Dsin 2x).
Using this properly gives a valid PI.
9. Special Case: f(x) Is a Sum of Terms | 特例:f(x) 为若干项之和
When f(x) consists of multiple distinct types, such as a polynomial plus an exponential, the principle of superposition applies. We find separate particular integrals for each term and add them together.
当 f(x) 由多种不同类型组成,例如多项式加指数函数时,需应用叠加原理。分别求每一项的特解,然后相加即可。
Example: y'' - y = x2 + e3x
PI for x2: yp1 = ax2 + bx + c
PI for e3x: yp2 = de3x
Overall PI: yp = yp1 + yp2
10. Validity Check and Initial Conditions | 验证与初值条件
After deriving the general solution y = yc + yp, it is wise to substitute it back into the original equation to verify correctness. Then, if initial conditions such as y(0) and y'(0) are given, use them to determine A and B.
得到通解 y = yc + yp 后,建议将解代回原方程验证正确性。然后,若给定了初值条件如 y(0) 和 y'(0),可利用这些条件确定 A 和 B。
Summary Table | 总结表
| Auxiliary roots | 辅助方程根 | Complementary function | 余函数 |
| Distinct real m1, m2 | 相异实根 | Aem1x + Bem2x |
| Repeated real m | 重根 | (A + Bx)emx |
| Complex p ± qi | 复根 | epx(Acos qx + Bsin qx) |
Published by TutorHao | Mathematics Revision Series | aleveler.com
更多咨询请联系16621398022(同微信)

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