chap02.tex 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  2. % Author: Phillip Rothenbeck
  3. % Title: Investigating the Evolution of the COVID-19 Pandemic in Germany Using Physics-Informed Neural Networks
  4. % File: chap02/chap02.tex
  5. % Part: theoretical background
  6. % Description:
  7. % summary of the content in this chapter
  8. % Version: 26.07.2024
  9. % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  10. \chapter{Theoretical Background}
  11. \label{chap:background}
  12. This chapter is set to introduce the theoretical knowledge on which the work in this thesis is founded on. First we talk about domain mathematics and differential equations.
  13. In these sections both the explanations and the approach are strongly based on the book on analysis by W. Rudin\cite{Rudin2007} and the book about ordinary differential equations
  14. by M. Tenenbaum and H. Pollard. %\cite{Tenenbaum1985}. %TODO introduce other sections
  15. % -------------------------------------------------------------------
  16. \section{Domain Mathematics and Functions}
  17. \label{sec:domain}
  18. In order to model a mathematical problem, it is necessary to define a set of fundamental numbers or quantities upon which the subsequent calculations will be based. These sets may
  19. represent a specific time interval or a distance, for instance. The term "domain" is used to describe these fundamental sets of numbers or quantities. For the purpose this thesis
  20. we will restrict ourselves to domains of real numbers in $\mathbb{R}$.\\
  21. The mapping of a value from one domain to a value from another domain enables the modelling and depiction of semantics. In order to facilitate this mapping, the use of functions is
  22. employed. The function $f$ is defined as
  23. \begin{equation}
  24. f: A\rightarrow B
  25. \end{equation}
  26. In other words, $f$ assigns each value $x$ of an interval $A$ to a value $y$ of $B$. $A$ is referred to as the domain and $B$ as the codomain of $f$. In our case, both $A$ and $B$
  27. are subsets of $\mathbb{R}$. Functions are capable of representing the state of a system as a value based on an input value from their domain. One illustrative example is a function
  28. that maps a time point to the distance covered since the last time point. In this case, time serves as the domain, while the distance is the codomain.
  29. % -------------------------------------------------------------------
  30. \section{Basics of Differential Equations}
  31. \label{sec:differentialEq}
  32. Often, the change of a system is more interesting than its current state. Functions are able to give us the latter, but only passively give information about the change of a system.
  33. Now the problem at hand is a way of calculating the change of a function across its domain. Given a function $f$ and an interval $[a, b]\subset \mathbb{R}$,
  34. \begin{equation}
  35. m = \frac{f(b) - f(a)}{a-b}
  36. \end{equation}
  37. is the average rate of change across $[a, b]$. While the average change of rate is helpful in many cases, the momentary rate of change is more accurate. To find this the interval is
  38. narrowed down, to be infinitesimal small. For each $x\in[a, b]$ we calculate
  39. \begin{equation} \label{eqn:differential}
  40. \frac{df}{dx} = \lim_{t\to x} \frac{f(t) - f(x)}{t-x}
  41. \end{equation}
  42. if it exists. $\frac{df}{dx}$ is called the derivative or differential equation, it returns the momentary rate of change of $f$ for each value $x$ of $f$'s
  43. domain. When repeating this process on $\frac{df}{dx}$ we get $\frac{d^2f}{dx^2}$ which is the function that calculates the rate of change of the rate of change and is called the second
  44. derivative. Iterating this $n$ times results in $\frac{d^nf}{dx^n}$, the derivative of the $n$'th order. Another way to get a differential equation is to create it from the semantics of
  45. a problem. This way is often chosen if no basic function exists for a system.\\
  46. For functions, it is possible to have multiple domains, meaning that function has more than one parameter. For example a function working with 2D parameters or a function that, works with
  47. time and locations as its inputs. These functions need differential equations for each of their domains, which are called "partial differential equations" (PDE's). The ones for functions with one
  48. single domain are called "ordinary differential equations" (ODE's). For this thesis only ODE's will be of interest.\\
  49. If a system has several codomains, it will have a differential equation for each codomain all sharing the same domain. The collective of these equations is called a differential system.\\
  50. For illustrating the functionality of a derivative we will look upon the specific problem. For this we
  51. % -------------------------------------------------------------------
  52. \section{Pandemic Models}
  53. \label{sec:pandemicModel}
  54. - modelation in a mathematical sense
  55. - what do pandemic models have to do?
  56. % -------------------------------------------------------------------
  57. \subsection{SIR Model}
  58. \label{sec:pandemicModel:sir}
  59. % -------------------------------------------------------------------
  60. \subsection{reduced SIR Model}
  61. \label{sec:pandemicModel:rsir}
  62. % -------------------------------------------------------------------
  63. \section{Multilayer Perceptron}
  64. \label{sec:mlp}
  65. % -------------------------------------------------------------------
  66. \section{Physics Informed Neural Networks}
  67. \label{sec:pinn}
  68. % -------------------------------------------------------------------
  69. \subsection{Disease Informed Neural Networks}
  70. \label{sec:pinn:dinn}
  71. % -------------------------------------------------------------------