Differential equations and numerical solutions
Introducido| English | Significado |
|---|---|
| integrating factor/ˈɪntɪɡreɪtɪŋ ˈfæktə/ | A factor used to multiply a differential equation so that an expression becomes a complete derivative and can be integrated. |
| first-order linear | Describes a differential equation of the form dy/dx + P(x)y = Q(x). |
| particular solution/pəˈtɪkjʊlə səˈluːʃn/ | A complete solution whose arbitrary constants have been fixed by conditions. |
| general solution/ˈdʒenərəl səˈluːʃn/ | A family of solutions containing arbitrary constants or parameters that represents all solutions of the specified type. |
| initial condition/ɪˈnɪʃl kənˈdɪʃn/ | condición inicial |
Euler's multiplying trick, 1730s
- In the 1730s, Leonhard Euler and Alexis Clairaut found that some differential equations become easy after you multiply both sides by a well-chosen function, now called an integrating factor 积分因子.
- Doctors use the same equations for a drug given by a drip: the dose goes in at a steady rate while the body removes a fixed fraction each hour. FP2 solves these first-order linear 一阶线性 equations.
The standard form
- Write the equation as $\dfrac{dy}{dx} + P(x)y = Q(x)$. The integrating factor is $I = e^{\int P\,dx}$.
- Multiplying by $I$ turns the left side into one derivative: $\dfrac{d}{dx}(Iy) = IQ$. Then integrate both sides.
Find the integrating factor for $\dfrac{dy}{dx} + 3y = e^x$.
Dificultad 1/5 · 100 monedas + un pequeño bono en el primer intento de hoy
$P = 3$, so $I = e^{\int 3\,dx} = e^{3x}$.
Find the integrating factor for $\dfrac{dy}{dx} - \dfrac{1}{x}y = x$, $x > 0$.
Dificultad 1/5 · 100 monedas + un pequeño bono en el primer intento de hoy
$e^{-\ln x} = x^{-1}$.
General and particular solutions
- Integrating gives a general solution 通解 with a constant $c$ — a whole family of curves.
- An initial condition 初始条件, such as $y = 3$ when $x = 1$, picks out one curve: the particular solution 特解.
Differential equations and numerical solutions
For dy/dx=ky, separate variables: dy/y=k dx, giving y=Ae^(kx)
Compare the model with the worked case and explain one change.
The general solution of a first-order differential equation contains one arbitrary constant.
Dificultad 1/5 · 100 monedas + un pequeño bono en el primer intento de hoy
One integration gives one constant; an initial condition fixes it.
Worked example: an integrating factor
Solve $x\dfrac{dy}{dx} + 2y = 5x^2$ for $x > 0$, given that $y = 3$ when $x = 1$.
- Standard form: divide by $x$: $\dfrac{dy}{dx} + \dfrac{2}{x}y = 5x$, so $P = \dfrac{2}{x}$ and $I = e^{2\ln x} = x^2$.
- Multiply and integrate: $\dfrac{d}{dx}(x^2y) = 5x^3$, so $x^2y = \dfrac{5}{4}x^4 + c$ and $y = \dfrac{5}{4}x^2 + \dfrac{c}{x^2}$.
- Initial condition: $3 = \dfrac{5}{4} + c$, so $c = \dfrac{7}{4}$ and $y = \dfrac{5}{4}x^2 + \dfrac{7}{4x^2}$.
$\dfrac{dy}{dx} + 3y = 6$ with $y = 0$ when $x = 0$ has $y = 2(1 - e^{-3x})$. Find $y$ when $x = 1$, to 3 s.f.
Dificultad 2/5 · 140 monedas + un pequeño bono en el primer intento de hoy
$2(1 - e^{-3}) = 1.900$.
A drug given by a drip
- A patient's drug level $C$ (mg per litre) obeys $\dfrac{dC}{dt} + 0.2C = 4$, with $C = 0$ at $t = 0$. Here $I = e^{0.2t}$, so $Ce^{0.2t} = 20e^{0.2t} + c$.
- $C = 0$ at $t = 0$ gives $c = -20$, so $C = 20(1 - e^{-0.2t})$. The level rises towards 20 but never passes it.
A favor $C = 20(1 - e^{-0.2t})$, find $C$ after 5 hours, to 3 s.f.
Dificultad 2/5 · 140 monedas + un pequeño bono en el primer intento de hoy
$20(1 - e^{-1}) = 12.64$.
Using a given substitution
- Some equations become separable after a substitution such as $y = vx$, so $\dfrac{dy}{dx} = v + x\dfrac{dv}{dx}$.
- $\dfrac{dy}{dx} = \dfrac{x^2 + y^2}{xy}$ becomes $v + x\dfrac{dv}{dx} = \dfrac{1 + v^2}{v}$, so $x\dfrac{dv}{dx} = \dfrac{1}{v}$ and $\tfrac{1}{2}v^2 = \ln x + c$.
With $y = vx$, what is $\dfrac{dy}{dx}$?
Dificultad 1/5 · 100 monedas + un pequeño bono en el primer intento de hoy
Product rule on $vx$.
Forgetting to divide by the coefficient of $\dfrac{dy}{dx}$ first. In $x\dfrac{dy}{dx} + 2y = 5x^2$, using $P = 2$ gives $I = e^{2x}$, which does not make the left side a single derivative. Divide by $x$ first, so that $P = \tfrac{2}{x}$ and $I = x^2$.
Put the equation in the form $\tfrac{dy}{dx} + Py = Q$, multiply by $I = e^{\int P\,dx}$, and integrate $\tfrac{d}{dx}(Iy) = IQ$, not forgetting $+ c$. An initial condition gives the particular solution. A given substitution can turn a hard equation into a separable one.
Solve $\dfrac{dy}{dx} + y\tan x = \cos x$ for $0 \le x < \tfrac{\pi}{2}$, given $y = 2$ when $x = 0$.
Factor, integrate, condition.