
154 3 Mechanistic Models I: ODEs
In Section 3.3, a comparison of the solution of linear systems of equations versus
the solution of differential equations was used to give you an idea of what it is
that makes differential equations hard to solve. As it was discussed there, it is the
infinite dimensionality of these equations, that is, the fact that these equations ask
for an infinite-dimensional unknown:afunction.Agreatpartofwhatisdoneby
mathematicians working on the numerical solution of differential equations today
can be described as an effort to deal with the infinite dimensionality of differential
equations in an effective way. This is even more important when we are dealing
with PDEs, since, as explained above, these equations ask for functions depending
on several variables, that is, which are infinite dimensional in the sense explained
above not only with respect to one independent variable (time in many cases), but
also with respect to one or more other variables (such as spatial coordinates).
Particularly when solving PDEs, you will easily be able to explore the limits of
your computer, even if you consider models of systems that do not seem to be
too complex at a first glance, and even if you read this book years after this text is
written, that is, at a time when computers will be much faster than today (since
more complex problems are solved on faster computers). PDE models involving
a complex coupling of fluid flow with several other phenomena, such as models
of casting and solidification or climate phenomena, may require several hours of
computation time or more, even on today’s fastest computers (Section 4.6.8 and
[103, 104]). PDE’s may thus not only help us to explore the limits of our computers,
but also of our patience ...
3.6.2
Closed Form versus Numerical Solutions
There are two basic ways how differential equations can be solved, which correspond
to Section 3.7 on closed form solutions and Section 3.8 on numerical solutions.
A closed form solution – which is sometimes also called an analytical solution –isa
solution of an equation that can be expressed as a formula in terms of ‘‘well-known’’
functions such as e
x
and sin(x). All solutions of ODEs considered so far are closed
form solutions in this sense. In the body temperature example above (Section 3.4.1),
Equation 3.25 is a closed form solution of the initial value problem (Equations 3.29
and 3.30). In practice, however, most ODEs cannot be solved in terms of closed
form solutions, frequently due to nonlinear right-hand sides of the equations.
Approximate numerical solutions of such ODEs are obtained using appropriate
numerical algorithms on the computer.
The borderline between closed form and numerical solutions is not really sharp
in the sense that well-known functions such as e
x
and sin(x) are of course also
computed approximately using numerical algorithms, and also in the sense that it
is a matter of definition what we call ‘‘well-known functions’’. For example, people
working in probability and statistics frequently need the expression
2
√
π
x
0
e
−t
2
dt (3.105)