📚 Differential Equations and Their Applications | 微分方程及其应用
Differential equations form the mathematical backbone of countless real‑world phenomena, from population growth and radioactive decay to mechanical vibrations and electrical circuits. They allow us to model how quantities change with respect to one another, capturing the dynamic nature of the universe in a precise language. This article explores the core A‑Level techniques for solving first‑order and second‑order ordinary differential equations, then applies them to compelling physical contexts, enabling you to build both procedural fluency and conceptual understanding.
微分方程构成了无数现实世界现象的数学骨干——从人口增长、放射性衰变到机械振动和电路分析。它们使我们能够刻画一个量如何相对于另一个量变化,用精确的语言捕捉宇宙的动态本质。本文探索A‑Level阶段求解一阶和二阶常微分方程的核心技巧,然后将它们应用于引人入胜的物理情境,帮助你建立起程序性的熟练度和概念性的理解。
1. What Is a Differential Equation? | 什么是微分方程?
A differential equation is an equation that involves an unknown function and one or more of its derivatives. For example, dy/dx = 2x is a simple first‑order differential equation where y is a function of x. The solution is not a single number but a family of functions: integrating gives y = x² + C, where C is an arbitrary constant. The order of a differential equation is defined by the highest derivative present.
微分方程是包含未知函数及其一个或多个导数的方程。例如,dy/dx = 2x 是一个简单的一阶微分方程,其中 y 是 x 的函数。它的解不是一个数,而是一族函数:积分得到 y = x² + C,其中 C 是任意常数。微分方程的阶由出现的最高阶导数决定。
In real problems, differential equations arise when we can describe the rate of change of a quantity more naturally than the quantity itself. Consider a cooling cup of coffee: the rate at which its temperature T changes is proportional to the difference between T and the ambient temperature, leading to dT/dt = −k(T − Tₐ). Here, the relationship involves the derivative dT/dt, so it is a differential equation.
在实际问题中,当我们能比量本身更自然地描述一个量的变化率时,就会产生微分方程。考虑一杯正在冷却的咖啡:它的温度 T 的变化率正比于 T 与环境温度之差,于是有 dT/dt = −k(T − Tₐ)。这里的关系式包含了导数 dT/dt,所以它是一个微分方程。
2. Order, Linearity, and General Solutions | 阶数、线性与通解
The order of an ODE (ordinary differential equation) is the highest derivative that appears. For instance, d²y/dx² + 3 dy/dx + 2y = 0 is a second‑order equation because of the term d²y/dx². An ODE is linear if the dependent variable y and all its derivatives appear to the power one, with no products like y·y′ and no transcendental functions of y. The coefficients may depend on the independent variable.
常微分方程的阶数是方程中出现的最高阶导数。例如,d²y/dx² + 3 dy/dx + 2y = 0 是一个二阶方程,因为它含有 d²y/dx² 项。如果因变量 y 及其所有导数都是一次幂,没有 y·y′ 这样的乘积,也没有 y 的超越函数,那么该微分方程就是线性的。系数可以依赖于自变量。
The general solution of an n‑th order ODE contains n independent arbitrary constants. A particular solution is obtained when initial conditions or boundary conditions are applied. For example, the general solution of dy/dx = 2x is y = x² + C; imposing y(0)=3 gives the particular solution y = x² + 3. Understanding the structure of a solution is essential before diving into specialized solution methods.
n 阶常微分方程的通解含有 n 个独立的任意常数。当施加初始条件或边界条件时,就可以得到特解。例如,dy/dx = 2x 的通解是 y = x² + C;加入条件 y(0)=3 后,得到特解 y = x² + 3。理解解的结构是深入掌握专门解法的基础。
3. Separable First‑Order Equations | 可分离的一阶方程
A first‑order ODE is called separable if it can be written in the form g(y) dy = f(x) dx. To solve, simply integrate both sides: ∫ g(y) dy = ∫ f(x) dx + C. Always ensure to include the constant of integration immediately after performing the integration. This method is the most fundamental tool for solving first‑order ODEs.
如果一个一阶常微分方程可以写成 g(y) dy = f(x) dx 的形式,就称它为可分离的。求解时只需对两边积分:∫ g(y) dy = ∫ f(x) dx + C。一定要在积分完成后立刻加上积分常数。该方法是求解一阶常微分方程最基本的工具。
Consider the equation dy/dx = xy. Rewrite it as (1/y) dy = x dx, integrate to obtain ln|y| = ½x² + C, and finally exponentiate to get y = A e^{x²/2}, where A = ±eᶜ. Another classic example is dy/dx = y², which separates to y⁻² dy = dx and yields −1/y = x + C, or y = −1/(x + C). Both illustrate how separation turns a differential relationship into two elementary integrations.
考虑方程 dy/dx = xy。把它重写为 (1/y) dy = x dx,积分得到 ln|y| = ½x² + C,最后取指数得到 y = A e^{x²/2},其中 A = ±eᶜ。另一个经典例子是 dy/dx = y²,分离变量后为 y⁻² dy = dx,得到 −1/y = x + C,即 y = −1/(x + C)。这两个例子都展示了分离变量如何把微分关系转化为两次初等积分。
∫ g(y) dy = ∫ f(x) dx + C
4. Integrating Factor for Linear First‑Order ODEs | 一阶线性方程的积分因子法
A linear first‑order ODE has the standard form dy/dx + P(x) y = Q(x). The integrating factor is defined as μ(x) = e^{∫ P(x) dx}. Multiplying both sides of the equation by μ(x) transforms the left‑hand side into the exact derivative d(μ y)/dx. Hence the solution is y = (1/μ) ∫ μ Q dx + C/μ.
一阶线性常微分方程的标准形式是 dy/dx + P(x) y = Q(x)。积分因子定义为 μ(x) = e^{∫ P(x) dx}。用 μ(x) 乘以方程两边后,左边就变成了关于 μ y 的恰当导数 d(μ y)/dx。于是解为 y = (1/μ) ∫ μ Q dx + C/μ。
For example, solve dy/dx + 2xy = x. Here P(x)=2x, so μ = e^{∫ 2x dx} = e^{x²}. Multiply through: e^{x²} dy/dx + 2x e^{x²} y = x e^{x²}. The left side is d/dx (y e^{x²}), so integrate: y e^{x²} = ∫ x e^{x²} dx = ½ e^{x²} + C. Finally, y = ½ + C e^{-x²}. The integrating factor systematically handles equations that are not separable.
例如,求解 dy/dx + 2xy = x。这里 P(x)=2x,故 μ = e^{∫ 2x dx} = e^{x²}。方程两边乘以 μ:e^{x²} dy/dx + 2x e^{x²} y = x e^{x²}。左边是 d/dx (y e^{x²}),积分得 y e^{x²} = ∫ x e^{x²} dx = ½ e^{x²} + C。最终 y = ½ + C e^{-x²}。积分因子法系统性地处理了那些不可分离的方程。
μ(x) = e^{∫ P(x) dx}, y = (1/μ) ∫ μ Q dx + C/μ
5. Second‑Order Homogeneous Linear ODEs with Constant Coefficients | 常系数二阶齐次线性常微分方程
A homogeneous second‑order linear ODE with constant coefficients has the form a y″ + b y′ + c y = 0. Its solution is built from the characteristic equation a r² + b r + c = 0. The nature of the roots determines the form of the general solution.
常系数二阶齐次线性常微分方程的形式为 a y″ + b y′ + c y = 0。它的解由特征方程 a r² + b r + c = 0 构造而来。根的性质决定了通解的形式。
If the characteristic roots r₁ and r₂ are real and distinct, the general solution is y = A e^{r₁ x} + B e^{r₂ x}. For repeated real roots r, the solution is y = (A + B x) e^{r x}. If the roots are complex conjugates α ± iβ, Euler’s formula gives y = e^{α x} (A cos β x + B sin β x). These three cases cover all possibilities for constant‑coefficient homogeneous ODEs.
如果特征根 r₁、r₂ 为相异实根,通解为 y = A e^{r₁ x} + B e^{r₂ x}。对于重实根 r,解为 y = (A + B x) e^{r x}。若根为共轭复数 α ± iβ,则由欧拉公式得 y = e^{α x} (A cos β x + B sin β x)。这三种情况涵盖了常系数齐次常微分方程的所有可能。
For example, y″ − 3y′ + 2y = 0 has characteristic equation r² − 3r + 2 = 0, with roots r=1,2, giving y = A eˣ + B e²ˣ. Meanwhile, y″ + 4y = 0 yields r² + 4 = 0 ⇒ r = ±2i, so α=0, β=2 and the general solution is y = A cos 2x + B sin 2x.
例如,y″ − 3y′ + 2y = 0 的特征方程为 r² − 3r + 2 = 0,根为 r=1,2,通解为 y = A eˣ + B e²ˣ。而 y″ + 4y = 0 给出 r² + 4 = 0 ⇒ r = ±2i,故 α=0, β=2,通解为 y = A cos 2x + B sin 2x。
6. Non‑Homogeneous Second‑Order ODEs and the Method of Undetermined Coefficients | 二阶非齐次常微分方程与待定系数法
A non‑homogeneous ODE has the form a y″ + b y′ + c y = f(x). Its general solution is the sum of the complementary function y_c (the solution of the associated homogeneous equation) and a particular integral y_p that satisfies the full non‑homogeneous equation.
非齐次常微分方程的形式为 a y″ + b y′ + c y = f(x)。它的通解是余函数 y_c(对应齐次方程的解)与满足整个非齐次方程的特积分 y_p 之和。
The method of undetermined coefficients works when f(x) is a polynomial, exponential, sine/cosine, or a combination of these. To find y_p, make an educated guess based on the form of f(x), substitute into the ODE, and equate coefficients to determine the unknown constants. If the guess duplicates a term in y_c, multiply by x (or x²) to achieve independence.
当 f(x) 是多项式、指数函数、正弦/余弦或这些函数的组合时,可以使用待定系数法。为找到 y_p,根据 f(x) 的形式做出合理猜测,代入微分方程,通过比较系数确定未知常数。如果猜测的形式与 y_c 中的项重复,则乘上 x(或 x²)以保证线性无关。
As an illustration, solve y″ − 3y′ + 2y = 4e³ˣ. The complementary function is y_c = A eˣ + B e²ˣ. For y_p, guess C e³ˣ. Substituting gives (9C − 9C + 2C) e³ˣ = 4e³ˣ ⇒ 2C=4 ⇒ C=2. Hence y = A eˣ + B e²ˣ + 2e³ˣ. Key advice: always find y_c first so you can avoid overlap with your trial y_p.
举个例子,求解 y″ − 3y′ + 2y = 4e³ˣ。余函数为 y_c = A eˣ + B e²ˣ。对于 y_p,猜测 C e³ˣ。代入得 (9C − 9C + 2C) e³ˣ = 4e³ˣ ⇒ 2C=4 ⇒ C=2。因此 y = A eˣ + B e²ˣ + 2e³ˣ。关键建议:一定要先求 y_c,以避免与猜测的 y_p 重叠。
7. Application: Exponential Growth and Decay | 应用:指数增长与衰减
The ODE dy/dt = k y models phenomena where the rate of change is proportional to the current amount. If k > 0, we have exponential growth (e.g., bacteria population); if k < 0, we have exponential decay (e.g., radioactive substances). Its general solution is y = y₀ e^{k t}, where y₀ is the initial quantity at t=0.
常微分方程 dy/dt = k y 用于刻画变化率与当前量成正比的现像。若 k > 0,为指数增长(如细箘数量);若 k < 0,则为指数衰减(如放射性物质)。其通解为 y = y₀ e^{k t},其中 y₀ 为 t=0 时的初始量。
For radioactive decay, the half‑life T₁/₂ is the time taken for half the atoms to decay, satisfying ½ y₀ = y₀ e^{k T₁/₂}. Solving gives k = −(ln 2)/T₁/₂. Carbon‑14 dating is a classic application: by measuring the remaining C‑14 in an organic sample, we can determine its age using this decay law.
对于放射性衰变,半衰期 T₁/₂ 是半数原子发生衰变所需的时间,满足 ½ y₀ = y₀ e^{k T₁/₂}。解得 k = −(ln 2)/T₁/₂。碳‑14 测年法是一个经典应用:通过测量有机样品中残留的碳‑14,我们可以利用这个衰变规律确定其年代。
y = y₀ e^{k t}, T₁/₂ = ln 2 / |k|
8. Application: Newton’s Law of Cooling | 应用:牛顿冷却定律
Newton’s law of cooling states that the rate of change of the temperature T of an object is proportional to the difference between its own temperature and the ambient temperature Tₑ. This gives the ODE dT/dt = −k (T − Tₑ), where k > 0. The solution is obtained by separation: ∫ dT/(T − Tₑ) = −k ∫ dt ⇒ ln|T − Tₑ| = −k t + C ⇒ T = Tₑ + (T₀ − Tₑ) e^{-k t}, with T₀ being the initial temperature.
牛顿冷却定律指出,物体温度 T 的变化率与其自身温度和环境温度 Tₑ 之差成正比。由此得到常微分方程 dT/dt = −k (T − Tₑ),其中 k > 0。可通过分离变量法求解:∫ dT/(T − Tₑ) = −k ∫ dt ⇒ ln|T − Tₑ| = −k t + C ⇒ T = Tₑ + (T₀ − Tₑ) e^{-k t},其中 T₀ 为初始温度。
This model is widely used in forensic science to estimate time of death, as well as in engineering for predicting thermal response. Its structure shows an exponential approach to the ambient temperature. No matter how high the initial temperature, the object cools asymptotically toward Tₑ but never quite reaches it in finite time.
这个模型广泛应用于法医学中估算死亡时间,也用于工程中预测热响应。其结构显示出向环境温度的指数趋近。无论初始温度多高,物体会逐渐冷却并渐近于 Tₑ,但在有限时间内永远不会完全达到。
9. Application: Simple Harmonic Motion | 应用:简谐运动
Simple harmonic motion (SHM) describes oscillations where the restoring force is proportional to the displacement. The governing ODE is d²x/dt² + ω² x = 0, where ω is the angular frequency. Its general solution can be written as x = A cos ω t + B sin ω t, or equivalently x = R cos(ω t + φ), where R = √(A² + B²) is the amplitude and φ is the phase constant.
简谐运动描述的是恢复力与位移成正比的振荡。其支配方程为 d²x/dt² + ω² x = 0,其中 ω 是角频率。通解可写为 x = A cos ω t + B sin ω t,或等价地 x = R cos(ω t + φ),其中 R = √(A² + B²) 是振幅,φ 是初相。
A mass‑spring system is a familiar example: Hooke’s law gives F = −k x, and Newton’s second law m d²x/dt² = −k x produces ω² = k/m. The solution tells us the mass oscillates with period T = 2π/ω. If friction is introduced, we append a damping term b dx/dt, leading to damped harmonic motion d²x/dt² + (b/m) dx/dt + (k/m) x = 0, whose solution reveals underdamped, critically damped, or overdamped behaviour depending on the discriminant.
质量‑弹黄系统是一个熟悉的例子:胡克定律给出 F = −k x,牛顿第二定律 m d²x/dt² = −k x 导出 ω² = k/m。解告诉我们质量以周期 T = 2π/ω 振荡。若引入摩擦,则添加阻尼项 b dx/dt,得到阻尼谐运动 d²x/dt² + (b/m) dx/dt + (k/m) x = 0,其解根据判别式表现为欠阻尼、临界阻尼或过阻尼行为。
10. Modelling with Differential Equations and Initial Conditions | 微分方程建模与初始条件
Setting up a differential equation from a word problem typically involves identifying the rate of change and expressing it in terms of the variables. For instance, “the rate of increase of a population is jointly proportional to the current population and the available resources” leads to a logistic ODE: dP/dt = r P (1 − P/K). Once the ODE is formulated, initial conditions fix the specific trajectory.
从文字题建立微分方程通常需要识别变化率,并用变量将其表达出来。例如,“人口的增长率与当前人口数量和可用资源成正比”会导出 Logistic 常微分方程:dP/dt = r P (1 − P/K)。一旦建立好方程,初始条件就确定了具体轨迹。
Solving a modelling problem step by step: (1) define variables and units clearly; (2) translate the physical law or description into an ODE; (3) solve the ODE by the appropriate method; (4) use initial/boundary data to find any constants; (5) interpret the solution in context, and if necessary, check for validity (e.g., non‑negative populations). This five‑step process is at the heart of applied mathematics and appears in examinations regularly.
分步解决建模问题:(1) 明确定义变量和单位;(2) 将物理定律或描述转化为常微分方程;(3) 选用适当方法求解方程;(4) 利用初始/边界数据确定常数;(5) 结合语境解释解,并在必要时检验有效性(如人口非负)。这个五步过程是应用数学的核心,也经常在考试中出现。
As a concluding thought, mastering differential equations unlocks the ability to predict the future state of a system from its rate laws—an immensely powerful skill that bridges pure calculus and real‑world science.
作为总结,掌握微分方程就能从变化率规律预测系统的未来状态——这是一项无比强大的技能,连接了纯微积分与现实世界的科学。
Published by TutorHao | 数学 Revision Series | aleveler.com
更多咨询请联系16621398022(同微信)
屏轩国际教育cambridge primary/secondary checkpoint, cat4, ukiset,ukcat,igcse,alevel,PAT,STEP,MAT, ibdp,ap,ssat,sat,sat2课程辅导,国外大学本科硕士研究生博士课程论文辅导