← 学习库 Calculus Volume 2 (OpenStax) · 中英对照 目录

4 Introduction to Differential Equations 微分方程引论

本页译自 OpenStax《Calculus Volume 2》第 4 章 Introduction to Differential Equations(微分方程引论):4.1–4.5 五节(微分方程基础/方向场与数值方法/可分离变量方程/逻辑斯谛方程/一阶线性方程)+ Key Terms/Key Equations/Key Concepts/Review Exercises 全译,段段对照。公式经本地 MathJax 渲染,自定义宏已注入。

4.1 Basics of Differential Equations 4.1 微分方程基础

Calculus is the mathematics of change, and rates of change are expressed by derivatives. Thus, one of the most common ways to use calculus is to set up an equation containing an unknown function $y = f(x)$ and its derivative, known as a *differential equation*. Solving such equations often provides information about how quantities change and frequently provides insight into how and why the changes occur.

微积分是研究变化的数学,而变化的速率由导数表示。因此,使用微积分最常见的方式之一,就是建立一个包含未知函数 $y = f(x)$ 及其导数的方程,这被称为*微分方程*。求解此类方程常常能提供有关量如何变化的信息,并经常使人深入理解变化的方式与原因。

Techniques for solving differential equations can take many different forms, including direct solution, use of graphs, or computer calculations. We introduce the main ideas in this chapter and describe them in a little more detail later in the course. In this section we study what differential equations are, how to verify their solutions, some methods that are used for solving them, and some examples of common and useful equations.

求解微分方程的技巧可以有很多不同形式,包括直接求解、利用图像或计算机计算。我们在本章介绍主要思想,并在课程的稍后部分稍加详细地描述它们。在本节中,我们研究微分方程是什幺、如何验证其解、用于求解它们的一些方法,以及一些常见且有用的方程示例。

General Differential Equations 一般的微分方程

Consider the equation $y^{\prime} = 3x^{2},$ which is an example of a differential equation because it includes a derivative. There is a relationship between the variables $x$ and ${y\text{:}}\ y$ is an unknown function of $x.$ Furthermore, the left-hand side of the equation is the derivative of $y.$ Therefore we can interpret this equation as follows: Start with some function $y = f(x)$ and take its derivative. The answer must be equal to $3x^{2}.$ What function has a derivative that is equal to $3x^{2}?$ One such function is $y = x^{3},$ so this function is considered a solution to a differential equation.

考虑方程 $y^{\prime} = 3x^{2},$ 这是微分方程的一个例子,因为它包含导数。变量 $x$ 与 ${y\text{:}}\ y$ 之间存在关系,$y$ 是 $x$ 的未知函数。此外,方程左边是 $y$ 的导数。因此我们可以如下解释这个方程:从某个函数 $y = f(x)$ 出发,取其导数。结果必须等于 $3x^{2}.$ 哪个函数的导数等于 $3x^{2}?$ 这样一个函数是 $y = x^{3},$ 因此这个函数被视为微分方程的一个解。

A differential equation is an equation involving an unknown function $y = f(x)$ and one or more of its derivatives. A solution to a differential equation is a function $y = f(x)$ that satisfies the differential equation when $f$ and its derivatives are substituted into the equation.

微分方程是一个包含未知函数 $y = f(x)$ 及其一个或多个导数的方程。微分方程的解,是指在将 $f$ 及其导数代入方程时满足该微分方程的函数 $y = f(x)$。

Go to this website to explore more on this topic.

访问该网站以进一步了解本主题。

Some examples of differential equations and their solutions appear in Table 4.1.

微分方程及其解的一些示例出现在表 4.1 中。
Table 4.1 Examples of Differential Equations and Their Solutions
EquationSolution
$y\prime = 2x$$y = x^{2}$
$y\prime + 3y = 6x + 11$$y = e^{-3x} + 2x + 3$
$y\prime\prime - 3y\prime + 2y = 24e^{-2x}$$y = 3e^{x} - 4e^{2x} + 2e^{-2x}$
表 4.1 微分方程及其解的示例
方程
$y\prime = 2x$$y = x^{2}$
$y\prime + 3y = 6x + 11$$y = e^{-3x} + 2x + 3$
$y\prime\prime - 3y\prime + 2y = 24e^{-2x}$$y = 3e^{x} - 4e^{2x} + 2e^{-2x}$

Note that a solution to a differential equation is not necessarily unique, primarily because the derivative of a constant is zero. For example, $y = x^{2} + 4$ is also a solution to the first differential equation in Table 4.1. We will return to this idea a little bit later in this section. For now, let’s focus on what it means for a function to be a solution to a differential equation.

注意,微分方程的解不一定是唯一的,主要是因为常数的导数为零。例如,$y = x^{2} + 4$ 也是表 4.1 中第一个微分方程的解。我们将在本节稍后回到这个想法。现在,让我们专注于一个函数成为微分方程的解意味着什么。

Verifying Solutions of Differential Equations 验证微分方程的解

Verify that the function $y = e^{-3x} + 2x + 3$ is a solution to the differential equation $y^{\prime} + 3y = 6x + 11.$

验证函数 $y = e^{-3x} + 2x + 3$ 是微分方程 $y^{\prime} + 3y = 6x + 11$ 的解。

Solution

解答

To verify the solution, we first calculate $y^{\prime}$ using the chain rule for derivatives. This gives $y^{\prime} = -3e^{-3x} + 2.$ Next we substitute $y$ and $y^{\prime}$ into the left-hand side of the differential equation:

为了验证这个解,我们首先利用导数的链式法则计算 $y^{\prime}$。得到 $y^{\prime} = -3e^{-3x} + 2.$ 接下来,我们将 $y$ 与 $y^{\prime}$ 代入微分方程的左边:

$$(-3e^{-3x} + 2) + 3(e^{-3x} + 2x + 3).$$

$$(-3e^{-3x} + 2) + 3(e^{-3x} + 2x + 3).$$

The resulting expression can be simplified by first distributing to eliminate the parentheses, giving

所得表达式可先通过分配律消去括号进行化简,得到

$$-3e^{-3x} + 2 + 3e^{-3x} + 6x + 9.$$

$$-3e^{-3x} + 2 + 3e^{-3x} + 6x + 9.$$

Combining like terms leads to the expression $6x + 11,$ which is equal to the right-hand side of the differential equation. This result verifies that $y = e^{-3x} + 2x + 3$ is a solution of the differential equation.

合并同类项得到表达式 $6x + 11,$ 它等于微分方程的右边。这一结果验证了 $y = e^{-3x} + 2x + 3$ 是该微分方程的一个解。

Verify that $y = 2e^{3x} - 2x - 2$ is a solution to the differential equation $y^{\prime} - 3y = 6x + 4.$

验证 $y = 2e^{3x} - 2x - 2$ 是微分方程 $y^{\prime} - 3y = 6x + 4$ 的解。

It is convenient to define characteristics of differential equations that make it easier to talk about them and categorize them. The most basic characteristic of a differential equation is its order.

为便于讨论和分类微分方程,定义微分方程的某些特征是有用的。微分方程最基本的特征是其阶。

The order of a differential equation is the highest order of any derivative of the unknown function that appears in the equation.

微分方程的阶,是方程中出现的未知函数的任意导数的最高阶数。

Identifying the Order of a Differential Equation 确定微分方程的阶

What is the order of each of the following differential equations?

下列每个微分方程的阶是多少?

1. $y^{\prime} - 4y = x^{2} - 3x + 4$

1. $y^{\prime} - 4y = x^{2} - 3x + 4$

2. $x^{2}y\text{'''} - 3xy^{''} + xy^{\prime} - 3y = \text{sin}\mspace{2mu} x$

2. $x^{2}y\text{'''} - 3xy^{''} + xy^{\prime} - 3y = \text{sin}\mspace{2mu} x$

3. $\frac{4}{x}y^{(4)} - \frac{6}{x^{2}}y^{''} + \frac{12}{x^{4}}y = x^{3} - 3x^{2} + 4x - 12$

3. $\frac{4}{x}y^{(4)} - \frac{6}{x^{2}}y^{''} + \frac{12}{x^{4}}y = x^{3} - 3x^{2} + 4x - 12$

Solution

解答

1. The highest derivative in the equation is $y^{\prime},$ so the order is $1.$

1. 方程中最高阶导数是 $y^{\prime},$ 因此阶为 $1.$

2. The highest derivative in the equation is $y\text{'''}\text{,}$ so the order is $3.$

2. 方程中最高阶导数是 $y\text{'''}\text{,}$ 因此阶为 $3.$

3. The highest derivative in the equation is $y^{(4)},$ so the order is $4.$

3. 方程中最高阶导数是 $y^{(4)},$ 因此阶为 $4.$

What is the order of the following differential equation?

下列微分方程的阶是多少?

$$\left( {x^{4} - 3x} \right)y^{(5)} - \left( {3x^{2} + 1} \right)y^{\prime} + 3y = \text{sin}\mspace{2mu} x\mspace{2mu}\text{cos}\mspace{2mu} x$$

$$\left( {x^{4} - 3x} \right)y^{(5)} - \left( {3x^{2} + 1} \right)y^{\prime} + 3y = \text{sin}\mspace{2mu} x\mspace{2mu}\text{cos}\mspace{2mu} x$$

General and Particular Solutions 通解与特解

We already noted that the differential equation $y^{\prime} = 2x$ has at least two solutions: $y = x^{2}$ and $y = x^{2} + 4.$ The only difference between these two solutions is the last term, which is a constant. What if the last term is a different constant? Will this expression still be a solution to the differential equation? In fact, any function of the form $y = x^{2} + C,$ where $C$ represents any constant, is a solution as well. The reason is that the derivative of $x^{2} + C$ is $2x,$ regardless of the value of $C.$ It can be shown that any solution of this differential equation must be of the form $y = x^{2} + C.$ This is an example of a general solution to a differential equation. A graph of some of these solutions is given in Figure 4.2. (*Note*: in this graph we used even integer values for $C$ ranging between $-4$ and $4.$ In fact, there is no restriction on the value of $C;$ it can be an integer or not.)

我们已经指出,微分方程 $y^{\prime} = 2x$ 至少有两个解:$y = x^{2}$ 与 $y = x^{2} + 4.$ 这两个解的唯一区别在于最后一项,它是一个常数。如果最后一项是另一个常数会怎样?这个表达式还是该微分方程的解吗?事实上,任何形如 $y = x^{2} + C$ 的函数(其中 $C$ 表示任意常数)也都是解。原因在于 $x^{2} + C$ 的导数是 $2x,$ 与 $C$ 的取值无关。可以证明,该微分方程的任何解都必形如 $y = x^{2} + C.$ 这是微分方程通解的一个例子。其中一些解的图像见图 4.2。(*注*:在此图中,我们取 $C$ 为介于 $-4$ 与 $4$ 之间的偶整数。事实上,对 $C$ 的取值没有限制;它可以是整数,也可以不是。)

In this example, we are free to choose any solution we wish; for example, $y = x^{2} - 3$ is a member of the family of solutions to this differential equation. This is called a particular solution to the differential equation. A particular solution can often be uniquely identified if we are given additional information about the problem.

在这个例子中,我们可以自由地选择任意所需的解;例如,$y = x^{2} - 3$ 是该微分方程解族中的一个成员。这被称为该微分方程的特解。如果给定了关于该问题的附加信息,特解往往可以被唯一确定。

Finding a Particular Solution 求特解

Find the particular solution to the differential equation $y^{\prime} = 2x$ passing through the point $\left( {2,7} \right).$

求微分方程 $y^{\prime} = 2x$ 通过点 $\left( {2,7} \right)$ 的特解。

Solution

解答

Any function of the form $y = x^{2} + C$ is a solution to this differential equation. To determine the value of $C,$ we substitute the values $x = 2$ and $y = 7$ into this equation and solve for $C\text{:}$

任何形如 $y = x^{2} + C$ 的函数都是该微分方程的解。为确定 $C$ 的值,我们将 $x = 2$ 与 $y = 7$ 代入该方程,并解出 $C\text{:}$

$$\begin{array}{l} \\ \\ {y = x^{2} + C} \\ {7 = 2^{2} + C = 4 + C} \\ {C = 3.} \end{array}$$

$$\begin{array}{l} \\ \\ {y = x^{2} + C} \\ {7 = 2^{2} + C = 4 + C} \\ {C = 3.} \end{array}$$

Therefore the particular solution passing through the point $(2,7)$ is $y = x^{2} + 3.$

因此通过点 $(2,7)$ 的特解是 $y = x^{2} + 3.$

Find the particular solution to the differential equation

求微分方程的特解

$$y^{\prime} = 4x + 3$$

$$y^{\prime} = 4x + 3$$

passing through the point $\left( {1,7} \right),$ given that $y = 2x^{2} + 3x + C$ is a general solution to the differential equation.

通过点 $\left( {1,7} \right),$ 已知 $y = 2x^{2} + 3x + C$ 是该微分方程的通解。

Initial-Value Problems 初值问题

Usually a given differential equation has an infinite number of solutions, so it is natural to ask which one we want to use. To choose one solution, more information is needed. Some specific information that can be useful is an initial value, which is an ordered pair that is used to find a particular solution.

通常,给定一个微分方程会有无穷多个解,因此很自然地要问我们究竟想用其中哪一个。为了选定一个解,需要更多的信息。一些有用的具体信息就是初值,它是一个用于求得特解的有序对。

A differential equation together with one or more initial values is called an initial-value problem. The general rule is that the number of initial values needed for an initial-value problem is equal to the order of the differential equation. For example, if we have the differential equation $y^{\prime} = 2x,$ then $y(3) = 7$ is an initial value, and when taken together, these equations form an initial-value problem. The differential equation $y^{''} - 3y^{\prime} + 2y = 4e^{x}$ is second order, so we need two initial values. With initial-value problems of order greater than one, the same value should be used for the independent variable. An example of initial values for this second-order equation would be $y(0) = 2$ and $y^{\prime}(0) = -1.$ These two initial values together with the differential equation form an initial-value problem. These problems are so named because often the independent variable in the unknown function is $t,$ which represents time. Thus, a value of $t = 0$ represents the beginning of the problem.

一个微分方程连同一个或多个初值一起称为一个初值问题。一般规则是:初值问题所需的初值个数等于微分方程的阶。例如,若微分方程为 $y^{\prime} = 2x,$ 那么 $y(3) = 7$ 是一个初值,把它们合在一起就构成一个初值问题。微分方程 $y^{''} - 3y^{\prime} + 2y = 4e^{x}$ 是二阶的,因此需要两个初值。对于阶大于一的初值问题,自变量应使用相同的取值。这个二阶方程的一对初值例子可以是 $y(0) = 2$ 和 $y^{\prime}(0) = -1.$ 这两个初值连同微分方程一起构成一个初值问题。这类问题之所以这样命名,是因为未知函数中的自变量常常是 $t,$ 它表示时间。因此,$t = 0$ 的值表示问题的起始时刻。

Verifying a Solution to an Initial-Value Problem 验证初值问题的解

Verify that the function $y = 2e^{-2t} + e^{t}$ is a solution to the initial-value problem

验证函数 $y = 2e^{-2t} + e^{t}$ 是下列初值问题的一个解

$$y^{\prime} + 2y = 3e^{t},\quad y(0) = 3.$$

$$y^{\prime} + 2y = 3e^{t},\quad y(0) = 3.$$

Solution 解答

For a function to satisfy an initial-value problem, it must satisfy both the differential equation and the initial condition. To show that $y$ satisfies the differential equation, we start by calculating $y^{\prime}.$ This gives $y^{\prime} = -4e^{-2t} + e^{t}.$ Next we substitute both $y$ and $y^{\prime}$ into the left-hand side of the differential equation and simplify:

要使一个函数满足初值问题,它必须同时满足微分方程和初始条件。为了说明 $y$ 满足该微分方程,我们先计算 $y^{\prime}.$ 得到 $y^{\prime} = -4e^{-2t} + e^{t}.$ 接着把 $y$ 和 $y^{\prime}$ 都代入微分方程的左边并化简:

$$\begin{array}{cl} {y^{\prime} + 2y} & {= \left( {-4e^{-2t} + e^{t}} \right) + 2\left( {2e^{-2t} + e^{t}} \right)} \\ & {= -4e^{-2t} + e^{t} + 4e^{-2t} + 2e^{t}} \\ & {= 3e^{t}.} \end{array}$$

$$\begin{array}{cl} {y^{\prime} + 2y} & {= \left( {-4e^{-2t} + e^{t}} \right) + 2\left( {2e^{-2t} + e^{t}} \right)} \\ & {= -4e^{-2t} + e^{t} + 4e^{-2t} + 2e^{t}} \\ & {= 3e^{t}.} \end{array}$$

This is equal to the right-hand side of the differential equation, so $y = 2e^{-2t} + e^{t}$ solves the differential equation. Next we calculate $y(0)\text{:}$

这等于微分方程的右边,因此 $y = 2e^{-2t} + e^{t}$ 是该微分方程的解。接下来我们计算 $y(0)\text{:}$

$$\begin{array}{cl} {y(0)} & {= 2e^{-2{(0)}} + e^{0}} \\ & {= 2 + 1} \\ & {= 3.} \end{array}$$

$$\begin{array}{cl} {y(0)} & {= 2e^{-2{(0)}} + e^{0}} \\ & {= 2 + 1} \\ & {= 3.} \end{array}$$

This result verifies the initial value. Therefore the given function satisfies the initial-value problem.

这个结果验证了初值。因此所给函数满足该初值问题。

Verify that $y = 3e^{2t} + 4\mspace{2mu}\text{sin}\mspace{2mu} t$ is a solution to the initial-value problem

验证 $y = 3e^{2t} + 4\mspace{2mu}\text{sin}\mspace{2mu} t$ 是下列初值问题的一个解

$$y^{\prime} - 2y = 4\mspace{2mu}\text{cos}\mspace{2mu} t - 8\mspace{2mu}\text{sin}\mspace{2mu} t,\quad y(0) = 3.$$

$$y^{\prime} - 2y = 4\mspace{2mu}\text{cos}\mspace{2mu} t - 8\mspace{2mu}\text{sin}\mspace{2mu} t,\quad y(0) = 3.$$

In Example 4.4, the initial-value problem consisted of two parts. The first part was the differential equation $y^{\prime} + 2y = 3e^{t},$ and the second part was the initial value $y(0) = 3.$ These two equations together formed the initial-value problem.

在示例 4.4 中,初值问题由两部分组成。第一部分是微分方程 $y^{\prime} + 2y = 3e^{t},$ 第二部分是初值 $y(0) = 3.$ 这两个方程合在一起构成该初值问题。

The same is true in general. An initial-value problem consists of two parts: the differential equation and the initial condition. The differential equation has a family of solutions, and the initial condition determines the value of $C.$ The family of solutions to the differential equation in Example 4.4 is given by $y = 2e^{-2t} + Ce^{t}.$ This family of solutions is shown in Figure 4.3, with the particular solution $y = 2e^{-2t} + e^{t}$ labeled.

一般来说同样如此。一个初值问题由两部分组成:微分方程和初始条件。微分方程有一个解族,而初始条件确定了常数 $C$ 的值。示例 4.4 中微分方程的解族由 $y = 2e^{-2t} + Ce^{t}$ 给出。这个解族如图 4.3 所示,其中特解 $y = 2e^{-2t} + e^{t}$ 已标注。

Solving an Initial-value Problem 求解初值问题

Solve the following initial-value problem:

求解下列初值问题:

$$y^{\prime} = 3e^{x} + x^{2} - 4,\quad y(0) = 5.$$

$$y^{\prime} = 3e^{x} + x^{2} - 4,\quad y(0) = 5.$$

Solution 解答

The first step in solving this initial-value problem is to find a general family of solutions. To do this, we find an antiderivative of both sides of the differential equation

求解该初值问题的第一步是求出通解族。为此,我们对微分方程两边求一个原函数

$$\left. \int{y^{\prime}dx} \right. = \left. \int{\left( {3e^{x} + x^{2} - 4} \right)\mspace{2mu} dx} \right.,$$

$$\left. \int{y^{\prime}dx} \right. = \left. \int{\left( {3e^{x} + x^{2} - 4} \right)\mspace{2mu} dx} \right.,$$

namely,

即,

$$y + C_{1} = 3e^{x} + \frac{1}{3}x^{3} - 4x + C_{2}.$$ (4.1)

$$y + C_{1} = 3e^{x} + \frac{1}{3}x^{3} - 4x + C_{2}.$$ (4.1)

We are able to integrate both sides because the *y* term appears by itself. Notice that there are two integration constants: $C_{1}$ and $C_{2}.$ Solving Equation 4.1 for $y$ gives

我们能够两边同时积分,是因为 *y* 项单独出现。注意这里有两个积分常数:$C_{1}$ 和 $C_{2}.$ 对方程 4.1 解 $y$ 得

$$y = 3e^{x} + \frac{1}{3}x^{3} - 4x + C_{2} - C_{1}.$$

$$y = 3e^{x} + \frac{1}{3}x^{3} - 4x + C_{2} - C_{1}.$$

Because $C_{1}$ and $C_{2}$ are both constants, $C_{2} - C_{1}$ is also a constant. We can therefore define $C = C_{2} - C_{1},$ which leads to the equation

因为 $C_{1}$ 和 $C_{2}$ 都是常数,所以 $C_{2} - C_{1}$ 也是常数。因此我们可令 $C = C_{2} - C_{1},$ 从而得到方程

$$y = 3e^{x} + \frac{1}{3}x^{3} - 4x + C.$$

$$y = 3e^{x} + \frac{1}{3}x^{3} - 4x + C.$$

Next we determine the value of $C.$ To do this, we substitute $x = 0$ and $y = 5$ into Equation 4.1 and solve for $C\text{:}$

接下来确定 $C$ 的值。为此,把 $x = 0$ 和 $y = 5$ 代入方程 4.1 并解出 $C\text{:}$

$$\begin{array}{rll} & & \\ 5 & = & {3e^{0} + \frac{1}{3}0^{3} - 4(0) + C} \\ 5 & = & {3 + C} \\ C & = & {2.} \end{array}$$

$$\begin{array}{rll} & & \\ 5 & = & {3e^{0} + \frac{1}{3}0^{3} - 4(0) + C} \\ 5 & = & {3 + C} \\ C & = & {2.} \end{array}$$

Now we substitute the value $C = 2$ into Equation 4.1. The solution to the initial-value problem is $y = 3e^{x} + \frac{1}{3}x^{3} - 4x + 2.$

现在把 $C = 2$ 代入方程 4.1。该初值问题的解为 $y = 3e^{x} + \frac{1}{3}x^{3} - 4x + 2.$

Analysis 分析

The difference between a general solution and a particular solution is that a general solution involves a family of functions, either explicitly or implicitly defined, of the independent variable. The initial value or values determine which particular solution in the family of solutions satisfies the desired conditions.

通解与特解的区别在于:通解涉及一个由自变量确定的函数族,该函数族可以是显式定义的,也可以是隐式定义的。初值(一个或多个)决定了该函数族中哪一个特解满足所需的条件。

Solve the initial-value problem

求解下列初值问题:

$$y^{\prime} = x^{2} - 4x + 3 - 6e^{x},\quad y(0) = 8.$$

$$y^{\prime} = x^{2} - 4x + 3 - 6e^{x},\quad y(0) = 8.$$

In physics and engineering applications, we often consider the forces acting upon an object, and use this information to understand the resulting motion that may occur. For example, if we start with an object at Earth's surface, the primary force acting upon that object is gravity. Physicists and engineers can use this information, along with Newton's second law of motion (in equation form $F = ma,$ where $F$ represents force, $m$ represents mass, and $a$ represents acceleration), to derive an equation that can be solved.

在物理与工程应用中,我们常常考虑作用在物体上的力,并利用这些信息来理解可能发生的运动。例如,若从一个位于地球表面的物体开始,作用在该物体上的主要力是重力。物理学家和工程师可以利用这一信息,结合牛顿第二运动定律(其方程形式为 $F = ma,$ 其中 $F$ 表示力、$m$ 表示质量、$a$ 表示加速度),推导出一个可求解的方程。

In Figure 4.4 we assume that the only force acting on a baseball is the force of gravity. This assumption ignores air resistance. (The force due to air resistance is considered in a later discussion.) The acceleration due to gravity at Earth's surface, $g,$ is approximately $9.8{\ \text{m/s}}^{2}.$ We introduce a frame of reference, where Earth's surface is at a height of 0 meters. Let $v(t)$ represent the velocity of the object in meters per second. If $v(t) > 0,$ the ball is rising, and if $v(t) < 0,$ the ball is falling (Figure 4.5).

在图 4.4 中,我们假设作用在棒球上的唯一力是重力。这一假设忽略了空气阻力。(由空气阻力产生的力将在后面的讨论中考虑。)地球表面的重力加速度 $g$ 约为 $9.8{\ \text{m/s}}^{2}.$ 我们引入一个参照系,其中地球表面的高度为 0 米。令 $v(t)$ 表示该物体以米每秒为单位的速率。若 $v(t) > 0,$ 球在上升;若 $v(t) < 0,$ 球在下落(图 4.5)。

Our goal is to solve for the velocity $v(t)$ at any time $t.$ To do this, we set up an initial-value problem. Suppose the mass of the ball is $m,$ where $m$ is measured in kilograms. We use Newton's second law, which states that the force acting on an object is equal to its mass times its acceleration $(F = ma).$ Acceleration is the derivative of velocity, so $a(t) = v^{\prime}(t).$ Therefore the force acting on the baseball is given by $F = m\ v^{\prime}(t).$ However, this force must be equal to the force of gravity acting on the object, which (again using Newton's second law) is given by $F_{g} = \text{−}mg,$ since this force acts in a downward direction. Therefore we obtain the equation $F = F_{g},$ which becomes $m\ v^{\prime}(t) = \text{−}mg.$ Dividing both sides of the equation by $m$ gives the equation

我们的目标是求出任意时刻 $t$ 的速度 $v(t)$。为此,我们建立一个初值问题。设球的质量为 $m,$ 其中 $m$ 以千克为单位。我们使用牛顿第二定律,它指出作用在物体上的力等于其质量乘以其加速度 $(F = ma)$。加速度是速度的导数,因此 $a(t) = v^{\prime}(t)$。于是作用在棒球上的力为 $F = m\ v^{\prime}(t)$。然而,这个力必须等于作用在物体上的重力,而(再次使用牛顿第二定律)重力由 $F_{g} = \text{−}mg$ 给出,因为该力沿向下方向作用。因此我们可得方程 $F = F_{g},$ 即 $m\ v^{\prime}(t) = \text{−}mg$。将方程两边同时除以 $m$ 得到

$$v^{\prime}(t) = \text{−}g.$$

$$v^{\prime}(t) = \text{−}g.$$

Notice that this differential equation remains the same regardless of the mass of the object.

注意,无论物体质量如何,这个微分方程都保持不变。

We now need an initial value. Because we are solving for velocity, it makes sense in the context of the problem to assume that we know the initial velocity, or the velocity at time $t = 0.$ This is denoted by $v(0) = v_{0}.$

现在我们需要一个初值。因为我们在求解速度,在问题的语境中假设我们知道初速度(即 $t = 0$ 时的速度)是合理的。这记为 $v(0) = v_{0}.$

Velocity of a Moving Baseball 运动棒球的速度

A baseball is thrown upward from a height of $3$ meters above Earth's surface with an initial velocity of $10\ \text{m/s},$ and the only force acting on it is gravity. The ball has a mass of $0.15\ \text{kg}$.

一颗棒球从地球表面上方 $3$ 米的高度以 $10\ \text{m/s}$ 的初速度向上抛出,作用在它上面的唯一力是重力。球的质量为 $0.15\ \text{kg}$。

1. Find the velocity $v(t)$ of the baseball at time $t.$

1. 求棒球在时刻 $t$ 的速度 $v(t)$。

2. What is its velocity after $2$ seconds?

2. 它在 $2$ 秒后的速度是多少?

Solution 解答

1. From the preceding discussion, the differential equation that applies in this situation is

1. 由前面的讨论可知,适用于这种情况的微分方程为

$$v^{\prime}(t) = \text{−}g,$$

$$v^{\prime}(t) = \text{−}g,$$

where $g = 9.8{\ \text{m/s}}^{2}.$ The initial condition is $v(0) = v_{0},$ where $v_{0} = 10\ \text{m/s}\text{.}$ Therefore the initial-value problem is $v^{\prime}(t) = -9.8{\ \text{m/s}}^{2},v(0) = 10\ \text{m/s}\text{.}$

其中 $g = 9.8{\ \text{m/s}}^{2}$。初始条件为 $v(0) = v_{0},$ 其中 $v_{0} = 10\ \text{m/s}\text{.}$ 因此该初值问题为 $v^{\prime}(t) = -9.8{\ \text{m/s}}^{2},v(0) = 10\ \text{m/s}\text{.}$

The first step in solving this initial-value problem is to take the antiderivative of both sides of the differential equation. This gives

求解该初值问题的第一步是对微分方程两边同时求原函数。于是得到

$$\begin{array}{rll} {\int{v^{\prime}(t)\mspace{2mu} dt}} & = & {\int{-9.8dt}} \\ {v(t)} & = & {-9.8t + C.} \end{array}$$

$$\begin{array}{rll} {\int{v^{\prime}(t)\mspace{2mu} dt}} & = & {\int{-9.8dt}} \\ {v(t)} & = & {-9.8t + C.} \end{array}$$

The next step is to solve for $C.$ To do this, substitute $t = 0$ and $v(0) = 10\text{:}$

下一步是解出 $C$。为此,代入 $t = 0$ 和 $v(0) = 10\text{:}$

$$\begin{array}{rll} {v(t)} & = & {-9.8t + C} \\ {v(0)} & = & {-9.8(0) + C} \\ 10 & = & {C.} \end{array}$$

$$\begin{array}{rll} {v(t)} & = & {-9.8t + C} \\ {v(0)} & = & {-9.8(0) + C} \\ 10 & = & {C.} \end{array}$$

Therefore $C = 10$ and the velocity function is given by $v(t) = -9.8t + 10.$

因此 $C = 10$,速度函数为 $v(t) = -9.8t + 10.$

2. To find the velocity after $2$ seconds, substitute $t = 2$ into $v(t).$

2. 要求 $2$ 秒后的速度,把 $t = 2$ 代入 $v(t)$。

$$\begin{array}{rll} {v(t)} & = & {-9.8t + 10} \\ {v(2)} & = & {-9.8(2) + 10} \\ {v(2)} & = & -9.6. \end{array}$$

$$\begin{array}{rll} {v(t)} & = & {-9.8t + 10} \\ {v(2)} & = & {-9.8(2) + 10} \\ {v(2)} & = & -9.6. \end{array}$$

The units of velocity are meters per second. Since the answer is negative, the object is falling at a speed of $9.6\ \text{m/s}\text{.}$

速度的单位是米每秒。由于结果为负,物体正以 $9.6\ \text{m/s}$ 的速率下落。

Suppose a rock falls from rest from a height of $100$ meters and the only force acting on it is gravity. Find an equation for the velocity $v(t)$ as a function of time, measured in meters per second.

假设一块岩石从 $100$ 米高处由静止下落,作用在它上面的唯一力是重力。求以米每秒为单位、作为时间函数的速度 $v(t)$ 的方程。

A natural question to ask after solving this type of problem is how high the object will be above Earth's surface at a given point in time. Let $s(t)$ denote the height above Earth's surface of the object, measured in meters. Because velocity is the derivative of position (in this case height), this assumption gives the equation $s^{\prime}(t) = v(t).$ An initial value is necessary; in this case the initial height of the object works well. Let the initial height be given by the equation $s(0) = s_{0}.$ Together these assumptions give the initial-value problem

求解这类问题后自然会问:在给定时刻物体将位于地球表面上方多高处。令 $s(t)$ 表示物体距地球表面的高度,以米为单位。因为速度是位置(在此即高度)的导数,这一假设给出方程 $s^{\prime}(t) = v(t).$ 需要一个初值;在此情形中,物体的初始高度很合适。令初始高度由方程 $s(0) = s_{0}$ 给出。这些假设合在一起给出初值问题

$$s^{\prime}(t) = v(t),\quad s(0) = s_{0}.$$

$$s^{\prime}(t) = v(t),\quad s(0) = s_{0}.$$

If the velocity function is known, then it is possible to solve for the position function as well.

如果速度函数已知,那么也可以求解位置函数。

Height of a Moving Baseball 运动棒球的高度

A baseball is thrown upward from a height of $3$ meters above Earth's surface with an initial velocity of $10\ \text{m/s},$ and the only force acting on it is gravity. The ball has a mass of $0.15$ kilogram.

一颗棒球从地球表面上方 $3$ 米的高度以 $10\ \text{m/s}$ 的初速度向上抛出,作用在它上面的唯一力是重力。球的质量为 $0.15$ 千克。

1. Find the position $s(t)$ of the baseball at time $t.$

1. 求棒球在时刻 $t$ 的位置 $s(t)$。

2. What is its height after $2$ seconds?

2. 它在 $2$ 秒后的高度是多少?

Solution 解答

1. We already know the velocity function for this problem is $v(t) = -9.8t + 10.$ The initial height of the baseball is $3$ meters, so $s_{0} = 3.$ Therefore the initial-value problem for this example is

1. 我们已知本问题的速度函数为 $v(t) = -9.8t + 10.$ 棒球的初始高度为 $3$ 米,故 $s_{0} = 3.$ 因此本例的初值问题为

To solve the initial-value problem, we first find the antiderivatives:

为求解该初值问题,我们先求原函数:

$$\begin{array}{rll} {\int{s^{\prime}(t)\mspace{2mu} dt}} & = & {\int{-9.8t + 10dt}} \\ {s(t)} & = & {-4.9t^{2} + 10t + C.} \end{array}$$

$$\begin{array}{rll} {\int{s^{\prime}(t)\mspace{2mu} dt}} & = & {\int{-9.8t + 10dt}} \\ {s(t)} & = & {-4.9t^{2} + 10t + C.} \end{array}$$

Next we substitute $t = 0$ and solve for $C\text{:}$

接下来代入 $t = 0$ 并解出 $C\text{:}$

$$\begin{array}{rll} {s(t)} & = & {-4.9t^{2} + 10t + C} \\ {s(0)} & = & {-4.9(0)^{2} + 10(0) + C} \\ 3 & = & {C.} \end{array}$$

$$\begin{array}{rll} {s(t)} & = & {-4.9t^{2} + 10t + C} \\ {s(0)} & = & {-4.9(0)^{2} + 10(0) + C} \\ 3 & = & {C.} \end{array}$$

Therefore the position function is $s(t) = -4.9t^{2} + 10t + 3.$

因此位置函数为 $s(t) = -4.9t^{2} + 10t + 3.$

2. The height of the baseball after $2\ \text{s}$ is given by $s(2)\text{:}$

2. 棒球在 $2\ \text{s}$ 后的高度由 $s(2)\text{:}$ 给出

$$\begin{array}{cl} {s(2)} & {= -4.9(2)^{2} + 10(2) + 3} \\ & {= -4.9(4) + 23} \\ & {= 3.4.} \end{array}$$

$$\begin{array}{cl} {s(2)} & {= -4.9(2)^{2} + 10(2) + 3} \\ & {= -4.9(4) + 23} \\ & {= 3.4.} \end{array}$$

Therefore the baseball is $3.4$ meters above Earth's surface after $2$ seconds. It is worth noting that the mass of the ball cancelled out completely in the process of solving the problem.

因此,棒球在 $2$ 秒后位于地球表面上方 $3.4$ 米处。值得注意的是,球的质量在求解过程中完全消去了。

Section 4.1 Exercises 4.1 节习题

Determine the order of the following differential equations.

确定下列微分方程的阶。

1.

1.

$y^{\prime} + y = 3y^{2}$

$y^{\prime} + y = 3y^{2}$

2\.

2\.

${(y^{\prime})}^{2} = y^{\prime} + 2y$

${(y^{\prime})}^{2} = y^{\prime} + 2y$

3.

3.

$y\text{'''} + y^{''}y^{\prime} = 3x^{2}$

$y\text{'''} + y^{''}y^{\prime} = 3x^{2}$

4\.

4\.

$y^{\prime} = y^{''} + 3t^{2}$

$y^{\prime} = y^{''} + 3t^{2}$

5.

5.

$\frac{dy}{dt} = t$

$\frac{dy}{dt} = t$

6\.

6\.

$\frac{dy}{dx} + \frac{d^{2}y}{dx^{2}} = 3x^{4}$

$\frac{dy}{dx} + \frac{d^{2}y}{dx^{2}} = 3x^{4}$

7.

7.

$\left( \frac{dy}{dt} \right)^{2} + 8\frac{dy}{dt} + 3y = 4t$

$\left( \frac{dy}{dt} \right)^{2} + 8\frac{dy}{dt} + 3y = 4t$

Verify that the following functions are solutions to the given differential equation.

验证下列函数均为所给微分方程的解。

8\.

8\.

$y = \frac{x^{3}}{3}$ solves $y^{\prime} = x^{2}$

$y = \frac{x^{3}}{3}$ 是 $y^{\prime} = x^{2}$ 的解

9\.

9\.

$y = 2e^{\text{−}x} + x - 1$ solves $y^{\prime} = x - y$

$y = 2e^{\text{−}x} + x - 1$ 是 $y^{\prime} = x - y$ 的解

10\.

10\.

$y = e^{3x} - \frac{e^{x}}{2}$ solves $y^{\prime} = 3y + e^{x}$

$y = e^{3x} - \frac{e^{x}}{2}$ 是 $y^{\prime} = 3y + e^{x}$ 的解

11\.

11\.

$y = \frac{1}{1 - x}$ solves $y^{\prime} = y^{2}$

$y = \frac{1}{1 - x}$ 是 $y^{\prime} = y^{2}$ 的解

12\.

12\.

$y = e^{x^{2}\text{/}2}$ solves $y^{\prime} = xy$

$y = e^{x^{2}\text{/}2}$ 是 $y^{\prime} = xy$ 的解

13\.

13\.

$y = 4 + \text{ln}\mspace{2mu} x$ solves $xy^{\prime} = 1$

$y = 4 + \text{ln}\mspace{2mu} x$ 是 $xy^{\prime} = 1$ 的解

14\.

14\.

$y = 3 - x + x\mspace{2mu}\text{ln}\mspace{2mu} x$ solves $y^{\prime} = \text{ln}\mspace{2mu} x$

$y = 3 - x + x\mspace{2mu}\text{ln}\mspace{2mu} x$ 是 $y^{\prime} = \text{ln}\mspace{2mu} x$ 的解

15\.

15\.

$y = 2e^{x} - x - 1$ solves $y^{\prime} = y + x$

$y = 2e^{x} - x - 1$ 是 $y^{\prime} = y + x$ 的解

16\.

16\.

$y = e^{x} + \frac{\text{sin}\mspace{2mu} x}{2} - \frac{\text{cos}\mspace{2mu} x}{2}$ solves $y^{\prime} = \text{cos}\mspace{2mu} x + y$

$y = e^{x} + \frac{\text{sin}\mspace{2mu} x}{2} - \frac{\text{cos}\mspace{2mu} x}{2}$ 是 $y^{\prime} = \text{cos}\mspace{2mu} x + y$ 的解

17\.

17\.

$y = \pi e^{\text{−}\text{cos}\mspace{2mu} x}$ solves $y^{\prime} = y\mspace{2mu}\text{sin}\mspace{2mu} x$

$y = \pi e^{\text{−}\text{cos}\mspace{2mu} x}$ 是 $y^{\prime} = y\mspace{2mu}\text{sin}\mspace{2mu} x$ 的解

Verify the following general solutions and find the particular solution.

验证下列通解,并求出相应的特解。

18\.

18\.

Find the particular solution to the differential equation $y^{\prime} = 4x^{2}$ that passes through $(-3,-30),$ given that $y = C + \frac{4x^{3}}{3}$ is a general solution.

求微分方程 $y^{\prime} = 4x^{2}$ 经过点 $(-3,-30)$ 的特解,已知其通解为 $y = C + \frac{4x^{3}}{3}$。

19.

19.

Find the particular solution to the differential equation $y^{\prime} = 3x^{3}$ that passes through $(1,4.75),$ given that $y = C + \frac{3x^{4}}{4}$ is a general solution.

求微分方程 $y^{\prime} = 3x^{3}$ 经过点 $(1,4.75)$ 的特解,已知其通解为 $y = C + \frac{3x^{4}}{4}$。

20\.

20\.

Find the particular solution to the differential equation $y^{\prime} = 3x^{2}y$ that passes through $(0,12),$ given that $y = Ce^{x^{3}}$ is a general solution.

求微分方程 $y^{\prime} = 3x^{2}y$ 经过点 $(0,12)$ 的特解,已知其通解为 $y = Ce^{x^{3}}$。

21.

21.

Find the particular solution to the differential equation $y^{\prime} = 2xy$ that passes through $\left( {0,\frac{1}{2}} \right),$ given that $y = Ce^{x^{2}}$ is a general solution.

求微分方程 $y^{\prime} = 2xy$ 经过点 $\left( {0,\frac{1}{2}} \right)$ 的特解,已知其通解为 $y = Ce^{x^{2}}$。

22\.

22\.

Find the particular solution to the differential equation $y^{\prime} = \left( {2xy} \right)^{2}$ that passes through $\left( {1, - \frac{1}{2}} \right),$ given that $y = - \frac{3}{C + 4x^{3}}$ is a general solution.

求微分方程 $y^{\prime} = \left( {2xy} \right)^{2}$ 经过点 $\left( {1, - \frac{1}{2}} \right)$ 的特解,已知其通解为 $y = - \frac{3}{C + 4x^{3}}$。

23.

23.

Find the particular solution to the differential equation $y^{\prime}x^{2} = y$ that passes through $\left( {1,\frac{2}{e}} \right),$ given that $y = Ce^{\text{−}{1\text{/}x}}$ is a general solution.

求微分方程 $y^{\prime}x^{2} = y$ 经过点 $\left( {1,\frac{2}{e}} \right)$ 的特解,已知其通解为 $y = Ce^{\text{−}{1\text{/}x}}$。

24\.

24\.

Find the particular solution to the differential equation $8\frac{dx}{dt} = -2\mspace{2mu}\text{cos}(2t) - \text{cos}(4t)$ that passes through $\left( {\pi,\pi} \right),$ given that $x = C - \frac{1}{8}\text{sin}(2t) - \frac{1}{32}\text{sin}(4t)$ is a general solution.

求微分方程 $8\frac{dx}{dt} = -2\mspace{2mu}\text{cos}(2t) - \text{cos}(4t)$ 经过点 $\left( {\pi,\pi} \right)$ 的特解,已知其通解为 $x = C - \frac{1}{8}\text{sin}(2t) - \frac{1}{32}\text{sin}(4t)$。

25.

25.

Find the particular solution to the differential equation $\frac{du}{dt} = \text{tan}\mspace{2mu} u$ that passes through $\left( {1,\frac{\pi}{2}} \right),$ given that $u = \text{sin}^{-1}\left( e^{C + t} \right)$ is a general solution.

求微分方程 $\frac{du}{dt} = \text{tan}\mspace{2mu} u$ 经过点 $\left( {1,\frac{\pi}{2}} \right)$ 的特解,已知其通解为 $u = \text{sin}^{-1}\left( e^{C + t} \right)$。

26\.

26\.

Find the particular solution to the differential equation $\frac{dy}{dt} = e^{(t + y)}$ that passes through $\left( {1,0} \right),$ given that $y = \text{−}\text{ln}(C - e^{t})$ is a general solution.

求微分方程 $\frac{dy}{dt} = e^{(t + y)}$ 经过点 $\left( {1,0} \right)$ 的特解,已知其通解为 $y = \text{−}\text{ln}(C - e^{t})$。

27.

27.

Find the particular solution to the differential equation $y^{\prime}(1 - x^{2}) = 1 + y$ that passes through $\left( {0,-2} \right),$ given that $y = C\frac{\sqrt{x + 1}}{\sqrt{1 - x}} - 1$ is a general solution.

求微分方程 $y^{\prime}(1 - x^{2}) = 1 + y$ 经过点 $\left( {0,-2} \right)$ 的特解,已知其通解为 $y = C\frac{\sqrt{x + 1}}{\sqrt{1 - x}} - 1$。

For the following problems, find the general solution to the differential equation.

对下列习题,求微分方程的通解。

28\.

28\.

$y^{\prime} = 3x + e^{x}$

$y^{\prime} = 3x + e^{x}$

29.

29.

$y^{\prime} = \text{ln}\mspace{2mu} x + \text{tan}\mspace{2mu} x$

$y^{\prime} = \text{ln}\mspace{2mu} x + \text{tan}\mspace{2mu} x$

30\.

30\.

$y^{\prime} = \text{sin}\mspace{2mu} xe^{\text{cos}\mspace{2mu} x}$

$y^{\prime} = \text{sin}\mspace{2mu} xe^{\text{cos}\mspace{2mu} x}$

31.

31.

$y^{\prime} = 4^{x}$

$y^{\prime} = 4^{x}$

32\.

32\.

$y^{\prime} = \text{sin}^{-1}\left( {2x} \right)$

$y^{\prime} = \text{sin}^{-1}\left( {2x} \right)$

33.

33.

$y^{\prime} = 2t\sqrt{t^{2} + 16}$

$y^{\prime} = 2t\sqrt{t^{2} + 16}$

34\.

34\.

$x^{\prime} = \text{coth}\mspace{2mu} t + \text{ln}\mspace{2mu} t + 3t^{2}$

$x^{\prime} = \text{coth}\mspace{2mu} t + \text{ln}\mspace{2mu} t + 3t^{2}$

35.

35.

$x^{\prime} = t\sqrt{4 + t}$

$x^{\prime} = t\sqrt{4 + t}$

36\.

36\.

$y^{\prime} = y$

$y^{\prime} = y$

37.

37.

$y^{\prime} = \frac{y}{x}$

$y^{\prime} = \frac{y}{x}$

Solve the following initial-value problems starting from $y(0) = 1$ and $y(0) = -1.$ Draw both solutions on the same graph.

求解下列初值问题,初始条件分别为 $y(0) = 1$ 与 $y(0) = -1.$。将两条解曲线画在同一坐标系中。

38\.

38\.

$\frac{dy}{dt} = 2t$

$\frac{dy}{dt} = 2t$

39.

39.

$\frac{dy}{dt} = \text{−}t$

$\frac{dy}{dt} = \text{−}t$

40\.

40\.

$\frac{dy}{dt} = 2y$

$\frac{dy}{dt} = 2y$

41.

41.

$\frac{dy}{dt} = \text{−}y$

$\frac{dy}{dt} = \text{−}y$

42\.

42\.

$\frac{dy}{dt} = 2$

$\frac{dy}{dt} = 2$

Solve the following initial-value problems starting from $y_{0} = 10.$ At what time does $y$ increase to $100$ or drop to $1?$

求解下列初值问题,初始条件为 $y_{0} = 10.$。$y$ 在何时增长到 $100$ 或下降到 $1$?

43.

43.

$\frac{dy}{dt} = 4t$

$\frac{dy}{dt} = 4t$

44\.

44\.

$\frac{dy}{dt} = 4y$

$\frac{dy}{dt} = 4y$

45.

45.

$\frac{dy}{dt} = -2y$

$\frac{dy}{dt} = -2y$

46\.

46\.

$\frac{dy}{dt} = e^{4t}$

$\frac{dy}{dt} = e^{4t}$

47.

47.

$\frac{dy}{dt} = e^{-4t}$

$\frac{dy}{dt} = e^{-4t}$

Recall that a family of solutions includes solutions to a differential equation that differ by a constant. For the following problems, use your calculator to graph a family of solutions to the given differential equation. Use initial conditions from $y(t = 0) = -10$ to $y(t = 0) = 10$ increasing by $2.$ Is there some critical point where the behavior of the solution begins to change?

回想一下,解族包含了只相差一个常数的微分方程的解。对下列习题,请用计算器画出所给微分方程的一族解。取初始条件从 $y(t = 0) = -10$ 到 $y(t = 0) = 10$,每隔 $2$ 递增。是否存在某个临界点,使得解的行为开始发生变化?

48\.

48\.

\[T\] $y^{\prime} = y(x)$

\[T\] $y^{\prime} = y(x)$

49.

49.

\[T\] $xy^{\prime} = y$

\[T\] $xy^{\prime} = y$

50\.

50\.

\[T\] $y^{\prime} = t^{3}$

\[T\] $y^{\prime} = t^{3}$

51.

51.

\[T\] $y^{\prime} = x + y$ (*Hint:* $y = Ce^{x} - x - 1$ is the general solution)

\[T\] $y^{\prime} = x + y$(提示:$y = Ce^{x} - x - 1$ 为通解)

52\.

52\.

\[T\] $y^{\prime} = x\mspace{2mu}\text{ln}\mspace{2mu} x + \text{sin}\mspace{2mu} x$

\[T\] $y^{\prime} = x\mspace{2mu}\text{ln}\mspace{2mu} x + \text{sin}\mspace{2mu} x$

53.

53.

Find the general solution to describe the velocity of a ball of mass $1\ \text{lb}$ that is thrown upward at a rate $a$ ft/sec.

求描述质量为 $1\ \text{lb}$ 的球以 $a$ ft/sec 的速率向上抛出时其速度的通解。

54\.

54\.

In the preceding problem, if the initial velocity of the ball thrown into the air is $a = 25$ ft/s, write the particular solution to the velocity of the ball. Solve to find the time when the ball hits the ground.

在上题中,若向上抛出的球的初速度为 $a = 25$ ft/s,写出球的速度的特解。求解出球落地的时间。

55.

55.

You throw two objects with differing masses $m_{1}$ and $m_{2}$ upward into the air with the same initial velocity $a$ ft/s. What is the difference in their velocity after $1$ second?

你以相同的初速度 $a$ ft/s 向上抛出两个质量分别为 $m_{1}$ 和 $m_{2}$ 的不同物体。1 秒后它们的速度之差是多少?

56\.

56\.

\[T\] You throw a ball of mass $1$ kilogram upward with a velocity of $a = 25$ m/s on Mars, where the acceleration of gravity is $g = -3.711$ m/s2. Use your calculator to approximate how much longer the ball is in the air on Mars than on Earth, where $g = - 9.8m/s^{2}$.

\[T\] 你在火星上以 $a = 25$ m/s 的初速度向上抛出质量为 $1$ 千克的球,火星上的重力加速度为 $g = -3.711$ m/s2。请用计算器估算,与地球上($g = - 9.8m/s^{2}$)相比,球在火星上多停留多长时间。

57.

57.

\[T\] For the previous problem, use your calculator to approximate how much higher the ball went on Mars, where $g = - 9.8m/s^{2}$.

\[T\] 对上一题,请用计算器估算球在火星上(此处 $g = - 9.8m/s^{2}$)上升的高度比在地球上高多少。

58\.

58\.

\[T\] A car on the freeway accelerates according to $a = 15\mspace{2mu}\text{cos}(\pi t),$ where $t$ is measured in hours. Set up and solve the differential equation to determine the velocity of the car if it has an initial speed of $50$ mph. After $40$ minutes of driving, what is the driver’s velocity?

\[T\] 高速公路上的一辆汽车按 $a = 15\mspace{2mu}\text{cos}(\pi t)$ 加速,其中 $t$ 以小时计。建立并求解微分方程,以确定汽车在初速度为 $50$ mph 时的速度。行驶 $40$ 分钟后,驾驶员的速度是多少?

59.

59.

\[T\] For the car in the preceding problem, find the expression for the distance the car has traveled in time $t,$ assuming an initial distance of $0.$ How long does it take the car to travel $100$ miles? Round your answer to hours and minutes.

\[T\] 对上题中的汽车,求汽车在时间 $t$ 内行驶的路程表达式,假设初始路程为 $0$。汽车行驶 $100$ 英里需要多长时间?将答案四舍五入到小时和分钟。

60\.

60\.

\[T\] For the previous problem, find the total distance traveled in the first hour.

\[T\] 对上一题,求第一小时内行驶的总路程。

61.

61.

Substitute $y = Be^{3t}$ into $y^{\prime} - y = 8e^{3t}$ to find a particular solution.

将 $y = Be^{3t}$ 代入 $y^{\prime} - y = 8e^{3t}$ 以求得一个特解。

62\.

62\.

Substitute $y = a\mspace{2mu}\text{cos}(2t) + b\mspace{2mu}\text{sin}(2t)$ into $y^{\prime} + y = 4\mspace{2mu}\text{sin}(2t)$ to find a particular solution.

将 $y = a\mspace{2mu}\text{cos}(2t) + b\mspace{2mu}\text{sin}(2t)$ 代入 $y^{\prime} + y = 4\mspace{2mu}\text{sin}(2t)$ 以求得一个特解。

63.

63.

Substitute $y = a + bt + ct^{2}$ into $y^{\prime} + y = 1 + t^{2}$ to find a particular solution.

将 $y = a + bt + ct^{2}$ 代入 $y^{\prime} + y = 1 + t^{2}$ 以求得一个特解。

64\.

64\.

Substitute $y = ae^{t}\text{cos}\mspace{2mu} t + be^{t}\text{sin}\mspace{2mu} t$ into $y^{\prime} = 2e^{t}\text{cos}\mspace{2mu} t$ to find a particular solution.

将 $y = ae^{t}\text{cos}\mspace{2mu} t + be^{t}\text{sin}\mspace{2mu} t$ 代入 $y^{\prime} = 2e^{t}\text{cos}\mspace{2mu} t$ 以求得一个特解。

65.

65.

Solve $y^{\prime} = e^{kt}$ with the initial condition $y(0) = 0$ and solve $y^{\prime} = 1$ with the same initial condition. As $k$ approaches $0,$ what do you notice?

在初始条件 $y(0) = 0$ 下求解 $y^{\prime} = e^{kt}$,并在相同初始条件下求解 $y^{\prime} = 1$。当 $k$ 趋于 $0$ 时,你注意到什么?

4.2 Direction Fields and Numerical Methods 4.2 方向场与数值方法

For the rest of this chapter we will focus on various methods for solving differential equations and analyzing the behavior of the solutions. In some cases it is possible to predict properties of a solution to a differential equation without knowing the actual solution. We will also study numerical methods for solving differential equations, which can be programmed by using various computer languages or even by using a spreadsheet program, such as Microsoft Excel.

在本章余下的部分,我们将重点讨论求解微分方程及分析解的各种行为的方法。在某些情况下,即使不知道微分方程的真实解,也能预测其解的性质。我们还将研究求解微分方程的数值方法,这些方法可以用各种计算机语言编程实现,甚至可以借助电子表格程序(如 Microsoft Excel)来完成。

Creating Direction Fields 创建方向场

Direction fields (also called slope fields) are useful for investigating first-order differential equations. In particular, we consider a first-order differential equation of the form

方向场(也称斜率场)对于研究一阶微分方程十分有用。具体而言,我们考虑如下形式的一阶微分方程

$$y\prime = f\left( {x,y} \right).$$

$$y\prime = f\left( {x,y} \right).$$

An applied example of this type of differential equation appears in Newton’s law of cooling, which we will solve explicitly later in this chapter. First, though, let us create a direction field for the differential equation

这类微分方程的一个应用实例出现在牛顿冷却定律中,我们将在本章后面显式地求解它。不过,首先让我们为如下微分方程创建一个方向场

$$T^{\prime}(t) = -0.4(T - 72).$$

$$T^{\prime}(t) = -0.4(T - 72).$$

Here $T(t)$ represents the temperature (in degrees Fahrenheit) of an object at time $t,$ and the ambient temperature is $72\text{°}\text{F}\text{.}$ Figure 4.6 shows the direction field for this equation.

此处 $T(t)$ 表示物体在时刻 $t$ 的温度(华氏度),环境温度为 $72\text{°}\text{F}\text{.}$。图 4.6 显示了该方程的方向场。

The idea behind a direction field is the fact that the derivative of a function evaluated at a given point is the slope of the tangent line to the graph of that function at the same point. Other examples of differential equations for which we can create a direction field include

方向场背后的思想是:函数在某点处的导数,等于该函数图像在同一点处切线的斜率。我们可以为其创建方向场的其他微分方程例子包括

$$\begin{array}{l} {y\prime = 3x + 2y - 4} \\ {y\prime = x^{2} - y^{2}} \\ {y\prime = \frac{2x + 4}{y - 2}.} \end{array}$$

$$\begin{array}{l} {y\prime = 3x + 2y - 4} \\ {y\prime = x^{2} - y^{2}} \\ {y\prime = \frac{2x + 4}{y - 2}.} \end{array}$$

To create a direction field, we start with the first equation: $y\prime = 3x + 2y - 4.$ We let $\left( {x_{0},y_{0}} \right)$ be any ordered pair, and we substitute these numbers into the right-hand side of the differential equation. For example, if we choose $x = 1\ \text{and}\ y = 2,$ substituting into the right-hand side of the differential equation yields

要创建方向场,我们从第一个方程出发:$y\prime = 3x + 2y - 4.$。令 $\left( {x_{0},y_{0}} \right)$ 为任意有序对,并将这些数代入微分方程的右端。例如,若取 $x = 1\ \text{and}\ y = 2,$,代入微分方程的右端可得

$$\begin{array}{cl} y^{\prime} & {= 3x + 2y - 4} \\ & {= 3(1) + 2(2) - 4 = 3.} \end{array}$$

$$\begin{array}{cl} y^{\prime} & {= 3x + 2y - 4} \\ & {= 3(1) + 2(2) - 4 = 3.} \end{array}$$

This tells us that if a solution to the differential equation $y\prime = 3x + 2y - 4$ passes through the point $\left( {1,2} \right),$ then the slope of the solution at that point must equal $3.$ To start creating the direction field, we put a short line segment at the point $\left( {1,2} \right)$ having slope $3.$ We can do this for any point in the domain of the function $f\left( {x,y} \right) = 3x + 2y - 4,$ which consists of all ordered pairs $\left( {x,y} \right)$ in $\mathbb{R}^{2}.$ Therefore any point in the Cartesian plane has a slope associated with it, assuming that a solution to the differential equation passes through that point. The direction field for the differential equation $y^{\prime} = 3x + 2y - 4$ is shown in Figure 4.7.

由此可知,若微分方程 $y\prime = 3x + 2y - 4$ 的解经过点 $\left( {1,2} \right),$,则该解在该点处的斜率必等于 $3$。要开始创建方向场,我们在点 $\left( {1,2} \right)$ 处画一条斜率为 $3$ 的短线段。对于函数 $f\left( {x,y} \right) = 3x + 2y - 4$ 定义域(由 $\mathbb{R}^{2}$ 中所有有序对 $\left( {x,y} \right)$ 组成)中的任意一点,都可以这样做。因此,在笛卡尔平面中,只要假定微分方程的解经过该点,任意一点都对应一个斜率。微分方程 $y^{\prime} = 3x + 2y - 4$ 的方向场如图 4.7 所示。

We can generate a direction field of this type for any differential equation of the form $y\prime = f\left( {x,y} \right).$

对任意形如 $y\prime = f\left( {x,y} \right)$ 的微分方程,我们都可以生成这种类型的方向场。

A direction field (slope field) is a mathematical object used to graphically represent solutions to a first-order differential equation. At each point in a direction field, a line segment appears whose slope is equal to the slope of a solution to the differential equation passing through that point.

方向场(斜率场)是一种用于以图形方式表示一阶微分方程解的数学对象。在方向场中的每一个点处,都出现一条线段,其斜率等于经过该点的微分方程解的斜率。

Using Direction Fields 使用方向场

We can use a direction field to predict the behavior of solutions to a differential equation without knowing the actual solution. For example, the direction field in Figure 4.7 serves as a guide to the behavior of solutions to the differential equation $y\prime = 3x + 2y - 4.$

我们可以利用方向场,在不知道微分方程实际解的情况下预测其解的行为。例如,图 4.7 中的方向场为微分方程 $y\prime = 3x + 2y - 4.$ 的解的行为提供了指引。

To use a direction field, we start by choosing any point in the field. The line segment at that point serves as a signpost telling us what direction to go from there. For example, if a solution to the differential equation passes through the point $\left( {0,1} \right),$ then the slope of the solution passing through that point is given by $y\prime = 3(0) + 2(1) - 4 = -2.$ Now let $x$ increase slightly, say to $x = 0.1.$ Using the method of linear approximations gives a formula for the approximate value of $y$ for $x = 0.1.$ In particular,

要使用方向场,我们首先在场上任选一点。该点处的线段就像路标,告诉我们从该点出发应朝什么方向行进。例如,若微分方程的一个解经过点 $\left( {0,1} \right),$ 那么经过该点的解的斜率为 $y\prime = 3(0) + 2(1) - 4 = -2.$ 现在让 $x$ 略微增大,比如到 $x = 0.1.$ 利用线性近似的方法,可得到 $x = 0.1$ 时 $y$ 的近似值公式。具体而言,

$$\begin{array}{cl} {L(x)} & {= y_{0} + f^{\prime}\left( x_{0} \right)\left( {x - x_{0}} \right)} \\ & {= 1 - 2(x - 0)} \\ & {= 1 - 2x.} \end{array}$$

$$\begin{array}{cl} {L(x)} & {= y_{0} + f^{\prime}\left( x_{0} \right)\left( {x - x_{0}} \right)} \\ & {= 1 - 2(x - 0)} \\ & {= 1 - 2x.} \end{array}$$

Substituting $x = 0.1$ into $L(x)$ gives an approximate $y$ value of $0.8.$

将 $x = 0.1$ 代入 $L(x)$ 得到 $y$ 的近似值 $0.8.$

At this point the slope of the solution changes (again according to the differential equation). We can keep progressing, recalculating the slope of the solution as we take small steps to the right, and watching the behavior of the solution. Figure 4.8 shows a graph of the solution passing through the point $\left( {0,1} \right).$

此时解的斜率发生改变(同样依据微分方程)。我们可以不断前进,每向右迈一小步就重新计算解的斜率,并观察解的行为。图 4.8 显示了经过点 $\left( {0,1} \right)$ 的解的图像。

The curve is the graph of the solution to the initial-value problem

该曲线是下列初值问题之解的图像

$$y\prime = 3x + 2y - 4,\quad y(0) = 1.$$

$$y\prime = 3x + 2y - 4,\quad y(0) = 1.$$

This curve is called a solution curve passing through the point $\left( {0,1} \right).$ The exact solution to this initial-value problem is

该曲线称为经过点 $\left( {0,1} \right)$ 的解曲线。这个初值问题的精确解为

$$y = - \frac{3}{2}x + \frac{5}{4} - \frac{1}{4}e^{2x},$$

$$y = - \frac{3}{2}x + \frac{5}{4} - \frac{1}{4}e^{2x},$$

and the graph of this solution is identical to the curve in Figure 4.8.

且该解的图像与图 4.8 中的曲线完全一致。

Create a direction field for the differential equation $y\prime = x^{2} - y^{2}$ and sketch a solution curve passing through the point $\left( {-1,2} \right).$

为微分方程 $y\prime = x^{2} - y^{2}$ 绘制方向场,并画出经过点 $\left( {-1,2} \right)$ 的解曲线。

Go to this website to see more about slope fields.

访问该网站以了解更多关于斜率场的内容。

Now consider the direction field for the differential equation $y\prime = (x - 3)(y^{2} - 4),$ shown in Figure 4.9. This direction field has several interesting properties. First of all, at $y = -2$ and $y = 2,$ horizontal dashes appear all the way across the graph. This means that if $y = -2,$ then $y\prime = 0.$ Substituting this expression into the right-hand side of the differential equation gives

现在考虑微分方程 $y\prime = (x - 3)(y^{2} - 4)$ 的方向场,如图 4.9 所示。该方向场有几个有趣的性质。首先,在 $y = -2$ 和 $y = 2$ 处,整幅图像上出现水平的短横线。这意味着若 $y = -2,$ 则 $y\prime = 0.$ 将此表达式代入微分方程的右端可得

$$\begin{array}{cl} {(x - 3)(y^{2} - 4)} & {= (x - 3)((-2)^{2} - 4)} \\ & {= (x - 3)(0)} \\ & {= 0} \\ & {= y\prime.} \end{array}$$

$$\begin{array}{cl} {(x - 3)(y^{2} - 4)} & {= (x - 3)((-2)^{2} - 4)} \\ & {= (x - 3)(0)} \\ & {= 0} \\ & {= y\prime.} \end{array}$$

Therefore $y = -2$ is a solution to the differential equation. Similarly, $y = 2$ is a solution to the differential equation. These are the only constant-valued solutions to the differential equation, as we can see from the following argument. Suppose $y = k$ is a constant solution to the differential equation. Then $y^{\prime} = 0.$ Substituting this expression into the differential equation yields $0 = \left( {x - 3} \right)\left( {k^{2} - 4} \right).$ This equation must be true for all values of $x,$ so the second factor must equal zero. This result yields the equation $k^{2} - 4 = 0.$ The solutions to this equation are $k = -2$ and $k = 2,$ which are the constant solutions already mentioned. These are called the equilibrium solutions to the differential equation.

因此 $y = -2$ 是该微分方程的一个解。类似地,$y = 2$ 也是该微分方程的一个解。由下面的论证可知,这是该微分方程仅有的取常数值的解。假设 $y = k$ 是该微分方程的一个常数解,则 $y^{\prime} = 0.$ 将此表达式代入微分方程得到 $0 = \left( {x - 3} \right)\left( {k^{2} - 4} \right).$ 该等式必须对所有 $x$ 值都成立,故第二个因子必为零。由此得到方程 $k^{2} - 4 = 0.$ 该方程的解为 $k = -2$ 和 $k = 2,$ 即前面提到的常数解。这些解称为该微分方程的平衡解。

Consider the differential equation $y\prime = f(x,y).$ An equilibrium solution is any solution to the differential equation of the form $y = c,$ where $c$ is a constant.

考虑微分方程 $y\prime = f(x,y).$ 平衡解是形如 $y = c$ 的任意解,其中 $c$ 为常数。

To determine the equilibrium solutions to the differential equation $y\prime = f(x,y),$ set the right-hand side equal to zero. An equilibrium solution of the differential equation is any function of the form $y = k$ such that $f\left( {x,k} \right) = 0$ for all values of $x$ in the domain of $f.$

要确定微分方程 $y\prime = f(x,y)$ 的平衡解,令右端等于零。该微分方程的平衡解是形如 $y = k$ 的任意函数,满足在 $f$ 的定义域内对所有 $x$ 值都有 $f\left( {x,k} \right) = 0$。

An important characteristic of equilibrium solutions concerns whether or not they approach the line $y = k$ as an asymptote for large values of $x.$

平衡解的一个重要特征,关乎当 $x$ 取很大值时它们是否以直线 $y = k$ 为渐近线。

Consider the differential equation $y^{\prime} = f\left( {x,y} \right),$ and assume that all solutions to this differential equation are defined for $x \geq x_{0}.$ Let $y = k$ be an equilibrium solution to the differential equation.

考虑微分方程 $y^{\prime} = f\left( {x,y} \right),$ 并假设该微分方程的所有解在 $x \geq x_{0}$ 上都有定义。设 $y = k$ 为该微分方程的一个平衡解。

1. $y = k$ is an asymptotically stable solution to the differential equation if there exists $\varepsilon > 0$ such that for any value $c \in \left( {k - \varepsilon,k + \varepsilon} \right)$ the solution to the initial-value problem

1. 若存在一个 $\varepsilon > 0,$ 使得对任意 $c \in \left( {k - \varepsilon,k + \varepsilon} \right)$ 的初值问题

$$y^{\prime} = f\left( {x,y} \right),\quad y\left( x_{0} \right) = c$$

$$y^{\prime} = f\left( {x,y} \right),\quad y\left( x_{0} \right) = c$$

approaches $k$ as $x$ approaches infinity.

当 $x$ 趋于无穷时趋于 $k$。

2. $y = k$ is an asymptotically unstable solution to the differential equation if there exists $\varepsilon > 0$ such that for any value $c \in \left( {k - \varepsilon,k + \varepsilon} \right)$ the solution to the initial-value problem

2. 若存在一个 $\varepsilon > 0,$ 使得对任意 $c \in \left( {k - \varepsilon,k + \varepsilon} \right)$ 的初值问题

$$y^{\prime} = f\left( {x,y} \right),\quad y\left( x_{0} \right) = c$$

$$y^{\prime} = f\left( {x,y} \right),\quad y\left( x_{0} \right) = c$$

never approaches $k$ as $x$ approaches infinity.

当 $x$ 趋于无穷时绝不趋于 $k$。

3. $y = k$ is an asymptotically semi-stable solution to the differential equation if it is neither asymptotically stable nor asymptotically unstable.

3. 若 $y = k$ 既不是渐近稳定的也不是渐近不稳定的,则它是该微分方程的渐近半稳定解。

Now we return to the differential equation $y\prime = (x - 3)(y^{2} - 4),$ with the initial condition $y(0) = 0.5.$ The direction field for this initial-value problem, along with the corresponding solution, is shown in Figure 4.10.

现在回到微分方程 $y\prime = (x - 3)(y^{2} - 4),$ 其初始条件为 $y(0) = 0.5.$ 这个初值问题的方向场及其对应的解如图 4.10 所示。

The values of the solution to this initial-value problem stay between $y = -2$ and $y = 2,$ which are the equilibrium solutions to the differential equation. However, an initial-value problem starting with $- 2 < y < 2$ can never cross the equilibrium solutions $y = 2$ and $y = -2$. Therefore, since $y^{2} - 4 < 0$ and for $x > 3,y' = (x - 3)\left( y^{2} - 4 \right) < 0$, $y$ is decreasing and therefore approaches $y = - 2$. Therefore, $y = - 2$ is an asymptotically stable solution to the differential equation.

该初值问题解的值始终介于 $y = -2$ 和 $y = 2$ 之间,它们正是该微分方程的平衡解。然而,初值满足 $- 2 < y < 2$ 的初值问题永远不会越过平衡解 $y = 2$ 和 $y = -2$。因此,由于 $y^{2} - 4 < 0$ 且当 $x > 3$ 时 $y' = (x - 3)\left( y^{2} - 4 \right) < 0$,可知 $y$ 递减并趋于 $y = - 2$。因此 $y = - 2$ 是该微分方程的渐近稳定解。

What happens when the initial value is below $y = -2?$ This scenario is illustrated in Figure 4.11, with the initial value $y(0) = -3.$

当初值低于 $y = -2$ 时会发生什么?这种情况如图 4.11 所示,其初值为 $y(0) = -3.$

We can see that for initial values $y < - 2$ for $x > 3,y' = (x - 3)\left( y^{2} - 4 \right) > 0$ and $y$ is increasing and therefore approaches $y = - 2$. This reaffirms that $y = - 2$ is an asymptotically stable solution to the differential equation.

我们可以看到,对于初值 $y < - 2,$ 当 $x > 3$ 时 $y' = (x - 3)\left( y^{2} - 4 \right) > 0$ 且 $y$ 递增,因此趋于 $y = - 2$。这再次印证 $y = - 2$ 是该微分方程的渐近稳定解。

Stability of an Equilibrium Solution 平衡解的稳定性

Create a direction field for the differential equation $y\prime = {(y - 3)}^{2}(y^{2} + y - 2)$ and identify any equilibrium solutions. Classify each of the equilibrium solutions as stable, unstable, or semi-stable.

为微分方程 $y\prime = {(y - 3)}^{2}(y^{2} + y - 2)$ 绘制方向场,并指出所有平衡解。将每个平衡解分类为稳定、不稳定或半稳定。

Solution 解答

The direction field is shown in Figure 4.12.

方向场如图 4.12 所示。

The equilibrium solutions are $y = -2,y = 1,$ and $y = 3.$ To classify each of the solutions, look at an arrow directly above or below each of these values. For example, at $y = -2$ the arrows directly below this solution point up, and the arrows directly above the solution point down. Therefore all initial conditions close to $y = -2$ approach $y = -2,$ and the solution is stable. For the solution $y = 1,$ all initial conditions above and below $y = 1$ are repelled (pushed away) from $y = 1,$ so this solution is unstable. The solution $y = 3$ is semi-stable, because for initial conditions slightly greater than $3,$ the solution approaches infinity, and for initial conditions slightly less than $3,$ the solution approaches $y = 3.$

平衡解为 $y = -2,y = 1,$ 和 $y = 3.$ 要对每个解进行分类,可观察这些值正上方或正下方的箭头。例如,在 $y = -2$ 处,该解正下方的箭头指向上方,正上方的箭头指向下方。因此所有接近 $y = -2$ 的初值都趋于 $y = -2,$ 该解是稳定的。对于解 $y = 1,$ 其上下所有初值都被排斥(推离)$y = 1,$ 故该解是不稳定的。解 $y = 3$ 是半稳定的,因为当初值略大于 $3$ 时解趋于无穷,而当初值略小于 $3$ 时解趋于 $y = 3.$

Analysis 分析

It is possible to find the equilibrium solutions to the differential equation by setting the right-hand side equal to zero and solving for $y.$ This approach gives the same equilibrium solutions as those we saw in the direction field.

可以通过令微分方程右端等于零并对 $y$ 求解,来求出其平衡解。这种方法给出的平衡解与我们在方向场中看到的相同。

Create a direction field for the differential equation $y\prime = (x + 5)(y + 2)(y^{2} - 4y + 4)$ and identify any equilibrium solutions. Classify each of the equilibrium solutions as stable, unstable, or semi-stable.

为微分方程 $y\prime = (x + 5)(y + 2)(y^{2} - 4y + 4)$ 绘制方向场,并指出所有平衡解。将每个平衡解分类为稳定、不稳定或半稳定。

Euler's Method 欧拉方法

Consider the initial-value problem

考虑如下初值问题

$$y^{\prime} = 2x - 3,\quad y(0) = 3.$$

$$y^{\prime} = 2x - 3,\quad y(0) = 3.$$

Integrating both sides of the differential equation gives $y = x^{2} - 3x + C,$ and solving for $C$ yields the particular solution $y = x^{2} - 3x + 3.$ The solution for this initial-value problem appears as the parabola in Figure 4.13.

对微分方程两边同时积分得到 $y = x^{2} - 3x + C,$ 解出 $C$ 可得特解 $y = x^{2} - 3x + 3.$ 该初值问题的解表现为图 4.13 中的抛物线。

The red graph consists of line segments that approximate the solution to the initial-value problem. The graph starts at the same initial value of $\left( {0,3} \right).$ Then the slope of the solution at any point is determined by the right-hand side of the differential equation, and the length of the line segment is determined by increasing the $x$ value by $0.5$ each time (the *step size*). This approach is the basis of Euler's Method.

红色图像由近似该初值问题解的线段构成。图像从相同的初值 $\left( {0,3} \right)$ 出发。解在任意一点的斜率由微分方程的右端决定,而线段的长度由每次将 $x$ 值增大 $0.5$(即*步长*)所确定。这一思路是欧拉方法的基础。

Before we state Euler's Method as a theorem, let's consider another initial-value problem:

在将欧拉方法表述为定理之前,我们先考虑另一个初值问题:

$$y^{\prime} = x^{2} - y^{2},\quad y(-1) = 2.$$

$$y^{\prime} = x^{2} - y^{2},\quad y(-1) = 2.$$

The idea behind direction fields can also be applied to this problem to study the behavior of its solution. For example, at the point $\left( {-1,2} \right),$ the slope of the solution is given by $y\prime = (-1)^{2} - 2^{2} = -3,$ so the slope of the tangent line to the solution at that point is also equal to $-3.$ Now we define $x_{0} = -1$ and $y_{0} = 2.$ Since the slope of the solution at this point is equal to $-3,$ we can use the method of linear approximation to approximate $y$ near $\left( {-1,2} \right).$

方向场背后的思想也可应用于此问题,以研究其解的行为。例如,在点 $\left( {-1,2} \right)$ 处,解的斜率由 $y\prime = (-1)^{2} - 2^{2} = -3,$ 给出,因此该点处解的切线斜率也等于 $-3.$ 现在定义 $x_{0} = -1$ 与 $y_{0} = 2.$ 由于解在该点的斜率等于 $-3,$ 我们可用线性近似法来近似 $\left( {-1,2} \right)$ 附近的 $y.$

$$L(x) = y_{0} + f^{\prime}\left( x_{0} \right)\left( {x - x_{0}} \right).$$

$$L(x) = y_{0} + f^{\prime}\left( x_{0} \right)\left( {x - x_{0}} \right).$$

Here $x_{0} = -1,y_{0} = 2,$ and $f^{\prime}\left( x_{0} \right) = -3,$ so the linear approximation becomes

这里 $x_{0} = -1,y_{0} = 2,$ 且 $f^{\prime}\left( x_{0} \right) = -3,$ 于是线性近似变为

$$\begin{array}{cl} {L(x)} & {= 2 - 3\left( {x - (-1)} \right)} \\ & {= 2 - 3x - 3} \\ & {= -3x - 1.} \end{array}$$

$$\begin{array}{cl} {L(x)} & {= 2 - 3\left( {x - (-1)} \right)} \\ & {= 2 - 3x - 3} \\ & {= -3x - 1.} \end{array}$$

Now we choose a step size. The step size is a small value, typically $0.1$ or less, that serves as an increment for $x;$ it is represented by the variable $h.$ In our example, let $h = 0.1.$ Incrementing $x_{0}$ by $h$ gives our next $x$ value:

现在我们选取一个步长。步长是一个较小的值,通常取 $0.1$ 或更小,作为 $x$ 的增量;用变量 $h$ 表示。在本例中,取 $h = 0.1.$ 将 $x_{0}$ 增加 $h$ 即得到下一个 $x$ 值:

$$x_{1} = x_{0} + h = -1 + 0.1 = -0.9.$$

$$x_{1} = x_{0} + h = -1 + 0.1 = -0.9.$$

We can substitute $x_{1} = -0.9$ into the linear approximation to calculate $y_{1}.$

将 $x_{1} = -0.9$ 代入线性近似以计算 $y_{1}.$

$$\begin{array}{cl} y_{1} & {= L\left( x_{1} \right)} \\ & {= -3(-0.9) - 1} \\ & {= 1.7.} \end{array}$$

$$\begin{array}{cl} y_{1} & {= L\left( x_{1} \right)} \\ & {= -3(-0.9) - 1} \\ & {= 1.7.} \end{array}$$

Therefore the approximate $y$ value for the solution when $x = -0.9$ is $y = 1.7.$ We can then repeat the process, using $x_{1} = -0.9$ and $y_{1} = 1.7$ to calculate $x_{2}$ and $y_{2}.$ The new slope is given by $y\prime = (-0.9)^{2} - (1.7)^{2} = -2.08.$ First, $x_{2} = x_{1} + h = -0.9 + 0.1 = -0.8.$ Using linear approximation gives

因此当 $x = -0.9$ 时,解的近似 $y$ 值为 $y = 1.7.$ 接着重复这一过程,用 $x_{1} = -0.9$ 与 $y_{1} = 1.7$ 计算 $x_{2}$ 与 $y_{2}.$ 新的斜率为 $y\prime = (-0.9)^{2} - (1.7)^{2} = -2.08.$ 首先,$x_{2} = x_{1} + h = -0.9 + 0.1 = -0.8.$ 利用线性近似得到

$$\begin{array}{cl} {L(x)} & {= y_{1} + f^{\prime}\left( x_{1} \right)\left( {x - x_{1}} \right)} \\ & {= 1.7 - 2.08\left( {x - (-0.9)} \right)} \\ & {= 1.7 - 2.08x - 1.872} \\ & {= -2.08x - 0.172.} \end{array}$$

$$\begin{array}{cl} {L(x)} & {= y_{1} + f^{\prime}\left( x_{1} \right)\left( {x - x_{1}} \right)} \\ & {= 1.7 - 2.08\left( {x - (-0.9)} \right)} \\ & {= 1.7 - 2.08x - 1.872} \\ & {= -2.08x - 0.172.} \end{array}$$

Finally, we substitute $x_{2} = -0.8$ into the linear approximation to calculate $y_{2}.$

最后,将 $x_{2} = -0.8$ 代入线性近似以计算 $y_{2}.$

$$\begin{array}{cl} y_{2} & {= L(x_{2})} \\ & {= -2.08x_{2} - 0.172} \\ & {= -2.08(-0.8) - 0.172} \\ & {= 1.492.} \end{array}$$

$$\begin{array}{cl} y_{2} & {= L(x_{2})} \\ & {= -2.08x_{2} - 0.172} \\ & {= -2.08(-0.8) - 0.172} \\ & {= 1.492.} \end{array}$$

Therefore the approximate value of the solution to the differential equation is $y = 1.492$ when $x = -0.8.$

因此当 $x = -0.8$ 时,该微分方程解的近似值为 $y = 1.492$.

What we have just shown is the idea behind Euler's Method. Repeating these steps gives a list of values for the solution. These values are shown in Table 4.2, rounded off to four decimal places.

我们刚才所展示的,正是欧拉方法背后的思想。重复这些步骤便得到一组解的数值。这些数值列于表 4.2 中,已四舍五入到小数点后四位。
$0$$1$$2$$3$$4$$5$
$\mathbf{n}$$-1$$-0.9$$-0.8$$-0.7$$-0.6$$-0.5$
$\mathbf{x_{n}}$$-1$$-0.9$$-0.8$$-0.7$$-0.6$$-0.5$
$\mathbf{y_{n}}$$2$$1.7$$1.492$$1.3334$$1.2046$$1.0955$
$\mathbf{n}$$6$$7$$8$$9$$10$
$\mathbf{x_{n}}$$-0.4$$-0.3$$-0.2$$-0.1$$0$
$\mathbf{y_{n}}$$1.0004$$1.9164$$1.8414$$1.7746$$1.7156$
$0$$1$$2$$3$$4$$5$
$\mathbf{n}$$-1$$-0.9$$-0.8$$-0.7$$-0.6$$-0.5$
$\mathbf{x_{n}}$$-1$$-0.9$$-0.8$$-0.7$$-0.6$$-0.5$
$\mathbf{y_{n}}$$2$$1.7$$1.492$$1.3334$$1.2046$$1.0955$
$\mathbf{n}$$6$$7$$8$$9$$10$
$\mathbf{x_{n}}$$-0.4$$-0.3$$-0.2$$-0.1$$0$
$\mathbf{y_{n}}$$1.0004$$1.9164$$1.8414$$1.7746$$1.7156$

Table 4.2 Using Euler's Method to Approximate Solutions to a Differential Equation

表 4.2 用欧拉方法近似微分方程的数值解

Euler's Method 欧拉方法

Consider the initial-value problem

考虑如下初值问题

$y\prime = f\left( {x,y} \right),\quad y\left( x_{0} \right) = y_{0}.$

$y\prime = f\left( {x,y} \right),\quad y\left( x_{0} \right) = y_{0}.$

To approximate a solution to this problem using Euler's method, define

要用欧拉方法逼近该问题的解,定义

$$\begin{array}{l} {x_{n} = x_{0} + nh} \\ {y_{n} = y_{n - 1} + hf(x_{n - 1},y_{n - 1}).} \end{array}$$ (4.2)

$$\begin{array}{l} {x_{n} = x_{0} + nh} \\ {y_{n} = y_{n - 1} + hf(x_{n - 1},y_{n - 1}).} \end{array}$$ (4.2)

Here $h > 0$ represents the step size and $n$ is an integer, starting with $1.$ The number of steps taken is counted by the variable $n.$

这里 $h > 0$ 表示步长,$n$ 为整数,从 $1$ 开始。所取步数由变量 $n$ 计数。

Typically $h$ is a small value, say $0.1$ or $0.05.$ The smaller the value of $h,$ the more calculations are needed. The higher the value of $h,$ the fewer calculations are needed. However, the tradeoff results in a lower degree of accuracy for larger step size, as illustrated in Figure 4.14.

通常 $h$ 是一个较小的值,例如 $0.1$ 或 $0.05.$ $h$ 的值越小,所需的计算越多;$h$ 的值越大,所需的计算越少。然而,这一权衡导致步长较大时精度降低,如图 4.14 所示。

Using Euler's Method 使用欧拉方法

Consider the initial-value problem

考虑如下初值问题

$$y^{\prime} = 3x^{2} - y^{2} + 1,\quad y(0) = 2.$$

$$y^{\prime} = 3x^{2} - y^{2} + 1,\quad y(0) = 2.$$

Use Euler's method with a step size of $0.1$ to generate a table of values for the solution for values of $x$ between $0$ and $1.$

用步长为 $0.1$ 的欧拉方法,对 $x$ 在 $0$ 到 $1$ 之间的解生成一张数值表。

Solution

解答

We are given $h = 0.1$ and $f\left( {x,y} \right) = 3x^{2} - y^{2} + 1.$ Furthermore, the initial condition $y(0) = 2$ gives $x_{0} = 0$ and $y_{0} = 2.$ Using Equation 4.2 with $n = 0,$ we can generate Table 4.3.

已知 $h = 0.1$ 且 $f\left( {x,y} \right) = 3x^{2} - y^{2} + 1.$ 此外,初始条件 $y(0) = 2$ 给出 $x_{0} = 0$ 与 $y_{0} = 2.$ 利用式 (4.2) 取 $n = 0,$ 我们可生成表 4.3。
$n$$x_{n}$$y_{n} = y_{n - 1} + hf(x_{n - 1},y_{n - 1})$
$0$$0$$2$
$1$$0.1$$y_{1} = y_{0} + hf\left( {x_{0},y_{0}} \right) = 1.7$
$2$$0.2$$y_{2} = y_{1} + hf\left( {x_{1},y_{1}} \right) = 1.514$
$3$$0.3$$y_{3} = y_{2} + hf\left( {x_{2},y_{2}} \right) = 1.3968$
$4$$0.4$$y_{4} = y_{3} + hf\left( {x_{3},y_{3}} \right) = 1.3287$
$5$$0.5$$y_{5} = y_{4} + hf\left( {x_{4},y_{4}} \right) = 1.3001$
$6$$0.6$$y_{6} = y_{5} + hf\left( {x_{5},y_{5}} \right) = 1.3061$
$7$$0.7$$y_{7} = y_{6} + hf\left( {x_{6},y_{6}} \right) = 1.3435$
$8$$0.8$$y_{8} = y_{7} + hf\left( {x_{7},y_{7}} \right) = 1.4100$
$9$$0.9$$y_{9} = y_{8} + hf\left( {x_{8},y_{8}} \right) = 1.5032$
$10$$1.0$$y_{10} = y_{9} + hf\left( {x_{9},y_{9}} \right) = 1.6202$
$n$$x_{n}$$y_{n} = y_{n - 1} + hf(x_{n - 1},y_{n - 1})$
$0$$0$$2$
$1$$0.1$$y_{1} = y_{0} + hf\left( {x_{0},y_{0}} \right) = 1.7$
$2$$0.2$$y_{2} = y_{1} + hf\left( {x_{1},y_{1}} \right) = 1.514$
$3$$0.3$$y_{3} = y_{2} + hf\left( {x_{2},y_{2}} \right) = 1.3968$
$4$$0.4$$y_{4} = y_{3} + hf\left( {x_{3},y_{3}} \right) = 1.3287$
$5$$0.5$$y_{5} = y_{4} + hf\left( {x_{4},y_{4}} \right) = 1.3001$
$6$$0.6$$y_{6} = y_{5} + hf\left( {x_{5},y_{5}} \right) = 1.3061$
$7$$0.7$$y_{7} = y_{6} + hf\left( {x_{6},y_{6}} \right) = 1.3435$
$8$$0.8$$y_{8} = y_{7} + hf\left( {x_{7},y_{7}} \right) = 1.4100$
$9$$0.9$$y_{9} = y_{8} + hf\left( {x_{8},y_{8}} \right) = 1.5032$
$10$$1.0$$y_{10} = y_{9} + hf\left( {x_{9},y_{9}} \right) = 1.6202$

Table 4.3 Using Euler's Method to Approximate Solutions to a Differential Equation

表 4.3 用欧拉方法近似微分方程的数值解

With ten calculations, we are able to approximate the values of the solution to the initial-value problem for values of $x$ between $0$ and $1.$

通过十次计算,我们便能在 $x$ 介于 $0$ 与 $1$ 之间时近似该初值问题的解。

For more information on Euler's method use this applet.

如需了解更多关于欧拉方法的信息,请使用此小程序。

Consider the initial-value problem

考虑如下初值问题

$$y^{\prime} = x^{3} + y^{2},\quad y(1) = -2.$$

$$y^{\prime} = x^{3} + y^{2},\quad y(1) = -2.$$

Using a step size of $0.1,$ generate a table with approximate values for the solution to the initial-value problem for values of $x$ between $1$ and $2.$

用步长为 $0.1,$ 对 $x$ 在 $1$ 到 $2$ 之间的解生成一张近似数值表。

Visit this website for a practical application of the material in this section.

访问此网站以了解本节内容的实际应用。

Section 4.2 Exercises 4.2 节习题

For the following problems, use the direction field below from the differential equation $y\prime = -2y.$ Sketch the graph of the solution for the given initial conditions.

对于以下问题,使用微分方程 $y\prime = -2y$ 下方的方向场。对给定的初始条件画出解的图像。

66\.

66\.

$y(0) = 1$

$y(0) = 1$

67.

67.

$y(0) = 0$

$y(0) = 0$

68\.

68\.

$y(0) = -1$

$y(0) = -1$

69.

69.

Are there any equilibria? What are their stabilities?

是否存在平衡解?它们的稳定性如何?

For the following problems, use the direction field below from the differential equation $y\prime = y^{2} - 2y.$ Sketch the graph of the solution for the given initial conditions.

对于以下问题,使用微分方程 $y\prime = y^{2} - 2y$ 下方的方向场。对给定的初始条件画出解的图像。

70\.

70\.

$y(0) = 3$

$y(0) = 3$

71.

71.

$y(0) = 1$

$y(0) = 1$

72\.

72\.

$y(0) = -1$

$y(0) = -1$

73.

73.

Are there any equilibria? What are their stabilities?

是否存在平衡解?它们的稳定性如何?

Draw the direction field for the following differential equations, then solve the differential equation.

为下列微分方程画出方向场,然后求解该微分方程。

74\.

74\.

$y\prime = t^{3}$

$y\prime = t^{3}$

75.

75.

$y\prime = e^{t}$

$y\prime = e^{t}$

76\.

76\.

$\frac{dy}{dx} = x^{2}\text{cos}\mspace{2mu} x$

$\frac{dy}{dx} = x^{2}\text{cos}\mspace{2mu} x$

77.

77.

$\frac{dy}{dt} = te^{t}$

$\frac{dy}{dt} = te^{t}$

78\.

78\.

$\frac{dx}{dt} = \text{cosh}(t)$

$\frac{dx}{dt} = \text{cosh}(t)$

Draw the directional field for the following differential equations. What can you say about the behavior of the solution? Are there equilibria? What stability do these equilibria have?

为下列微分方程画出方向场。你能描述解的行为吗?是否存在平衡解?这些平衡解具有怎样的稳定性?

79.

79.

$y\prime = y^{2} - 1$

$y\prime = y^{2} - 1$

80\.

80\.

$y\prime = y - x$

$y\prime = y - x$

81.

81.

$y\prime = 1 - y^{2} - x^{2}$

$y\prime = 1 - y^{2} - x^{2}$

82\.

82\.

$y\prime = t^{2}\text{sin}\mspace{2mu} y$

$y\prime = t^{2}\text{sin}\mspace{2mu} y$

83.

83.

$y\prime = 3y + xy$

$y\prime = 3y + xy$

Match the direction field with the given differential equations. Explain your selections.

将方向场与所给微分方程配对。解释你的选择。

84\.

84\.

$y\prime = -3y$

$y\prime = -3y$

85.

85.

$y\prime = -3t$

$y\prime = -3t$

86\.

86\.

$y\prime = e^{t}$

$y\prime = e^{t}$

87.

87.

$y\prime = \frac{1}{2}y + t$

$y\prime = \frac{1}{2}y + t$

88\.

88\.

$y\prime = \text{−}ty$

$y\prime = \text{−}ty$

Match the direction field with the given differential equations. Explain your selections.

将方向场与所给微分方程配对。解释你的选择。

89.

89.

$y\prime = t\mspace{2mu}\text{sin}\mspace{2mu} y$

$y\prime = t\mspace{2mu}\text{sin}\mspace{2mu} y$

90\.

90\.

$y\prime = \text{−}t\mspace{2mu}\text{cos}\mspace{2mu} y$

$y\prime = \text{−}t\mspace{2mu}\text{cos}\mspace{2mu} y$

91.

91.

$y\prime = t\mspace{2mu}\text{tan}\mspace{2mu} y$

$y\prime = t\mspace{2mu}\text{tan}\mspace{2mu} y$

92\.

92\.

$y\prime = \text{sin}^{2}y$

$y\prime = \text{sin}^{2}y$

93.

93.

$y\prime = y^{2}t^{3}$

$y\prime = y^{2}t^{3}$

Estimate the following solutions using Euler's method with $n = 5$ steps over the interval $t = \lbrack 0,1\rbrack.$ If you are able to solve the initial-value problem exactly, compare your solution with the exact solution. If you are unable to solve the initial-value problem, the exact solution will be provided for you to compare with Euler's method. How accurate is Euler's method?

用欧拉方法、在区间 $t = \lbrack 0,1\rbrack$ 上取 $n = 5$ 步来估计下列解。若你能精确求解该初值问题,将你的解与精确解进行比较;若不能,将给出精确解供你与欧拉方法比较。欧拉方法的精确度如何?

94\.

94\.

$y\prime = -3y,\quad y(0) = 1$

$y\prime = -3y,\quad y(0) = 1$

95.

95.

${y\prime = t^{2}},~y(0)~ = ~2$

${y\prime = t^{2}},~y(0)~ = ~2$

96\.

96\.

$y^{\prime} = 3t - y,y(0) = 1.$ Exact solution is $y = 3t + 4e^{\text{−}t} - 3$

$y^{\prime} = 3t - y,y(0) = 1.$ 精确解为 $y = 3t + 4e^{\text{−}t} - 3$

97.

97.

$y^{\prime} = y + t^{2},y(0) = 3.$ Exact solution is $y = 5e^{t} - 2 - t^{2} - 2t$

$y^{\prime} = y + t^{2},y(0) = 3.$ 精确解为 $y = 5e^{t} - 2 - t^{2} - 2t$

98\.

98\.

$y^{\prime} = 2t,y(0) = 0$

$y^{\prime} = 2t,y(0) = 0$

99.

99.

\[T\] $y\prime = e^{(x + y)},y(0) = -1.$ Exact solution is $y = \text{−}\text{ln}(e + 1 - e^{x})$

\[T\] $y\prime = e^{(x + y)},y(0) = -1.$ 精确解为 $y = \text{−}\text{ln}(e + 1 - e^{x})$

100\.

100\.

$y^{\prime} = y^{2}\text{ln}(x + 1),y(0) = 1.$ Exact solution is $y = - \frac{1}{(x + 1)(\text{ln}(x + 1) - 1)}$

$y^{\prime} = y^{2}\text{ln}(x + 1),y(0) = 1.$ 精确解为 $y = - \frac{1}{(x + 1)(\text{ln}(x + 1) - 1)}$

101.

101.

$y^{\prime} = 2^{x},y(0) = 0,$ Exact solution is $y = \frac{2^{x} - 1}{\text{ln}(2)}$

$y^{\prime} = 2^{x},y(0) = 0,$ 精确解为 $y = \frac{2^{x} - 1}{\text{ln}(2)}$

102\.

102\.

$y^{\prime} = y,y(0) = -1.$ Exact solution is $y = \text{−}e^{x}.$

$y^{\prime} = y,y(0) = -1.$ 精确解为 $y = \text{−}e^{x}.$

103.

103.

$y^{\prime} = -5t,y(0) = -2.$ Exact solution is $y = - \frac{5}{2}t^{2} - 2$

$y^{\prime} = -5t,y(0) = -2.$ 精确解为 $y = - \frac{5}{2}t^{2} - 2$

Differential equations can be used to model disease epidemics. In the next set of problems, we examine the change of size of two sub-populations of people living in a city: individuals who are infected and individuals who are susceptible to infection. $S$ represents the size of the susceptible population, and $I$ represents the size of the infected population. We assume that if a susceptible person interacts with an infected person, there is a probability $c$ that the susceptible person will become infected. Each infected person recovers from the infection at a rate $r$ and becomes susceptible again. We consider the case of influenza, where we assume that no one dies from the disease, so we assume that the total population size of the two sub-populations is a constant number, $N.$ The differential equations that model these population sizes are

微分方程可用于建立疾病流行的模型。在下面一组问题中,我们考察某城市中两个人群子群体规模的变化:被感染的人群与易感染的人群。$S$ 表示易感人群规模,$I$ 表示感染人群规模。我们假设若易感者与感染者接触,则易感者被感染的概率为 $c$。每个感染者以速率 $r$ 康复并重新变为易感者。我们考虑流感的情形,假设无人因病死亡,因此这两个子群体的总人口规模为常量 $N$。刻画这些人口规模的微分方程为

$$\begin{array}{l} {S\prime = rI - cSI\quad\text{and}} \\ {I\prime = cSI - rI.} \end{array}$$

$$\begin{array}{l} {S\prime = rI - cSI\quad\text{and}} \\ {I\prime = cSI - rI.} \end{array}$$

Here $c$ represents the contact rate and $r$ is the recovery rate.

其中 $c$ 表示接触率,$r$ 为康复率。

104\.

104\.

Show that, by our assumption that the total population size is constant $(S + I = N),$ you can reduce the system to a single differential equation in $I\text{:}\ {I\prime = c(N - I)I - rI.}$

证明:由总人口规模恒定 $(S + I = N)$ 的假设,可将该系统化简为关于 $I$ 的单个微分方程 $I\text{:}\ {I\prime = c(N - I)I - rI.}$

105.

105.

Assuming the parameters are $c = 0.5,N = 5,$ and $r = 0.5,$ draw the resulting directional field.

假设参数为 $c = 0.5,N = 5,$ 且 $r = 0.5,$ 画出所得的方向场。

106\.

106\.

\[T\] Use computational software or a calculator to compute an approximate solution to the initial-value problem $y\prime = ty,\quad y(0) = 2$ using Euler's Method with a given step size $h.$ Find the solution at $t = 1$ in terms of $h.$ *Hint*: Here is "pseudo-code" for how to write a computer program to perform Euler's Method for $y\prime = f(t,y),y(0) = y_{0}\text{:}$

\[T\] 使用计算软件或计算器,在给定步长 $h$ 下,用欧拉方法计算初值问题 $y\prime = ty,\quad y(0) = 2$ 的近似解。用 $h$ 表示在 $t = 1$ 处的解。*提示*:以下是编写计算机程序来实现欧拉方法的"伪代码":

for $\text{k} = 0\ \textbf{to}\ N$

for $\text{k} = 0\ \textbf{to}\ N$

$\qquad{\text{fn} = \text{f}\left( {\text{t}\left( \text{k} \right),\text{y}\left( \text{k} \right)} \right)}$

$\qquad{\text{fn} = \text{f}\left( {\text{t}\left( \text{k} \right),\text{y}\left( \text{k} \right)} \right)}$

$\qquad{\text{y}\left( \text{k+1} \right) = \text{y}\left( \text{k} \right) + \text{h*fn}}$

$\qquad{\text{y}\left( \text{k+1} \right) = \text{y}\left( \text{k} \right) + \text{h*fn}}$

$\qquad{\text{t}\left( \text{k+1} \right) = \text{t}\left( \text{k} \right) + \text{h}}$

$\qquad{\text{t}\left( \text{k+1} \right) = \text{t}\left( \text{k} \right) + \text{h}}$

Refer to your answer for Exercise 4.106 to solve the following exercises.

参考习题 4.106 的答案来求解以下习题。

107.

107.

Solve the initial-value problem for the exact solution.

求解该初值问题的精确解。

108\.

108\.

Draw the directional field

画出方向场

109.

109.

Compute using $h = 1$

用 $h = 1$ 计算

110\.

110\.

Compute using \[T\] $h = 0.1$

\[T\] $h = 0.1$ 计算

111.

111.

Compute using \[T\] $h = 0.001$

\[T\] $h = 0.001$ 计算

112\.

112\.

Compute using \[T\] $h = 0.0001$

\[T\] $h = 0.0001$ 计算

113.

113.

\[T\] Evaluate the exact solution at $t = 1.$ Make a table of errors for the relative error between the Euler's method solution and the exact solution. How much does the error change? Can you explain?

\[T\] 在 $t = 1$ 处计算精确解。制作一张误差表,给出欧拉方法解与精确解之间的相对误差。误差变化了多少?你能解释吗?

Consider the initial-value problem $y\prime = -2y,\quad y(0) = 2.$

考虑初值问题 $y\prime = -2y,\quad y(0) = 2$。

114\.

114\.

Show that $y = 2e^{-2x}$ solves this initial-value problem.

证明 $y = 2e^{-2x}$ 是该初值问题的解。

115.

115.

Draw the directional field of this differential equation.

画出该微分方程的方向场。

116\.

116\.

\[T\] By hand or by calculator or computer, approximate the solution using Euler's Method at $t = 10$ using $h = 5.$

\[T\] 用手算、计算器或计算机,在 $t = 10$、步长 $h = 5$ 下用欧拉方法近似该解。

117.

117.

\[T\] By calculator or computer, approximate the solution using Euler's Method at $t = 10$ using $h = 100.$

\[T\] 用计算器或计算机,在 $t = 10$、步长 $h = 100$ 下用欧拉方法近似该解。

118\.

118\.

\[T\] Plot exact answer and each Euler approximation (for $h = 5$ and $h = 100)$ at each $h$ on the directional field. What do you notice?

\[T\] 在方向场上,对每个 $h$ 画出精确解以及每个欧拉近似解(对应 $h = 5$ 与 $h = 100$)。你注意到了什么?

4.3 Separable Equations 4.3 可分离变量的微分方程

We now examine a solution technique for finding exact solutions to a class of differential equations known as separable differential equations. These equations are common in a wide variety of disciplines, including physics, chemistry, and engineering. We illustrate a few applications at the end of the section.

我们现在研究一类称为可分离变量的微分方程的精确求解技巧。这类方程在物理学、化学和工程学等众多学科中都很常见。我们在本节末尾举例说明若干应用。

Separation of Variables 分离变量法

We start with a definition and some examples.

我们从定义和一些例子开始。

A separable differential equation is any equation that can be written in the form

可分离变量的微分方程是任何可以写成如下形式的方程

$$y\prime = f(x)g{(y).}$$ (4.3)

$$y\prime = f(x)g{(y).}$$ (4.3)

The term ‘separable’ refers to the fact that the right-hand side of the equation can be separated into a function of $x$ times a function of $y.$ Examples of separable differential equations include

"separable"一词指的是,方程右端可以分离为一个关于 $x$ 的函数与一个关于 $y.$ 的函数的乘积。可分离变量微分方程的例子包括

$$\begin{array}{l} \\ \\ {y\prime = \left( {x^{2} - 4} \right)\left( {3y + 2} \right)} \\ {y\prime = 6x^{2} + 4x} \\ {y\prime = \text{sec}\mspace{2mu} y + \text{tan}\mspace{2mu} y} \\ {y\prime = xy + 3x - 2y - 6.} \end{array}$$

$$\begin{array}{l} \\ \\ {y\prime = \left( {x^{2} - 4} \right)\left( {3y + 2} \right)} \\ {y\prime = 6x^{2} + 4x} \\ {y\prime = \text{sec}\mspace{2mu} y + \text{tan}\mspace{2mu} y} \\ {y\prime = xy + 3x - 2y - 6.} \end{array}$$

The second equation is separable with $f(x) = 6x^{2} + 4x$ and $g(y) = 1,$ the third equation is separable with $f(x) = 1$ and $g(y) = \text{sec}\mspace{2mu} y + \text{tan}\mspace{2mu} y,$ and the right-hand side of the fourth equation can be factored as $\left( {x - 2} \right)\left( {y + 3} \right),$ so it is separable as well. The third equation is also called an autonomous differential equation because the right-hand side of the equation is a function of $y$ alone. If a differential equation is separable, then it is possible to solve the equation using the method of separation of variables.

第二个方程是可分离的,其中 $f(x) = 6x^{2} + 4x$ 且 $g(y) = 1$;第三个方程是可分离的,其中 $f(x) = 1$ 且 $g(y) = \text{sec}\mspace{2mu} y + \text{tan}\mspace{2mu} y$;第四个方程的右端可以因式分解为 $\left( {x - 2} \right)\left( {y + 3} \right)$,因此它也是可分离的。第三个方程也称为自治微分方程,因为其右端仅为 $y$ 的函数。如果一个微分方程是可分离的,那么就可以用分离变量法求解该方程。

Separation of Variables 分离变量法(解题策略)

1. Check for any values of $y$ that make $g(y) = 0.$ These correspond to constant solutions.

1. 找出使 $g(y) = 0$ 成立的任意 $y$ 值。它们对应于常数解。

2. Rewrite the differential equation in the form $\frac{dy}{g(y)} = f(x)dx.$

2. 将微分方程改写为 $\frac{dy}{g(y)} = f(x)dx$ 的形式。

3. Integrate both sides of the equation.

3. 对方程两边同时积分。

4. Solve the resulting equation for $y$ if possible.

4. 若可能,由所得方程解出 $y$。

5. If an initial condition exists, substitute the appropriate values for $x$ and $y$ into the equation and solve for the constant.

5. 若存在初始条件,将方程中的 $x$ 和 $y$ 替换为相应的值,并解出常数。

Note that Step 4. states “Solve the resulting equation for $y$ if possible.” It is not always possible to obtain $y$ as an explicit function of $x.$ Quite often we have to be satisfied with finding $y$ as an implicit function of $x.$

注意,第 4 步说的是"若可能,由所得方程解出 $y$"。并不总是能够把 $y$ 显式地表示为 $x$ 的函数。很多时候,我们只能满足于把 $y$ 求作 $x$ 的隐函数。

Using Separation of Variables 应用分离变量法

Find a general solution to the differential equation $y\prime = \left( {x^{2} - 4} \right)\left( {3y + 2} \right)$ using the method of separation of variables.

用分离变量法求微分方程 $y\prime = \left( {x^{2} - 4} \right)\left( {3y + 2} \right)$ 的通解。

Solution

解答

Follow the five-step method of separation of variables.

按照分离变量法的五个步骤进行。

1. In this example, $f(x) = x^{2} - 4$ and $g(y) = 3y + 2.$ Setting $g(y) = 0$ gives $y = - \frac{2}{3}$ as a constant solution.

1. 在本例中,$f(x) = x^{2} - 4$ 且 $g(y) = 3y + 2$。令 $g(y) = 0$ 得 $y = - \frac{2}{3}$ 为一个常数解。

2. Rewrite the differential equation in the form

2. 将微分方程改写为如下形式

$$\frac{dy}{3y + 2} = (x^{2} - 4)dx.$$

$$\frac{dy}{3y + 2} = (x^{2} - 4)dx.$$

3. Integrate both sides of the equation:

3. 对方程两边同时积分:

$$\left. \int\frac{dy}{3y + 2} \right. = {\int{\left( {x^{2} - 4} \right)\mspace{2mu} dx}}.$$

$$\left. \int\frac{dy}{3y + 2} \right. = {\int{\left( {x^{2} - 4} \right)\mspace{2mu} dx}}.$$

Let $u = 3y + 2.$ Then $du = 3\frac{dy}{dx}dx,$ so the equation becomes

令 $u = 3y + 2$。则 $du = 3\frac{dy}{dx}dx$,于是方程化为

$$\begin{array}{rll} {\frac{1}{3}\left. \int{\frac{1}{u}du} \right.} & = & {\frac{1}{3}x^{3} - 4x + C} \\ {\frac{1}{3}\mspace{2mu}\text{ln}|u|} & = & {\frac{1}{3}x^{3} - 4x + C} \\ {\frac{1}{3}\mspace{2mu}\text{ln}\left| {3y + 2} \right|} & = & {\frac{1}{3}x^{3} - 4x + C.} \end{array}$$

$$\begin{array}{rll} {\frac{1}{3}\left. \int{\frac{1}{u}du} \right.} & = & {\frac{1}{3}x^{3} - 4x + C} \\ {\frac{1}{3}\mspace{2mu}\text{ln}|u|} & = & {\frac{1}{3}x^{3} - 4x + C} \\ {\frac{1}{3}\mspace{2mu}\text{ln}\left| {3y + 2} \right|} & = & {\frac{1}{3}x^{3} - 4x + C.} \end{array}$$

4. To solve this equation for $y,$ first multiply both sides of the equation by $3.$

4. 要由此方程解出 $y$,首先将等式两边同乘 $3$。

$$\text{ln}\left| {3y + 2} \right| = x^{3} - 12x + 3C$$

$$\text{ln}\left| {3y + 2} \right| = x^{3} - 12x + 3C$$

Now we use some logic in dealing with the constant $C.$ Since $C$ represents an arbitrary constant, $3C$ also represents an arbitrary constant. If we call the second arbitrary constant $C_{1},$ the equation becomes

现在我们在处理常数 $C$ 时做一点说明。由于 $C$ 代表任意常数,$3C$ 同样代表任意常数。若把第二个任意常数记为 $C_{1}$,则方程化为

$$\text{ln}\left| {3y + 2} \right| = x^{3} - 12x + C_{1}.$$

$$\text{ln}\left| {3y + 2} \right| = x^{3} - 12x + C_{1}.$$

Now exponentiate both sides of the equation (i.e., make each side of the equation the exponent for the base $e).$

现在将等式两边取指数(即,使等式每一边都作为以 $e$ 为底的幂指数)。

$$\begin{array}{rll} e^{\text{ln}{|{3y + 2}|}} & = & e^{x^{3} - 12x + C_{1}} \\ \left| {3y + 2} \right| & = & {e^{C_{1}}e^{x^{3} - 12x}} \end{array}$$

$$\begin{array}{rll} e^{\text{ln}{|{3y + 2}|}} & = & e^{x^{3} - 12x + C_{1}} \\ \left| {3y + 2} \right| & = & {e^{C_{1}}e^{x^{3} - 12x}} \end{array}$$

Again define a new constant $C_{2} = e^{c_{1}}$ (note that $C_{2} > 0)\text{:}$

再次定义新常数 $C_{2} = e^{c_{1}}$(注意 $C_{2} > 0)\text{:}$

$$\left| {3y + 2} \right| = C_{2}e^{x^{3} - 12x}.$$

$$\left| {3y + 2} \right| = C_{2}e^{x^{3} - 12x}.$$

This corresponds to two separate equations: $3y + 2 = C_{2}e^{x^{3} - 12x}$ and $3y + 2 = \text{−}C_{2}e^{x^{3} - 12x}.$

这对应于两个独立的方程:$3y + 2 = C_{2}e^{x^{3} - 12x}$ 与 $3y + 2 = \text{−}C_{2}e^{x^{3} - 12x}$。

The solution to either equation can be written in the form $y = \frac{-2 \pm C_{2}e^{x^{3} - 12x}}{3}.$

两个方程的解都可写成 $y = \frac{-2 \pm C_{2}e^{x^{3} - 12x}}{3}$ 的形式。

Since $C_{2} > 0,$ it does not matter whether we use plus or minus, so the constant can actually have either sign. Furthermore, the subscript on the constant $C$ is entirely arbitrary, and can be dropped. Therefore the solution can be written as

由于 $C_{2} > 0$,使用加号还是减号并无区别,因此该常数实际上可取任意符号。此外,常数 $C$ 的下标完全是任意的,可以省略。因此解可写为

$$y = \frac{-2 + Ce^{x^{3} - 12x}}{3}.$$

$$y = \frac{-2 + Ce^{x^{3} - 12x}}{3}.$$

5. No initial condition is imposed, so we are finished.

5. 没有施加初始条件,因此我们已完成。

Use the method of separation of variables to find a general solution to the differential equation $y\prime = 2xy + 3y - 4x - 6.$

用分离变量法求微分方程 $y\prime = 2xy + 3y - 4x - 6$ 的通解。

Solving an Initial-Value Problem 求解初值问题

Using the method of separation of variables, solve the initial-value problem

用分离变量法求解下列初值问题

$$y\prime = (2x + 3)(y^{2} - 4),\quad y(0) = -1.$$

$$y\prime = (2x + 3)(y^{2} - 4),\quad y(0) = -1.$$

Solution

解答

Follow the five-step method of separation of variables.

按照分离变量法的五个步骤进行。

1. In this example, $f(x) = 2x + 3$ and $g(y) = y^{2} - 4.$ Setting $g(y) = 0$ gives $y = \pm 2$ as constant solutions.

1. 在本例中,$f(x) = 2x + 3$ 且 $g(y) = y^{2} - 4$。令 $g(y) = 0$ 得 $y = \pm 2$ 为常数解。

2. Divide both sides of the equation by $y^{2} - 4$ and multiply by $dx.$ This gives the equation

2. 将方程两边同除以 $y^{2} - 4$ 并乘以 $dx$。由此得到方程

$$\frac{dy}{y^{2} - 4} = \left( {2x + 3} \right)\mspace{2mu} dx.$$

$$\frac{dy}{y^{2} - 4} = \left( {2x + 3} \right)\mspace{2mu} dx.$$

3. Next integrate both sides:

3. 接着对两边积分:

$$\left. \int{\frac{1}{y^{2} - 4}\ dy} \right. = {\int{\left( {2x + 3} \right)\mspace{2mu} dx}}.$$ (4.4)

$$\left. \int{\frac{1}{y^{2} - 4}\ dy} \right. = {\int{\left( {2x + 3} \right)\mspace{2mu} dx}}.$$ (4.4)

To evaluate the left-hand side, use the method of partial fraction decomposition. This leads to the identity

为计算左端,使用部分分式分解法。由此得到恒等式

$$\frac{1}{y^{2} - 4} = \frac{1}{4}\left( {\frac{1}{y - 2} - \frac{1}{y + 2}} \right).$$

$$\frac{1}{y^{2} - 4} = \frac{1}{4}\left( {\frac{1}{y - 2} - \frac{1}{y + 2}} \right).$$

Then Equation 4.4 becomes

于是方程 4.4 化为

$$\begin{array}{rll} {\frac{1}{4}\left. \int{\left( {\frac{1}{y - 2} - \frac{1}{y + 2}} \right)\mspace{2mu} dy} \right.} & = & {\int{\left( {2x + 3} \right)\mspace{2mu} dx}} \\ {\frac{1}{4}\left( {\text{ln}\left| {y - 2} \right| - \text{ln}\left| {y + 2} \right|} \right)} & = & {x^{2} + 3x + C.} \end{array}$$

$$\begin{array}{rll} {\frac{1}{4}\left. \int{\left( {\frac{1}{y - 2} - \frac{1}{y + 2}} \right)\mspace{2mu} dy} \right.} & = & {\int{\left( {2x + 3} \right)\mspace{2mu} dx}} \\ {\frac{1}{4}\left( {\text{ln}\left| {y - 2} \right| - \text{ln}\left| {y + 2} \right|} \right)} & = & {x^{2} + 3x + C.} \end{array}$$

Multiplying both sides of this equation by $4$ and replacing $4C$ with $C_{1}$ gives

将此等式两边同乘 $4$,并把 $4C$ 替换为 $C_{1}$,得到

$$\begin{array}{rll} {\text{ln}\left| {y - 2} \right| - \text{ln}\left| {y + 2} \right|} & = & {4x^{2} + 12x + C_{1}} \\ {\text{ln}\left| \frac{y - 2}{y + 2} \right|} & = & {4x^{2} + 12x + C_{1}.} \end{array}$$

$$\begin{array}{rll} {\text{ln}\left| {y - 2} \right| - \text{ln}\left| {y + 2} \right|} & = & {4x^{2} + 12x + C_{1}} \\ {\text{ln}\left| \frac{y - 2}{y + 2} \right|} & = & {4x^{2} + 12x + C_{1}.} \end{array}$$

4. It is possible to solve this equation for *y*. First exponentiate both sides of the equation and define $C_{2} = e^{C_{1}}\text{:}$

4. 可以由此方程解出 *y*。首先对等式两边取指数,并定义 $C_{2} = e^{C_{1}}\text{:}$

$$\left| \frac{y - 2}{y + 2} \right| = C_{2}e^{4x^{2} + 12x}.$$

$$\left| \frac{y - 2}{y + 2} \right| = C_{2}e^{4x^{2} + 12x}.$$

Next we can remove the absolute value and let $C_{2}$ be either positive or negative. Then multiply both sides by $y + 2.$

接下来可以去掉绝对值,并允许 $C_{2}$ 取正或负。然后将等式两边同乘 $y + 2$。

$$\begin{array}{l} \\ \\ {y - 2 = C_{2}\left( {y + 2} \right)e^{4x^{2} + 12x}} \\ {y - 2 = C_{2}ye^{{}^{4x^{2} + 12x}} + 2C_{2}e^{{}^{4x^{2} + 12x}}.} \end{array}$$

$$\begin{array}{l} \\ \\ {y - 2 = C_{2}\left( {y + 2} \right)e^{4x^{2} + 12x}} \\ {y - 2 = C_{2}ye^{{}^{4x^{2} + 12x}} + 2C_{2}e^{{}^{4x^{2} + 12x}}.} \end{array}$$

Now collect all terms involving *y* on one side of the equation, and solve for $y\text{:}$

现在把所有含 *y* 的项移到等式一侧,并解出 $y\text{:}$

$$\begin{array}{rll} {y - C_{2}ye^{4x^{2} + 12x}} & = & {2 + 2C_{2}e^{4x^{2} + 12x}} \\ {y(1 - C_{2}e^{4x^{2} + 12x})} & = & {2 + 2C_{2}e^{4x^{2} + 12x}} \\ y & = & {\frac{2 + 2C_{2}e^{4x^{2} + 12x}}{1 - C_{2}e^{4x^{2} + 12x}}.} \end{array}$$

$$\begin{array}{rll} {y - C_{2}ye^{4x^{2} + 12x}} & = & {2 + 2C_{2}e^{4x^{2} + 12x}} \\ {y(1 - C_{2}e^{4x^{2} + 12x})} & = & {2 + 2C_{2}e^{4x^{2} + 12x}} \\ y & = & {\frac{2 + 2C_{2}e^{4x^{2} + 12x}}{1 - C_{2}e^{4x^{2} + 12x}}.} \end{array}$$

5. To determine the value of $C_{2},$ substitute $x = 0$ and $y = -1$ into the general solution. Alternatively, we can put the same values into an earlier equation, namely the equation $\frac{y - 2}{y + 2} = C_{2}e^{4x^{2} + 12}.$ This is much easier to solve for $C_{2}\text{:}$

5. 为确定 $C_{2}$ 的值,将 $x = 0$ 与 $y = -1$ 代入通解。或者,也可以把这些值代回一个较早的方程,即 $\frac{y - 2}{y + 2} = C_{2}e^{4x^{2} + 12}$。这样求 $C_{2}\text{:}$ 要容易得多。

$$\begin{array}{rll} \frac{y - 2}{y + 2} & = & {C_{2}e^{4x^{2} + 12x}} \\ \frac{-1 - 2}{-1 + 2} & = & {C_{2}e^{4{(0)}^{2} + 12{(0)}}} \\ C_{2} & = & {-3.} \end{array}$$

$$\begin{array}{rll} \frac{y - 2}{y + 2} & = & {C_{2}e^{4x^{2} + 12x}} \\ \frac{-1 - 2}{-1 + 2} & = & {C_{2}e^{4{(0)}^{2} + 12{(0)}}} \\ C_{2} & = & {-3.} \end{array}$$

Therefore the solution to the initial-value problem is

因此该初值问题的解为

$$y = \frac{2 - 6e^{4x^{2} + 12x}}{1 + 3e^{4x^{2} + 12x}}.$$

$$y = \frac{2 - 6e^{4x^{2} + 12x}}{1 + 3e^{4x^{2} + 12x}}.$$

A graph of this solution appears in Figure 4.15.

该解的图像见图 4.15。

Find the solution to the initial-value problem

求下列初值问题的解

$$6y\prime = \left( {2x + 1} \right)\left( {y^{2} - 2y - 8} \right),\quad y(0) = -3$$

$$6y\prime = \left( {2x + 1} \right)\left( {y^{2} - 2y - 8} \right),\quad y(0) = -3$$

using the method of separation of variables.

用分离变量法。

Applications of Separation of Variables 分离变量的应用

Many interesting problems can be described by separable equations. We illustrate two types of problems: solution concentrations and Newton’s law of cooling.

许多有趣的问题都可以用可分离变量的方程来描述。我们举例说明两类问题:溶液浓度与牛顿冷却定律。

Solution concentrations 溶液浓度

Consider a tank being filled with a salt solution. We would like to determine the amount of salt present in the tank as a function of time. We can apply the process of separation of variables to solve this problem and similar problems involving solution concentrations.

考虑一个正在注入盐溶液的槽。我们希望确定槽内盐的量随时间的变化关系。我们可以应用分离变量法来解决此问题以及类似的涉及溶液浓度的问题。

Determining Salt Concentration over Time 确定盐浓度随时间的变化

A tank containing $100\ \text{L}$ of a brine solution initially has $4\ \text{kg}$ of salt dissolved in the solution. At time $t = 0,$ another brine solution flows into the tank at a rate of $2\ \text{L/min}\text{.}$ This brine solution contains a concentration of $0.5\ \text{kg/L}$ of salt. At the same time, a stopcock is opened at the bottom of the tank, allowing the combined solution to flow out at a rate of $2\ \text{L/min},$ so that the level of liquid in the tank remains constant (Figure 4.16). Find the amount of salt in the tank as a function of time (measured in minutes), and find the limiting amount of salt in the tank, assuming that the solution in the tank is well mixed at all times.

一个装有 $100\ \text{L}$ 卤水的槽,初始时溶液中溶有 $4\ \text{kg}$ 盐。在时刻 $t = 0,$ 另一股卤水以 $2\ \text{L/min}$ 的速率流入槽内。该卤水中盐的浓度为 $0.5\ \text{kg/L}$。同时,槽底打开一个阀门,使混合溶液以 $2\ \text{L/min}$ 的速率流出,从而槽内液面保持恒定(图 4.16)。求槽内盐的量随时间(以分钟计)的函数,并求出槽内盐的极限量,假设槽内溶液始终混合均匀。

Solution 解答

First we define a function $u(t)$ that represents the amount of salt in kilograms in the tank as a function of time. Then $\frac{du}{dt}$ represents the rate at which the amount of salt in the tank changes as a function of time. Also, $u(0)$ represents the amount of salt in the tank at time $t = 0,$ which is $4$ kilograms.

首先我们定义一个函数 $u(t)$,表示槽内盐的量(千克)随时间的变化。那么 $\frac{du}{dt}$ 表示槽内盐的量随时间的变化率。此外,$u(0)$ 表示时刻 $t = 0$ 时槽内的盐量,即 $4$ 千克。

The general setup for the differential equation we will solve is of the form

我们将求解的微分方程的一般形式如下

$$\frac{du}{dt} = \text{INFLOW RATE} - \text{OUTFLOW RATE}.$$ (4.5)

$$\frac{du}{dt} = \text{INFLOW RATE} - \text{OUTFLOW RATE}.$$ (4.5)

INFLOW RATE represents the rate at which salt enters the tank, and OUTFLOW RATE represents the rate at which salt leaves the tank. Because solution enters the tank at a rate of $2$ L/min, and each liter of solution contains $0.5$ kilogram of salt, every minute $2(0.5) = 1\ \text{kilogram}$ of salt enters the tank. Therefore INFLOW RATE = $1.$

INFLOW RATE(流入速率)表示盐进入槽内的速率,OUTFLOW RATE(流出速率)表示盐离开槽内的速率。由于溶液以 $2$ L/min 的速率进入槽内,且每升溶液含有 $0.5$ 千克盐,因此每分钟有 $2(0.5) = 1\ \text{kilogram}$ 的盐进入槽内。故 INFLOW RATE = $1.$

To calculate the rate at which salt leaves the tank, we need the concentration of salt in the tank at any point in time. Since the actual amount of salt varies over time, so does the concentration of salt. However, the volume of the solution remains fixed at 100 liters. The number of kilograms of salt in the tank at time $t$ is equal to $u(t).$ Thus, the concentration of salt is $\frac{u(t)}{100}$ kg/L, and the solution leaves the tank at a rate of $2$ L/min. Therefore salt leaves the tank at a rate of $\frac{u(t)}{100} \cdot 2 = \frac{u(t)}{50}$ kg/min, and OUTFLOW RATE is equal to $\frac{u(t)}{50}.$ Therefore the differential equation becomes $\frac{du}{dt} = 1 - \frac{u}{50},$ and the initial condition is $u(0) = 4.$ The initial-value problem to be solved is

要计算盐离开槽内的速率,我们需要任意时刻槽内盐的浓度。由于实际的盐量随时间变化,盐的浓度也随之变化。然而,溶液的体积保持在 100 升不变。时刻 $t$ 时槽内盐的千克数等于 $u(t)$。于是盐的浓度为 $\frac{u(t)}{100}$ kg/L,而溶液以 $2$ L/min 的速率离开槽内。因此盐以 $\frac{u(t)}{100} \cdot 2 = \frac{u(t)}{50}$ kg/min 的速率离开槽内,OUTFLOW RATE 等于 $\frac{u(t)}{50}$。于是微分方程变为 $\frac{du}{dt} = 1 - \frac{u}{50}$,初始条件为 $u(0) = 4$。待求解的初值问题为

$$\frac{du}{dt} = 1 - \frac{u}{50},\quad u(0) = 4.$$

$$\frac{du}{dt} = 1 - \frac{u}{50},\quad u(0) = 4.$$

The differential equation is a separable equation, so we can apply the five-step strategy for solution.

该微分方程是一个可分离变量的方程,因此我们可以应用五步求解策略。

Step 1. Setting $1 - \frac{u}{50} = 0$ gives $u = 50$ as a constant solution. Since the initial amount of salt in the tank is $4$ kilograms, this solution does not apply.

步骤 1。令 $1 - \frac{u}{50} = 0$ 得到 $u = 50$ 作为一个常值解。由于槽内初始盐量为 $4$ 千克,该解不适用。

Step 2. Rewrite the equation as

步骤 2。将方程改写为

$$\frac{du}{dt} = \frac{50 - u}{50}.$$

$$\frac{du}{dt} = \frac{50 - u}{50}.$$

Then multiply both sides by $dt$ and divide both sides by $50 - u\text{:}$

然后将两边同乘 $dt$,同除以 $50 - u\text{:}$

$$\frac{du}{50 - u} = \frac{dt}{50}.$$

$$\frac{du}{50 - u} = \frac{dt}{50}.$$

Step 3. Integrate both sides:

步骤 3。对两边积分:

$$\begin{array}{rll} \left. \int\frac{du}{50 - u} \right. & = & \left. \int\frac{dt}{50} \right. \\ {- \text{ln}\left| {50 - u} \right|} & = & {\frac{t}{50} + C.} \end{array}$$

$$\begin{array}{rll} \left. \int\frac{du}{50 - u} \right. & = & \left. \int\frac{dt}{50} \right. \\ {- \text{ln}\left| {50 - u} \right|} & = & {\frac{t}{50} + C.} \end{array}$$

Step 4. Solve for $u(t)\text{:}$

步骤 4。解出 $u(t)\text{:}$

$$\begin{array}{rll} {\text{ln}\left| {50 - u} \right|} & = & {- \frac{t}{50} - C} \\ e^{\text{ln}{|{50 - u}|}} & = & e^{\text{−}(t\text{/}50) - C} \\ \left| {50 - u} \right| & = & {C_{1}e^{\text{−}t\text{/}50}.} \end{array}$$

$$\begin{array}{rll} {\text{ln}\left| {50 - u} \right|} & = & {- \frac{t}{50} - C} \\ e^{\text{ln}{|{50 - u}|}} & = & e^{\text{−}(t\text{/}50) - C} \\ \left| {50 - u} \right| & = & {C_{1}e^{\text{−}t\text{/}50}.} \end{array}$$

Eliminate the absolute value by allowing the constant to be either positive or negative:

通过允许常数取正或负来去掉绝对值:

$$50 - u = C_{1}e^{\text{−}t\text{/}50}.$$

$$50 - u = C_{1}e^{\text{−}t\text{/}50}.$$

Finally, solve for $u(t)\text{:}$

最后,解出 $u(t)\text{:}$

$$u(t) = 50 - C_{1}e^{\text{−}t\text{/}50}.$$

$$u(t) = 50 - C_{1}e^{\text{−}t\text{/}50}.$$

Step 5. Solve for $C_{1}\text{:}$

步骤 5。解出 $C_{1}\text{:}$

$$\begin{array}{rll} {u(0)} & = & {50 - C_{1}e^{-0\text{/}50}} \\ 4 & = & {50 - C_{1}} \\ C_{1} & = & {46.} \end{array}$$

$$\begin{array}{rll} {u(0)} & = & {50 - C_{1}e^{-0\text{/}50}} \\ 4 & = & {50 - C_{1}} \\ C_{1} & = & {46.} \end{array}$$

The solution to the initial value problem is $u(t) = 50 - 46e^{\text{−}t\text{/}50}.$ To find the limiting amount of salt in the tank, take the limit as $t$ approaches infinity:

该初值问题的解为 $u(t) = 50 - 46e^{\text{−}t\text{/}50}$。为求槽内盐的极限量,取 $t$ 趋于无穷时的极限:

$$\begin{array}{cl} {\underset{t\rightarrow\infty}{\text{lim}}u(t)} & {= 50 - 46e^{\text{−}t\text{/}50}} \\ & {= 50 - 46(0)} \\ & {= 50.} \end{array}$$

$$\begin{array}{cl} {\underset{t\rightarrow\infty}{\text{lim}}u(t)} & {= 50 - 46e^{\text{−}t\text{/}50}} \\ & {= 50 - 46(0)} \\ & {= 50.} \end{array}$$

Note that this was the constant solution to the differential equation. If the initial amount of salt in the tank is $50$ kilograms, then it remains constant. If it starts at less than 50 kilograms, then it approaches 50 kilograms over time.

注意,这正是该微分方程的常值解。若槽内初始盐量为 $50$ 千克,则它保持不变。若初始小于 50 千克,则它会随时间趋近于 50 千克。

A tank contains $3$ kilograms of salt dissolved in $75$ liters of water. A salt solution of $0.4\ \text{kg salt/L}$ is pumped into the tank at a rate of $6\ \text{L/min}$ and is drained at the same rate. Solve for the salt concentration at time $t.$ Assume the tank is well mixed at all times.

一个槽内溶有 $3$ 千克盐于 $75$ 升水中。浓度为 $0.4\ \text{kg salt/L}$ 的盐溶液以 $6\ \text{L/min}$ 的速率泵入槽内,并以相同速率排出。求时刻 $t$ 的盐浓度。假设槽内始终混合均匀。

Newton’s law of cooling 牛顿冷却定律

Newton’s law of cooling states that the rate of change of an object’s temperature is proportional to the difference between its own temperature and the ambient temperature (i.e., the temperature of its surroundings). If we let $T(t)$ represent the temperature of an object as a function of time, then $\frac{dT}{dt}$ represents the rate at which that temperature changes. The temperature of the object’s surroundings can be represented by $T_{s}.$ Then Newton’s law of cooling can be written in the form

牛顿冷却定律指出,物体温度的变化率与其自身温度和环境温度(即周围环境的温度)之差成正比。若令 $T(t)$ 表示物体温度随时间变化的函数,则 $\frac{dT}{dt}$ 表示该温度变化的速率。物体周围环境的温度可用 $T_{s}$ 表示。于是牛顿冷却定律可以写成如下形式

$$\frac{dT}{dt} = k\left( {T(t) - T_{s}} \right)$$

$$\frac{dT}{dt} = k\left( {T(t) - T_{s}} \right)$$

or simply

或者简写为

$$\frac{dT}{dt} = k\left( {T - T_{s}} \right).$$ (4.6)

$$\frac{dT}{dt} = k\left( {T - T_{s}} \right).$$ (4.6)

The temperature of the object at the beginning of any experiment is the initial value for the initial-value problem. We call this temperature $T_{0}.$ Therefore the initial-value problem that needs to be solved takes the form

在任何实验开始时物体的温度就是该初值问题的初值。我们把这个温度称为 $T_{0}$。因此待求解的初值问题形式为

$$\frac{dT}{dt} = k\left( {T - T_{s}} \right),\quad T(0) = T_{0},$$ (4.7)

$$\frac{dT}{dt} = k\left( {T - T_{s}} \right),\quad T(0) = T_{0},$$ (4.7)

where $k$ is a constant that needs to be either given or determined in the context of the problem. We use these equations in Example 4.13.

其中 $k$ 是一个常数,需要由题目给定或在问题背景中确定。我们在示例 4.13 中使用这些方程。

Waiting for a Pizza to Cool 等待披萨冷却

A pizza is removed from the oven after baking thoroughly, and the temperature of the pizza when it comes out of the oven is $200\text{°}\text{F}\text{.}$ The temperature of the kitchen is $75\text{°}\text{F},$ and after $1$ minute the temperature of the pizza is $190\text{°}\text{F}\text{.}$ We would like to wait until the temperature of the pizza reaches $150\text{°}\text{F}$ before cutting and serving it (Figure 4.17). How much longer will we have to wait?

一个披萨在烤透后从烤箱中取出,出炉时披萨温度为 $200\text{°}\text{F}$。厨房温度为 $75\text{°}\text{F}$,且在 $1$ 分钟后披萨温度为 $190\text{°}\text{F}$。我们希望等到披萨温度降到 $150\text{°}\text{F}$ 再切块上桌(图 4.17)。我们还需要等多久?

Solution 解答

The ambient temperature (surrounding temperature) is $75\text{°}\text{F},$ so $T_{s} = 75.$ The temperature of the pizza when it comes out of the oven is $200\text{°}\text{F},$ which is the initial temperature (i.e., initial value), so $T_{0} = 200.$ Therefore Equation 4.4 becomes

环境温度(周围温度)为 $75\text{°}\text{F}$,故 $T_{s} = 75$。披萨出炉时温度为 $200\text{°}\text{F}$,这就是初始温度(即初值),故 $T_{0} = 200$。于是方程 4.4 变为

$$\frac{dT}{dt} = k\left( {T - 75} \right),\quad T(0) = 200.$$

$$\frac{dT}{dt} = k\left( {T - 75} \right),\quad T(0) = 200.$$

To solve the differential equation, we use the five-step technique for solving separable equations.

为求解该微分方程,我们使用求解可分离变量方程的五步法。

1. Setting the right-hand side equal to zero gives $T = 75$ as a constant solution. Since the pizza starts at $200\text{°}\text{F},$ this is not the solution we are seeking.

1. 令右端等于零得到 $T = 75$ 作为一个常值解。由于披萨起始温度为 $200\text{°}\text{F}$,这不是我们要求的解。

2. Rewrite the differential equation by multiplying both sides by $dt$ and dividing both sides by $T - 75\text{:}$

2. 将方程两边同乘 $dt$、同除以 $T - 75$ 后改写微分方程:

$$\frac{dT}{T - 75} = kdt.$$

$$\frac{dT}{T - 75} = kdt.$$

3. Integrate both sides:

3. 对两边积分:

$$\begin{array}{rll} \left. \int\frac{dT}{T - 75} \right. & = & {\int{kdt}} \\ {\text{ln}\left| {T - 75} \right|} & = & {kt + C.} \end{array}$$

$$\begin{array}{rll} \left. \int\frac{dT}{T - 75} \right. & = & {\int{kdt}} \\ {\text{ln}\left| {T - 75} \right|} & = & {kt + C.} \end{array}$$

4. Solve for $T$ by first exponentiating both sides:

4. 先对两边取指数来解出 $T$:

$$\begin{array}{rll} e^{\text{ln}{|{T - 75}|}} & = & e^{kt + C} \\ \left| {T - 75} \right| & = & {C_{1}e^{kt}} \\ {T - 75} & = & {C_{1}e^{kt}} \\ {T(t)} & = & {75 + C_{1}e^{kt}.} \end{array}$$

$$\begin{array}{rll} e^{\text{ln}{|{T - 75}|}} & = & e^{kt + C} \\ \left| {T - 75} \right| & = & {C_{1}e^{kt}} \\ {T - 75} & = & {C_{1}e^{kt}} \\ {T(t)} & = & {75 + C_{1}e^{kt}.} \end{array}$$

5. Solve for $C_{1}$ by using the initial condition $T(0) = 200\text{:}$

5. 利用初始条件 $T(0) = 200\text{:}$ 解出 $C_{1}$:

$$\begin{array}{rll} {T(t)} & = & {75 + C_{1}e^{kt}} \\ {T(0)} & = & {75 + C_{1}e^{k{(0)}}} \\ 200 & = & {75 + C_{1}} \\ C_{1} & = & {125.} \end{array}$$

$$\begin{array}{rll} {T(t)} & = & {75 + C_{1}e^{kt}} \\ {T(0)} & = & {75 + C_{1}e^{k{(0)}}} \\ 200 & = & {75 + C_{1}} \\ C_{1} & = & {125.} \end{array}$$

Therefore the solution to the initial-value problem is

因此该初值问题的解为

$$T(t) = 75 + 125e^{kt}.$$

$$T(t) = 75 + 125e^{kt}.$$

To determine the value of $k,$ we need to use the fact that after $1$ minute the temperature of the pizza is $190\text{°}\text{F}\text{.}$ Therefore $T(1) = 190.$ Substituting this information into the solution to the initial-value problem, we have

为确定 $k$ 的值,我们需要利用披萨在 $1$ 分钟后温度为 $190\text{°}\text{F}$ 这一事实。因此 $T(1) = 190$。将此信息代入初值问题的解,得到

$$\begin{matrix} {T(t)} & = & {75 + 125e^{kt}} \\ {T(1)} & = & {190 = 75 + 125e^{k}} \\ 115 & = & {125e^{k}} \\ \frac{115}{125} & = & {\frac{23}{25} = e^{k}} \\ {\text{ln}\mspace{2mu} e^{k}} & = & {\text{ln}\mspace{2mu}\left( \frac{23}{25} \right)} \\ k & = & {\mspace{2mu}\text{ln}\mspace{2mu}\left( \frac{23}{25} \right) \approx - .08338} \end{matrix}$$

$$\begin{matrix} {T(t)} & = & {75 + 125e^{kt}} \\ {T(1)} & = & {190 = 75 + 125e^{k}} \\ 115 & = & {125e^{k}} \\ \frac{115}{125} & = & {\frac{23}{25} = e^{k}} \\ {\text{ln}\mspace{2mu} e^{k}} & = & {\text{ln}\mspace{2mu}\left( \frac{23}{25} \right)} \\ k & = & {\mspace{2mu}\text{ln}\mspace{2mu}\left( \frac{23}{25} \right) \approx - .08338} \end{matrix}$$

So now we have $T(t) = 75 + 125e^{- .08338t}.$ When is the temperature $150\text{°}\text{F?}$ Solving for $t,$ we find

于是现在有 $T(t) = 75 + 125e^{- .08338t}$。温度何时达到 $150\text{°}\text{F?}$ 解出 $t$,得到

$$\begin{matrix} {T(t)} & = & {75 + 125e^{- .08338t}} \\ 150 & = & {75 + 125e^{- .08338t}} \\ 75 & = & {125e^{- .08338t}} \\ \frac{75}{125} & = & {\frac{3}{5} = e^{- .08338t}} \\ {- .08338t} & = & {\text{ln}\ \frac{3}{5}} \\ t & = & {\frac{\text{ln}\left( \frac{3}{5} \right)}{- .08338} \approx 6.12.} \end{matrix}$$

$$\begin{matrix} {T(t)} & = & {75 + 125e^{- .08338t}} \\ 150 & = & {75 + 125e^{- .08338t}} \\ 75 & = & {125e^{- .08338t}} \\ \frac{75}{125} & = & {\frac{3}{5} = e^{- .08338t}} \\ {- .08338t} & = & {\text{ln}\ \frac{3}{5}} \\ t & = & {\frac{\text{ln}\left( \frac{3}{5} \right)}{- .08338} \approx 6.12.} \end{matrix}$$

Therefore we need to wait an additional $6.12$ minutes (after the temperature of the pizza reached $200\text{°}\text{F}).$ That should be just enough time to finish this calculation.

因此我们还需再等 $6.12$ 分钟(在披萨温度达到 $200\text{°}\text{F}$ 之后)。这应该正好够完成这个计算。

A cake is removed from the oven after baking thoroughly, and the temperature of the cake when it comes out of the oven is $450\text{°}\text{F}\text{.}$ The temperature of the kitchen is $70\text{°}\text{F},$ and after $10$ minutes the temperature of the cake is $330\text{°}\text{F}\text{.}$

一个蛋糕在烤透后从烤箱中取出,出炉时蛋糕温度为 $450\text{°}\text{F}$。厨房温度为 $70\text{°}\text{F}$,且在 $10$ 分钟后蛋糕温度为 $330\text{°}\text{F}$。

1. Write the appropriate initial-value problem to describe this situation.

1. 写出描述此情形的恰当初值问题。

2. Solve the initial-value problem for $T(t).$

2. 求解关于 $T(t)$ 的初值问题。

3. How long will it take until the temperature of the cake is within $5\text{°}\text{F}$ of room temperature?

3. 需要多长时间,蛋糕温度才会达到距离室温 $5\text{°}\text{F}$ 以内?

Section 4.3 Exercises 4.3 节习题

Solve the following initial-value problems with the initial condition $y_{0} = 0$ and graph the solution.

求解下列初值问题,初始条件为 $y_{0} = 0$,并画出解的图形。

119.

119.

$\frac{dy}{dt} = y + 1$

$\frac{dy}{dt} = y + 1$

120\.

120\.

$\frac{dy}{dt} = y - 1$

$\frac{dy}{dt} = y - 1$

121.

121.

$\frac{dy}{dt} = {–y} + 1$

$\frac{dy}{dt} = {–y} + 1$

122\.

122\.

$\frac{dy}{dt} = \text{−}y - 1$

$\frac{dy}{dt} = \text{−}y - 1$

Find the general solution to the differential equation.

求该微分方程的通解。

123.

123.

$x^{2}y\prime = \left( {x + 1} \right)y$

$x^{2}y\prime = \left( {x + 1} \right)y$

124\.

124\.

$y\prime = \text{tan}(y)x$

$y\prime = \text{tan}(y)x$

125.

125.

$y\prime = 2xy^{2}$

$y\prime = 2xy^{2}$

126\.

126\.

$\frac{dy}{dt} = y\mspace{2mu}\text{cos}\left( {3t + 2} \right)$

$\frac{dy}{dt} = y\mspace{2mu}\text{cos}\left( {3t + 2} \right)$

127.

127.

$2x\frac{dy}{dx} = y^{2}$

$2x\frac{dy}{dx} = y^{2}$

128\.

128\.

$y\prime = e^{y}x^{2}$

$y\prime = e^{y}x^{2}$

129.

129.

$\left( {1 + x} \right)y\prime = \left( {x + 2} \right)\left( {y - 1} \right)$

$\left( {1 + x} \right)y\prime = \left( {x + 2} \right)\left( {y - 1} \right)$

130\.

130\.

$\frac{dx}{dt} = 3t^{2}\left( {x^{2} + 4} \right)$

$\frac{dx}{dt} = 3t^{2}\left( {x^{2} + 4} \right)$

131.

131.

$t\frac{dy}{dt} = \sqrt{1 - y^{2}}$

$t\frac{dy}{dt} = \sqrt{1 - y^{2}}$

132\.

132\.

$y\prime = e^{x}e^{y}$

$y\prime = e^{x}e^{y}$

Find the solution to the initial-value problem.

求下列初值问题的解。

133.

133.

$y\prime = e^{y - x},y(0) = 0$

$y\prime = e^{y - x},y(0) = 0$

134\.

134\.

$y\prime = y^{2}(x + 1),y(0) = 2$

$y\prime = y^{2}(x + 1),y(0) = 2$

135.

135.

$\frac{dy}{dx} = y^{3}xe^{x^{2}},y(0) = 1$

$\frac{dy}{dx} = y^{3}xe^{x^{2}},y(0) = 1$

136\.

136\.

$\frac{dy}{dt} = y^{2}e^{x}\text{sin}(3x),y(0) = 1$

$\frac{dy}{dt} = y^{2}e^{x}\text{sin}(3x),y(0) = 1$

137.

137.

$y\prime = \frac{x}{\text{sech}^{2}y},y(0) = 0$

$y\prime = \frac{x}{\text{sech}^{2}y},y(0) = 0$

138\.

138\.

$y\prime = 2xy(1 + 2y),y(0) = -1$

$y\prime = 2xy(1 + 2y),y(0) = -1$

139.

139.

$\frac{dx}{dt} = \text{ln}(t)\sqrt{1 - x^{2}},x(1) = 0$

$\frac{dx}{dt} = \text{ln}(t)\sqrt{1 - x^{2}},x(1) = 0$

140\.

140\.

$y\prime = 3x^{2}(y^{2} + 4),y(0) = 0$

$y\prime = 3x^{2}(y^{2} + 4),y(0) = 0$

141.

141.

$y\prime = e^{y}5^{x},y(0) = \text{ln}(\text{ln}(5))$

$y\prime = e^{y}5^{x},y(0) = \text{ln}(\text{ln}(5))$

142\.

142\.

$y\prime = -2x\mspace{2mu}\text{tan}(y),y(0) = \frac{\pi}{6}$

$y\prime = -2x\mspace{2mu}\text{tan}(y),y(0) = \frac{\pi}{6}$

For the following problems, use a software program or your calculator to generate the directional fields. Solve explicitly and draw solution curves for several initial conditions. Are there some critical initial conditions that change the behavior of the solution?

对下列问题,使用软件程序或计算器生成方向场。显式求解并为若干初始条件画出解曲线。是否存在某些临界初始条件会改变解的行为?

143.

143.

\[T\] $y\prime = 1 - 2y$

\[T\] $y\prime = 1 - 2y$

144\.

144\.

\[T\] $y\prime = y^{2}x^{3}$

\[T\] $y\prime = y^{2}x^{3}$

145.

145.

\[T\] $y\prime = y^{3}e^{x}$

\[T\] $y\prime = y^{3}e^{x}$

146\.

146\.

\[T\] $y\prime = e^{y}$

\[T\] $y\prime = e^{y}$

147.

147.

\[T\] $y\prime = y\mspace{2mu}\text{ln}(x)$

\[T\] $y\prime = y\mspace{2mu}\text{ln}(x)$

148.

148.

Most drugs in the bloodstream decay according to the equation $y\prime = cy,$ where $y$ is the concentration of the drug in the bloodstream. If the half-life of a drug is $2$ hours, what fraction of the initial dose remains after $6$ hours?

血液中的大多数药物按照方程 $y\prime = cy,$ 衰减,其中 $y$ 是药物在血液中的浓度。若药物的半衰期为 $2$ 小时,问经过 $6$ 小时后初始剂量的几分之几仍然存留?

149.

149.

A drug is administered intravenously to a patient at a rate $r$ mg/h and is cleared from the body at a rate proportional to the amount of drug still present in the body, $d$. Set up and solve the differential equation, assuming there is no drug initially present in the body.

以速率 $r$ mg/h 向患者静脉内注射一种药物,药物从体内清除的速率与体内尚存的药物量 $d$ 成正比。建立并求解该微分方程,假设初始时体内没有药物。

150\.

150\.

\[T\] How often should a drug be taken if its dose is $3$ mg, it is cleared at a rate $c = 0.1$ mg/h, and $1$ mg is required to be in the bloodstream at all times?

\[T\] 如果药物剂量为 $3$ mg,清除速率 $c = 0.1$ mg/h,且要求血液中始终有 $1$ mg 药物,应多久服药一次?

151.

151.

A tank contains $1$ kilogram of salt dissolved in $100$ liters of water. A salt solution of $0.1$ kg salt/L is pumped into the tank at a rate of $2$ L/min and is drained at the same rate. Solve for the salt concentration at time $t.$ Assume the tank is well mixed.

一个水箱中含有溶解于 $100$ 升水的 $1$ 千克盐。浓度为 $0.1$ kg盐/L 的盐溶液以 $2$ L/min 的速率泵入水箱,并以相同速率排出。求解时刻 $t$ 时的盐浓度。假设水箱混合均匀。

152\.

152\.

A tank containing $10$ kilograms of salt dissolved in $1000$ liters of water has two salt solutions pumped in. The first solution of $0.2$ kg salt/L is pumped in at a rate of $20$ L/min and the second solution of $0.05$ kg salt/L is pumped in at a rate of $5$ L/min. The tank drains at $25$ L/min. Assume the tank is well mixed. Solve for the salt concentration at time $t.$

一个装有溶解于 $1000$ 升水的 $10$ 千克盐的水箱,泵入两种盐溶液。第一种浓度为 $0.2$ kg盐/L,以 $20$ L/min 的速率泵入;第二种浓度为 $0.05$ kg盐/L,以 $5$ L/min 的速率泵入。水箱以 $25$ L/min 的速率排出。假设水箱混合均匀。求解时刻 $t$ 时的盐浓度。

153.

153.

\[T\] For the preceding problem, find how much salt is in the tank $1$ hour after the process begins.

\[T\] 对前一问题,求过程开始后 $1$ 小时水箱中有多少盐。

154\.

154\.

Torricelli’s law states that for a water tank with a hole in the bottom that has a cross-sectional area of $A_{H}$ with a height of water $h$ above the bottom of the tank, the rate of change of volume of water flowing from the tank is proportional to the square root of the height of water, according to $\frac{dV}{dt} = \text{−}A_{H}\sqrt{2gh},$ where $g$ is the acceleration due to gravity. Note that $\frac{dV}{dt} = A_{T}\frac{dh}{dt},$ where $A_{T}$ is the cross-sectional area of the tank. Solve the resulting initial-value problem for the height of water, assuming a tank of radius $24\sqrt{2}$ with a circular hole of radius $2$ ft. The initial height of water is $100$ ft.

托里拆利定律指出,对于底部有一个孔的水箱,孔的横截面积为 $A_{H}$,水面距箱底高度为 $h$,则从水箱流出的水的体积变化率与水面高度的平方根成正比,即 $\frac{dV}{dt} = \text{−}A_{H}\sqrt{2gh},$ 其中 $g$ 为重力加速度。注意 $\frac{dV}{dt} = A_{T}\frac{dh}{dt},$ 其中 $A_{T}$ 为水箱的横截面积。求解由此得到的关于水面高度的初值问题,假设水箱半径为 $24\sqrt{2}$,底部圆孔半径为 $2$ ft。水的初始高度为 $100$ ft。

155.

155.

For the preceding problem, determine how long it takes the tank to drain.

对前一问题,确定水箱排空需要多长时间。

For the following problems, use Newton’s law of cooling.

对下列问题,使用牛顿冷却定律。

156\.

156\.

The liquid base of an ice cream has an initial temperature of $200\text{°}\text{F}$ before it is placed in a freezer with a constant temperature of $0\text{°}\text{F}\text{.}$ After $1$ hour, the temperature of the ice-cream base has decreased to $140\text{°}\text{F}\text{.}$ Formulate and solve the initial-value problem to determine the temperature of the ice cream.

冰淇淋的液体基底在放入恒温为 $0\text{°}\text{F}$ 的冰柜前,初始温度为 $200\text{°}\text{F}\text{.}$ 经过 $1$ 小时后,冰淇淋基底的温度降至 $140\text{°}\text{F}\text{.}$ 建立并求解初值问题,以确定冰淇淋的温度。

157.

157.

\[T\] The liquid base of an ice cream has an initial temperature of $210\text{°}\text{F}$ before it is placed in a freezer with a constant temperature of $20\text{°}\text{F}\text{.}$ After $2$ hours, the temperature of the ice-cream base has decreased to $170\text{°}\text{F}\text{.}$ At what time will the ice cream be ready to eat? (Assume $30\text{°}\text{F}$ is the optimal eating temperature.)

\[T\] 冰淇淋的液体基底在放入恒温为 $20\text{°}\text{F}$ 的冰柜前,初始温度为 $210\text{°}\text{F}\text{.}$ 经过 $2$ 小时后,冰淇淋基底的温度降至 $170\text{°}\text{F}\text{.}$ 何时冰淇淋可以食用?(假设 $30\text{°}\text{F}$ 为最佳食用温度。)

158\.

158\.

\[T\] You are organizing an ice cream social. The outside temperature is $80\text{°}\text{F}$ and the ice cream is at $10\text{°}\text{F}\text{.}$ After $10$ minutes, the ice cream temperature has risen by $10\text{°}\text{F}\text{.}$ How much longer can you wait before the ice cream melts at $40\text{°}\text{F?}$

\[T\] 你正在组织一场冰淇淋聚会。室外温度为 $80\text{°}\text{F}$,冰淇淋温度为 $10\text{°}\text{F}\text{.}$ 经过 $10$ 分钟后,冰淇淋温度上升了 $10\text{°}\text{F}\text{.}$ 在冰淇淋于 $40\text{°}\text{F}$ 融化之前,你还能再等多久?

For Exercises 159—162, assume a cooling constant of $k = - 0.125$ and assume time $t$ is in minutes.

对于习题 159—162,假设冷却常数 $k = - 0.125$,且时间 $t$ 以分钟计。

159.

159.

You have a cup of coffee at temperature $70\text{°}\text{C}$ and the ambient temperature in the room is $20\text{°}\text{C}\text{.}$ Assuming a cooling rate $k\ \text{of}\ 0.125,$ write and solve the differential equation to describe the temperature of the coffee with respect to time.

你有一杯温度为 $70\text{°}\text{C}$ 的咖啡,室内环境温度为 $20\text{°}\text{C}\text{.}$ 假设冷却速率常数 $k\ \text{of}\ 0.125,$ 写出并求解描述咖啡温度随时间变化的微分方程。

160\.

160\.

\[T\] You have a cup of coffee at temperature $70\text{°}\text{C}$ that you put outside, where the ambient temperature is $0\text{°}\text{C}\text{.}$ After $5$ minutes, how much colder is the coffee?

\[T\] 你有一杯温度为 $70\text{°}\text{C}$ 的咖啡,你将其放在室外,环境温度为 $0\text{°}\text{C}\text{.}$ 经过 $5$ 分钟后,咖啡降温了多少?

161.

161.

You have a cup of coffee at temperature $70\text{°}\text{C}$ and you immediately pour in $1$ part milk to $5$ parts coffee. The milk is initially at temperature $1\text{°}\text{C}\text{.}$ Write and solve the differential equation that governs the temperature of this coffee.

你有一杯温度为 $70\text{°}\text{C}$ 的咖啡,立即按比例倒入 $1$ 份牛奶配 $5$ 份咖啡。牛奶初始温度为 $1\text{°}\text{C}\text{.}$ 写出并求解支配这杯咖啡温度的微分方程。

162\.

162\.

You have a cup of coffee at temperature $70\text{°}\text{C},$ which you let cool $10$ minutes before you pour in the same amount of milk at $1\text{°}\text{C}$ as in the preceding problem. How does the temperature compare to the previous cup after $10$ minutes?

你有一杯温度为 $70\text{°}\text{C}$ 的咖啡,先让其冷却 $10$ 分钟,再倒入与前一问题等量的、温度为 $1\text{°}\text{C}$ 的牛奶。冷却 $10$ 分钟后,其温度与前一杯相比如何?

163.

163.

Solve the generic problem $y\prime = ay + b$ with initial condition $y(0) = c.$

求解一般问题 $y\prime = ay + b$,初始条件为 $y(0) = c.$

164\.

164\.

Prove the basic continual compounded interest equation. Assuming an initial deposit of $P_{0}$ and an interest rate of $r,$ set up and solve an equation for continually compounded interest.

证明基本的连续复利方程。假设初始存款为 $P_{0}$,利率为 $r,$ 建立并求解连续复利的方程。

165.

165.

Assume an initial nutrient amount of $I$ kilograms in a tank with $L$ liters. Assume a concentration of $c$ kg/L being pumped in at a rate of $r$ L/min. The tank is well mixed and is drained at a rate of $r$ L/min. Find the equation describing the amount of nutrient in the tank.

假设一个装有 $L$ 升水的水箱中初始营养物量为 $I$ 千克。假设浓度为 $c$ kg/L 的营养液以 $r$ L/min 的速率泵入。水箱混合均匀,并以 $r$ L/min 的速率排出。求描述水箱中营养物量的方程。

166\.

166\.

Leaves accumulate on the forest floor at a rate of $2$ g/cm2/yr and also decompose at a rate of $90\text{\%}$ per year. Write a differential equation governing the number of grams of leaf litter per square centimeter of forest floor, assuming at time $0$ there is no leaf litter on the ground. Does this amount approach a steady value? What is that value?

落叶在森林地表以 $2$ g/cm2/yr 的速率堆积,同时以每年 $90\text{\%}$ 的速率分解。写出支配每平方厘米森林地表落叶克数的微分方程,假设时刻 $0$ 时地面没有落叶。该数量是否会趋于某个稳定值?该值为多少?

167.

167.

Leaves accumulate on the forest floor at a rate of $4$ g/cm2/yr. These leaves decompose at a rate of $10\text{\%}$ per year. Write a differential equation governing the number of grams of leaf litter per square centimeter of forest floor. Does this amount approach a steady value? What is that value?

落叶在森林地表以 $4$ g/cm2/yr 的速率堆积。这些落叶以每年 $10\text{\%}$ 的速率分解。写出支配每平方厘米森林地表落叶克数的微分方程。该数量是否会趋于某个稳定值?该值为多少?

4.4 The Logistic Equation 4.4 逻辑斯谛方程

Differential equations can be used to represent the size of a population as it varies over time. We saw this in an earlier chapter in the section on exponential growth and decay, which is the simplest model. A more realistic model includes other factors that affect the growth of the population. In this section, we study the logistic differential equation and see how it applies to the study of population dynamics in the context of biology.

微分方程可用于表示种群规模随时间的变化。我们在前面章节关于指数增长与衰减的部分已经见过,那是最简单的模型。更现实的模型包含影响种群增长的其他因素。在本节中,我们研究逻辑斯谛微分方程,并了解它如何应用于生物学背景下的种群动力学研究。

Population Growth and Carrying Capacity 种群增长与容纳量

To model population growth using a differential equation, we first need to introduce some variables and relevant terms. The variable $t.$ will represent time. The units of time can be hours, days, weeks, months, or even years. Any given problem must specify the units used in that particular problem. The variable $P$ will represent population. Since the population varies over time, it is understood to be a function of time. Therefore we use the notation $P(t)$ for the population as a function of time. If $P(t)$ is a differentiable function, then the first derivative $\frac{dP}{dt}$ represents the instantaneous rate of change of the population as a function of time.

为了用微分方程对种群增长建模,我们首先需要引入一些变量和相关术语。变量 $t.$ 表示时间。时间的单位可以是小时、天、周、月,甚至年。任何给定的问题都必须指明该具体问题所用的单位。变量 $P$ 表示种群数量。由于种群数量随时间变化,它被视为时间的一个函数。因此我们用记号 $P(t)$ 表示作为时间函数的种群数量。如果 $P(t)$ 是可微函数,那么一阶导数 $\frac{dP}{dt}$ 表示种群数量作为时间函数的瞬时变化率。

In Exponential Growth and Decay, we studied the exponential growth and decay of populations and radioactive substances. An example of an exponential growth function is $P(t) = P_{0}e^{rt}.$ In this function, $P(t)$ represents the population at time $t,P_{0}$ represents the initial population (population at time $t = 0),$ and the constant $r > 0$ is called the growth rate. Figure 4.18 shows a graph of $P(t) = 100e^{0.03t}.$ Here $P_{0} = 100$ and $r = 0.03.$

在《指数增长与衰变》一节中,我们研究了种群与放射性物质的指数增长与衰变。指数增长函数的一个例子是 $P(t) = P_{0}e^{rt}.$ 在这个函数中,$P(t)$ 表示时刻 $t$ 的种群数量,$P_{0}$ 表示初始种群数量(时刻 $t = 0$ 的种群数量),常数 $r > 0$ 称为增长率。图 4.18 给出了 $P(t) = 100e^{0.03t}.$ 的图像。这里 $P_{0} = 100$,$r = 0.03.$

We can verify that the function $P(t) = P_{0}e^{rt}$ satisfies the initial-value problem

我们可以验证函数 $P(t) = P_{0}e^{rt}$ 满足如下初值问题

$$\frac{dP}{dt} = rP,\quad P(0) = P_{0}.$$

$$\frac{dP}{dt} = rP,\quad P(0) = P_{0}.$$

This differential equation has an interesting interpretation. The left-hand side represents the rate at which the population increases (or decreases). The right-hand side is equal to a positive constant multiplied by the current population. Therefore the differential equation states that the rate at which the population increases is proportional to the population at that point in time. Furthermore, it states that the constant of proportionality never changes.

这个微分方程有一个有趣的解释。等式左边表示种群数量增加(或减少)的速率。等式右边等于一个正常数乘以当前种群数量。因此该微分方程表明,种群数量增加的速率与该时刻的种群数量成正比。此外,它还表明这个比例常数永远不变。

One problem with this function is its prediction that as time goes on, the population grows without bound. This is unrealistic in a real-world setting. Various factors limit the rate of growth of a particular population, including birth rate, death rate, food supply, predators, and so on. The growth constant $r$ usually takes into consideration the birth and death rates but none of the other factors, and it can be interpreted as a net (birth minus death) percent growth rate per unit time. A natural question to ask is whether the population growth rate stays constant, or whether it changes over time. Biologists have found that in many biological systems, the population grows until a certain steady-state population is reached. This possibility is not taken into account with exponential growth. However, the concept of carrying capacity allows for the possibility that in a given area, only a certain number of a given organism or animal can thrive without running into resource issues.

这个函数的一个问题是它预言,随着时间的推移,种群数量会无限制地增长。这在现实世界中是不合理的。多种因素会限制特定种群的增长速率,包括出生率、死亡率、食物供给、捕食者等等。增长常数 $r$ 通常考虑出生率和死亡率,但不考虑其他因素,因而它可以解释为每单位时间的净(出生减死亡)百分比增长率。一个自然的问题是:种群增长率是保持恒定,还是会随时间变化。生物学家发现,在许多生物系统中,种群会持续增长,直到达到某个稳态种群数量。指数增长没有考虑这种可能性。然而,容纳量的概念允许这样一种可能:在给定区域内,只有一定数量的某种生物或动物能够繁荣生长而不会遭遇资源问题。

The carrying capacity of an organism in a given environment is defined to be the maximum population of that organism that the environment can sustain indefinitely.

在给定环境中,某生物的容纳量被定义为该环境能够无限期维持的该生物的最大种群数量。

We use the variable $K$ to denote the carrying capacity. The growth rate is represented by the variable $r.$ Using these variables, we can define the logistic differential equation.

我们用变量 $K$ 表示容纳量。增长率用变量 $r.$ 表示。利用这些变量,我们可以定义逻辑斯谛微分方程。

Let $K$ represent the carrying capacity for a particular organism in a given environment, and let $r$ be a real number that represents the growth rate. The function $P(t)$ represents the population of this organism as a function of time $t,$ and the constant $P_{0}$ represents the initial population (population of the organism at time $t = 0).$ Then the logistic differential equation is

设 $K$ 表示在给定环境中某一特定生物的容纳量,设 $r$ 为一个表示增长率的实数。函数 $P(t)$ 表示这种生物作为时间 $t$ 的函数的种群数量,常数 $P_{0}$ 表示初始种群数量(该生物在时刻 $t = 0$ 的种群数量)。那么逻辑斯谛微分方程为

$$\frac{dP}{dt} = rP\left( {1 - \frac{P}{K}} \right)$$ (4.8)

$$\frac{dP}{dt} = rP\left( {1 - \frac{P}{K}} \right)$$ (4.8)

See this website for more information on the logistic equation.

有关逻辑斯谛方程的更多信息,请参见该网站。

The logistic equation was first published by Pierre Verhulst in $1845.$ This differential equation can be coupled with the initial condition $P(0) = P_{0}$ to form an initial-value problem for $P(t).$

逻辑斯谛方程最早由 Pierre Verhulst 于 $1845.$ 发表。这个微分方程可以与初始条件 $P(0) = P_{0}$ 结合,构成关于 $P(t).$ 的一个初值问题。

Suppose that the initial population is small relative to the carrying capacity. Then $\frac{P}{K}$ is small, possibly close to zero. Thus, the quantity in parentheses on the right-hand side of Equation 4.8 is close to $1,$ and the right-hand side of this equation is close to $rP.$ If $r > 0,$ then the population grows rapidly, resembling exponential growth.

假设初始种群数量相对于容纳量较小。那么 $\frac{P}{K}$ 也很小,可能接近于零。因此,方程 4.8 右边括号中的量接近于 $1,$ 而该方程的右边接近于 $rP.$ 如果 $r > 0,$ 那么种群数量会迅速增长,类似于指数增长。

However, as the population grows, the ratio $\frac{P}{K}$ also grows, because $K$ is constant. If the population remains below the carrying capacity, then $\frac{P}{K}$ is less than $1,$ so $1 - \frac{P}{K} > 0.$ Therefore the right-hand side of Equation 4.8 is still positive, but the quantity in parentheses gets smaller, and the growth rate decreases as a result. If $P = K$ then the right-hand side is equal to zero, and the population does not change.

然而,随着种群数量增长,比值 $\frac{P}{K}$ 也会增大,因为 $K$ 是常数。如果种群数量保持在容纳量以下,那么 $\frac{P}{K}$ 小于 $1,$ 从而 $1 - \frac{P}{K} > 0.$ 因此方程 4.8 的右边仍然为正,但括号中的量越来越小,增长率随之下降。如果 $P = K$,则右边等于零,种群数量不再变化。

Now suppose that the population starts at a value higher than the carrying capacity. Then $\frac{P}{K} > 1,$ and $1 - \frac{P}{K} < 0.$ Then the right-hand side of Equation 4.8 is negative, and the population decreases. As long as $P > K,$ the population decreases. It never actually reaches $K$ because $\frac{dP}{dt}$ will get smaller and smaller, but the population approaches the carrying capacity as $t$ approaches infinity. This analysis can be represented visually by way of a phase line. A phase line describes the general behavior of a solution to an autonomous differential equation, depending on the initial condition. For the case of a carrying capacity in the logistic equation, the phase line is as shown in Figure 4.19.

现在假设种群数量起始值高于容纳量。那么 $\frac{P}{K} > 1,$ 且 $1 - \frac{P}{K} < 0.$ 于是方程 4.8 的右边为负,种群数量下降。只要 $P > K,$ 种群数量就持续下降。它实际上永远达不到 $K$,因为 $\frac{dP}{dt}$ 会越来越小,但种群数量会随着 $t$ 趋于无穷而趋近于容纳量。这种分析可以通过相线直观地表示出来。相线依据初始条件,描述自治微分方程解的笼统行为。对于逻辑斯谛方程中存在容纳量的情况,相线如图 4.19 所示。

This phase line shows that when $P$ is less than zero or greater than $K,$ the population decreases over time. When $P$ is between $0$ and $K,$ the population increases over time.

这条相线表明,当 $P$ 小于零或大于 $K,$ 时,种群数量随时间下降;当 $P$ 介于 $0$ 与 $K,$ 之间时,种群数量随时间增长。

Chapter Opener: Examining the Carrying Capacity of a Deer Population 章首问题:考察白尾鹿种群的容纳量

Let's consider the population of white-tailed deer (*Odocoileus virginianus*) in the state of Kentucky. The Kentucky Department of Fish and Wildlife Resources (KDFWR) sets guidelines for hunting and fishing in the state. Before the hunting season of $2004,$ it estimated a population of $900,000$ deer. Johnson notes: "A deer population that has plenty to eat and is not hunted by humans or other predators will double every three years." (George Johnson, "The Problem of Exploding Deer Populations Has No Attractive Solutions," January $12,2001,$ accessed April 9, 2015.) This observation corresponds to a rate of increase $r = \frac{\text{ln}(2)}{3} = 0.2311,$ so the approximate growth rate is $23.11\text{\%}$ per year*.* (This assumes that the population grows exponentially, which is reasonable––at least in the short term––with plentiful food supply and no predators.) The KDFWR also reports deer population densities for $32$ counties in Kentucky, the average of which is approximately $27$ deer per square mile. Suppose this is the deer density for the whole state $(39,732$ square miles). The carrying capacity $K$ is $39,732$ square miles times $27$ deer per square mile, or $1,072,764$ deer*.*

我们来考虑肯塔基州白尾鹿(*Odocoileus virginianus*)的种群数量。肯塔基州鱼类与野生动物资源部(KDFWR)为该州的狩猎和捕鱼制定了准则。在 $2004,$ 狩猎季之前,该部门估计鹿的种群数量为 $900,000$ 头。Johnson 指出:"一个食物充足、且不被人类或其他捕食者猎杀的鹿群,每三年数量会翻倍。"(George Johnson,《The Problem of Exploding Deer Populations Has No Attractive Solutions》,2001 年 1 月 $12,2001,$ 日,2015 年 4 月 9 日访问。)这一观察结果对应一个增长率 $r = \frac{\text{ln}(2)}{3} = 0.2311,$ ,因此年近似增长率为 $23.11\text{\%}$*.*(这假设种群呈指数增长,在有充足食物且无捕食者的情况下,这一假设是合理的——至少在短期内是如此。)KDFWR 还报告了肯塔基州 $32$ 个县的鹿群密度,其平均值约为每平方英里 $27$ 头。假设这是全州的鹿群密度 $(39,732$ 平方英里)。容纳量 $K$ 为 $39,732$ 平方英里乘以每平方英里 $27$ 头鹿,即 $1,072,764$ 头鹿*.*

1. For this application, we have $P_{0} = 900,000,K = 1,072,764,$ and $r = 0.2311.$ Substitute these values into Equation 4.8 and form the initial-value problem.

1. 对于本应用,我们有 $P_{0} = 900,000,K = 1,072,764,$ 和 $r = 0.2311.$ 将这些数值代入方程 4.8,并构成初值问题。

2. Solve the initial-value problem from part a.

2. 求解第 a 部分的初值问题。

3. According to this model, what will be the population in $3$ years? Recall that the doubling time predicted by Johnson for the deer population was $3$ years. How do these values compare?

3. 根据该模型,三年后种群数量将是多少?回想 Johnson 对鹿群所预测的翻倍时间为 $3$ 年。这些数值如何比较?

4. Suppose the population managed to reach $1,200,000$ deer. What does the logistic equation predict will happen to the population in this scenario?

4. 假设种群数量达到了 $1,200,000$ 头鹿。逻辑斯谛方程预测在这种情况下种群数量会发生什么变化?

Solution 解答

1. The initial value problem is

1. 初值问题为

$\frac{dP}{dt} = 0.2311P\left( {1 - \frac{P}{1,072,764}} \right),\quad P(0) = 900,000.$

$\frac{dP}{dt} = 0.2311P\left( {1 - \frac{P}{1,072,764}} \right),\quad P(0) = 900,000.$

2. The logistic equation is an autonomous differential equation, so we can use the method of separation of variables.

2. 逻辑斯谛方程是一个自治微分方程,因此我们可以使用分离变量法。

Step 1: Setting the right-hand side equal to zero gives $P = 0$ and $P = 1,072,764.$ This means that if the population starts at zero it will never change, and if it starts at the carrying capacity, it will never change.

步骤 1:令右边等于零,得到 $P = 0$ 和 $P = 1,072,764.$ 这意味着如果种群数量从零开始,它将永远不变;如果它从容纳量开始,也将永远不变。

Step 2: Rewrite the differential equation and multiply both sides by:

步骤 2:改写微分方程,并在等式两边同乘:

$$\begin{array}{rll} \frac{dP}{dt} & = & {0.2311P\left( \frac{1,072,764 - P}{1,072,764} \right)} \\ {dP} & = & {0.2311P\left( \frac{1,072,764 - P}{1,072,764} \right)\mspace{2mu} dt.} \end{array}$$

$$\begin{array}{rll} \frac{dP}{dt} & = & {0.2311P\left( \frac{1,072,764 - P}{1,072,764} \right)} \\ {dP} & = & {0.2311P\left( \frac{1,072,764 - P}{1,072,764} \right)\mspace{2mu} dt.} \end{array}$$

Divide both sides by $P\left( {1,072,764 - P} \right)\text{:}$

在等式两边同除以 $P\left( {1,072,764 - P} \right)\text{:}$

$$\frac{dP}{P\left( {1,072,764 - P} \right)} = \frac{0.2311}{1,072,764}dt.$$

$$\frac{dP}{P\left( {1,072,764 - P} \right)} = \frac{0.2311}{1,072,764}dt.$$

Step 3: Integrate both sides of the equation using partial fraction decomposition:

步骤 3:使用部分分式分解对等式两边积分:

$$\begin{array}{rll} \left. \int\frac{dP}{P\left( {1,072,764 - P} \right)} \right. & = & \left. \int{\frac{0.2311}{1,072,764}dt} \right. \\ {\frac{1}{1,072,764}\left. \int{\left( {\frac{1}{P} + \frac{1}{1,072,764 - P}} \right)\mspace{2mu} dP} \right.} & = & {\frac{0.2311t}{1,072,764} + C} \\ {\frac{1}{1,072,764}\mspace{2mu}\left( {\text{ln}|P| - \text{ln}\left| {1,072,764 - P} \right|} \right)} & = & {\frac{0.2311t}{1,072,764} + C.} \end{array}$$

$$\begin{array}{rll} \left. \int\frac{dP}{P\left( {1,072,764 - P} \right)} \right. & = & \left. \int{\frac{0.2311}{1,072,764}dt} \right. \\ {\frac{1}{1,072,764}\left. \int{\left( {\frac{1}{P} + \frac{1}{1,072,764 - P}} \right)\mspace{2mu} dP} \right.} & = & {\frac{0.2311t}{1,072,764} + C} \\ {\frac{1}{1,072,764}\mspace{2mu}\left( {\text{ln}|P| - \text{ln}\left| {1,072,764 - P} \right|} \right)} & = & {\frac{0.2311t}{1,072,764} + C.} \end{array}$$

Step 4: Multiply both sides by $1,072,764$ and use the quotient rule for logarithms:

步骤 4:在等式两边同乘 $1,072,764$,并使用对数的商法则:

$$\text{ln}\left| \frac{P}{1,072,764 - P} \right| = 0.2311t + C_{1}.$$

$$\text{ln}\left| \frac{P}{1,072,764 - P} \right| = 0.2311t + C_{1}.$$

Here $C_{1} = 1,072,764C.$ Next exponentiate both sides and eliminate the absolute value:

这里 $C_{1} = 1,072,764C.$ 接下来对等式两边取指数,并去掉绝对值:

$$\begin{array}{rll} e^{\text{ln}{|\frac{P}{1,072,764 - P}|}} & = & e^{0.2311t + C_{1}} \\ \left| \frac{P}{1,072,764 - P} \right| & = & {C_{2}e^{0.2311t}} \\ \frac{P}{1,072,764 - P} & = & {C_{2}e^{0.2311t}.} \end{array}$$

$$\begin{array}{rll} e^{\text{ln}{|\frac{P}{1,072,764 - P}|}} & = & e^{0.2311t + C_{1}} \\ \left| \frac{P}{1,072,764 - P} \right| & = & {C_{2}e^{0.2311t}} \\ \frac{P}{1,072,764 - P} & = & {C_{2}e^{0.2311t}.} \end{array}$$

Here $C_{2} = e^{C_{1}}$ but after eliminating the absolute value, it can be negative as well. Now solve for:

这里 $C_{2} = e^{C_{1}}$,但在去掉绝对值之后,它也可能是负的。现在解出:

$$\begin{array}{rll} P & = & {C_{2}e^{0.2311t}\left( {1,072,764 - P} \right).} \\ P & = & {1,072,764C_{2}e^{0.2311t} - C_{2}Pe^{0.2311t}} \\ {P + C_{2}Pe^{0.2311t}} & = & {1,072,764C_{2}e^{0.2311t}} \\ {P\left( {1 + C_{2}e^{0.2311t}} \right)} & = & {1,072,764C_{2}e^{0.2311t}} \\ {P(t)} & = & {\frac{1,072,764C_{2}e^{0.2311t}}{1 + C_{2}e^{0.2311t}}.} \end{array}$$

$$\begin{array}{rll} P & = & {C_{2}e^{0.2311t}\left( {1,072,764 - P} \right).} \\ P & = & {1,072,764C_{2}e^{0.2311t} - C_{2}Pe^{0.2311t}} \\ {P + C_{2}Pe^{0.2311t}} & = & {1,072,764C_{2}e^{0.2311t}} \\ {P\left( {1 + C_{2}e^{0.2311t}} \right)} & = & {1,072,764C_{2}e^{0.2311t}} \\ {P(t)} & = & {\frac{1,072,764C_{2}e^{0.2311t}}{1 + C_{2}e^{0.2311t}}.} \end{array}$$

Step 5: To determine the value of $C_{2},$ it is actually easier to go back a couple of steps to where $C_{2}$ was defined. In particular, use the equation

步骤 5:为了确定 $C_{2},$ 的值,实际上更简单的方法是回到前面几步中定义 $C_{2}$ 的地方。具体而言,使用方程

$$\frac{P}{1,072,764 - P} = C_{2}e^{0.2311t}.$$

$$\frac{P}{1,072,764 - P} = C_{2}e^{0.2311t}.$$

The initial condition is $P(0) = 900,000.$ Replace $P$ with $900,000$ and $t$ with zero:

初始条件为 $P(0) = 900,000.$ 将 $P$ 替换为 $900,000$,$t$ 替换为零:

$$\begin{array}{rll} \frac{P}{1,072,764 - P} & = & {C_{2}e^{0.2311t}} \\ \frac{900,000}{1,072,764 - 900,000} & = & {C_{2}e^{0.2311{(0)}}} \\ \frac{900,000}{172,764} & = & C_{2} \\ C_{2} & = & {\frac{25,000}{4,799} \approx 5.209.} \end{array}$$

$$\begin{array}{rll} \frac{P}{1,072,764 - P} & = & {C_{2}e^{0.2311t}} \\ \frac{900,000}{1,072,764 - 900,000} & = & {C_{2}e^{0.2311{(0)}}} \\ \frac{900,000}{172,764} & = & C_{2} \\ C_{2} & = & {\frac{25,000}{4,799} \approx 5.209.} \end{array}$$

Therefore

因此

$$\begin{array}{cl} {P(t)} & {= \frac{1,072,764\left( \frac{25000}{4799} \right)\mspace{2mu} e^{0.2311t}}{1 + \left( \frac{25000}{4799} \right)\mspace{2mu} e^{0.2311t}}} \\ & {= \frac{1,072,764(25000)e^{0.2311t}}{4799 + 25000e^{0.2311t}}.} \end{array}$$

$$\begin{array}{cl} {P(t)} & {= \frac{1,072,764\left( \frac{25000}{4799} \right)\mspace{2mu} e^{0.2311t}}{1 + \left( \frac{25000}{4799} \right)\mspace{2mu} e^{0.2311t}}} \\ & {= \frac{1,072,764(25000)e^{0.2311t}}{4799 + 25000e^{0.2311t}}.} \end{array}$$

Dividing the numerator and denominator by $25,000$ gives

分子分母同除以 $25,000$ 得到

$$P(t) = \frac{1,072,764e^{0.2311t}}{0.19196 + e^{0.2311t}}.$$

$$P(t) = \frac{1,072,764e^{0.2311t}}{0.19196 + e^{0.2311t}}.$$

Figure 4.21 is a graph of this equation.

图 4.21 是该方程的图像。

3. Using this model we can predict the population in $3$ years.

3. 利用这个模型,我们可以预测 $3$ 年后的种群数量。

$$P(3) = \frac{1,072,764e^{0.2311{(3)}}}{0.19196 + e^{0.2311(3)}} \approx 978,830\ \text{deer}$$

$$P(3) = \frac{1,072,764e^{0.2311{(3)}}}{0.19196 + e^{0.2311(3)}} \approx 978,830\ \text{deer}$$

This is far short of twice the initial population of $900,000.$ Remember that the doubling time is based on the assumption that the growth rate never changes, but the logistic model takes this possibility into account.

这远未达到初始种群数量 $900,000.$ 的两倍。要记住,翻倍时间是基于增长率永远不变的假设,而逻辑斯谛模型考虑到了这种可能性。

4. If the population reached $1,200,000$ deer, then the new initial-value problem would be

4. 如果种群数量达到了 $1,200,000$ 头鹿,那么新的初值问题将是

$$\frac{dP}{dt} = 0.2311P\left( {1 - \frac{P}{1,072,764}} \right),\quad P(0) = 1,200,000.$$

$$\frac{dP}{dt} = 0.2311P\left( {1 - \frac{P}{1,072,764}} \right),\quad P(0) = 1,200,000.$$

The general solution to the differential equation would remain the same.

该微分方程的通解保持不变。

$$P(t) = \frac{1,072,764C_{2}e^{0.2311t}}{1 + C_{2}e^{0.2311t}}$$

$$P(t) = \frac{1,072,764C_{2}e^{0.2311t}}{1 + C_{2}e^{0.2311t}}$$

To determine the value of the constant, return to the equation

为了确定该常数的值,回到方程

$$\frac{P}{1,072,764 - P} = C_{2}e^{0.2311t}.$$

$$\frac{P}{1,072,764 - P} = C_{2}e^{0.2311t}.$$

Substituting the values $t = 0$ and $P = 1,200,000,$ you get

代入数值 $t = 0$ 和 $P = 1,200,000,$ 可得

$$\begin{array}{rll} {C_{2}e^{0.2311{(0)}}} & = & \frac{1,200,000}{1,072,764 - 1,200,000} \\ C_{2} & = & {- \frac{100,000}{10,603} \approx - 9.431.} \end{array}$$

$$\begin{array}{rll} {C_{2}e^{0.2311{(0)}}} & = & \frac{1,200,000}{1,072,764 - 1,200,000} \\ C_{2} & = & {- \frac{100,000}{10,603} \approx - 9.431.} \end{array}$$

Therefore

因此

$$\begin{array}{cl} {P(t)} & {= \frac{1,072,764C_{2}e^{0.2311t}}{1 + C_{2}e^{0.2311t}}} \\ & {= \frac{1,072,764\left( {- \frac{100,000}{10,603}} \right)\mspace{2mu} e^{0.2311t}}{1 + \left( {- \frac{100,000}{10,603}} \right)\mspace{2mu} e^{0.2311t}}} \\ & {= - \frac{107,276,400,000e^{0.2311t}}{100,000e^{0.2311t} - 10,603}} \\ & {\approx \frac{10,117,551e^{0.2311t}}{9.43129e^{0.2311t} - 1}.} \end{array}$$

$$\begin{array}{cl} {P(t)} & {= \frac{1,072,764C_{2}e^{0.2311t}}{1 + C_{2}e^{0.2311t}}} \\ & {= \frac{1,072,764\left( {- \frac{100,000}{10,603}} \right)\mspace{2mu} e^{0.2311t}}{1 + \left( {- \frac{100,000}{10,603}} \right)\mspace{2mu} e^{0.2311t}}} \\ & {= - \frac{107,276,400,000e^{0.2311t}}{100,000e^{0.2311t} - 10,603}} \\ & {\approx \frac{10,117,551e^{0.2311t}}{9.43129e^{0.2311t} - 1}.} \end{array}$$

This equation is graphed in Figure 4.22.

该方程的图像见图 4.22。

Solving the Logistic Differential Equation 求解逻辑斯谛微分方程

The logistic differential equation is an autonomous differential equation, so we can use separation of variables to find the general solution, as we just did in Example 4.14.

逻辑斯谛微分方程是一个自治微分方程,因此我们可以像在示例 4.14 中那样,使用分离变量法来求通解。

Step 1: Setting the right-hand side equal to zero leads to $P = 0$ and $P = K$ as constant solutions. The first solution indicates that when there are no organisms present, the population will never grow. The second solution indicates that when the population starts at the carrying capacity, it will never change.

步骤 1:令右端等于零,得到 $P = 0$ 和 $P = K$ 作为常数解。第一个解表明,当没有任何生物存在时,种群永远不会增长。第二个解表明,当种群从容纳量开始时就保持不变。

Step 2: Rewrite the differential equation in the form

步骤 2:将微分方程改写成如下形式

$$\frac{dP}{dt} = \frac{rP\left( {K - P} \right)}{K}.$$

$$\frac{dP}{dt} = \frac{rP\left( {K - P} \right)}{K}.$$

Then multiply both sides by $dt$ and divide both sides by $P\left( {K - P} \right).$ This leads to

然后将等式两边同时乘以 $dt$ 并除以 $P\left( {K - P} \right).$ 得到

$$\frac{dP}{P\left( {K - P} \right)} = \frac{r}{K}dt.$$

$$\frac{dP}{P\left( {K - P} \right)} = \frac{r}{K}dt.$$

Multiply both sides of the equation by $K$ and integrate:

将方程两边同时乘以 $K$ 并积分:

$$\left. \int{\frac{K}{P\left( {K - P} \right)}dP} \right. = \left. \int r \right.dt.$$

$$\left. \int{\frac{K}{P\left( {K - P} \right)}dP} \right. = \left. \int r \right.dt.$$

The left-hand side of this equation can be integrated using partial fraction decomposition. We leave it to you to verify that

这个等式的左端可以使用部分分式分解来积分。我们留给你去验证:

$$\frac{K}{P\left( {K - P} \right)} = \frac{1}{P} + \frac{1}{K - P}.$$

$$\frac{K}{P\left( {K - P} \right)} = \frac{1}{P} + \frac{1}{K - P}.$$

Then the equation becomes

于是方程变为

$$\begin{array}{rll} \left. \int{\frac{1}{P} + \frac{1}{K - P}dP} \right. & = & {\int{rdt}} \\ {\text{ln}|P| - \text{ln}\left| {K - P} \right|} & = & {rt + C} \\ {\text{ln}\left| \frac{P}{K - P} \right|} & = & {rt + C.} \end{array}$$

$$\begin{array}{rll} \left. \int{\frac{1}{P} + \frac{1}{K - P}dP} \right. & = & {\int{rdt}} \\ {\text{ln}|P| - \text{ln}\left| {K - P} \right|} & = & {rt + C} \\ {\text{ln}\left| \frac{P}{K - P} \right|} & = & {rt + C.} \end{array}$$

Now exponentiate both sides of the equation to eliminate the natural logarithm:

现在对等式两边同时取指数,以消去自然对数:

$$\begin{array}{rll} e^{\text{ln}{|\frac{P}{K - P}|}} & = & e^{rt + C} \\ \left| \frac{P}{K - P} \right| & = & {e^{C}e^{rt}.} \end{array}$$

$$\begin{array}{rll} e^{\text{ln}{|\frac{P}{K - P}|}} & = & e^{rt + C} \\ \left| \frac{P}{K - P} \right| & = & {e^{C}e^{rt}.} \end{array}$$

We define $C_{1} = e^{c}$ and, noting that $K,P > 0$ and $P < K$, so that $\frac{P}{K–P} > 0$ we can drop the absolute value sign, so that the equation becomes

我们定义 $C_{1} = e^{c}$,并注意到 $K,P > 0$ 且 $P < K$,从而 $\frac{P}{K–P} > 0$,于是可以去掉绝对值符号,方程变成

$$\frac{P}{K - P} = C_{1}e^{rt}.$$ (4.9)

$$\frac{P}{K - P} = C_{1}e^{rt}.$$ (4.9)

To solve this equation for $P(t),$ first multiply both sides by $K - P$ and collect the terms containing $P$ on the left-hand side of the equation:

为了解这个关于 $P(t)$ 的方程,先将等式两边同时乘以 $K - P$,并把含有 $P$ 的项集中到等式左边:

$$\begin{array}{rll} P & = & {C_{1}e^{rt}\left( {K - P} \right)} \\ P & = & {C_{1}Ke^{rt} - C_{1}Pe^{rt}} \\ {P + C_{1}Pe^{rt}} & = & {C_{1}Ke^{rt}.} \end{array}$$

$$\begin{array}{rll} P & = & {C_{1}e^{rt}\left( {K - P} \right)} \\ P & = & {C_{1}Ke^{rt} - C_{1}Pe^{rt}} \\ {P + C_{1}Pe^{rt}} & = & {C_{1}Ke^{rt}.} \end{array}$$

Next, factor $P$ from the left-hand side and divide both sides by the other factor:

接着,从左端提取公因式 $P$,并将等式两边同时除以另一个因式:

$$\begin{array}{rll} {P\left( {1 + C_{1}e^{rt}} \right)} & = & {C_{1}Ke^{rt}} \\ {P(t)} & = & {\frac{C_{1}Ke^{rt}}{1 + C_{1}e^{rt}}.} \end{array}$$ (4.10)

$$\begin{array}{rll} {P\left( {1 + C_{1}e^{rt}} \right)} & = & {C_{1}Ke^{rt}} \\ {P(t)} & = & {\frac{C_{1}Ke^{rt}}{1 + C_{1}e^{rt}}.} \end{array}$$ (4.10)

The last step is to determine the value of $C_{1}.$ The easiest way to do this is to substitute $t = 0$ and $P_{0}$ in place of $P$ in Equation 4.9 and solve for $C_{1}\text{:}$

最后一步是确定 $C_{1}$ 的值。最简单的办法是在方程 4.9 中用 $t = 0$ 和 $P_{0}$ 代替 $P$,然后解出 $C_{1}\text{:}$

$$\begin{array}{rll} \frac{P}{K - P} & = & {C_{1}e^{rt}} \\ \frac{P_{0}}{K - P_{0}} & = & {C_{1}e^{r{(0)}}} \\ C_{1} & = & {\frac{P_{0}}{K - P_{0}}.} \end{array}$$

$$\begin{array}{rll} \frac{P}{K - P} & = & {C_{1}e^{rt}} \\ \frac{P_{0}}{K - P_{0}} & = & {C_{1}e^{r{(0)}}} \\ C_{1} & = & {\frac{P_{0}}{K - P_{0}}.} \end{array}$$

Finally, substitute the expression for $C_{1}$ into Equation 4.10:

最后,将 $C_{1}$ 的表达式代入方程 4.10:

$$P(t) = \frac{C_{1}Ke^{rt}}{1 + C_{1}e^{rt}} = \frac{\frac{P_{0}}{K - P_{0}}Ke^{rt}}{1 + \frac{P_{0}}{K - P_{0}}e^{rt}}$$

$$P(t) = \frac{C_{1}Ke^{rt}}{1 + C_{1}e^{rt}} = \frac{\frac{P_{0}}{K - P_{0}}Ke^{rt}}{1 + \frac{P_{0}}{K - P_{0}}e^{rt}}$$

Now multiply the numerator and denominator of the right-hand side by $\left( {K - P_{0}} \right)$ and simplify:

现在将右端的分子与分母同乘以 $\left( {K - P_{0}} \right)$ 并化简:

$$\begin{array}{cl} {P(t)} & {= \frac{\frac{P_{0}}{K - P_{0}}Ke^{rt}}{1 + \frac{P_{0}}{K - P_{0}}e^{rt}}} \\ & {= \frac{\frac{P_{0}}{K - P_{0}}Ke^{rt}}{1 + \frac{P_{0}}{K - P_{0}}e^{rt}} \cdot \frac{K - P_{0}}{K - P_{0}}} \\ & {= \frac{P_{0}Ke^{rt}}{\left( {K - P_{0}} \right) + P_{0}e^{rt}}.} \end{array}$$

$$\begin{array}{cl} {P(t)} & {= \frac{\frac{P_{0}}{K - P_{0}}Ke^{rt}}{1 + \frac{P_{0}}{K - P_{0}}e^{rt}}} \\ & {= \frac{\frac{P_{0}}{K - P_{0}}Ke^{rt}}{1 + \frac{P_{0}}{K - P_{0}}e^{rt}} \cdot \frac{K - P_{0}}{K - P_{0}}} \\ & {= \frac{P_{0}Ke^{rt}}{\left( {K - P_{0}} \right) + P_{0}e^{rt}}.} \end{array}$$

We state this result as a theorem.

我们把这个结果表述为一个定理。

Solution of the Logistic Differential Equation 逻辑斯谛微分方程的解

Consider the logistic differential equation subject to an initial population of $P_{0}$ with carrying capacity $K$ and growth rate $r.$ The solution to the corresponding initial-value problem is given by

考虑逻辑斯谛微分方程,其初始种群为 $P_{0}$,容纳量为 $K$,增长率为 $r$。相应初值问题的解由下式给出

$$P(t) = \frac{P_{0}Ke^{rt}}{\left( {K - P_{0}} \right) + P_{0}e^{rt}}.$$ (4.11)

$$P(t) = \frac{P_{0}Ke^{rt}}{\left( {K - P_{0}} \right) + P_{0}e^{rt}}.$$ (4.11)

Now that we have the solution to the initial-value problem, we can choose values for $P_{0},r,$ and $K$ and study the solution curve. For example, in Example 4.14 we used the values $r = 0.2311,K = 1,072,764,$ and an initial population of $900,000$ deer. This leads to the solution

既然已经得到了初值问题的解,我们就可以选取 $P_{0},r,$ 和 $K$ 的值来研究解曲线。例如,在示例 4.14 中我们使用了 $r = 0.2311,K = 1,072,764,$ 以及初始种群 $900,000$ 只鹿。这给出如下解

$$\begin{array}{cl} {P(t)} & {= \frac{P_{0}Ke^{rt}}{\left( {K - P_{0}} \right) + P_{0}e^{rt}}} \\ & {= \frac{900,000(1,072,764)e^{0.2311t}}{\left( {1,072,764 - 900,000} \right) + 900,000e^{0.2311t}}} \\ & {= \frac{900,000(1,072,764)e^{0.2311t}}{172,764 + 900,000e^{0.2311t}}.} \end{array}$$

$$\begin{array}{cl} {P(t)} & {= \frac{P_{0}Ke^{rt}}{\left( {K - P_{0}} \right) + P_{0}e^{rt}}} \\ & {= \frac{900,000(1,072,764)e^{0.2311t}}{\left( {1,072,764 - 900,000} \right) + 900,000e^{0.2311t}}} \\ & {= \frac{900,000(1,072,764)e^{0.2311t}}{172,764 + 900,000e^{0.2311t}}.} \end{array}$$

Dividing top and bottom by $900,000$ gives

将分子和分母同除以 $900,000$ 得到

$$P(t) = \frac{1,072,764e^{0.2311t}}{0.19196 + e^{0.2311t}}.$$

$$P(t) = \frac{1,072,764e^{0.2311t}}{0.19196 + e^{0.2311t}}.$$

This is the same as the original solution. The graph of this solution is shown again in blue in Figure 4.23, superimposed over the graph of the exponential growth model with initial population $900,000$ and growth rate $0.2311$ (appearing in green). The red dashed line represents the carrying capacity, and is a horizontal asymptote for the solution to the logistic equation.

这与原来的解相同。该解的图像在图 4.23 中以蓝色再次显示,叠加在初始种群为 $900,000$、增长率为 $0.2311$ 的指数增长模型图像(以绿色显示)之上。红色虚线表示容纳量,它是逻辑斯谛方程解的水平渐近线。

Working under the assumption that the population grows according to the logistic differential equation, this graph predicts that approximately $20$ years earlier $(1984),$ the growth of the population was very close to exponential. The net growth rate at that time would have been around $23.1\text{\%}$ per year. As time goes on, the two graphs separate. This happens because the population increases, and the logistic differential equation states that the growth rate decreases as the population increases. At the time the population was measured $(2004),$ it was close to carrying capacity, and the population was starting to level off.

在假设种群按逻辑斯谛微分方程增长的条件下,这张图预测大约在 $20$ 年前 $(1984),$ 种群增长非常接近指数型。当时的净增长率大约为每年 $23.1\text{\%}$。随着时间的推移,两条曲线分开。这是因为种群增加,而逻辑斯谛微分方程指出增长率随种群增加而减小。在测量种群的时间 $(2004),$ 它已接近容纳量,种群开始趋于平稳。

The solution to the logistic differential equation has a point of inflection. To find this point, set the second derivative equal to zero:

逻辑斯谛微分方程的解有一个拐点。为求这个点,令二阶导数为零:

$$\begin{array}{cll} {P(t)} & = & \frac{P_{0}Ke^{rt}}{\left( {K - P_{0}} \right) + P_{0}e^{rt}} \\ {P^{\prime}(t)} & = & \frac{rP_{0}K\left( {K - P_{0}} \right)e^{rt}}{\left( {\left( {K - P_{0}} \right) + P_{0}e^{rt}} \right)^{2}} \\ {P^{''}(t)} & = & \frac{r^{2}P_{0}K\left( {K - P_{0}} \right)^{2}e^{rt} - r^{2}P_{0}{}^{2}K\left( {K - P_{0}} \right)e^{2rt}}{\left( {\left( {K - P_{0}} \right) + P_{0}e^{rt}} \right)^{3}} \\ & = & {\frac{r^{2}P_{0}K\left( {K - P_{0}} \right)e^{rt}\left( {\left( {K - P_{0}} \right) - P_{0}e^{rt}} \right)}{\left( {\left( {K - P_{0}} \right) + P_{0}e^{rt}} \right)^{3}}.} \end{array}$$

$$\begin{array}{cll} {P(t)} & = & \frac{P_{0}Ke^{rt}}{\left( {K - P_{0}} \right) + P_{0}e^{rt}} \\ {P^{\prime}(t)} & = & \frac{rP_{0}K\left( {K - P_{0}} \right)e^{rt}}{\left( {\left( {K - P_{0}} \right) + P_{0}e^{rt}} \right)^{2}} \\ {P^{''}(t)} & = & \frac{r^{2}P_{0}K\left( {K - P_{0}} \right)^{2}e^{rt} - r^{2}P_{0}{}^{2}K\left( {K - P_{0}} \right)e^{2rt}}{\left( {\left( {K - P_{0}} \right) + P_{0}e^{rt}} \right)^{3}} \\ & = & {\frac{r^{2}P_{0}K\left( {K - P_{0}} \right)e^{rt}\left( {\left( {K - P_{0}} \right) - P_{0}e^{rt}} \right)}{\left( {\left( {K - P_{0}} \right) + P_{0}e^{rt}} \right)^{3}}.} \end{array}$$

Setting the numerator equal to zero,

令分子等于零,

$$r^{2}P_{0}K\left( {K - P_{0}} \right)e^{rt}\left( {\left( {K - P_{0}} \right) - P_{0}e^{rt}} \right) = 0.$$

$$r^{2}P_{0}K\left( {K - P_{0}} \right)e^{rt}\left( {\left( {K - P_{0}} \right) - P_{0}e^{rt}} \right) = 0.$$

As long as $P_{0} \neq K,$ the entire quantity before and including $e^{rt}$ is nonzero, so we can divide it out:

只要 $P_{0} \neq K,$ 包含 $e^{rt}$ 在内的前面整个量都不为零,因此我们可以将其约去:

$$\left( {K - P_{0}} \right) - P_{0}e^{rt} = 0.$$

$$\left( {K - P_{0}} \right) - P_{0}e^{rt} = 0.$$

Solving for $t,$

解 $t$,

$$\begin{array}{rll} {P_{0}e^{rt}} & = & {K - P_{0}} \\ e^{rt} & = & \frac{K - P_{0}}{P_{0}} \\ {\text{ln}\mspace{2mu} e^{rt}} & = & {\text{ln}\ \frac{K - P_{0}}{P_{0}}} \\ {rt} & = & {\text{ln}\ \frac{K - P_{0}}{P_{0}}} \\ t & = & {\frac{1}{r}\mspace{2mu}\text{ln}\ \frac{K - P_{0}}{P_{0}}.} \end{array}$$

$$\begin{array}{rll} {P_{0}e^{rt}} & = & {K - P_{0}} \\ e^{rt} & = & \frac{K - P_{0}}{P_{0}} \\ {\text{ln}\mspace{2mu} e^{rt}} & = & {\text{ln}\ \frac{K - P_{0}}{P_{0}}} \\ {rt} & = & {\text{ln}\ \frac{K - P_{0}}{P_{0}}} \\ t & = & {\frac{1}{r}\mspace{2mu}\text{ln}\ \frac{K - P_{0}}{P_{0}}.} \end{array}$$

Notice that if $P_{0} > K,$ then this quantity is undefined, and the graph does not have a point of inflection. In the logistic graph, the point of inflection can be seen as the point where the graph changes from concave up to concave down. This is where the "leveling off" starts to occur, because the net growth rate becomes slower as the population starts to approach the carrying capacity.

注意,如果 $P_{0} > K,$ 那么这个量无定义,图像也就没有拐点。在逻辑斯谛图像中,拐点可以看作图像由凹向上变为凹向下的那个点。这正是“趋于平稳”开始发生的地方,因为当种群开始接近容纳量时,净增长率会变慢。

A population of rabbits in a meadow is observed to be $200$ rabbits at time $t = 0.$ After a month, the rabbit population is observed to have increased by $4\text{\%}.$ Using an initial population of $200$ and a growth rate of $0.04,$ with a carrying capacity of $750$ rabbits,

观察到一片草地上兔子的种群在 $t = 0$ 时为 $200$ 只。一个月后,观察到兔子种群增加了 $4\text{\%}$。取初始种群为 $200$、增长率为 $0.04$,容纳量为 $750$ 只兔子,

1. Write the logistic differential equation and initial condition for this model.

1. 写出该模型的逻辑斯谛微分方程和初始条件。

2. Draw a slope field for this logistic differential equation, and sketch the solution corresponding to an initial population of $200$ rabbits.

2. 画出该逻辑斯谛微分方程的方向场,并勾勒出对应于初始种群为 $200$ 只兔子的解。

3. Solve the initial-value problem for $P(t).$

3. 求解关于 $P(t)$ 的初值问题。

4. Use the solution to predict the population after $1$ year.

4. 利用该解预测 $1$ 年后的种群数量。

Student Project: Logistic Equation with a Threshold Population 学生项目:带阈值种群的逻辑斯谛方程

An improvement to the logistic model includes a threshold population. The threshold population is defined to be the minimum population that is necessary for the species to survive. We use the variable $T$ to represent the threshold population. A differential equation that incorporates both the threshold population $T$ and carrying capacity $K$ is

对逻辑斯谛模型的一个改进是引入阈值种群。阈值种群被定义为该物种生存所必需的最小种群量。我们用变量 $T$ 表示阈值种群。一个同时包含阈值种群 $T$ 和容纳量 $K$ 的微分方程是

$$\frac{dP}{dt} = \text{−}rP\left( {1 - \frac{P}{K}} \right)\left( {1 - \frac{P}{T}} \right)$$ (4.12)

$$\frac{dP}{dt} = \text{−}rP\left( {1 - \frac{P}{K}} \right)\left( {1 - \frac{P}{T}} \right)$$ (4.12)

where $r$ represents the growth rate, as before.

其中 $r$ 表示增长率,与前面相同。

1. The threshold population is useful to biologists and can be utilized to determine whether a given species should be placed on the endangered list. A group of Australian researchers say they have determined the threshold population for any species to survive: $5000$ adults. (Catherine Clabby, "A Magic Number," *American Scientist* 98(1): 24, doi:10.1511/2010.82.24. accessed April 9, 2015). Therefore we use $T = 5000$ as the threshold population in this project. Suppose that the environmental carrying capacity in Montana for elk is $25,000.$ Set up Equation 4.12 using the carrying capacity of $25,000$ and threshold population of $5000.$ Assume an annual net growth rate of $18\text{\%}.$

1. 阈值种群对生物学家很有用,可用于判断某一给定物种是否应被列入濒危名录。一个澳大利亚研究小组称,他们已确定任何物种生存所需的阈值种群为:$5000$ 只成年个体。(Catherine Clabby, "A Magic Number," *American Scientist* 98(1): 24, doi:10.1511/2010.82.24. accessed April 9, 2015)。因此在本项目中我们取 $T = 5000$ 作为阈值种群。假设蒙大拿州麋鹿的环境容纳量为 $25,000$。利用 $25,000$ 的容纳量和 $5000$ 的阈值种群建立方程 4.12。假设年净增长率为 $18\text{\%}$。

2. Draw the direction field for the differential equation from step $1,$ along with several solutions for different initial populations. What are the constant solutions of the differential equation? What do these solutions correspond to in the original population model (i.e., in a biological context)?

2. 画出第 $1$ 步所得微分方程的方向场,以及针对不同初始种群的若干条解。该微分方程有哪些常数解?这些解在原始种群模型(即在生物学意义上)对应什么?

3. What is the limiting population for each initial population you chose in step $2?$ (Hint: use the slope field to see what happens for various initial populations, i.e., look for the horizontal asymptotes of your solutions.)

3. 你在第 $2$ 步中选取的每个初始种群的极限种群是多少?(提示:利用方向场观察不同初始种群会发生什么,即寻找你所得解的水平渐近线。)

4. This equation can be solved using the method of separation of variables. However, it is very difficult to get the solution as an explicit function of $t.$ Using an initial population of $18,000$ elk, solve the initial-value problem and express the solution as an implicit function of $t,$ or solve the general initial-value problem, finding a solution in terms of $r,K,T,\text{and}\ P_{0}.$

4. 这个方程可以用分离变量法求解。然而,要把解表示成 $t$ 的显式函数非常困难。取初始种群为 $18,000$ 只麋鹿,求解该初值问题,并把解表示为 $t$ 的隐式函数;或者求解一般初值问题,求出用 $r,K,T,\text{and}\ P_{0}$ 表示的解。

Section 4.4 Exercises 4.4 节习题

For the following problems, consider the logistic equation in the form $P\prime = CP - P^{2}.$ Draw the directional field and find the stability of the equilibria.

对于下列各题,考虑形如 $P\prime = CP - P^{2}.$ 的逻辑斯谛方程。画出方向场,并求平衡解的稳定性。

168\.

168\.

$C = 3$

$C = 3$

169.

169.

$C = 0$

$C = 0$

170\.

170\.

$C = -3$

$C = -3$

171.

171.

Solve the logistic equation for $C = 10$ and an initial condition of $P(0) = 2.$

求解逻辑斯谛方程,其中 $C = 10$,初值为 $P(0) = 2.$

172\.

172\.

Solve the logistic equation for $C = -10$ and an initial condition of $P(0) = 2.$

求解逻辑斯谛方程,其中 $C = -10$,初值为 $P(0) = 2.$

173.

173.

A population of deer inside a park has a carrying capacity of $200$ and a growth rate of $2\text{\%}.$ If the initial population is $50$ deer, what is the population of deer at any given time?

公园内鹿群的容纳量为 $200$,增长率为 $2\text{\%}$。若初始种群为 $50$ 只鹿,任意时刻鹿的种群数量是多少?

174\.

174\.

A population of frogs in a pond has a growth rate of $5\text{\%}.$ If the initial population is $1000$ frogs and the carrying capacity is $6000,$ what is the population of frogs at any given time?

池塘中青蛙种群的增长率为 $5\text{\%}$。若初始种群为 $1000$ 只青蛙且容纳量为 $6000$,任意时刻青蛙的种群数量是多少?

175.

175.

\[T\] Bacteria grow at a rate of $20\text{\%}$ per hour in a petri dish. If there is initially one bacterium and a carrying capacity of $1$ million cells, how long does it take to reach $500,000$ cells?

\[T\] 培养皿中细菌以每小时 $20\text{\%}$ 的速率增长。若最初有一个细菌,容纳量为 $1$ 百万个细胞,则达到 $500,000$ 个细胞需要多长时间?

176\.

176\.

\[T\] Rabbits in a park have an initial population of $10$ and grow at a rate of $4\text{\%}$ per year. If the carrying capacity is $500,$ at what time does the population reach $100$ rabbits?

\[T\] 公园中兔子的初始种群为 $10$ 只,年增长率为 $4\text{\%}$。若容纳量为 $500$,种群何时达到 $100$ 只兔子?

177.

177.

\[T\] Two monkeys are placed on an island. After $5$ years, there are $8$ monkeys, and the estimated carrying capacity is $25$ monkeys. When does the population of monkeys reach $16$ monkeys?

\[T\] 两只猴子被放到一座岛上。经过 $5$ 年后有 $8$ 只猴子,估计容纳量为 $25$ 只猴子。猴子的种群何时达到 $16$ 只?

178\.

178\.

\[T\] A butterfly sanctuary is built that can hold $2000$ butterflies, and $400$ butterflies are initially moved in. If after $2$ months there are now $800$ butterflies, when does the population get to $1500$ butterflies?

\[T\] 建造了一座可容纳 $2000$ 只蝴蝶的蝴蝶保护区,最初迁入 $400$ 只蝴蝶。若 $2$ 个月后现有 $800$ 只蝴蝶,种群何时达到 $1500$ 只蝴蝶?

The following problems consider the logistic equation with an added term for depletion, either through death or emigration.

下列各题考虑在逻辑斯谛方程中加入一项因死亡或迁出造成的耗减项。

179.

179.

\[T\] The population of trout in a pond is given by $P\prime = 0.4P\left( {1 - \frac{P}{10000}} \right) - 400,$ where $400$ trout are caught per year. Use your calculator or computer software to draw a directional field and draw a few sample solutions. What do you expect for the behavior?

\[T\] 池塘中鳟鱼的种群由 $P\prime = 0.4P\left( {1 - \frac{P}{10000}} \right) - 400,$ 给出,其中每年捕获 $400$ 条鳟鱼。使用计算器或计算机软件画出方向场,并画出几条示例解。你预计会出现怎样的行为?

180\.

180\.

In the preceding problem, what are the stabilities of the equilibria $0 < P_{1} < P_{2}?$

在上题中,平衡解 $0 < P_{1} < P_{2}?$ 的稳定性如何?

181.

181.

\[T\] For the preceding problem, use software to generate a directional field for the value $f = 400.$ What are the stabilities of the equilibria?

\[T\] 对于上题,使用软件针对数值 $f = 400.$ 生成方向场。平衡解的稳定性如何?

182\.

182\.

\[T\] For the preceding problems, use software to generate a directional field for the value $f = 600.$ What are the stabilities of the equilibria?

\[T\] 对于前面各题,使用软件针对数值 $f = 600.$ 生成方向场。平衡解的稳定性如何?

183.

183.

\[T\] For the preceding problems, consider the case where a certain number of fish are added to the pond, or $f = -200.$ What are the nonnegative equilibria and their stabilities?

\[T\] 对于前面各题,考虑向池塘中投放若干条鱼的情形,即 $f = -200.$ 非负平衡解有哪些,它们的稳定性如何?

It is more likely that the amount of fishing is governed by the current number of fish present, so instead of a constant number of fish being caught, the rate is proportional to the current number of fish present, with proportionality constant $k,$ as

更可能的情况是,捕捞量由当前存在的鱼的数量决定,因此捕捞速率与当前存在的鱼的数量成正比,比例常数为 $k,$ 即

$P\prime = 0.4P\left( {1 - \frac{P}{10000}} \right) - kP.$

$P\prime = 0.4P\left( {1 - \frac{P}{10000}} \right) - kP.$

184\.

184\.

\[T\] For the previous fishing problem, draw a directional field assuming $k = 0.1.$ Draw some solutions that exhibit this behavior. What are the equilibria and what are their stabilities?

\[T\] 对于前面的捕捞问题,假设 $k = 0.1$ 画出方向场。画出若干体现此行为的解。平衡解有哪些,它们的稳定性如何?

185.

185.

\[T\] Use software or a calculator to draw directional fields for $k = 0.4.$ What are the nonnegative equilibria and their stabilities?

\[T\] 使用软件或计算器针对 $k = 0.4$ 画出方向场。非负平衡解有哪些,它们的稳定性如何?

186\.

186\.

\[T\] Use software or a calculator to draw directional fields for $k = 0.6.$ What are the equilibria and their stabilities?

\[T\] 使用软件或计算器针对 $k = 0.6$ 画出方向场。平衡解有哪些,它们的稳定性如何?

187.

187.

Solve this equation, assuming a value of $k = 0.05$ and an initial condition of $2000$ fish.

求解该方程,假设 $k = 0.05$,初值为 $2000$ 条鱼。

188\.

188\.

Solve this equation, assuming a value of $k = 0.05$ and an initial condition of $5000$ fish.

求解该方程,假设 $k = 0.05$,初值为 $5000$ 条鱼。

The following problems add in a minimal threshold value for the species to survive, $T,$ which changes the differential equation to $P\prime(t) = rP\left( {1 - \frac{P}{K}} \right)\left( {1 - \frac{T}{P}} \right).$

下列各题加入一个物种得以存活的最小阈值 $T,$ 这将微分方程变为 $P\prime(t) = rP\left( {1 - \frac{P}{K}} \right)\left( {1 - \frac{T}{P}} \right).$

189.

189.

Draw the directional field of the threshold logistic equation, assuming $K = 10,r = 0.1,T = 2.$ When does the population survive? When does it go extinct?

画出阈值逻辑斯谛方程的方向场,假设 $K = 10,r = 0.1,T = 2.$ 种群何时得以存活?何时灭绝?

190\.

190\.

For the preceding problem, solve the logistic threshold equation, assuming the initial condition $P(0) = P_{0}.$

对于上题,求解逻辑斯谛阈值方程,假设初值为 $P(0) = P_{0}.$

191.

191.

Bengal tigers in a conservation park have a carrying capacity of $100$ and need a minimum of $10$ to survive. If they grow in population at a rate of $1\text{\%}$ per year, with an initial population of $15$ tigers, solve for the number of tigers present.

保护区内孟加拉虎的容纳量为 $100$,且至少需要 $10$ 只才能存活。若其种群以每年 $1\text{\%}$ 的速率增长,初始种群为 $15$ 只虎,求虎的数量。

192\.

192\.

A forest containing ring-tailed lemurs in Madagascar has the potential to support $5000$ individuals, and the lemur population grows at a rate of $5\text{\%}$ per year. A minimum of $500$ individuals is needed for the lemurs to survive. Given an initial population of $600$ lemurs, solve for the population of lemurs.

马达加斯加一片生长着环尾狐猴的森林可容纳 $5000$ 只个体,且狐猴种群以每年 $5\text{\%}$ 的速率增长。狐猴至少需要 $500$ 只才能存活。给定初始种群为 $600$ 只狐猴,求狐猴的种群数量。

193.

193.

The population of Florida panthers in the southwestern tip of Florida has an estimated carrying capacity of $250$ and grows at a rate of $0.25\text{\%}$ per year and there must be $25$ for the population to survive. With an initial population of $30$ Florida panthers, how many years will it take to get the Florida panthers off the endangered species list (at least $100)?$

佛罗里达州西南角的佛罗里达美洲狮的估计容纳量为 $250$,年增长率为 $0.25\text{\%}$,且种群至少需要 $25$ 只才能存活。给定初始种群为 $30$ 只佛罗里达美洲狮,要使佛罗里达美洲狮脱离濒危物种名单(至少 $100$ 只)需要多少年?

The following questions consider the Gompertz equation, a modification for logistic growth, which is often used for modeling cancer growth, specifically the number of tumor cells.

下列问题考虑 Gompertz 方程,这是对逻辑斯谛增长的一种修正,常用于对癌症增长、特别是肿瘤细胞数量进行建模。

194\.

194\.

The Gompertz equation is given by $P(t)\prime = \alpha\mspace{2mu}\text{ln}\mspace{2mu}\left( \frac{K}{P(t)} \right)P(t).$ Draw the directional fields for this equation assuming all parameters are positive, and given that $K = 1.$

Gompertz 方程由 $P(t)\prime = \alpha\mspace{2mu}\text{ln}\mspace{2mu}\left( \frac{K}{P(t)} \right)P(t).$ 给出。假设所有参数均为正,且 $K = 1,$ 画出该方程的方向场。

195.

195.

Assume that for a population, $K = 1000$ and $\alpha = 0.05.$ Draw the directional field associated with this differential equation and draw a few solutions. What is the behavior of the population?

假设某一种群的 $K = 1000$ 且 $\alpha = 0.05.$ 画出与该微分方程相关的方向场并画出几条解。该种群的行为如何?

196\.

196\.

Solve the Gompertz equation for generic $\alpha$ and $K$ and $P(0) = P_{0}.$

对一般的 $\alpha$ 与 $K$ 以及初值 $P(0) = P_{0}.$ 求解 Gompertz 方程。

197.

197.

\[T\] The Gompertz equation has been used to model tumor growth in the human body. Starting from one tumor cell on day $1$ and assuming $\alpha = 0.1$ and a carrying capacity of $10$ million cells, how long does it take to reach "detection" stage at $5$ million cells?

\[T\] Gompertz 方程已被用于对人体内肿瘤的增长进行建模。从第一天的一个肿瘤细胞开始,假设 $\alpha = 0.1$ 且容纳量为 $10$ 百万个细胞,达到 $5$ 百万个细胞的“检出”阶段需要多长时间?

198\.

198\.

\[T\] It is estimated that the world human population reached $3$ billion people in $1959$ and $6$ billion in $1999.$ Assuming a carrying capacity of $16$ billion humans, write and solve the differential equation for logistic growth, and determine what year the population reached $7$ billion.

\[T\] 据估计,世界人口在 $1959$ 年达到 $3$ 十亿,在 $1999$ 年达到 $6$ 十亿。假设容纳量为 $16$ 十亿,写出并求解逻辑斯谛增长微分方程,并确定人口达到 $7$ 十亿的年份。

199.

199.

\[T\] It is estimated that the world human population reached $3$ billion people in $1959$ and $6$ billion in $1999.$ Assuming a carrying capacity of $16$ billion humans, write and solve the differential equation for Gompertz growth, and determine what year the population reached $7$ billion. Was logistic growth or Gompertz growth more accurate, considering world population reached $7$ billion on October $31,2011?$

\[T\] 据估计,世界人口在 $1959$ 年达到 $3$ 十亿,在 $1999$ 年达到 $6$ 十亿。假设容纳量为 $16$ 十亿,写出并求解 Gompertz 增长微分方程,并确定人口达到 $7$ 十亿的年份。考虑到世界人口在 $2011$ 年 $10$ 月 $31$ 日达到 $7$ 十亿,逻辑斯谛增长与 Gompertz 增长哪一种更准确?

200\.

200\.

Show that the population grows fastest when it reaches half the carrying capacity for the logistic equation $P\prime = rP\left( {1 - \frac{P}{K}} \right).$

证明对于逻辑斯谛方程 $P\prime = rP\left( {1 - \frac{P}{K}} \right),$ 当种群达到容纳量的一半时增长最快。

201.

201.

When does population increase the fastest in the threshold logistic equation $P\prime(t) = rP\left( {1 - \frac{P}{K}} \right)\left( {1 - \frac{T}{P}} \right)?$

在阈值逻辑斯谛方程 $P\prime(t) = rP\left( {1 - \frac{P}{K}} \right)\left( {1 - \frac{T}{P}} \right)?$ 中,种群何时增长最快?

202\.

202\.

When does population increase the fastest for the Gompertz equation $P(t)\prime = \alpha\mspace{2mu}\text{ln}\mspace{2mu}\left( \frac{K}{P(t)} \right)P(t)?$

对于 Gompertz 方程 $P(t)\prime = \alpha\mspace{2mu}\text{ln}\mspace{2mu}\left( \frac{K}{P(t)} \right)P(t)?$ 种群何时增长最快?

Below is a table of the populations of whooping cranes in the wild from $1940\ \text{to}\ 2000.$ The population rebounded from near extinction after conservation efforts began. The following problems consider applying population models to fit the data. Assume a carrying capacity of $10,000$ cranes. Fit the data assuming years since $1940$ (so your initial population at time $0$ would be $22$ cranes).

下表为 $1940\ \text{to}\ 2000.$ 期间野生鸣鹤的种群数量。在保护措施开始后,种群从濒临灭绝中恢复。下列问题考虑应用种群模型来拟合数据。假设鸣鹤容纳量为 $10,000$ 只。以 $1940$ 年以来的年数拟合数据(即时间 $0$ 时的初始种群为 $22$ 只鸣鹤)。
Year (years since conservation began)Whooping Crane Population
$1940(0)$$22$
$1950(10)$$31$
$1960(20)$$36$
$1970(30)$$57$
$1980(40)$$91$
$1990(50)$$159$
$2000(60)$$256$
年份(自保护开始以来的年数)鸣鹤种群数量
$1940(0)$$22$
$1950(10)$$31$
$1960(20)$$36$
$1970(30)$$57$
$1980(40)$$91$
$1990(50)$$159$
$2000(60)$$256$

203\.

203\.

Find the equation and parameter $r$ that best fit the data for the logistic equation.

求出最能拟合逻辑斯谛方程数据的方程与参数 $r$。

204\.

204\.

Find the equation and parameters $r$ and $T$ that best fit the data for the threshold logistic equation.

求出最能拟合阈值逻辑斯谛方程数据的方程与参数 $r$ 和 $T$。

205.

205.

Find the equation and parameter $\alpha$ that best fit the data for the Gompertz equation.

求出最能拟合 Gompertz 方程数据的方程与参数 $\alpha$。

206\.

206\.

Graph all three solutions and the data on the same graph. Which model appears to be most accurate?

在同一张图上画出全部三个解与数据。哪种模型看起来最准确?

207.

207.

Using the three equations found in the previous problems, estimate the population in $2010$ (year $70$ after conservation). The real population measured at that time was $437.$ Which model is most accurate?

利用前面各题求出的三个方程,估计 $2010$ 年(保护后第 $70$ 年)的种群数量。当时实测的种群数量为 $437.$ 哪种模型最准确?

4.5 First-Order Linear Equations 4.5 一阶线性方程

Earlier, we studied an application of a first-order differential equation that involved solving for the velocity of an object. In particular, if a ball is thrown upward with an initial velocity of $v_{0}$ ft/s, then an initial-value problem that describes the velocity of the ball after $t$ seconds is given by

之前我们研究过一阶微分方程的一个应用,涉及求解物体的速度。具体而言,若以初速度 $v_{0}$ ft/s 向上抛出一个球,则描述 $t$ 秒后球的速度的初值问题由下式给出

$$\frac{dv}{dt} = -32,\quad v(0) = v_{0}.$$

$$\frac{dv}{dt} = -32,\quad v(0) = v_{0}.$$

This model assumes that the only force acting on the ball is gravity. Now we add to the problem by allowing for the possibility of air resistance acting on the ball.

该模型假设作用在球上的唯一力是重力。现在我们加入空气阻力可能作用在球上的情形,从而对问题进行扩充。

Air resistance always acts in the direction opposite to motion. Therefore if an object is rising, air resistance acts in a downward direction. If the object is falling, air resistance acts in an upward direction (Figure 4.24). There is no exact relationship between the velocity of an object and the air resistance acting on it. For very small objects, air resistance is proportional to velocity; that is, the force due to air resistance is numerically equal to some constant $k$ times $v.$ For larger (e.g., baseball-sized) objects, depending on the shape, air resistance can be approximately proportional to the square of the velocity. In fact, air resistance may be proportional to $v^{1.5},$ or $v^{0.9},$ or some other power of $v.$

空气阻力总是作用在运动方向的反方向上。因此,若物体在上升,空气阻力向下作用;若物体在下落,空气阻力向上作用(图 4.24)。物体的速度与所受空气阻力之间并无精确的对应关系。对于很小的物体,空气阻力与速度成正比;也就是说,空气阻力在数值上等于某个常数 $k$ 乘以 $v.$ 对于较大的(如棒球大小的)物体,依形状不同,空气阻力可近似与速度的平方成正比。事实上,空气阻力也可能与 $v^{1.5},$ 或 $v^{0.9},$ 或 $v$ 的其他次幂成正比。

We will work with the linear approximation for air resistance. If we assume $k > 0,$ then the expression for the force $F_{A}$ due to air resistance is given by $F_{A} = \text{−}kv.$ Therefore the sum of the forces acting on the object is equal to the sum of the gravitational force and the force due to air resistance. This, in turn, is equal to the mass of the object multiplied by its acceleration at time $t$ (Newton’s second law). This gives us the differential equation

我们将采用空气阻力的线性近似。若假设 $k > 0,$ 则空气阻力 $F_{A}$ 的表达式由 $F_{A} = \text{−}kv.$ 给出。因此作用在物体上的合力等于重力与空气阻力之和,而这又等于物体在时刻 $t$ 的质量乘以其加速度(牛顿第二定律)。由此得到微分方程

$$m\frac{dv}{dt} = \text{−}kv - mg.$$

$$m\frac{dv}{dt} = \text{−}kv - mg.$$

Finally, we impose an initial condition $v(0) = v_{0},$ where $v_{0}$ is the initial velocity measured in meters per second. This makes $g = 9.8{\ \text{m/s}}^{2}.$ The initial-value problem becomes

最后,我们施加初值条件 $v(0) = v_{0},$ 其中 $v_{0}$ 是以米/秒为单位的初速度。于是 $g = 9.8{\ \text{m/s}}^{2}.$ 初值问题变为

$$m\frac{dv}{dt} = \text{−}kv - mg,\quad v(0) = v_{0}.$$ (4.13)

$$m\frac{dv}{dt} = \text{−}kv - mg,\quad v(0) = v_{0}.$$ (4.13)

The differential equation in this initial-value problem is an example of a first-order linear differential equation. (Recall that a differential equation is first-order if the highest-order derivative that appears in the equation is $1.)$ In this section, we study first-order linear equations and examine a method for finding a general solution to these types of equations, as well as solving initial-value problems involving them.

这个初值问题中的微分方程是一阶线性微分方程的一个例子。(回顾:若方程中出现的最高阶导数为 $1,$ 则该微分方程为一阶的。)本节我们研究一阶线性方程,并考察求这类方程通解的方法,以及求解涉及它们的初值问题。

A first-order differential equation is linear if it can be written in the form

若一阶微分方程可以写成如下形式,则它是线性的

$$a(x)y^{\prime} + b(x)y = c(x),$$ (4.14)

$$a(x)y^{\prime} + b(x)y = c(x),$$ (4.14)

where $a(x),b(x),$ and $c(x)$ are arbitrary functions of $x.$

其中 $a(x),b(x),$ 和 $c(x)$ 是 $x$ 的任意函数。

Remember that the unknown function $y$ depends on the variable $x;$ that is, $x$ is the independent variable and $y$ is the dependent variable. Some examples of first-order linear differential equations are

记住未知函数 $y$ 依赖于变量 $x;$ 即 $x$ 是自变量,$y$ 是因变量。下面是一阶线性微分方程的一些例子

$$\begin{array}{rll} {\left( {3x^{2} - 4} \right)y\prime + \left( {x - 3} \right)y} & = & {\text{sin}\mspace{2mu} x} \\ {\left( {\text{sin}\mspace{2mu} x} \right)y\prime - \left( {\text{cos}\mspace{2mu} x} \right)y} & = & {\text{cot}\mspace{2mu} x} \\ {4xy\prime + \left( {3\mspace{2mu}\text{ln}\mspace{2mu} x} \right)y} & = & {x^{3} - 4x.} \end{array}$$

$$\begin{array}{rll} {\left( {3x^{2} - 4} \right)y\prime + \left( {x - 3} \right)y} & = & {\text{sin}\mspace{2mu} x} \\ {\left( {\text{sin}\mspace{2mu} x} \right)y\prime - \left( {\text{cos}\mspace{2mu} x} \right)y} & = & {\text{cot}\mspace{2mu} x} \\ {4xy\prime + \left( {3\mspace{2mu}\text{ln}\mspace{2mu} x} \right)y} & = & {x^{3} - 4x.} \end{array}$$

Examples of first-order nonlinear differential equations include

一阶非线性微分方程的例子包括

$$\begin{array}{rll} {\left( {y\prime} \right)^{4} - \left( {y\prime} \right)^{3}} & = & {\left( {3x - 2} \right)\left( {y + 4} \right)} \\ {4y\prime + 3y^{3}} & = & {4x - 5} \\ \left( {y\prime} \right)^{2} & = & {\text{sin}\mspace{2mu} y + \text{cos}\mspace{2mu} x.} \end{array}$$

$$\begin{array}{rll} {\left( {y\prime} \right)^{4} - \left( {y\prime} \right)^{3}} & = & {\left( {3x - 2} \right)\left( {y + 4} \right)} \\ {4y\prime + 3y^{3}} & = & {4x - 5} \\ \left( {y\prime} \right)^{2} & = & {\text{sin}\mspace{2mu} y + \text{cos}\mspace{2mu} x.} \end{array}$$

These equations are nonlinear because of terms like $\left( y^{\prime} \right)^{4},y^{3},$ etc. Due to these terms, it is impossible to put these equations into the same form as Equation 4.14.

这些方程之所以非线性,是因为存在诸如 $\left( y^{\prime} \right)^{4},y^{3},$ 之类的项。由于这些项,无法将这些方程化成与方程 4.14 相同的形式。

Standard Form 标准形式

Consider the differential equation

考虑微分方程

$$\left( {3x^{2} - 4} \right)y^{\prime} + \left( {x - 3} \right)y = \text{sin}\mspace{2mu} x.$$

$$\left( {3x^{2} - 4} \right)y^{\prime} + \left( {x - 3} \right)y = \text{sin}\mspace{2mu} x.$$

Our main goal in this section is to derive a solution method for equations of this form. It is useful to have the coefficient of $y^{\prime}$ be equal to $1.$ To make this happen, we divide both sides by $3x^{2} - 4.$

本节的主要目标是针对这类形式的方程推导出一种求解方法。让 $y^{\prime}$ 的系数等于 $1$ 会比较方便。为此,我们把等式两边同除以 $3x^{2} - 4$。

$$y^{\prime} + \left( \frac{x - 3}{3x^{2} - 4} \right)\mspace{2mu} y = \frac{\text{sin}\mspace{2mu} x}{3x^{2} - 4}$$

$$y^{\prime} + \left( \frac{x - 3}{3x^{2} - 4} \right)\mspace{2mu} y = \frac{\text{sin}\mspace{2mu} x}{3x^{2} - 4}$$

This is called the standard form of the differential equation. We will use it later when finding the solution to a general first-order linear differential equation. Returning to Equation 4.14, we can divide both sides of the equation by $a(x).$ This leads to the equation

这称为微分方程的标准形式。我们在后面求一般一阶线性微分方程的解时会用到它。回到方程 4.14,我们可以把等式两边同除以 $a(x)$。这样就得到方程

$$y^{\prime} + \frac{b(x)}{a(x)}y = \frac{c(x)}{a(x)}.$$ (4.15)

$$y^{\prime} + \frac{b(x)}{a(x)}y = \frac{c(x)}{a(x)}.$$ (4.15)

Now define $p(x) = \frac{b(x)}{a(x)}$ and $q(x) = \frac{c(x)}{a(x)}.$ Then Equation 4.14 becomes

现在定义 $p(x) = \frac{b(x)}{a(x)}$ 和 $q(x) = \frac{c(x)}{a(x)}$。于是方程 4.14 变为

$$y^{\prime} + p(x)y = q(x).$$ (4.16)

$$y^{\prime} + p(x)y = q(x).$$ (4.16)

We can write any first-order linear differential equation in this form, and this is referred to as the standard form for a first-order linear differential equation.

任何一个一阶线性微分方程都可以写成这种形式,这被称为一阶线性微分方程的标准形式

Writing First-Order Linear Equations in Standard Form 把一阶线性方程写成标准形式

Put each of the following first-order linear differential equations into standard form. Identify $p(x)$ and $q(x)$ for each equation.

把下列各一阶线性微分方程化为标准形式。指出每个方程中的 $p(x)$ 和 $q(x)$。

1. $y\prime = 3x - 4y$

1. $y\prime = 3x - 4y$

2. $\frac{3xy\prime}{4y - 3} = 2$ (here $x \neq 0)$

2. $\frac{3xy\prime}{4y - 3} = 2$(此处 $x \neq 0$)

3. $y = 3y\prime - 4x^{2} + 5$

3. $y = 3y\prime - 4x^{2} + 5$

Solution 解答

1. Add $4y$ to both sides:

1. 在等式两边同加 $4y$:

$$y\prime + 4y = 3x.$$

$$y\prime + 4y = 3x.$$

In this equation, $p(x) = 4$ and $q(x) = 3x.$

在这个方程中,$p(x) = 4$,$q(x) = 3x$。

2. Multiply both sides by $4y - 3,$ then subtract $8y$ from each side:

2. 等式两边同乘 $4y - 3$,再从两边同减 $8y$:

$$\begin{array}{rll} \frac{3xy\prime}{4y - 3} & = & 2 \\ {3xy\prime} & = & {2\left( {4y - 3} \right)} \\ {3xy\prime} & = & {8y - 6} \\ {3xy\prime - 8y} & = & {-6.} \end{array}$$

$$\begin{array}{rll} \frac{3xy\prime}{4y - 3} & = & 2 \\ {3xy\prime} & = & {2\left( {4y - 3} \right)} \\ {3xy\prime} & = & {8y - 6} \\ {3xy\prime - 8y} & = & {-6.} \end{array}$$

Finally, divide both sides by $3x$ to make the coefficient of $y\prime$ equal to $1\text{:}$

最后,等式两边同除以 $3x$,使 $y\prime$ 的系数等于 $1$:

$$y\prime - \frac{8}{3x}y = - \frac{2}{x}.$$ (4.17) This is allowable because in the original statement of this problem we assumed that $x \neq 0.$ (If $x = 0$ then the original equation becomes $0 = 2,$ which is clearly a false statement.)

$$y\prime - \frac{8}{3x}y = - \frac{2}{x}.$$ (4.17) 这是允许的,因为在本问题的原始表述中我们假设了 $x \neq 0$。(若 $x = 0$,则原方程变为 $0 = 2$,这显然不成立。)

In this equation, $p(x) = - \frac{8}{3x}$ and $q(x) = - \frac{2}{x}.$

在这个方程中,$p(x) = - \frac{8}{3x}$,$q(x) = - \frac{2}{x}$。

3. Subtract $y$ from each side and add $4x^{2} - 5\text{:}$

3. 从两边同减 $y$,并加上 $4x^{2} - 5$:

$$3y\prime - y = 4x^{2} - 5.$$

$$3y\prime - y = 4x^{2} - 5.$$

Next divide both sides by $3\text{:}$

接着把等式两边同除以 $3$:

$$y\prime - \frac{1}{3}y = \frac{4}{3}x^{2} - \frac{5}{3}.$$

$$y\prime - \frac{1}{3}y = \frac{4}{3}x^{2} - \frac{5}{3}.$$

In this equation, $p(x) = - \frac{1}{3}$ and $q(x) = \frac{4}{3}x^{2} - \frac{5}{3}.$

在这个方程中,$p(x) = - \frac{1}{3}$,$q(x) = \frac{4}{3}x^{2} - \frac{5}{3}$。

Put the equation $\frac{\left( {x + 3} \right)y\prime}{2x - 3y - 4} = 5$ into standard form and identify $p(x)$ and $q(x).$

将方程 $\frac{\left( {x + 3} \right)y\prime}{2x - 3y - 4} = 5$ 化为标准形式,并指出 $p(x)$ 和 $q(x)$。

Integrating Factors 积分因子

We now develop a solution technique for any first-order linear differential equation. We start with the standard form of a first-order linear differential equation:

现在我们针对任意一阶线性微分方程发展出一种解法。我们从一阶线性微分方程的标准形式出发:

$$y\prime + p(x)y = q{(x).}$$ (4.18)

$$y\prime + p(x)y = q{(x).}$$ (4.18)

The first term on the left-hand side of Equation 4.15 is the derivative of the unknown function, and the second term is the product of a known function with the unknown function. This is somewhat reminiscent of the product rule from the Differentiation Rules section. If we multiply Equation 4.16 by a yet-to-be-determined function $\mu(x),$ then the equation becomes

方程 4.15 左边的第一项是未知函数的导数,第二项是某个已知函数与未知函数的乘积。这多少让人联想到求导法则一节中的乘积法则。如果我们用某个待定函数 $\mu(x)$ 乘以方程 4.16,那么该方程变为

$$\mu(x)y^{\prime} + \mu(x)p(x)y = \mu(x)q(x).$$ (4.19)

$$\mu(x)y^{\prime} + \mu(x)p(x)y = \mu(x)q(x).$$ (4.19)

The left-hand side Equation 4.18 can be matched perfectly to the product rule:

方程 4.18 的左边可以与乘积法则完美对应:

$$\frac{d}{dx}\left\lbrack {f(x)g(x)} \right\rbrack = f^{\prime}(x)g(x) + f(x)g^{\prime}(x).$$

$$\frac{d}{dx}\left\lbrack {f(x)g(x)} \right\rbrack = f^{\prime}(x)g(x) + f(x)g^{\prime}(x).$$

Matching term by term gives $y = f(x),g(x) = \mu(x),$ and $g^{\prime}(x) = \mu(x)p(x).$ Taking the derivative of $g(x) = \mu(x)$ and setting it equal to the right-hand side of $g^{\prime}(x) = \mu(x)p(x)$ leads to

逐项对应可得 $y = f(x)$、$g(x) = \mu(x)$,且 $g^{\prime}(x) = \mu(x)p(x)$。对 $g(x) = \mu(x)$ 求导,并令其等于 $g^{\prime}(x) = \mu(x)p(x)$ 的右端,得到

$$\mu^{\prime}(x) = \mu(x)p(x).$$

$$\mu^{\prime}(x) = \mu(x)p(x).$$

This is a first-order, separable differential equation for $\mu(x).$ We know $p(x)$ because it appears in the differential equation we are solving. Separating variables and integrating yields

这是关于 $\mu(x)$ 的一个一阶可分离变量的微分方程。我们已知 $p(x)$,因为它就出现在我们所求解的微分方程之中。分离变量并积分可得

$$\begin{array}{rll} \frac{\mu^{\prime}(x)}{\mu(x)} & = & {p(x)} \\ {\left. \int\frac{\mu^{\prime}(x)}{\mu(x)} \right.dx} & = & {\int{p(x)\mspace{2mu} dx}} \\ {\text{ln}\left| {\mu(x)} \right|} & = & {{\int{p(x)\mspace{2mu} dx}} + C} \\ e^{\text{ln}{|{\mu{(x)}}|}} & = & e^{{\int{p{(x)}\mspace{2mu} dx}} + C} \\ \left| {\mu(x)} \right| & = & {C_{1}e^{\int{p{(x)}\mspace{2mu} dx}}} \\ {\mu(x)} & = & {C_{2}e^{\int{p{(x)}\mspace{2mu} dx}}.} \end{array}$$

$$\begin{array}{rll} \frac{\mu^{\prime}(x)}{\mu(x)} & = & {p(x)} \\ {\left. \int\frac{\mu^{\prime}(x)}{\mu(x)} \right.dx} & = & {\int{p(x)\mspace{2mu} dx}} \\ {\text{ln}\left| {\mu(x)} \right|} & = & {{\int{p(x)\mspace{2mu} dx}} + C} \\ e^{\text{ln}{|{\mu{(x)}}|}} & = & e^{{\int{p{(x)}\mspace{2mu} dx}} + C} \\ \left| {\mu(x)} \right| & = & {C_{1}e^{\int{p{(x)}\mspace{2mu} dx}}} \\ {\mu(x)} & = & {C_{2}e^{\int{p{(x)}\mspace{2mu} dx}}.} \end{array}$$

Here $C_{2}$ can be an arbitrary (positive or negative) constant. This leads to a general method for solving a first-order linear differential equation. We first multiply both sides of Equation 4.16 by the integrating factor $\mu(x).$ This gives

这里 $C_{2}$ 可以是任意(正或负)常数。由此得到求解一阶线性微分方程的一般方法。我们先把方程 4.16 的两边同乘以积分因子 $\mu(x)$。于是得到

$$\mu(x)y^{\prime} + \mu(x)p(x)y = \mu(x)q(x).$$ (4.20)

$$\mu(x)y^{\prime} + \mu(x)p(x)y = \mu(x)q(x).$$ (4.20)

The left-hand side of Equation 4.20 can be rewritten as $\frac{d}{dx}\left( {\mu(x)y} \right).$

方程 4.20 的左边可以改写为 $\frac{d}{dx}\left( {\mu(x)y} \right)$。

$$\frac{d}{dx}\left( {\mu(x)y} \right) = \mu(x)q(x).$$ (4.21)

$$\frac{d}{dx}\left( {\mu(x)y} \right) = \mu(x)q(x).$$ (4.21)

Next integrate both sides of Equation 4.21 with respect to $x.$

接下来对方程 4.21 的两边关于 $x$ 积分。

$$\begin{array}{rll} \left. \int{\frac{d}{dx}\left( {\mu(x)y} \right)\mspace{2mu} dx} \right. & = & {\int{\mu(x)q(x)\mspace{2mu} dx}} \\ {\mu(x)y} & = & {{\int{\mu(x)q(x)\mspace{2mu} dx}}.} \end{array}$$ (4.22)

$$\begin{array}{rll} \left. \int{\frac{d}{dx}\left( {\mu(x)y} \right)\mspace{2mu} dx} \right. & = & {\int{\mu(x)q(x)\mspace{2mu} dx}} \\ {\mu(x)y} & = & {{\int{\mu(x)q(x)\mspace{2mu} dx}}.} \end{array}$$ (4.22)

Divide both sides of Equation 4.22 by $\mu(x)\text{:}$

把方程 4.22 的两边同除以 $\mu(x)$:

$$y = \frac{1}{\mu(x)}\left\lbrack {\int{\mu(x)q(x)\mspace{2mu} dx + C}} \right\rbrack.$$ (4.23)

$$y = \frac{1}{\mu(x)}\left\lbrack {\int{\mu(x)q(x)\mspace{2mu} dx + C}} \right\rbrack.$$ (4.23)

Since $\mu(x)$ was previously calculated, we are now finished. An important note about the integrating constant $C\text{:}$ It may seem that we are inconsistent in the usage of the integrating constant. However, the integral involving $p(x)$ is necessary in order to find an integrating factor for Equation 4.15. Only one integrating factor is needed in order to solve the equation; therefore, it is safe to assign a value for $C$ for this integral. We chose $C = 0.$ When calculating the integral inside the brackets in Equation 4.21, it is necessary to keep our options open for the value of the integrating constant, because our goal is to find a general family of solutions to Equation 4.15. This integrating factor guarantees just that.

由于 $\mu(x)$ 此前已经算出,到这里我们就完成了求解。关于积分常数 $C$ 有一个重要的说明:看起来我们对积分常数的使用似乎前后不一致。然而,涉及 $p(x)$ 的那个积分是求方程 4.15 的积分因子所必需的。求解方程只需要一个积分因子,因此对这个积分中的 $C$ 赋一个具体的值是安全的。我们取 $C = 0$。而在计算方程 4.21 中方括号内的积分时,必须给积分常数的值保留余地,因为我们的目标是求出方程 4.15 的通解族。这个积分因子正好保证了这一点。

Solving a First-order Linear Differential Equation 求解一阶线性微分方程

1. Put the equation into standard form and identify $p(x)$ and $q(x).$

1. 把方程化为标准形式,并指出 $p(x)$ 和 $q(x)$。

2. Calculate the integrating factor $\mu(x) = e^{\int{p{(x)}\mspace{2mu} dx}}.$

2. 计算积分因子 $\mu(x) = e^{\int{p{(x)}\mspace{2mu} dx}}$。

3. Multiply both sides of the differential equation by $\mu(x).$

3. 把微分方程的两边同乘以 $\mu(x)$。

4. Integrate both sides of the equation obtained in step $3,$ and divide both sides by $\mu(x).$

4. 对第 $3$ 步所得方程的两边积分,再把两边同除以 $\mu(x)$。

5. If there is an initial condition, determine the value of $C.$

5. 若存在初始条件,则确定 $C$ 的值。

Solving a First-order Linear Equation 求解一个一阶线性方程

Find a general solution for the differential equation $xy\prime + 3y = 4x^{2} - 3x.$ Assume $x > 0.$

求微分方程 $xy\prime + 3y = 4x^{2} - 3x$ 的通解。假设 $x > 0$。

Solution 解答

1. To put this differential equation into standard form, divide both sides by $x\text{:}$

1. 要把这个微分方程化为标准形式,把两边同除以 $x$:

$$y\prime + \frac{3}{x}y = 4x - 3.$$

$$y\prime + \frac{3}{x}y = 4x - 3.$$

Therefore $p(x) = \frac{3}{x}$ and $q(x) = 4x - 3.$

于是 $p(x) = \frac{3}{x}$,$q(x) = 4x - 3$。

2. The integrating factor is $\mu(x) = e^{\int{{({3\text{/}x})}\mspace{2mu} dx}} = e^{3\mspace{2mu}\text{ln}\mspace{2mu} x} = x^{3}.$

2. 积分因子为 $\mu(x) = e^{\int{{({3\text{/}x})}\mspace{2mu} dx}} = e^{3\mspace{2mu}\text{ln}\mspace{2mu} x} = x^{3}$。

3. Multiplying both sides of the differential equation by $\mu(x)$ gives us

3. 把微分方程的两边同乘以 $\mu(x)$ 得到

$$\begin{array}{rll} {x^{3}y^{\prime} + x^{3}\left( \frac{3}{x} \right)y} & = & {x^{3}\left( {4x - 3} \right)} \\ {x^{3}y^{\prime} + 3x^{2}y} & = & {4x^{4} - 3x^{3}} \\ {\frac{d}{dx}\left( {x^{3}y} \right)} & = & {4x^{4} - 3x^{3}.} \end{array}$$

$$\begin{array}{rll} {x^{3}y^{\prime} + x^{3}\left( \frac{3}{x} \right)y} & = & {x^{3}\left( {4x - 3} \right)} \\ {x^{3}y^{\prime} + 3x^{2}y} & = & {4x^{4} - 3x^{3}} \\ {\frac{d}{dx}\left( {x^{3}y} \right)} & = & {4x^{4} - 3x^{3}.} \end{array}$$

4. Integrate both sides of the equation.

4. 对方程两边积分。

$$\begin{array}{rll} {\left. \int{\frac{d}{dx}\left( {x^{3}y} \right)} \right.dx} & = & {{\int{4x^{4} - 3x^{3}}}dx} \\ {x^{3}y} & = & {\frac{4x^{5}}{5} - \frac{3x^{4}}{4} + C} \\ y & = & {\frac{4x^{2}}{5} - \frac{3x}{4} + Cx^{-3}.} \end{array}$$

$$\begin{array}{rll} {\left. \int{\frac{d}{dx}\left( {x^{3}y} \right)} \right.dx} & = & {{\int{4x^{4} - 3x^{3}}}dx} \\ {x^{3}y} & = & {\frac{4x^{5}}{5} - \frac{3x^{4}}{4} + C} \\ y & = & {\frac{4x^{2}}{5} - \frac{3x}{4} + Cx^{-3}.} \end{array}$$

5. There is no initial value, so the problem is complete.

5. 不存在初值,因此问题到此求解完毕。

Analysis 分析

You may have noticed the condition that was imposed on the differential equation; namely, $x > 0.$ For any nonzero value of $C,$ the general solution is not defined at $x = 0.$ Furthermore, when $x < 0,$ the integrating factor changes. The integrating factor is given by Equation 4.19 as $\mu(x) = e^{{\int{p{(x)}}}dx}.$ For this $p(x)$ we get

你可能已经注意到加在微分方程上的条件,即 $x > 0$。对于任意非零的 $C$ 值,通解在 $x = 0$ 处都没有定义。此外,当 $x < 0$ 时,积分因子会发生变化。由方程 4.19 给出的积分因子是 $\mu(x) = e^{{\int{p{(x)}}}dx}$。对于这个 $p(x)$ 我们得到

$$e^{\int{p{(x)}\mspace{2mu} dx =}}e^{\int{(3\text{/}x)dx}} = e^{3\mspace{2mu}\text{ln}\mspace{2mu} |x|} = |x|^{3},$$

$$e^{\int{p{(x)}\mspace{2mu} dx =}}e^{\int{(3\text{/}x)dx}} = e^{3\mspace{2mu}\text{ln}\mspace{2mu} |x|} = |x|^{3},$$

since $x < 0.$ The behavior of the general solution changes at $x = 0$ largely due to the fact that $p(x)$ is not defined there.

这是因为 $x < 0$。通解在 $x = 0$ 处的行为发生变化,在很大程度上是因为 $p(x)$ 在该点没有定义。

Find the general solution to the differential equation $\left( {x - 2} \right)y\prime + y = 3x^{2} + 2x.$ Assume $x > 2.$

求微分方程 $\left( {x - 2} \right)y\prime + y = 3x^{2} + 2x$ 的通解。假设 $x > 2$。

Now we use the same strategy to find the solution to an initial-value problem.

现在我们运用同样的策略来求一个初值问题的解。

A First-order Linear Initial-Value Problem 一个一阶线性初值问题

Solve the initial-value problem

求解下列初值问题

$$y^{\prime} + 3y = 2x - 1,\quad y(0) = 3.$$

$$y^{\prime} + 3y = 2x - 1,\quad y(0) = 3.$$

Solution 解答

1. This differential equation is already in standard form with $p(x) = 3$ and $q(x) = 2x - 1.$

1. 这个微分方程已经是标准形式,其中 $p(x) = 3$,$q(x) = 2x - 1$。

2. The integrating factor is $\mu(x) = e^{\int{3dx}} = e^{3x}.$

2. 积分因子为 $\mu(x) = e^{\int{3dx}} = e^{3x}$。

3. Multiplying both sides of the differential equation by $\mu(x)$ gives

3. 把微分方程的两边同乘以 $\mu(x)$ 得到

$$\begin{array}{rll} {e^{3x}y^{\prime} + 3e^{3x}y} & = & {\left( {2x - 1} \right)e^{3x}} \\ {\frac{d}{dx}\left\lbrack {ye^{3x}} \right\rbrack} & = & {\left( {2x - 1} \right)e^{3x}.} \end{array}$$

$$\begin{array}{rll} {e^{3x}y^{\prime} + 3e^{3x}y} & = & {\left( {2x - 1} \right)e^{3x}} \\ {\frac{d}{dx}\left\lbrack {ye^{3x}} \right\rbrack} & = & {\left( {2x - 1} \right)e^{3x}.} \end{array}$$

Integrate both sides of the equation:

对方程两边积分:

$$\begin{array}{rll} \left. \int{\frac{d}{dx}\left\lbrack {ye^{3x}} \right\rbrack dx} \right. & = & {\int{\left( {2x - 1} \right)e^{3x}dx}} \\ {ye^{3x}} & = & {\frac{e^{3x}}{3}\left( {2x - 1} \right) - \left. \int{\frac{2}{3}e^{3x}dx} \right.} \\ {ye^{3x}} & = & {\frac{e^{3x}\left( {2x - 1} \right)}{3} - \frac{2e^{3x}}{9} + C} \\ y & = & {\frac{2x - 1}{3} - \frac{2}{9} + Ce^{-3x}} \\ y & = & {\frac{2x}{3} - \frac{5}{9} + Ce^{-3x}.} \end{array}$$

$$\begin{array}{rll} \left. \int{\frac{d}{dx}\left\lbrack {ye^{3x}} \right\rbrack dx} \right. & = & {\int{\left( {2x - 1} \right)e^{3x}dx}} \\ {ye^{3x}} & = & {\frac{e^{3x}}{3}\left( {2x - 1} \right) - \left. \int{\frac{2}{3}e^{3x}dx} \right.} \\ {ye^{3x}} & = & {\frac{e^{3x}\left( {2x - 1} \right)}{3} - \frac{2e^{3x}}{9} + C} \\ y & = & {\frac{2x - 1}{3} - \frac{2}{9} + Ce^{-3x}} \\ y & = & {\frac{2x}{3} - \frac{5}{9} + Ce^{-3x}.} \end{array}$$

4. Now substitute $x = 0$ and $y = 3$ into the general solution and solve for $C\text{:}$

4. 现在把 $x = 0$、$y = 3$ 代入通解,并解出 $C$:

$$\begin{array}{rll} y & = & {\frac{2}{3}x - \frac{5}{9} + Ce^{-3x}} \\ 3 & = & {\frac{2}{3}(0) - \frac{5}{9} + Ce^{-3{(0)}}} \\ 3 & = & {- \frac{5}{9} + C} \\ C & = & {\frac{32}{9}.} \end{array}$$

$$\begin{array}{rll} y & = & {\frac{2}{3}x - \frac{5}{9} + Ce^{-3x}} \\ 3 & = & {\frac{2}{3}(0) - \frac{5}{9} + Ce^{-3{(0)}}} \\ 3 & = & {- \frac{5}{9} + C} \\ C & = & {\frac{32}{9}.} \end{array}$$

Therefore the solution to the initial-value problem is

于是该初值问题的解为

$$y = \frac{2}{3}x - \frac{5}{9} + \frac{32}{9}e^{-3x}.$$

$$y = \frac{2}{3}x - \frac{5}{9} + \frac{32}{9}e^{-3x}.$$

Solve the initial-value problem $y\prime - 2y = 4x + 3\quad y(0) = -2.$

求解初值问题 $y\prime - 2y = 4x + 3\quad y(0) = -2$。

Applications of First-order Linear Differential Equations 一阶线性微分方程的应用

We look at two different applications of first-order linear differential equations. The first involves air resistance as it relates to objects that are rising or falling; the second involves an electrical circuit. Other applications are numerous, but most are solved in a similar fashion.

我们考察一阶线性微分方程的两种不同应用。第一种涉及与上升或下落物体相关的空气阻力;第二种涉及一类电路。其他应用还有很多,但大多数都可以用类似的方法求解。

Free fall with air resistance 带空气阻力的自由落体

We discussed air resistance at the beginning of this section. The next example shows how to apply this concept for a ball in vertical motion. Other factors can affect the force of air resistance, such as the size and shape of the object, but we ignore them here.

我们在本节开头讨论过空气阻力。下面的示例说明如何将这一概念应用于竖直运动的球。其他因素也会影响空气阻力的大小,例如物体的尺寸与形状,但此处我们忽略它们。

A Ball with Air Resistance 带空气阻力的球

A racquetball is hit straight upward with an initial velocity of $2$ m/s. The mass of a racquetball is approximately $0.0427$ kg. Air resistance acts on the ball with a force numerically equal to $0.5v,$ where $v$ represents the velocity of the ball at time $t.$

一只壁球以 $2$ m/s 的初速度被竖直向上击出。壁球的质量约为 $0.0427$ kg。空气阻力以数值上等于 $0.5v$ 的力作用于球,其中 $v$ 表示时刻 $t$ 球的速度。

1. Find the velocity of the ball as a function of time.

1. 求球的速度关于时间的函数。

2. How long does it take for the ball to reach its maximum height?

2. 球需要经过多长时间达到最大高度?

3. If the ball is hit from an initial height of $1$ meter, how high will it reach?

3. 若球从 $1$ 米的初始高度被击出,它将达到多高?

Solution 解答

1. The mass $m = 0.0427\ \text{kg},k = 0.5,$ and $g = 9.8{\ \text{m/s}}^{2}.$ The initial velocity is $v_{0} = 2$ m/s. Therefore the initial-value problem is

1. 质量 $m = 0.0427\ \text{kg},k = 0.5,$ 且 $g = 9.8{\ \text{m/s}}^{2}.$ 初速度为 $v_{0} = 2$ m/s。因此该初值问题为

$$0.0427\frac{dv}{dt} = -0.5v - 0.0427(9.8),\quad v_{0} = 2.$$

$$0.0427\frac{dv}{dt} = -0.5v - 0.0427(9.8),\quad v_{0} = 2.$$

Dividing the differential equation by $0.0427$ gives

将方程两边除以 $0.0427$ 得

$$\frac{dv}{dt} = -11.7096v - 9.8,\quad v_{0} = 2.$$

$$\frac{dv}{dt} = -11.7096v - 9.8,\quad v_{0} = 2.$$

The differential equation is linear. Using the problem-solving strategy for linear differential equations:

该微分方程为线性的。使用线性微分方程的求解策略:

Step 1. Rewrite the differential equation as $\frac{dv}{dt} + 11.7096v = -9.8.$ This gives $p(t) = 11.7096$ and $q(t) = -9.8$

步骤 1. 将微分方程改写为 $\frac{dv}{dt} + 11.7096v = -9.8.$ 得到 $p(t) = 11.7096$ 和 $q(t) = -9.8$

Step 2. The integrating factor is $\mu(t) = e^{\int{11.7096dt}} = e^{11.7096t}.$

步骤 2. 积分因子为 $\mu(t) = e^{\int{11.7096dt}} = e^{11.7096t}.$

Step 3. Multiply the differential equation by $\mu(t)\text{:}$

步骤 3. 将方程两边乘以 $\mu(t)\text{:}$

\begin{array}{rll} {e^{11.7096t}\frac{dv}{dt} + 11.7096ve^{11.7096t}} & = & {-9.8e^{11.7096t}} \\ {\frac{d}{dt}\left\lbrack {ve^{11.7096t}} \right\rbrack} & = & {-9.8e^{11.7096t}.} \end{array}

\begin{array}{rll} {e^{11.7096t}\frac{dv}{dt} + 11.7096ve^{11.7096t}} & = & {-9.8e^{11.7096t}} \\ {\frac{d}{dt}\left\lbrack {ve^{11.7096t}} \right\rbrack} & = & {-9.8e^{11.7096t}.} \end{array}

Step 4. Integrate both sides:

步骤 4. 两边积分:

\begin{array}{rll} {\left. \int{\frac{d}{dt}\left\lbrack {ve^{11.7096t}} \right\rbrack} \right.\mspace{2mu} dt} & = & {\int{-9.8e^{11.7096t}dt}} \\ {ve^{11.7096t}} & = & {\frac{-9.8}{11.7096}e^{11.7096t} + C} \\ {v(t)} & = & {-0.8369 + Ce^{-11.7096t}.} \end{array}

\begin{array}{rll} {\left. \int{\frac{d}{dt}\left\lbrack {ve^{11.7096t}} \right\rbrack} \right.\mspace{2mu} dt} & = & {\int{-9.8e^{11.7096t}dt}} \\ {ve^{11.7096t}} & = & {\frac{-9.8}{11.7096}e^{11.7096t} + C} \\ {v(t)} & = & {-0.8369 + Ce^{-11.7096t}.} \end{array}

Step 5. Solve for $C$ using the initial condition $v_{0} = v(0) = 2\text{:}$

步骤 5. 利用初始条件 $v_{0} = v(0) = 2\text{:}$ 解出 $C$

\begin{array}{rll} {v(t)} & = & {-0.8369 + Ce^{-11.7096t}} \\ {v(0)} & = & {-0.8369 + Ce^{-11.7096{(0)}}} \\ 2 & = & {-0.8369 + C} \\ C & = & 2.8369. \end{array}

\begin{array}{rll} {v(t)} & = & {-0.8369 + Ce^{-11.7096t}} \\ {v(0)} & = & {-0.8369 + Ce^{-11.7096{(0)}}} \\ 2 & = & {-0.8369 + C} \\ C & = & 2.8369. \end{array}

Therefore the solution to the initial-value problem is $v(t) = 2.8369e^{-11.7096t} - 0.8369.$

因此该初值问题的解为 $v(t) = 2.8369e^{-11.7096t} - 0.8369.$

2. The ball reaches its maximum height when the velocity is equal to zero. The reason is that when the velocity is positive, it is rising, and when it is negative, it is falling. Therefore when it is zero, it is neither rising nor falling, and is at its maximum height:

2. 当速度等于零时,球达到最大高度。原因在于:速度为正时球在上升,速度为负时球在下落;因此速度为零时球既不上升也不下落,正处于最大高度:

\begin{array}{rll} & & \\ {2.8369e^{-11.7096t} - 0.8369} & = & 0 \\ {2.8369e^{-11.7096t}} & = & 0.8369 \\ e^{-11.7096t} & = & {\frac{0.8369}{2.8369} \approx 0.295} \\ {\text{ln}\mspace{2mu} e^{-11.7096t}} & = & {\text{ln}\mspace{2mu} 0.295 \approx - 1.221} \\ {-11.7096t} & = & -1.221 \\ t & \approx & 0.104. \end{array}

\begin{array}{rll} & & \\ {2.8369e^{-11.7096t} - 0.8369} & = & 0 \\ {2.8369e^{-11.7096t}} & = & 0.8369 \\ e^{-11.7096t} & = & {\frac{0.8369}{2.8369} \approx 0.295} \\ {\text{ln}\mspace{2mu} e^{-11.7096t}} & = & {\text{ln}\mspace{2mu} 0.295 \approx - 1.221} \\ {-11.7096t} & = & -1.221 \\ t & \approx & 0.104. \end{array}

Therefore it takes approximately $0.104$ second to reach maximum height.

因此球约需 $0.104$ 秒达到最大高度。

3. To find the height of the ball as a function of time, use the fact that the derivative of position is velocity, i.e., if $h(t)$ represents the height at time $t,$ then $h^{\prime}(t) = v(t).$ Because we know $v(t)$ and the initial height, we can form an initial-value problem:

3. 为了求球高度关于时间的函数,利用位置的导数是速度这一事实,即若 $h(t)$ 表示时刻 $t$ 的高度,则 $h^{\prime}(t) = v(t).$ 由于已知 $v(t)$ 与初始高度,我们可以构造一个初值问题:

$$h^{\prime}(t) = 2.8369e^{-11.7096t} - 0.8369,\quad h(0) = 1.$$

$$h^{\prime}(t) = 2.8369e^{-11.7096t} - 0.8369,\quad h(0) = 1.$$

Integrating both sides of the differential equation with respect to $t$ gives

将方程两边关于 $t$ 积分得

\begin{array}{rll} {\int{h^{\prime}(t)\mspace{2mu} dt}} & = & {{\int{2.8369e^{-11.7096t} - 0.8369}}dt} \\ {h(t)} & = & {- \frac{2.8369}{11.7096}e^{-11.7096t} - 0.8369t + C} \\ {h(t)} & = & {-0.2423e^{-11.7096t} - 0.8369t + C.} \end{array}

\begin{array}{rll} {\int{h^{\prime}(t)\mspace{2mu} dt}} & = & {{\int{2.8369e^{-11.7096t} - 0.8369}}dt} \\ {h(t)} & = & {- \frac{2.8369}{11.7096}e^{-11.7096t} - 0.8369t + C} \\ {h(t)} & = & {-0.2423e^{-11.7096t} - 0.8369t + C.} \end{array}

Solve for $C$ by using the initial condition:

利用初始条件解出 $C$:

\begin{array}{rll} {h(t)} & = & {-0.2423e^{-11.7096t} - 0.8369t + C} \\ {h(0)} & = & {-0.2423e^{-11.7096{(0)}} - 0.8369(0) + C} \\ 1 & = & {-0.2423 + C} \\ C & = & 1.2423. \end{array}

\begin{array}{rll} {h(t)} & = & {-0.2423e^{-11.7096t} - 0.8369t + C} \\ {h(0)} & = & {-0.2423e^{-11.7096{(0)}} - 0.8369(0) + C} \\ 1 & = & {-0.2423 + C} \\ C & = & 1.2423. \end{array}

Therefore

因此

$$h(t) = -0.2423e^{-11.7096t} - 0.8369t + 1.2423.$$

$$h(t) = -0.2423e^{-11.7096t} - 0.8369t + 1.2423.$$

After $0.104$ second, the height is given by

经过 $0.104$ 秒后,高度由下式给出

$h(0.104) = -0.2423e^{-11.7096t} - 0.8369t + 1.2423 \approx 1.0836$ meter.

$h(0.104) = -0.2423e^{-11.7096t} - 0.8369t + 1.2423 \approx 1.0836$ 米。

The weight of a penny is $2.5$ grams (United States Mint, "Coin Specifications," accessed April 9, 2015), and the upper observation deck of the Empire State Building is $369$ meters above the street. Since the penny is a small and relatively smooth object, air resistance acting on the penny is actually quite small. We assume the air resistance is numerically equal to $0.0025v.$ Furthermore, the penny is dropped with no initial velocity imparted to it.

一枚美分硬币的重量为 $2.5$ 克(美国铸币局,"Coin Specifications,"2015 年 4 月 9 日访问),帝国大厦上层观景台距街面 $369$ 米。由于硬币体积小且相对光滑,作用于硬币的空气阻力实际上相当小。我们假设空气阻力在数值上等于 $0.0025v.$ 此外,硬币被释放时未获得任何初速度。

1. Set up an initial-value problem that represents the falling penny.

1. 建立描述下落硬币的初值问题。

2. Solve the problem for $v(t).$

2. 求解该问题,得到 $v(t).$

3. What is the terminal velocity of the penny (i.e., calculate the limit of the velocity as $t$ approaches infinity)?

3. 硬币的终极速度是多少(即计算当 $t$ 趋于无穷时速度的极限)?

Electrical Circuits 电路

A source of electromotive force (e.g., a battery or generator) produces a flow of current in a closed circuit, and this current produces a voltage drop across each resistor, inductor, and capacitor in the circuit. Kirchhoff's Loop Rule states that the sum of the voltage drops across resistors, inductors, and capacitors is equal to the total electromotive force in a closed circuit. We have the following three results:

电动势源(如电池或发电机)在闭合电路中产生电流,该电流在电路中的每个电阻器、电感器和电容器上产生电压降。基尔霍夫回路法则指出:电阻器、电感器和电容器上的电压降之和等于闭合电路中的总电动势。我们有以下三个结果:

1. The voltage drop across a resistor is given by

1. 电阻器上的电压降为

$$E_{R} = Ri,$$

$$E_{R} = Ri,$$

where $R$ is a constant of proportionality called the *resistance,* and $i$ is the current.

其中 $R$ 是一个称为电阻的比例常数,$i$ 为电流。

2. The voltage drop across an inductor is given by

2. 电感器上的电压降为

$$E_{L} = Li^{\prime},$$

$$E_{L} = Li^{\prime},$$

where $L$ is a constant of proportionality called the *inductance*, and $i$ again denotes the current.

其中 $L$ 是一个称为电感的比例常数,$i$ 同样表示电流。

3. The voltage drop across a capacitor is given by

3. 电容器上的电压降为

$$E_{C} = \frac{1}{C}q,$$

$$E_{C} = \frac{1}{C}q,$$

where $C$ is a constant of proportionality called the *capacitance*, and $q$ is the instantaneous charge on the capacitor. The relationship between $i$ and $q$ is $i = q^{\prime}.$

其中 $C$ 是一个称为电容的比例常数,$q$ 为电容器上的瞬时电荷。$i$ 与 $q$ 之间的关系为 $i = q^{\prime}.$

We use units of volts $\left( \text{V} \right)$ to measure voltage $E,$ amperes $\left( \text{A} \right)$ to measure current $i,$ coulombs $\left( \text{C} \right)$ to measure charge $q,$ ohms $\left( \text{Ω} \right)$ to measure resistance $R,$ henrys $\left( \text{H} \right)$ to measure inductance $L,$ and farads $\left( \text{F} \right)$ to measure capacitance $C.$ Consider the circuit in Figure 4.25.

我们用伏特 $\left( \text{V} \right)$ 度量电压 $E$,用安培 $\left( \text{A} \right)$ 度量电流 $i$,用库仑 $\left( \text{C} \right)$ 度量电荷 $q$,用欧姆 $\left( \text{Ω} \right)$ 度量电阻 $R$,用亨利 $\left( \text{H} \right)$ 度量电感 $L$,用法拉 $\left( \text{F} \right)$ 度量电容 $C.$ 参见图 4.25。

Applying Kirchhoff's Loop Rule to this circuit, we let $E$ denote the electromotive force supplied by the voltage generator. Then

对此电路应用基尔霍夫回路法则,令 $E$ 表示电压发生器提供的电动势。于是

$$E_{L} + E_{R} + E_{C} = E.$$

$$E_{L} + E_{R} + E_{C} = E.$$

Substituting the expressions for $E_{L},E_{R},$ and $E_{C}$ into this equation, we obtain

将 $E_{L},E_{R},$ 和 $E_{C}$ 的表达式代入该方程,得到

$$Li^{\prime} + Ri + \frac{1}{C}q = E.$$ (4.24)

$$Li^{\prime} + Ri + \frac{1}{C}q = E.$$ (4.24)

If there is no capacitor in the circuit, then the equation becomes

若电路中无电容器,则方程变为

$$Li^{\prime} + Ri = E.$$ (4.25)

$$Li^{\prime} + Ri = E.$$ (4.25)

This is a first-order differential equation in $i.$ The circuit is referred to as an $LR$ circuit.

这是关于 $i$ 的一阶微分方程。该电路称为 $LR$ 电路。

Next, suppose there is no inductor in the circuit, but there is a capacitor and a resistor, so $L = 0,R \neq 0,$ and $C \neq 0.$ Then Equation 4.23 can be rewritten as

接下来,假设电路中没有电感器,但有电容器和电阻器,于是 $L = 0,R \neq 0,$ 且 $C \neq 0.$ 则方程 4.23 可改写为

$$Rq^{\prime} + \frac{1}{C}q = E,$$ (4.26)

$$Rq^{\prime} + \frac{1}{C}q = E,$$ (4.26)

which is a first-order linear differential equation. This is referred to as an *RC* circuit. In either case, we can set up and solve an initial-value problem.

这是一个一阶线性微分方程。这称为 *RC* 电路。无论哪种情形,我们都可以建立并求解一个初值问题。

Finding Current in an *RL* Electric Circuit 求 RL 电路中的电流

A circuit has in series an electromotive force given by $E = 50\mspace{2mu}\text{sin}\mspace{2mu} 20t\ \text{V},$ a resistor of $5\text{Ω},$ and an inductor of $0.4\ \text{H}\text{.}$ If the initial current is $0,$ find the current at time $t > 0.$

一个电路串联有电动势 $E = 50\mspace{2mu}\text{sin}\mspace{2mu} 20t\ \text{V}$、阻值为 $5\text{Ω}$ 的电阻器,以及电感为 $0.4\ \text{H}\text{.}$ 的电感器。若初始电流为 $0,$ 求时刻 $t > 0$ 时的电流。

Solution 解答

We have a resistor and an inductor in the circuit, so we use Equation 4.24. The voltage drop across the resistor is given by $E_{R} = Ri = 5i.$ The voltage drop across the inductor is given by $E_{L} = Li^{\prime} = 0.4i^{\prime}.$ The electromotive force becomes the right-hand side of Equation 4.24. Therefore Equation 4.24 becomes

电路中有一个电阻器和一个电感器,因此我们使用方程 4.24。电阻器上的电压降为 $E_{R} = Ri = 5i.$ 电感器上的电压降为 $E_{L} = Li^{\prime} = 0.4i^{\prime}.$ 电动势成为方程 4.24 的右端。于是方程 4.24 变为

$$0.4i^{\prime} + 5i = 50\mspace{2mu}\text{sin}\mspace{2mu} 20t.$$

$$0.4i^{\prime} + 5i = 50\mspace{2mu}\text{sin}\mspace{2mu} 20t.$$

Dividing both sides by $0.4$ gives the equation

两边同除以 $0.4$ 得方程

$$i^{\prime} + 12.5i = 125\mspace{2mu}\text{sin}\mspace{2mu} 20t.$$

$$i^{\prime} + 12.5i = 125\mspace{2mu}\text{sin}\mspace{2mu} 20t.$$

Since the initial current is 0, this result gives an initial condition of $i(0) = 0.$ We can solve this initial-value problem using the five-step strategy for solving first-order differential equations.

由于初始电流为 0,这一结果给出初始条件 $i(0) = 0.$ 我们可以用求解一阶微分方程的五步策略来解该初值问题。

Step 1. Rewrite the differential equation as $i^{\prime} + 12.5i = 125\mspace{2mu}\text{sin}\mspace{2mu} 20t.$ This gives $p(t) = 12.5$ and $q(t) = 125\mspace{2mu}\text{sin}\mspace{2mu} 20t.$

步骤 1. 将微分方程改写为 $i^{\prime} + 12.5i = 125\mspace{2mu}\text{sin}\mspace{2mu} 20t.$ 得到 $p(t) = 12.5$ 和 $q(t) = 125\mspace{2mu}\text{sin}\mspace{2mu} 20t.$

Step 2. The integrating factor is $\mu(t) = e^{\int{12.5dt}} = e^{12.5t}.$

步骤 2. 积分因子为 $\mu(t) = e^{\int{12.5dt}} = e^{12.5t}.$

Step 3. Multiply the differential equation by $\mu(t)\text{:}$

步骤 3. 将方程两边乘以 $\mu(t)\text{:}$

$$\begin{array}{rll} {e^{12.5t}i^{\prime} + 12.5e^{12.5t}i} & = & {125e^{12.5t}\text{sin}\mspace{2mu} 20t} \\ {\frac{d}{dt}\mspace{2mu}\left\lbrack {ie^{12.5t}} \right\rbrack} & = & {125e^{12.5t}\text{sin}\mspace{2mu} 20t.} \end{array}$$

$$\begin{array}{rll} {e^{12.5t}i^{\prime} + 12.5e^{12.5t}i} & = & {125e^{12.5t}\text{sin}\mspace{2mu} 20t} \\ {\frac{d}{dt}\mspace{2mu}\left\lbrack {ie^{12.5t}} \right\rbrack} & = & {125e^{12.5t}\text{sin}\mspace{2mu} 20t.} \end{array}$$

Step 4. Integrate both sides:

步骤 4. 两边积分:

$$\begin{array}{rll} {\left. \int{\frac{d}{dt}\mspace{2mu}\left\lbrack {ie^{12.5t}} \right\rbrack} \right.\mspace{2mu} dt} & = & {\int{125e^{12.5t}\text{sin}\mspace{2mu} 20t\ dt}} \\ {ie^{12.5t}} & = & {\left( \frac{250\mspace{2mu}\text{sin}\mspace{2mu} 20t - 400\mspace{2mu}\text{cos}\mspace{2mu} 20t}{89} \right)\mspace{2mu} e^{12.5t} + C} \\ {i(t)} & = & {\frac{250\mspace{2mu}\text{sin}\mspace{2mu} 20t - 400\mspace{2mu}\text{cos}\mspace{2mu} 20t}{89} + Ce^{-12.5t}.} \end{array}$$

$$\begin{array}{rll} {\left. \int{\frac{d}{dt}\mspace{2mu}\left\lbrack {ie^{12.5t}} \right\rbrack} \right.\mspace{2mu} dt} & = & {\int{125e^{12.5t}\text{sin}\mspace{2mu} 20t\ dt}} \\ {ie^{12.5t}} & = & {\left( \frac{250\mspace{2mu}\text{sin}\mspace{2mu} 20t - 400\mspace{2mu}\text{cos}\mspace{2mu} 20t}{89} \right)\mspace{2mu} e^{12.5t} + C} \\ {i(t)} & = & {\frac{250\mspace{2mu}\text{sin}\mspace{2mu} 20t - 400\mspace{2mu}\text{cos}\mspace{2mu} 20t}{89} + Ce^{-12.5t}.} \end{array}$$

Step 5. Solve for $C$ using the initial condition $v(0) = 2\text{:}$

步骤 5. 利用初始条件 $v(0) = 2\text{:}$ 解出 $C$

$$\begin{array}{rll} {i(t)} & = & {\frac{250\mspace{2mu}\text{sin}\mspace{2mu} 20t - 400\mspace{2mu}\text{cos}\mspace{2mu} 20t}{89} + Ce^{-12.5t}} \\ {i(0)} & = & {\frac{250\mspace{2mu}\text{sin}\mspace{2mu} 20t - 400\mspace{2mu}\text{cos}\mspace{2mu} 20t}{89} + Ce^{-12.5{(0)}}} \\ 0 & = & {- \frac{400}{89} + C} \\ C & = & {\frac{400}{89}.} \end{array}$$

$$\begin{array}{rll} {i(t)} & = & {\frac{250\mspace{2mu}\text{sin}\mspace{2mu} 20t - 400\mspace{2mu}\text{cos}\mspace{2mu} 20t}{89} + Ce^{-12.5t}} \\ {i(0)} & = & {\frac{250\mspace{2mu}\text{sin}\mspace{2mu} 20t - 400\mspace{2mu}\text{cos}\mspace{2mu} 20t}{89} + Ce^{-12.5{(0)}}} \\ 0 & = & {- \frac{400}{89} + C} \\ C & = & {\frac{400}{89}.} \end{array}$$

Therefore the solution to the initial-value problem is $i(t) = \frac{250\mspace{2mu}\text{sin}\mspace{2mu} 20t - 400\mspace{2mu}\text{cos}\mspace{2mu} 20t + 400e^{-12.5t}}{89} = \frac{250\mspace{2mu}\text{sin}\mspace{2mu} 20t - 400\mspace{2mu}\text{cos}\mspace{2mu} 20t}{89} + \frac{400e^{-12.5t}}{89}.$

因此该初值问题的解为 $i(t) = \frac{250\mspace{2mu}\text{sin}\mspace{2mu} 20t - 400\mspace{2mu}\text{cos}\mspace{2mu} 20t + 400e^{-12.5t}}{89} = \frac{250\mspace{2mu}\text{sin}\mspace{2mu} 20t - 400\mspace{2mu}\text{cos}\mspace{2mu} 20t}{89} + \frac{400e^{-12.5t}}{89}.$

The first term can be rewritten as a single cosine function. First, multiply and divide by $\sqrt{250^{2} + 400^{2}} = 50\sqrt{89}\text{:}$

第一项可改写为一个单一的余弦函数。首先,分子分母同乘同除以 $\sqrt{250^{2} + 400^{2}} = 50\sqrt{89}\text{:}$

$$\begin{array}{cl} \frac{250\mspace{2mu}\text{sin}\mspace{2mu} 20t - 400\mspace{2mu}\text{cos}\mspace{2mu} 20t}{89} & {= \frac{50\sqrt{89}}{89}\left( \frac{250\mspace{2mu}\text{sin}\mspace{2mu} 20t - 400\mspace{2mu}\text{cos}\mspace{2mu} 20t}{50\sqrt{89}} \right)} \\ & {= - \frac{50\sqrt{89}}{89}\left( {\frac{8\mspace{2mu}\text{cos}\mspace{2mu} 20t}{\sqrt{89}} - \frac{5\mspace{2mu}\text{sin}\mspace{2mu} 20t}{\sqrt{89}}} \right).} \end{array}$$

$$\begin{array}{cl} \frac{250\mspace{2mu}\text{sin}\mspace{2mu} 20t - 400\mspace{2mu}\text{cos}\mspace{2mu} 20t}{89} & {= \frac{50\sqrt{89}}{89}\left( \frac{250\mspace{2mu}\text{sin}\mspace{2mu} 20t - 400\mspace{2mu}\text{cos}\mspace{2mu} 20t}{50\sqrt{89}} \right)} \\ & {= - \frac{50\sqrt{89}}{89}\left( {\frac{8\mspace{2mu}\text{cos}\mspace{2mu} 20t}{\sqrt{89}} - \frac{5\mspace{2mu}\text{sin}\mspace{2mu} 20t}{\sqrt{89}}} \right).} \end{array}$$

Next, define $\varphi$ to be an acute angle such that $\text{cos}\mspace{2mu}\varphi = \frac{8}{\sqrt{89}}.$ Then $\text{sin}\mspace{2mu}\varphi = \frac{5}{\sqrt{89}}$ and

接着,定义 $\varphi$ 为一个锐角,使得 $\text{cos}\mspace{2mu}\varphi = \frac{8}{\sqrt{89}}.$ 于是 $\text{sin}\mspace{2mu}\varphi = \frac{5}{\sqrt{89}}$,并且

$$\begin{array}{cl} {- \frac{50\sqrt{89}}{89}\left( {\frac{8\mspace{2mu}\text{cos}\mspace{2mu} 20t}{\sqrt{89}} - \frac{5\mspace{2mu}\text{sin}\mspace{2mu} 20t}{\sqrt{89}}} \right)} & {= - \frac{50\sqrt{89}}{89}\mspace{2mu}\left( {\text{cos}\mspace{2mu}\varphi\mspace{2mu}\text{cos}\mspace{2mu} 20t - \text{sin}\mspace{2mu}\varphi\mspace{2mu}\text{sin}\mspace{2mu} 20t} \right)} \\ & {= - \frac{50\sqrt{89}}{89}\text{cos}\left( {20t + \varphi} \right).} \end{array}$$

$$\begin{array}{cl} {- \frac{50\sqrt{89}}{89}\left( {\frac{8\mspace{2mu}\text{cos}\mspace{2mu} 20t}{\sqrt{89}} - \frac{5\mspace{2mu}\text{sin}\mspace{2mu} 20t}{\sqrt{89}}} \right)} & {= - \frac{50\sqrt{89}}{89}\mspace{2mu}\left( {\text{cos}\mspace{2mu}\varphi\mspace{2mu}\text{cos}\mspace{2mu} 20t - \text{sin}\mspace{2mu}\varphi\mspace{2mu}\text{sin}\mspace{2mu} 20t} \right)} \\ & {= - \frac{50\sqrt{89}}{89}\text{cos}\left( {20t + \varphi} \right).} \end{array}$$

Therefore the solution can be written as

因此解可写为

$$i(t) = - \frac{50\sqrt{89}}{89}\mspace{2mu}\text{cos}\mspace{2mu}\left( {20t + \varphi} \right) + \frac{400e^{-12.5t}}{89}.$$

$$i(t) = - \frac{50\sqrt{89}}{89}\mspace{2mu}\text{cos}\mspace{2mu}\left( {20t + \varphi} \right) + \frac{400e^{-12.5t}}{89}.$$

The second term is called the *attenuation* term, because it disappears rapidly as *t* grows larger. The phase shift is given by $\varphi,$ and the amplitude of the steady-state current is given by $\frac{50\sqrt{89}}{89}.$ The graph of this solution appears in Figure 4.26:

第二项称为 *attenuation(衰减)* 项,因为它随着 *t* 增大而迅速消失。相移由 $\varphi$ 给出,稳态电流的振幅由 $\frac{50\sqrt{89}}{89}$ 给出。该解的图像出现在图 4.26:

A circuit has in series an electromotive force given by $E = 20\mspace{2mu}\text{sin}\mspace{2mu} 5t$ V, a capacitor with capacitance $0.02\ \text{F},$ and a resistor of $8\ \text{Ω}.$ If the initial charge is $4\ \text{C},$ find the charge at time $t > 0.$

一个电路串联有电动势 $E = 20\mspace{2mu}\text{sin}\mspace{2mu} 5t$ V、电容为 $0.02\ \text{F}$ 的电容器,以及阻值为 $8\ \text{Ω}$ 的电阻器。若初始电荷为 $4\ \text{C},$ 求时刻 $t > 0$ 时的电荷。

Section 4.5 Exercises 4.5 节 习题

Are the following differential equations linear? Explain your reasoning.

下列微分方程是否为线性方程?说明你的理由。

208\.

208\.

$\frac{dy}{dx} = x^{2}y + \text{sin}\mspace{2mu} x$

$\frac{dy}{dx} = x^{2}y + \text{sin}\mspace{2mu} x$

209.

209.

$\frac{dy}{dt} = ty$

$\frac{dy}{dt} = ty$

210\.

210\.

$\frac{dy}{dt} + y^{2} = x$

$\frac{dy}{dt} + y^{2} = x$

211.

211.

$y\prime = x^{3} + e^{x}$

$y\prime = x^{3} + e^{x}$

212\.

212\.

$y\prime = y + e^{y}$

$y\prime = y + e^{y}$

Write the following first-order differential equations in standard form.

将下列一阶微分方程写成标准形式。

213.

213.

$y\prime = x^{3}y + \text{sin}\mspace{2mu} x$

$y\prime = x^{3}y + \text{sin}\mspace{2mu} x$

214\.

214\.

$y\prime + 3y - \text{ln}\mspace{2mu} x = 0$

$y\prime + 3y - \text{ln}\mspace{2mu} x = 0$

215.

215.

$\text{−}xy\prime = \left( {3x + 2} \right)y + xe^{x}$

$\text{−}xy\prime = \left( {3x + 2} \right)y + xe^{x}$

216\.

216\.

$\frac{dy}{dt} = 4y + ty + \text{tan}\mspace{2mu} t$

$\frac{dy}{dt} = 4y + ty + \text{tan}\mspace{2mu} t$

217.

217.

$\frac{dy}{dt} = yx\left( {x + 1} \right)$

$\frac{dy}{dt} = yx\left( {x + 1} \right)$

What are the integrating factors for the following differential equations?

下列微分方程的积分因子是什么?

218\.

218\.

$y\prime = xy + 3$

$y\prime = xy + 3$

219.

219.

$y\prime + e^{x}y = \text{sin}\mspace{2mu} x$

$y\prime + e^{x}y = \text{sin}\mspace{2mu} x$

220\.

220\.

$y\prime = x\mspace{2mu}\text{ln}(x)y + 3x$

$y\prime = x\mspace{2mu}\text{ln}(x)y + 3x$

221.

221.

$\frac{dy}{dx} = \text{tanh}(x)y + 1$

$\frac{dy}{dx} = \text{tanh}(x)y + 1$

222\.

222\.

$\frac{dy}{dt} + 3ty = e^{t}y$

$\frac{dy}{dt} + 3ty = e^{t}y$

Solve the following differential equations by using integrating factors.

用积分因子求解下列微分方程。

223.

223.

$y\prime = 3y + 2$

$y\prime = 3y + 2$

224\.

224\.

$y\prime = 2y - x^{2}$

$y\prime = 2y - x^{2}$

225.

225.

$xy\prime = 3y - 6x^{2}$

$xy\prime = 3y - 6x^{2}$

226\.

226\.

$\left( {x + 2} \right)y\prime = 3x + y$

$\left( {x + 2} \right)y\prime = 3x + y$

227.

227.

$y\prime = 3x + xy$

$y\prime = 3x + xy$

228\.

228\.

$xy\prime = x + y$

$xy\prime = x + y$

229.

229.

$\text{sin}(x)y\prime = y + 2x$

$\text{sin}(x)y\prime = y + 2x$

230\.

230\.

$y\prime = y + e^{x}$

$y\prime = y + e^{x}$

231.

231.

$xy\prime = 3y + x^{2}$

$xy\prime = 3y + x^{2}$

232\.

232\.

$y\prime + \text{ln}\mspace{2mu} x = \frac{y}{x}$

$y\prime + \text{ln}\mspace{2mu} x = \frac{y}{x}$

Solve the following differential equations. Use your calculator to draw a family of solutions. Are there certain initial conditions that change the behavior of the solution?

求解下列微分方程。用计算器画出解族。是否存在某些会改变解的行为的初值条件?

233.

233.

\[T\] $(x + 2)y\prime = 2y - 1$

\[T\] $(x + 2)y\prime = 2y - 1$

234\.

234\.

\[T\] $y\prime = 3e^{t\text{/}3} - 2y$

\[T\] $y\prime = 3e^{t\text{/}3} - 2y$

235.

235.

\[T\] $xy\prime + \frac{y}{2} = \text{sin}(3t)$

\[T\] $xy\prime + \frac{y}{2} = \text{sin}(3t)$

236\.

236\.

\[T\] $xy\prime = 2\frac{\text{cos}\mspace{2mu} x}{x} - 3y$

\[T\] $xy\prime = 2\frac{\text{cos}\mspace{2mu} x}{x} - 3y$

237.

237.

\[T\] $(x + 1)y\prime = 3y + x^{2} + 2x + 1$

\[T\] $(x + 1)y\prime = 3y + x^{2} + 2x + 1$

238\.

238\.

\[T\] $\text{sin}(x)y\prime + \text{cos}(x)y = 2x$

\[T\] $\text{sin}(x)y\prime + \text{cos}(x)y = 2x$

239.

239.

\[T\] $\sqrt{x^{2} + 1}y\prime = y + 2$

\[T\] $\sqrt{x^{2} + 1}y\prime = y + 2$

240\.

240\.

\[T\] $x^{3}y\prime + 2x^{2}y = x + 1$

\[T\] $x^{3}y\prime + 2x^{2}y = x + 1$

Solve the following initial-value problems by using integrating factors.

用积分因子求解下列初值问题。

241.

241.

$y\prime + y = x,y(0) = 3$

$y\prime + y = x,y(0) = 3$

242\.

242\.

$y\prime = y + 2x^{2},y(0) = 0$

$y\prime = y + 2x^{2},y(0) = 0$

243.

243.

$xy\prime = y - 3x^{3},y(1) = 0$

$xy\prime = y - 3x^{3},y(1) = 0$

244\.

244\.

$x^{2}y\prime = xy - \text{ln}\mspace{2mu} x,y(1) = 1$

$x^{2}y\prime = xy - \text{ln}\mspace{2mu} x,y(1) = 1$

245.

245.

$\left( {1 + x^{2}} \right)y\prime = y - 1,y(0) = 0$

$\left( {1 + x^{2}} \right)y\prime = y - 1,y(0) = 0$

246\.

246\.

$xy\prime = y + 2x\mspace{2mu}\text{ln}\mspace{2mu} x,y(1) = 5$

$xy\prime = y + 2x\mspace{2mu}\text{ln}\mspace{2mu} x,y(1) = 5$

247.

247.

$(2 + x)y\prime = y + 2 + x,y(0) = 0$

$(2 + x)y\prime = y + 2 + x,y(0) = 0$

248\.

248\.

$y' = xy + 2xe^{\frac{1}{2}x^{2}},y(0) = 2$

$y' = xy + 2xe^{\frac{1}{2}x^{2}},y(0) = 2$

249.

249.

$\sqrt{x}y\prime = y + 2x,y(0) = 1$

$\sqrt{x}y\prime = y + 2x,y(0) = 1$

250\.

250\.

$y\prime = 2y + xe^{x},y(0) = -1$

$y\prime = 2y + xe^{x},y(0) = -1$

251.

251.

A falling object of mass $m$ can reach terminal velocity when the drag force is proportional to its velocity, with proportionality constant $k.$ Set up the differential equation and solve for the velocity given an initial velocity of $0.$

一个质量为 $m$ 的下落物体,当阻力与其速度成正比、比例常数为 $k$ 时,可达到终极速度。建立微分方程,并在初速度为 $0$ 的条件下求解速度。

252\.

252\.

Using your expression from the preceding problem, what is the terminal velocity? (*Hint:* Examine the limiting behavior; does the velocity approach a value?)

利用前一题得到的表达式,终极速度是多少?(*提示:* 考察极限行为;速度是否会趋近某个值?)

253.

253.

\[T\] Using your equation for terminal velocity, solve for the distance fallen. How long does it take to fall $5000$ meters if the mass is $100$ kilograms, the acceleration due to gravity is $9.8$ m/s2 and the proportionality constant is $4?$

\[T\] 利用终极速度的方程,求解下落的距离。若质量为 $100$ 千克、重力加速度为 $9.8$ m/s2、比例常数为 $4$,下落 $5000$ 米需要多长时间?

254\.

254\.

A more accurate way to describe terminal velocity is that the drag force is proportional to the square of velocity, with a proportionality constant $k.$ Set up the differential equation and solve for the velocity.

描述终极速度更精确的方式是:阻力与速度的平方成正比,比例常数为 $k$。建立微分方程并求解速度。

255.

255.

Using your expression from the preceding problem, what is the terminal velocity? (*Hint:* Examine the limiting behavior: Does the velocity approach a value?)

利用前一题得到的表达式,终极速度是多少?(*提示:* 考察极限行为:速度是否会趋近某个值?)

256\.

256\.

\[T\] Using your equation for terminal velocity, solve for the distance fallen. How long does it take to fall $5000$ meters if the mass is $100$ kilograms, the acceleration due to gravity is $9.8{\ \text{m/s}}^{2}$ and the proportionality constant is $4?$ Does it take more or less time than your initial estimate?

\[T\] 利用终极速度的方程,求解下落的距离。若质量为 $100$ 千克、重力加速度为 $9.8{\ \text{m/s}}^{2}$、比例常数为 $4$,下落 $5000$ 米需要多长时间?与最初的估计相比,所需时间更多还是更少?

For the following problems, determine how parameter $a$ affects the solution.

对下列问题,判断参数 $a$ 如何影响解。

257.

257.

Solve the generic equation $y\prime = ax + y.$ How does varying $a$ change the behavior?

求解一般方程 $y\prime = ax + y$。改变 $a$ 会如何改变其行为?

258\.

258\.

Solve the generic equation $y\prime = ay + x.$ How does varying $a$ change the behavior?

求解一般方程 $y\prime = ay + x$。改变 $a$ 会如何改变其行为?

259.

259.

Solve the generic equation $y\prime = ax + xy.$ How does varying $a$ change the behavior?

求解一般方程 $y\prime = ax + xy$。改变 $a$ 会如何改变其行为?

260\.

260\.

Solve the generic equation $y\prime = x + axy.$ How does varying $a$ change the behavior?

求解一般方程 $y\prime = x + axy$。改变 $a$ 会如何改变其行为?

261.

261.

Solve $y\prime - y = e^{kt}$ with the initial condition $y(0) = 0.$ As $k$ approaches $1,$ what happens to your formula?

在初始条件 $y(0) = 0$ 下求解 $y\prime - y = e^{kt}$。当 $k$ 趋于 $1$ 时,你的公式会发生什么变化?

Key Terms 术语表

asymptotically semi-stable solution

渐近半稳定解

$y = k$ if it is neither asymptotically stable nor asymptotically unstable

$y = k$ if it is neither asymptotically stable nor asymptotically unstable

asymptotically stable solution

渐近稳定解

$y = k$ if there exists $\varepsilon > 0$ such that for any value $c \in \left( {k - \varepsilon,k + \varepsilon} \right)$ the solution to the initial-value problem $y^{\prime} = f\left( {x,y} \right),\quad y\left( x_{0} \right) = c$ approaches $k$ as $x$ approaches infinity

若存在 $\varepsilon > 0$,使得对任意值 $c \in \left( {k - \varepsilon,k + \varepsilon} \right)$,初值问题 $y^{\prime} = f\left( {x,y} \right),\quad y\left( x_{0} \right) = c$ 的解随着 $x$ 趋于无穷而趋近 $k$,则 $y = k$

asymptotically unstable solution

渐近不稳定解

$y = k$ if there exists $\varepsilon > 0$ such that for any value $c \in \left( {k - \varepsilon,k + \varepsilon} \right)$ the solution to the initial-value problem $y^{\prime} = f\left( {x,y} \right),\quad y\left( x_{0} \right) = c$ never approaches $k$ as $x$ approaches infinity

若存在 $\varepsilon > 0$,使得对任意值 $c \in \left( {k - \varepsilon,k + \varepsilon} \right)$,初值问题 $y^{\prime} = f\left( {x,y} \right),\quad y\left( x_{0} \right) = c$ 的解随着 $x$ 趋于无穷而从不趋近 $k$,则 $y = k$

autonomous differential equation

自治微分方程

an equation in which the right-hand side is a function of $y$ alone

右端仅为 $y$ 的函数的方程

carrying capacity

容纳量(承载容量)

the maximum population of an organism that the environment can sustain indefinitely

环境能够无限期维持的某生物的最大种群数量

differential equation

微分方程

an equation involving a function $y = y(x)$ and one or more of its derivatives

含有函数 $y = y(x)$ 及其一个或多个导数的方程

direction field (slope field)

方向场(斜率场)

a mathematical object used to graphically represent solutions to a first-order differential equation; at each point in a direction field, a line segment appears whose slope is equal to the slope of a solution to the differential equation passing through that point

用于图形化表示一阶微分方程解的数学对象;在方向场中的每个点上,出现一条线段,其斜率等于经过该点的微分方程解曲线的斜率

equilibrium solution

平衡解

any solution to the differential equation of the form $y = c,$ where $c$ is a constant

形如 $y = c$ 的微分方程的任意解,其中 $c$ 为常数

Euler’s Method

欧拉方法

a numerical technique used to approximate solutions to an initial-value problem

一种用于近似初值问题解的数值方法

general solution (or family of solutions)

通解(或解族)

the entire set of solutions to a given differential equation

给定微分方程的全部解的集合

growth rate

增长率

the constant $r > 0$ in the exponential growth function $P(t) = P_{0}e^{rt}$

指数增长函数 $P(t) = P_{0}e^{rt}$ 中的常数 $r > 0$

initial population

初始种群量

the population at time $t = 0$

时刻 $t = 0$ 时的种群数量

initial value(s)

初值(一个或多个)

a value or set of values that a solution of a differential equation satisfies for a fixed value of the independent variable

微分方程的解在自变量的某个固定取值下所满足的一个值或一组值

initial velocity

初速度

the velocity at time $t = 0$

时刻 $t = 0$ 时的速度

initial-value problem

初值问题

a differential equation together with an initial value or values

一个微分方程连同初值(一个或多个)

integrating factor

积分因子

any function $f(x)$ that is multiplied on both sides of a differential equation to make the side involving the unknown function equal to the derivative of a product of two functions

任意一个函数 $f(x)$,将其乘到微分方程两边后,使含有未知函数的那一侧等于两个函数乘积的导数

linear

线性的

description of a first-order differential equation that can be written in the form $a(x)y^{\prime} + b(x)y = c(x)$

指可写成 $a(x)y^{\prime} + b(x)y = c(x)$ 形式的一阶微分方程

logistic differential equation

逻辑斯谛微分方程(Logistic 微分方程)

a differential equation that incorporates the carrying capacity $K$ and growth rate $r$ into a population model

将容纳量 $K$ 与增长率 $r$ 纳入种群模型中的微分方程

order of a differential equation

(微分方程的)阶

the highest order of any derivative of the unknown function that appears in the equation

方程中出现的未知函数的任意导数的最高阶数

particular solution

特解

member of a family of solutions to a differential equation that satisfies a particular initial condition

满足某一特定初始条件的微分方程解族中的成员

phase line

相线

a visual representation of the behavior of solutions to an autonomous differential equation subject to various initial conditions

自治微分方程在各种初值条件下解的行为的可视化表示

separable differential equation

可分离变量的微分方程

any equation that can be written in the form $y\prime = f(x)g(y)$

任何可写成 $y\prime = f(x)g(y)$ 形式的方程

separation of variables

分离变量法

a method used to solve a separable differential equation

用于求解可分离变量微分方程的一种方法

solution curve

解曲线

a curve graphed in a direction field that corresponds to the solution to the initial-value problem passing through a given point in the direction field

在方向场中绘出的一条曲线,对应于经过方向场中某一给定点的初值问题的解

solution to a differential equation

(微分方程的)解

a function $y = f(x)$ that satisfies a given differential equation

满足给定微分方程的函数 $y = f(x)$

standard form

标准形式

the form of a first-order linear differential equation obtained by writing the differential equation in the form $y\prime + p(x)y = q(x)$

将一阶线性微分方程写成 $y\prime + p(x)y = q(x)$ 形式所得到的形式

step size

步长

the increment $h$ that is added to the $x$ value at each step in Euler’s Method

在欧拉方法的每一步中加到 $x$ 值上的增量 $h$

threshold population

阈值种群量

the minimum population that is necessary for a species to survive

一个物种生存所需的最小种群数量

Key Equations 关键公式

Euler’s Method $\begin{array}{l} {x_{n} = x_{0} + nh} \\ {y_{n} = y_{n - 1} + hf(x_{n - 1},y_{n - 1}),\text{where}\ h\ \text{is the step size}} \end{array}$

欧拉方法 $\begin{array}{l} {x_{n} = x_{0} + nh} \\ {y_{n} = y_{n - 1} + hf(x_{n - 1},y_{n - 1}),\text{where}\ h\ \text{is the step size}} \end{array}$

Separable differential equation $y^{\prime} = f(x)g(y)$

可分离变量的微分方程 $y^{\prime} = f(x)g(y)$

Solution concentration $\frac{du}{dt} = \text{INFLOW RATE} - \text{OUTFLOW RATE}$

溶液浓度 $\frac{du}{dt} = \text{INFLOW RATE} - \text{OUTFLOW RATE}$

Newton’s law of cooling $\frac{dT}{dt} = k\left( {T - T_{s}} \right)$

牛顿冷却定律 $\frac{dT}{dt} = k\left( {T - T_{s}} \right)$

Logistic differential equation and initial-value problem $\frac{dP}{dt} = rP\left( {1 - \frac{P}{K}} \right),\quad P(0) = P_{0}$

逻辑斯谛微分方程与初值问题 $\frac{dP}{dt} = rP\left( {1 - \frac{P}{K}} \right),\quad P(0) = P_{0}$

Solution to the logistic differential equation/initial-value problem $P(t) = \frac{P_{0}Ke^{rt}}{\left( {K - P_{0}} \right) + P_{0}e^{rt}}$

逻辑斯谛微分方程/初值问题的解 $P(t) = \frac{P_{0}Ke^{rt}}{\left( {K - P_{0}} \right) + P_{0}e^{rt}}$

Threshold population model $\frac{dP}{dt} = \text{−}rP\left( {1 - \frac{P}{K}} \right)\left( {1 - \frac{P}{T}} \right)$

阈值种群模型 $\frac{dP}{dt} = \text{−}rP\left( {1 - \frac{P}{K}} \right)\left( {1 - \frac{P}{T}} \right)$

standard form $y\prime + p(x)y = q(x)$

标准形式 $y\prime + p(x)y = q(x)$

integrating factor $\mu(x) = e^{\int{p{(x)}\mspace{2mu} dx}}$

积分因子 $\mu(x) = e^{\int{p{(x)}\mspace{2mu} dx}}$

Key Concepts 关键概念

4.1 Basics of Differential Equations 4.1 微分方程基础

4.2 Direction Fields and Numerical Methods 4.2 方向场与数值方法

4.3 Separable Equations 4.3 可分离变量的方程

4.4 The Logistic Equation 4.4 逻辑斯谛方程

4.5 First-Order Linear Equations 4.5 一阶线性方程

Review Exercises 章末复习题

*True or False?* Justify your answer with a proof or a counterexample.

真或假?用证明或反例论证你的答案。

262\.

262\.

The differential equation $y\prime = 3x^{2}y - \text{cos}(x)y^{''}$ is linear.

微分方程 $y\prime = 3x^{2}y - \text{cos}(x)y^{''}$ 是线性的。

263.

263.

The differential equation $y\prime = x - y$ is separable.

微分方程 $y\prime = x - y$ 是可分离变量的。

264\.

264\.

You can explicitly solve all first-order differential equations by separation or by the method of integrating factors.

你可以用分离变量法或积分因子法显式求解所有一阶微分方程。

265.

265.

You can determine the behavior of all first-order differential equations using directional fields or Euler’s method.

你可以用方向场或欧拉方法确定所有一阶微分方程的行为。

For the following problems, find the general solution to the differential equations.

对于下列习题,求微分方程的通解。

266\.

266\.

$y^{\prime} = x^{2} + 3e^{x} - 2x$

$y^{\prime} = x^{2} + 3e^{x} - 2x$

267.

267.

$y\prime = 2^{x} + \text{cos}^{-1}x$

$y\prime = 2^{x} + \text{cos}^{-1}x$

268\.

268\.

$y\prime = y\left( {x^{2} + 1} \right)$

$y\prime = y\left( {x^{2} + 1} \right)$

269.

269.

$y\prime = e^{\text{−}y}\text{sin}\mspace{2mu} x$

$y\prime = e^{\text{−}y}\text{sin}\mspace{2mu} x$

270\.

270\.

$y\prime = 3x - 2y$

$y\prime = 3x - 2y$

271.

271.

$y\prime = y\mspace{2mu}\text{ln}\mspace{2mu} y$

$y\prime = y\mspace{2mu}\text{ln}\mspace{2mu} y$

For the following problems, find the solution to the initial value problem.

对于下列习题,求初值问题的解。

272\.

272\.

$y\prime = 8x - \text{ln}\mspace{2mu} x - 3x^{4},y(1) = 5$

$y\prime = 8x - \text{ln}\mspace{2mu} x - 3x^{4},y(1) = 5$

273.

273.

$y\prime = 3x - \text{cos}\mspace{2mu} x + 2,y(0) = 4$

$y\prime = 3x - \text{cos}\mspace{2mu} x + 2,y(0) = 4$

274\.

274\.

$xy\prime = y\left( {x - 2} \right),y(1) = 3$

$xy\prime = y\left( {x - 2} \right),y(1) = 3$

275.

275.

$y\prime = 3y^{2}\left( {x + \text{cos}\mspace{2mu} x} \right),y(0) = -2$

$y\prime = 3y^{2}\left( {x + \text{cos}\mspace{2mu} x} \right),y(0) = -2$

276\.

276\.

$(x - 1)y\prime = y - 2,y(0) = 0$

$(x - 1)y\prime = y - 2,y(0) = 0$

277.

277.

$y\prime = 3y - x + 6x^{2},y(0) = -1$

$y\prime = 3y - x + 6x^{2},y(0) = -1$

For the following problems, draw the directional field associated with the differential equation, then solve the differential equation. Draw a sample solution on the directional field.

对于下列习题,画出与该微分方程相关的方向场,然后求解该微分方程。在方向场上画出一条示例解曲线。

278\.

278\.

$y\prime = 2y - y^{2}$

$y\prime = 2y - y^{2}$

279.

279.

$y\prime = \frac{1}{x} + \text{ln}\mspace{2mu} x - y,$ for $x > 0$

$y\prime = \frac{1}{x} + \text{ln}\mspace{2mu} x - y,$ for $x > 0$

For the following problems, use Euler’s Method with $n = 5$ steps over the interval $t = \lbrack 0,1\rbrack.$ Then solve the initial-value problem exactly. How close is your Euler’s Method estimate?

对于下列习题,使用欧拉方法,取 $n = 5$ 步,在区间 $t = \lbrack 0,1\rbrack.$ 上进行计算。然后精确求解该初值问题。你的欧拉方法估计值与精确解相差多少?

280\.

280\.

$y\prime = -4yx,y(0) = 1$

$y\prime = -4yx,y(0) = 1$

281.

281.

$y\prime = 3^{x} - 2y,y(0) = 0$

$y\prime = 3^{x} - 2y,y(0) = 0$

For the following problems, set up and solve the differential equations.

对于下列习题,建立并求解微分方程。

282\.

282\.

A car drives along a freeway, accelerating according to $a = 5\mspace{2mu}\text{sin}(\pi t),$ where $t$ represents time in minutes. Find the velocity at any time $t,$ assuming the car starts with an initial speed of $60$ mph.

一辆汽车沿高速公路行驶,其加速度满足 $a = 5\mspace{2mu}\text{sin}(\pi t),$ 其中 $t$ 表示以分钟为单位的时间。假设汽车以 $60$ mph 的初速度启动,求任意时刻 $t$ 的速度。

283.

283.

You throw a ball of mass $2$ kilograms into the air with an upward velocity of $8$ m/s. Find exactly the time the ball will remain in the air, assuming that gravity is given by $g = 9.8{\ \text{m/s}}^{2}.$

你将质量为 $2$ 千克的一个球以 $8$ m/s 的向上速度抛向空中。假设重力加速度为 $g = 9.8{\ \text{m/s}}^{2},$ 精确求出球在空中的停留时间。

284\.

284\.

You drop a ball with a mass of $5$ kilograms out an airplane window at a height of $5000$ m. How long does it take for the ball to reach the ground?

你从飞机窗口将质量为 $5$ 千克的一个球在 $5000$ m 高度处释放。球落到地面需要多长时间?

285.

285.

You drop the same ball of mass $5$ kilograms out of the same airplane window at the same height, except this time you assume a drag force proportional to the ball’s velocity, using a proportionality constant of $3$ and the ball reaches terminal velocity. Solve for the distance fallen as a function of time. How long does it take the ball to reach the ground?

你从同一飞机窗口、同一高度释放同一个质量为 $5$ 千克的球,但这次假设阻力与球的速度成正比,比例常数为 $3$,且球达到终极速度。求出下落距离关于时间的函数。球落到地面需要多长时间?

286\.

286\.

A drug is administered to a patient every $24$ hours and is cleared at a rate proportional to the amount of drug left in the body, with proportionality constant $0.2.$ If the patient needs a baseline level of $5$ mg to be in the bloodstream at all times, how large should the dose be?

一种药物每 $24$ 小时给病人服用一次,其清除速率与体内剩余药量成正比,比例常数为 $0.2.$ 如果病人血液中始终需要保持 $5$ mg 的基线水平,那么每次剂量应为多大?

287.

287.

A $1000$-liter tank contains pure water and a solution of $0.2$ kg salt/L is pumped into the tank at a rate of $1$ L/min and is drained at the same rate. Solve for total amount of salt in the tank at time $t.$

一个 $1000$ 升的罐中装有纯水,浓度为 $0.2$ kg 盐/L 的溶液以 $1$ L/min 的速率泵入罐中,并以相同速率排出。求时刻 $t$ 时罐中盐的总量。

288\.

288\.

You boil water to make tea. When you pour the water into your teapot, the temperature is $100\text{°C.}$ After $5$ minutes in your $15\text{°C}$ room, the temperature of the tea is $85\text{°C.}$ Solve the equation to determine the temperatures of the tea at time $t.$ How long must you wait until the tea is at a drinkable temperature $\left( 72\text{°C}\operatorname{)?} \right.$

你烧水泡茶。当你把水倒入茶壶时,温度为 $100\text{°C.}$ 在 $15\text{°C}$ 的房间中放置 $5$ 分钟后,茶的温度为 $85\text{°C.}$ 解方程确定时刻 $t$ 时茶的温度。你需要等待多长时间,直到茶达到可饮用的温度 $\left( 72\text{°C}\operatorname{)?} \right.$

289.

289.

The human population (in thousands) of Nevada in $1950$ was roughly $160.$ If the carrying capacity is estimated at $10$ million individuals, and assuming a growth rate of $2\text{\%}$ per year, develop a logistic growth model and solve for the population in Nevada at any time (use $1950$ as time = 0). What population does your model predict for $2000?$ How close is your prediction to the true value of $1,998,257?$

内华达州(以千人为单位)在 $1950$ 年的人口约为 $160.$ 如果容纳量估计为 $10$ 百万,并假设年增长率为 $2\text{\%}$,建立逻辑斯谛增长模型,并求解任意时刻内华达州的人口(取 $1950$ 为时间 = 0)。你的模型对 $2000$ 年的人口预测是多少?你的预测与真实值 $1,998,257$ 相差多少?

290\.

290\.

Repeat the previous problem but use Gompertz growth model. Which is more accurate?

重复上一题,但使用 Gompertz 增长模型。哪个更准确?