Differential equations and numerical solutions
Introduzido| English | Significado |
|---|---|
| initial condition/ɪˈnɪʃl kənˈdɪʃn/ | condição inicial |
A cooling body and a time of death
- In 1701, Isaac Newton described an experiment in which a hot iron cooled at a rate proportional to how much hotter it was than the air. Forensic scientists still use this law: a body's temperature measured at two times gives an estimate of the time of death. The law is a differential equation: $\dfrac{d\theta}{dt} = -k(\theta - \theta_0)$.
- A differential equation links a quantity with its rate of change. Solving it gives the quantity as a function of time.
Forming the equation
- "The rate of decrease of $N$ is proportional to $N$": $\dfrac{dN}{dt} = -kN$, $k > 0$.
- "The rate of increase of $V$ is inversely proportional to $\sqrt{V}$": $\dfrac{dV}{dt} = \dfrac{k}{\sqrt{V}}$.
The rate of increase of a population $P$ is proportional to $P$. Which equation models this?
Dificuldade 1/5 · Moedas 100 + pequeno bônus na primeira conclusão hoje
Rate = constant × P.
Separating the variables
- Rearrange to $g(y)\,dy = f(x)\,dx$, then integrate both sides and add one constant.
- $\dfrac{dy}{dx} = xy$: $\displaystyle\int \frac{1}{y}\,dy = \int x\,dx$, so $\ln|y| = \tfrac{1}{2}x^2 + c$.
Differential equations and numerical solutions
Separate the variables in dy/dx=ky, integrate both sides and apply an initial condition
Compare the model with the worked case and explain one change.
Find the general solution of $\dfrac{dy}{dx} = \dfrac{x}{y}$.
Dificuldade 1/5 · Moedas 100 + pequeno bônus na primeira conclusão hoje
$\int y\,dy = \int x\,dx$ gives $\tfrac{1}{2}y^2 = \tfrac{1}{2}x^2 + c$.
Worked example: Newton's law of cooling
A cup of tea at $90°$C cools in a room at $20°$C: $\dfrac{d\theta}{dt} = -k(\theta - 20)$. After 10 minutes it is at $55°$C. Find $\theta$ in terms of $t$.
- Separate: $\displaystyle\int \frac{1}{\theta - 20}\,d\theta = \int -k\,dt$, so $\ln(\theta - 20) = -kt + c$, giving $\theta = 20 + Ae^{-kt}$.
- Initial condition 初始条件: $t = 0$, $\theta = 90$ gives $A = 70$.
- Find $k$: $55 = 20 + 70e^{-10k}$, so $e^{-10k} = \tfrac{1}{2}$ and $k = \tfrac{\ln 2}{10} = 0.0693$. So $\theta = 20 + 70e^{-0.0693t}$.
$y = Ae^{3x}$ e $y = 5$ when $x = 0$. Find $A$.
Dificuldade 2/5 · Moedas 140 + pequeno bônus na primeira conclusão hoje
$e^0 = 1$.
A substance decays as $N = 200e^{-kt}$. After 5 years, $N = 100$. Find $k$ to 3 s.f.
Dificuldade 2/5 · Moedas 140 + pequeno bônus na primeira conclusão hoje
$k = \tfrac{\ln 2}{5}$.
Using the solution
- When does the tea reach $30°$C? $70e^{-0.0693t} = 10$, so $t = \dfrac{\ln 7}{0.0693} = 28.1$ minutes.
- As $t \to \infty$, $\theta \to 20$: the model approaches room temperature but never reaches it.
With $\theta = 20 + 70e^{-0.0693t}$, find when the tea is at $40°$C, to 3 s.f.
Dificuldade 2/5 · Moedas 140 + pequeno bônus na primeira conclusão hoje
$e^{-0.0693t} = \tfrac{2}{7}$, $t = \tfrac{\ln 3.5}{0.0693}$.
General and particular solutions
- The general solution contains a constant; each initial condition picks one particular solution curve.
- Check by differentiating: $\theta = 20 + 70e^{-kt}$ gives $\tfrac{d\theta}{dt} = -70ke^{-kt} = -k(\theta - 20)$ ✓.
The model $\theta = 20 + 70e^{-kt}$ predicts the tea will eventually be colder than the room.
Dificuldade 1/5 · Moedas 100 + pequeno bônus na primeira conclusão hoje
It tends to 20 from above.
Add the constant when you integrate, not at the end. From $\ln(\theta - 20) = -kt$, writing $\theta = 20 + e^{-kt} + c$ is wrong: the constant becomes a multiplier $A = e^{c}$ after taking exponentials.
Turn words about rates into $\tfrac{dy}{dx}$, separate the variables, integrate both sides with one constant, then use the initial condition to fix it. Exponentials give the form $y = Ae^{kx}$; interpret the solution in context, including its long-term behaviour.
Solve $\dfrac{dy}{dx} = 2xy^2$ given $y = 1$ when $x = 0$, and state where the solution is undefined.
Separation with a particular solution.