Solving Second-Order Differential Equations: Methods and Techniques | 二阶微分方程求解方法与技巧

📚 Solving Second-Order Differential Equations: Methods and Techniques | 二阶微分方程求解方法与技巧

A second-order differential equation is an equation that involves an unknown function and its first and second derivatives. These equations appear throughout physics, engineering, and mathematics, from mechanical vibrations to electrical circuits. In this article, we systematically explore the most important analytical methods and practical techniques for solving them, with special attention to linear equations with constant coefficients.

二阶微分方程是含有未知函数及其一阶导数和二阶导数的方程。它们广泛出现在物理、工程和数学中,从机械振动到电路分析。本文将系统介绍求解二阶微分方程最重要的解析方法和实用技巧,并特别关注常系数线性方程。


1. General Form and Classification | 一般形式与分类

The most general linear second-order differential equation can be written as

最一般的线性二阶微分方程可以写成

y” + p(x)y’ + q(x)y = f(x)

where p(x), q(x), and f(x) are continuous functions on some interval. If f(x) = 0, the equation is called homogeneous; otherwise, it is nonhomogeneous. When p and q are constants, the equation simplifies to the constant-coefficient case, which is the most commonly tested form.

其中 p(x)、q(x) 和 f(x) 是某区间上的连续函数。若 f(x) = 0,则方程称为齐次方程;否则称为非齐次方程。当 p 和 q 为常数时,方程简化为常系数情形,这也是考试中最常见的形式。


2. The Characteristic Equation for Homogeneous Constant-Coefficient Equations | 常系数齐次方程的特征方程

Consider the homogeneous constant-coefficient equation

考虑常系数齐次方程

y” + a y’ + b y = 0

Because exponential functions have derivatives that are multiples of themselves, we try a solution of the form y = erx. Substitution gives the characteristic equation

由于指数函数的导数是其自身的倍数,我们尝试形如 y = erx 的解。代入后得到特征方程

r² + a r + b = 0

The roots of this quadratic equation determine the structure of the general solution. There are three cases: real distinct roots, a repeated real root, and complex conjugate roots.

该二次方程的根决定了通解的结构。共有三种情形:相异实根、重实根和共轭复根。


3. Real Distinct Roots | 相异实根

If the characteristic equation has two distinct real roots r₁ and r₂, the two linearly independent solutions are er₁x and er₂x. The general solution is

若特征方程有两个不同的实根 r₁ 和 r₂,则两个线性无关解为 er₁x 和 er₂x。通解为

y = C₁ er₁x + C₂ er₂x

This case often arises in over-damped systems, where the motion returns to equilibrium without oscillating.

这种情形常出现在过阻尼系统中,运动不发生振荡而直接回到平衡位置。


4. Repeated Roots | 重根

If the characteristic equation has a repeated root r, one solution is erx. A second linearly independent solution can be found by multiplying by x. Hence the general solution is

若特征方程有重根 r,一个解为 erx。可通过乘以 x 得到第二个线性无关解。因此通解为

y = (C₁ + C₂ x) erx

This occurs in critically damped systems, which return to equilibrium in the shortest time without oscillation.

这出现在临界阻尼系统中,系统在无振荡的情况下以最短时间回到平衡位置。


5. Complex Roots | 复数根

When the characteristic equation has complex conjugate roots r = α ± iβ, the general solution is expressed using real-valued functions:

当特征方程有共轭复根 r = α ± iβ 时,通解用实值函数表示:

y = eαx (C₁ cos βx + C₂ sin βx)

The factor eαx controls exponential growth or decay, while cos βx and sin βx describe oscillation. This pattern models under-damped systems and alternating currents.

因子 eαx 控制指数增长或衰减,而 cos βx 和 sin βx 描述振荡。该模式用于建立欠阻尼系统和交流电模型。


6. Nonhomogeneous Equations and the Superposition Principle | 非齐次方程与叠加原理

For a nonhomogeneous equation y” + a y’ + b y = f(x), the general solution takes the form

对于非齐次方程 y” + a y’ + b y = f(x),通解具有形式

y = yh + yp

where yh is the general solution of the associated homogeneous equation and yp is one particular solution of the nonhomogeneous equation. The superposition principle states that if f(x) is a sum of simpler terms, a particular solution can be obtained by summing particular solutions found for each term separately.

其中 yh 是对应齐次方程的通解,yp 是非齐次方程的一个特解。叠加原理指出:若 f(x) 是若干较简单项之和,则可分别求每个项的特解,再将它们相加得到原方程的特解。


7. Method of Undetermined Coefficients | 待定系数法

This method applies when f(x) consists of polynomials, exponentials, sines, cosines, or products of these. We first guess the form of yp with unknown coefficients, then substitute into the equation to determine the coefficients.

该方法适用于 f(x) 由多项式、指数函数、正弦、余弦或其乘积组成的情形。我们首先猜测 yp 的形式(含未知系数),然后代入方程确定系数。

f(x) form | f(x) 形式 Trial yp | 尝试的特解
Pn(x) (degree n) xs Qn(x)
ekx xs A ekx
cos kx or sin kx xs (A cos kx + B sin kx)
ekx cos mx or ekx sin mx xs ekx (A cos mx + B sin mx)

Here s is the smallest non-negative integer such that no term in the trial solution is a solution of the homogeneous equation. If f(x) already resembles a homogeneous solution, we multiply the trial form by x (or x² if necessary).

这里 s 是使试验解中没有任何项满足齐次方程的最小非负整数。若 f(x) 与齐次解相似,则将试验形式乘以 x(必要时乘以 x²)。


8. Variation of Parameters | 参数变易法

This method works for any continuous f(x). Suppose y₁ and y₂ are linearly independent solutions of the homogeneous equation. We seek a particular solution of the form

该方法对任意连续 f(x) 均适用。设 y₁ 和 y₂ 是齐次方程的两个线性无关解。我们寻找如下形式的特解

yp = u₁(x) y₁ + u₂(x) y₂

Let the Wronskian be defined as

定义朗斯基行列式

W = y₁ y₂’ – y₂ y₁’

Then the unknown functions satisfy

则未知函数满足

u₁’ = – y₂ f / W, u₂’ = y₁ f / W

Integrating these expressions gives u₁ and u₂, and hence yp. This technique is particularly useful when the method of undetermined coefficients is inapplicable.

对上述表达式积分即可得到 u₁ 和 u₂,从而得到 yp。当待定系数法不适用时,这一技巧特别有用。


9. Reduction of Order | 降阶法

If one nontrivial solution y₁ of the homogeneous equation y” + p(x)y’ + q(x)y = 0 is known, a second linearly independent solution can be found from

若已知齐次方程 y” + p(x)y’ + q(x)y = 0 的一个非平凡解 y₁,则第二个线性无关解可由下式求得

y₂ = y₁ ∫ [ e-∫ p(x) dx / y₁² ] dx

This formula is derived by setting y = y₁ v and reducing the equation to a first-order equation in v’. Reduction of order is essential for equations with variable coefficients, for example when one solution is obtained by inspection or from a series solution.

该公式通过令 y = y₁ v,将方程化为关于 v’ 的一阶方程而导出。降阶法对于变系数方程至关重要,例如当通过观察或级数解得到一个解时。


10. Cauchy-Euler Equations | 欧拉方程

The Cauchy-Euler equation has the form

欧拉方程具有形式

x² y” + a x y’ + b y = 0

We assume a solution y = xm. Substitution yields the auxiliary equation

假设解为 y = xm。代入后得到辅助方程

m(m – 1) + a m + b = 0

For distinct real roots m₁ and m₂, the solution is y = C₁ xm₁ + C₂ xm₂. For a repeated root m, the solution is y = (C₁ + C₂ ln x) xm. For complex roots m = α ± iβ, the solution is y = xα [C₁ cos(β ln x) + C₂ sin(β ln x)].

当有相异实根 m₁ 和 m₂ 时,解为 y = C₁ xm₁ + C₂ xm₂。当有重根 m 时,解为 y = (C₁ + C₂ ln x) xm。当有复根 m = α ± iβ 时,解为 y = xα [C₁ cos(β ln x) + C₂ sin(β ln x)]。


11. Initial-Value and Boundary-Value Problems | 初值问题与边值问题

To solve an initial-value problem, we need the general solution and then determine the arbitrary constants using the conditions y(x₀) = y₀ and y'(x₀) = y₁. This process often leads to a linear system of two equations in C₁ and C₂.

求解初值问题时,我们需要通解,然后利用条件 y(x₀) = y₀ 和 y'(x₀) = y₁ 确定任意常数。这个过程通常会导致关于 C₁ 和 C₂ 的二元一次方程组。

A boundary-value problem instead specifies the function at two different points, such as y(a) = A and y(b) = B. Boundary-value problems may have no solution, exactly one solution, or infinitely many solutions, depending on whether the homogeneous boundary-value problem has nontrivial solutions.

边值问题则在不同两点给出函数值,例如 y(a) = A 和 y(b) = B。边值问题可能无解、有唯一解或有无穷多解,这取决于齐次边值问题是否有非平凡解。


12. Practical Tips and Common Mistakes | 实用技巧与常见错误

  • Always write the equation in standard form before applying the characteristic equation.

    在应用特征方程前,务必先将方程写成标准形式。

  • When using undetermined coefficients, check whether the trial solution is linearly independent of the homogeneous solution; if not, multiply by x.

    使用待定系数法时,检查试验解是否与齐次解线性无关;若相关,则乘以 x。

  • For complex roots, keep the real form with cos and sin; do not leave the answer in terms of complex exponentials.

    对于复根,保留含 cos 和 sin 的实形式;不要将答案保留为复指数形式。

  • In variation of parameters, remember to divide by the leading coefficient before computing the Wronskian.

    在参数变易法中,计算朗斯基行列式前要记得除以首项系数。

  • Check the final solution by substituting it back into the original differential equation.

    通过将最终解代回原微分方程来验证正确性。

  • If f(x) is a sum of several terms, apply superposition to work with each term separately.

    若 f(x) 是若干项之和,利用叠加原理分别处理每一项。

Common mistakes include mixing up the two constants when solving the system, forgetting the x factor for repeated roots, and using the wrong trial form when f(x) overlaps with yh. Careful practice with these techniques will build speed and accuracy.

常见错误包括:解方程组时混淆两个常数、忘记重根的 x 因子,以及当 f(x) 与 yh 重叠时使用错误的试验形式。仔细练习这些技巧将帮助你提高速度和准确性。


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