📚 Separating Variables and Homogeneous Differential Equations | 分离变量法与齐次微分方程
Differential equations are the language of change, modelling everything from population growth to the cooling of a cup of coffee. In IB mathematics, the ability to solve first-order ordinary differential equations (ODEs) using separation of variables and homogeneous substitution is a fundamental skill. These methods unlock a wide range of real-world applications and provide a stepping stone to more advanced analysis. In this article, we systematically explore both techniques, walk through worked examples, and highlight the common pitfalls to avoid in exams.
微分方程是描述变化的语言,从人口增长到一杯咖啡的冷却,无所不包。在 IB 数学中,使用分离变量法和齐次代换法求解一阶常微分方程是一项基本技能。这两种方法可以解锁大量的实际应用,并为更高级的分析奠定基础。本文将系统探讨这两种技术,通过详细的例题讲解,并指出考试中需要避免的常见陷阱。
1. Introduction to First-Order Differential Equations | 一阶微分方程简介
nd the function y that satisfies this relation. When the right-hand side can be factored as a product of a function of x alone and a function of y alone, the equation is said to be separable. Another important class is the homogeneous differential equation, where the right-hand side depends solely on the ratio y/x.
一阶常微分方程表达了未知函数 y(x)、其导数 dy/dx 以及自变量 x 之间的关系。一般形式为 dy/dx = g(x, y),目标是找出满足该关系的函数 y。当右边可以分解为仅含 x 的函数与仅含 y 的函数的乘积时,方程称为可分离的。另一个重要的类型是齐次微分方程,其右边只依赖于比值 y/x。
2. The Idea Behind Separation of Variables | 分离变量的基本思想
pulation is justified rigorously by the chain rule and the method of substitution, and it leads to an equation that can be directly integrated.
如果一阶常微分方程可写为 dy/dx = f(x) h(y),我们可以将含有 y 的项与 dy 放在一边,含有 x 的项与 dx 放在另一边。在符号操作上,我们将 dy/dx 视为分式,把 dx 移到另一边: (1/h(y)) dy = f(x) dx。这一非严格的操作可以通过链式法则和代换法严格证明,并且得到一个可以直接积分的方程。
3. The Method of Separating Variables Step by Step | 分离变量法步骤详解
e constant of integration C on one side (usually the x-side). Step 5: Solve for y explicitly if possible, or leave the solution in implicit form.
第一步:将微分方程改写为 dy/dx = f(x) g(y)。第二步:分离变量,将含 y 的表达式与 dy 移到左边,含 x 的表达式与 dx 移到右边,得到 (1/g(y)) dy = f(x) dx。第三步:两边积分:∫ (1/g(y)) dy = ∫ f(x) dx。第四步:在一边(通常是含 x 的一边)加上积分常数 C。第五步:如果可能,显化求解 y,或者保留隐式解。
ple, if we start with dy/dx = 3x² y, we separate to get (1/y) dy = 3x² dx, integrate to ln|y| = x³ + C, and finally exponentiate to obtain y = A ex³, where A = ±eC is a non-zero constant.
例如,若从 dy/dx = 3x² y 开始,分离得到 (1/y) dy = 3x² dx,积分得 ln|y| = x³ + C,最后指数化得 y = A ex³,其中 A = ±eC 为非零常数。
4. Worked Examples of Separable Equations | 分离变量法例题精讲
Example 1: Solve dy/dx = x e⁻ʸ. Separate: eʸ dy = x dx. Integrate: eʸ = ½ x² + C. Explicit solution: y = ln(½ x² + C). Notice the domain requires ½ x² + C > 0.
例题 1:求解 dy/dx = x e⁻ʸ。分离:eʸ dy = x dx。积分:eʸ = ½ x² + C。显化解:y = ln(½ x² + C)。注意定义域要求 ½ x² + C > 0。
x y), with x > 0. Separate variables: (y/(1+y²)) dy = (1/x) dx. Integrate: ½ ln(1+y²) = ln|x| + C. Multiply by 2 and combine logs: ln(1+y²) = 2 ln|x| + 2C = ln(x²) + K. Thus 1+y² = A x², giving y² = A x² - 1. The explicit form is y = ±√A x² - 1 valid for A x² ≥ 1.
例题 2:求解 dy/dx = (1+y²) / (x y),其中 x > 0。分离变量:(y/(1+y²)) dy = (1/x) dx。积分:½ ln(1+y²) = ln|x| + C。乘以 2 并合并对数:ln(1+y²) = 2 ln|x| + 2C = ln(x²) + K。因此 1+y² = A x²,得 y² = A x² - 1。显式形式为 y = ±√A x² - 1,要求 A x² ≥ 1。
5. What Makes an Equation Homogeneous? | 什么是齐次微分方程?
e homogeneous functions of the same degree. For IB purposes, the focus is on the form dy/dx = F(y/x).
若一阶微分方程可写成 dy/dx = F(y/x),则称为齐次方程。也就是说,右边是一个仅通过组合 y/x 依赖于 x 和 y 的函数。等价地,方程可表示为 M(x,y) dx + N(x,y) dy = 0,其中 M 和 N 是同次的齐次函数。对于 IB 考试,重点在于 dy/dx = F(y/x) 这种形式。
y)/x is homogeneous because the right-hand side becomes (tx+ty)/(tx) = (x+y)/x, unaltered.
一个简单的检验:将所有 x 替换为 tx,所有 y 替换为 ty,检查导数 dy/dx 是否保持不变。例如,方程 dy/dx = (x+y)/x 是齐次的,因为右边变为 (tx+ty)/(tx) = (x+y)/x,保持不变。
6. The Key Substitution: y = vx | 关键代换:y = vx
w a separable equation in the variables v and x, as we can write dv / (F(v) - v) = dx / x.
为求解齐次方程 dy/dx = F(y/x),引入新的因变量 v,使得 y = v x。利用乘积法则,dy/dx = v + x dv/dx。代入原方程得到 v + x dv/dx = F(v)。重新整理得 x dv/dx = F(v) - v。此时方程关于 v 和 x 可分离,可写为 dv / (F(v) - v) = dx / x。
ter solving for v, we back-substitute v = y/x to recover the solution in terms of x and y.
这一变换将不可分离的齐次方程转化为可分离方程。解出 v 后,回代 v = y/x 就能得到以 x 和 y 表示的解。
7. Solving Homogeneous Equations: A Systematic Procedure | 齐次方程的规范求解流程
: Integrate both sides. Step 6: Replace v by y/x and simplify the constant. Step 7: If an initial condition is given, determine the constant and state the final solution explicitly or implicitly.
第一步:通过将方程写成 dy/dx = F(y/x) 或检查函数形式来验证齐次性。第二步:设 v = y/x,则 y = vx,dy/dx = v + x dv/dx。第三步:代入得到可分离形式 x dv/dx = F(v) - v。第四步:分离变量:dv/(F(v)-v) = dx/x。第五步:两边积分。第六步:将 v 替换为 y/x 并化简常数。第七步:若给出初始条件,确定常数并明确或隐含地给出最终解。
hat v is a function of x when differentiating. Remember dy/dx = v + x dv/dx, never just v.
常见的错误是求导时忘记 v 是 x 的函数。务必记住 dy/dx = v + x dv/dx,而非仅仅是 v。
8. Thorough Examples of Homogeneous DEs | 齐次微分方程典型例题
= vx gives v + x dv/dx = 1 + v, hence x dv/dx = 1. Separate: dv = dx/x. Integrate: v = ln|x| + C. Then y/x = ln|x| + C, yielding y = x ln|x| + Cx.
例题 3:求解齐次方程 dy/dx = (x + y) / x。改写为 1 + y/x,故 F(v) = 1 + v。代入 y = vx 得 v + x dv/dx = 1 + v,于是 x dv/dx = 1。分离:dv = dx/x。积分:v = ln|x| + C。于是 y/x = ln|x| + C,得 y = x ln|x| + Cx。
v). Separate: (2v/(1 - v²)) dv = dx/x. Integrate using partial fraction or recognising -ln|1 - v²|: -ln|1 - v²| = ln|x| + C. Multiply by -1: ln|1 - v²| = -ln|x| , multiply by x²: x² - y² = Ax. This implicit solution can be rearranged to y² = x² - A x.
例题 4:求解 dy/dx = (x² + y²) / (2xy),x > 0,y > 0。分子分母同除以 x²:dy/dx = (1 + (y/x)²) / (2(y/x))。故 F(v) = (1+v²)/(2v)。代换得 v + x dv/dx = (1+v²)/(2v)。于是 x dv/dx = (1+v²)/(2v) - v = (1+v² - 2v²)/(2v) = (1 - v²)/(2v)。分离变量:(2v/(1 - v²)) dv = dx/x。通过部分分式积分或识别 -ln|1 - v²|:-ln|1 - v²| = ln|x| + C。乘以 -1:ln|1 - v²| = -ln|x| + K,所以 1 - v² = A / x。代回 v:1 - (y/x)² = A/x,乘 x²:x² - y² = Ax。该隐式解可化为 y² = x² - A x。
9. Initial Value Problems with Separable and Homogeneous Equations | 含初值的分离与齐次方程问题
and solve for C or A. Always present the final answer as a specific function or relation, and mention the domain where the solution is valid.
初始条件 y(x₀) = y₀ 让我们可以确定具体的积分常数。在得到微分方程的通解后,代入 x = x₀,y = y₀,解出 C 或 A。最终答案应以具体的函数或关系式呈现,并说明解的有效定义域。
4. Separate: cos y dy = 2x dx. Integrate: sin y = x² + C. Apply y(0)=π/4: sin(π/4) = 0 + C ⇒ C = √2 / 2. So sin y = x² + √2/2. To keep y real, x² + √2/2 must be in [-1,1]. This restricts x. The solution can be written as y = arcsin(x² + √2/2) for x within a certain interval.
例题 5:求解初值问题 dy/dx = 2x sec y,y(0) = π/4。分离变量:cos y dy = 2x dx。积分:sin y = x² + C。应用 y(0)=π/4:sin(π/4) = 0 + C ⇒ C = √2 / 2。因此 sin y = x² + √2/2。为保证 y 为实数,x² + √2/2 必须在 [-1,1] 内。这限制了 x 的范围。解可写为 y = arcsin(x² + √2/2),其中 x 落在某个区间内。
to handle in terms of v. For instance, in Example 3, if given y(1)=2, then 2 = 1·ln1 + C·1 ⇒ C = 2, giving y = x ln|x| + 2x.
对于齐次方程,在回代后,利用初始条件在化简前求出常数,因为以 v 表示的关系可能更容易处理。例如在例题 3 中,若给定 y(1)=2,则 2 = 1·ln1 + C·1 ⇒ C = 2,得到 y = x ln|x| + 2x。
10. Verifying Solutions and Domain Considerations | 解的验证与定义域注意事项
Always verify your solution by differentiating and substituting back into the original ODE. This checks for algebraic errors and ensures the constant has been handled correctly. For implicit solutions, implicit differentiation is especially useful. Additionally, state clearly any restrictions imposed by the solution, such as division by zero, or domains of logarithmic and square root functions.
务必通过求导并代回原方程来验证你的解。这能检查代数错误,并确保常数处理正确。对于隐式解,隐函数求导尤其有用。此外,要清楚地说明解施加的任何限制,例如分母为零,或是对数和平方根函数的定义域。
x² + C) from earlier, we must have ½ x² + C > 0. If C is negative, the solution is only defined for |x| > √-2C main issues are often tested in IB questions that require the largest interval of validity.
例如,在前面 y = ln(½ x² + C) 的解中,需满足 ½ x² + C > 0。如果 C 为负,解仅当 |x| > √-2C 时定义。在齐次例子 y² = x² - A x 中,需要 x² - A x ≥ 0 以保证 y 为实数。IB 题目常会考察这些定义域问题,要求指出最大有效区间。
11. Applications and Modelling with These Techniques | 应用与建模
ferential equations appear frequently in exponential growth and decay (dy/dt = ky), Newton' e tangent forms a specific angle with the radius vector) and in fluid dynamics. In IB, a contextual problem might require you to set up the differential equation from a verbal description and then solve it using the appropriate method.
可分离的微分方程经常出现在指数增长与衰减 (dy/dt = ky)、牛顿冷却定律以及带有环境容量的种群模型中。齐次方程则出现在某些几何问题(如曲线的切线与向径形成特定角度)和流体动力学中。在 IB 考试里,现实情境题可能要求你根据文字描述建立微分方程,然后用适当的方法求解。
P)) = k dt. Partial fractions lead to (1/L)(1/P + 1/(L-P)) dP = k dt. Integrating gives ln|P/(L-P)| be solved for P(t). Such logistic-type equations are separable and appear in IB HL exams.
考虑一个模型:人口 P 的变化率与 P 以及它与极限人口 L 的差值的乘积成正比:dP/dt = k P (L - P)。这是可分离的:dP / (P(L-P)) = k dt。利用部分分式得到 (1/L)(1/P + 1/(L-P)) dP = k dt。积分得 ln|P/(L-P)| = L k t + C,可解出 P(t)。这类逻辑斯谛型方程是可分离的,并出现在 IB HL 考试中。
12. Summary, Common Mistakes, and Exam Tips | 总结、常见错误与应试技巧
entiating y = vx; failing to separate v correctly, leading to lost solutions; and ignoring the constant of integration, which can drastically alter the family of solutions.
要掌握这两种方法,需要勤加练习正确分离变量和识别齐次形式的关键步骤。常见错误包括:忘记对数内的绝对值符号,后来移除时不考虑符号;在对 y = vx 求导时错误运用乘积法则;未能正确分离 v,导致漏掉解;以及忽略积分常数,这会极大地改变解族。
Exam tips: t of integration on one side only. When solving an IVP, find the constant as soon as possible. Finally, present solutions in the simplest form requested by the mark scheme—sometimes implicit form is acceptable and even expected.
应试技巧:在选择方法前,务必检查方程是可分离的还是齐次的;如果给出的 ODE 形式为 M dx + N dy = 0,通过验证 M(tx,ty) = tⁿ M(x,y) 来检查齐次性。只在一侧保留积分常数。求解初值问题时,尽快求出常数。最后,按照评分方案要求的简洁形式呈现解——有时隐式形式不仅可接受,甚至是预期的。
Published by TutorHao | Mathematics Revision Series | aleveler.com
更多咨询请联系16621398022(同微信)

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