Modelling 1 Flashcards
What is the SEIR Model and its differential equations?
S(t) + E(t) + I(t) + R(t) = N
dS/dt (t) = -betaI(t)S(t)/N
dE/dt (t) = betaI(t)S(t)/N - epsilonE(t)
dI/dt (t) = epsilonE(t) - gammaI(t)
dR/dt (t) = gammaI(t)
How are Differential Equations formed from a Reaction Diagram?
A + B (k1)⇋(k2) C
For the reactants A, B, C in the above example (1.1), we obtain
d/dt a(t) = k2c(t) − k1a(t)b(t),
d/dt b(t) = k2c(t) − k1a(t)b(t),
d/dt c(t) = k1a(t)b(t) − k2c(t).
Or more generally, nAa + nBb (k)→ nCc + nDd gives the rate equations:
d/dt a(t) = −nAka(t)^nA * b(t)^nB ,
d/dt b(t) = −nBka(t)^nA * b(t)^nB ,
d/dt c(t) = nCka(t)^nA * b(t)^nB ,
d/dt d(t) = nDka(t)^nA * b(t)^nB .
What are the three types of problem?
- Forward Problem - Given all the information and use this to quantitively predict an outcome. E.g. the maximum speed of a car.
- Inverse Problem - When some of the information is not directly known, but may be able to be ‘reverse engineered’. E.g. using CT scans to locate a tumour.
- Control Problem - Trying to make a solution to best fit a goal. E.g. the best paper airplane.
What is the RLC differential equation?
Ld^2/dt”2 q(t) + R d/dt q(t) + 1/C q(t) = 0
What is the model for Population Growth?
d/dt p(t) = (kp(t))(1 - p(t)/pm)
where pm is the maximum population density.
What are the Fundamental Dimensions?
T - time - seconds, days
L - length - nanometers, feet, lightyears
M - mass - micrograms, how about elephants?
A - quantity - head count, mol
Θ - temperature - kelvin, degrees fahrenheit
Q - charge - coulomb
How do we denote the dimension of a variable?
The dimension of a variable v is denoted by [v].
The dimension of a product is equal to the product of its parts’ dimensions.
What is the process of non-dimensionalisation?
- Write the dimensions of all variables in terms of fundamental dimensions.
- Express all fundamental dimensions required for the dependent variables as a product of suitable independent variables. The choice made for each fundamental dimension is called a scale.
- Consider any dependent variable dn and let us write Dn = [dn] for its dimension. This dimension is made up of fundamental dimensions. We have expressed these in terms of the independent variables by defining suitable scales, hence Dn = [pn(i1, . . . , iM)] for some product pn of some independent variables. This product is then called the scale for the variable dn and usually denoted with a line of the letter in the following, ¬dn = pn(i1, . . . , iM). Actually, it is then the scale for all variables with the same dimension. Let now ˜dn = dn/¬dn. This variable has no dimension because
[˜dn] = [dn/dn] = [dn]/[¬dn] = 1. - Write down the nondimensional problem and reduce it.
- Add the dimensions again by transforming the reduced equation back.
What is a Differential Equation?
For a differential equation of the form
F(t, x(t), x′(t), x′′(t), . . . , x^(k−1)(t), x^(k)(t)) = 0
we define:
1. The order of a differential equation is the order of its highest derivative.
2. The differential equation is autonomous if F does not explicitly depend on the independent variable, so F : R^k+1 → R, and the differential equation reads
F(x(t), x′(t), . . . , x^(k)(t)) = 0.
i.e. No t constant.
3. The differential equation is linear if F can be written in the form
F(t, x(t), x′(t), . . . , x^(k)(t)) = s(t) + Σi=0,k (ai(t)x^(i)(t))
with some functions s, ai : (α, β) → R, i = 0, . . . , k.
4. Let s be the function obtained if x(t) = x′(t) = x^(k)(t) = 0,
s(t) = F(t, 0, . . . , 0), t ∈ (α, β).
The equation is called homogeneous if s = 0. I.e. if all derivative terms are 0 and the constant is 0, s is homogeneous.
Otherwise, it is called inhomogeneous.
When is a solution to a DE explicit or implicit?
A function x : (α, β) → R is called a solution to the differential equation if it satisfies the equation.
* The solution is called an explicit solution, if the dependent variable is given in terms of the independent variable as a combination of algebraic expressions or elementary functions.
* An implicit form of the solution is an equation that relates the dependent and independent variables and involves no derivatives.
What is the FTC?
Suppose g : [a, b] → R is continuous and let
G(x) := ∫a,x (g(˜x)dx), x ˜ ∈ [a, b].
Then G is an anti-derivative of g, i.e., it satisfies
d/dx G(x) = g(x), x ∈ (a, b).
Moreover, if G˜ is any other anti-derivative of g then
∫a,b (g(˜x)dx˜) = G˜(b) − G˜(a),
and the two anti-derivatives of g differ by a constant only, so for some c ∈ R
G˜(x) = G(x) + c, x ∈ [a, b].
What is the difference between a general solution and particular solution?
The general solution to the trivial differential equation is given by
x(t) = F(t) + c, t ∈ (α, β)
where F is an anti-derivative of f and c ∈ R is any number.
For a specific number c, x(t) = F(t) + c is a particular solution.
Ie. the general solution is a family of solutions, particular solutions involves a specific c value.
What is a stable stationary point?
A stationary point x∗ of an autonomous differential equation of the form
d/dt x(t) = f(x(t)), is called stable if nearby solutions remain close as the independent variable grows. In mathematical terms, the distance dist(x(t), x∗) remains bounded as t → ∞.
We have that:
-if f(x∗) = 0, f′(x∗) > 0 : x∗ is unstable,
-if f(x∗) = 0, f′(x∗) < 0 : x∗ is stable.
with f being of the form defined.
How to solve first order homogeneous DEs?
We have the equation d/dt x(t) = r(t)x(t), if we first consider r(t) = r to be constant, we have a function whose derivative is proportional to itself, the exponential.
And so all solutions will be of the form x(t) = ce^rt, with initial conditions determining c.
Now for r(t) depending on t, by trying x(t) = ce^R(t), we find that R must be the anti-derivate of r, find R by integrating r from the initial condition to t. And then using x0 to find c.
What is an integrating factor?
The function I(t) = e^−R(t), where R(t) = ∫r(t˜)dt˜ is an anti-derivative of r, is called an integrating factor for the differential equation d/dt x(t) = r(t)x(t) + s(t).