next up previous
Next: Euler's method Up: Integration of ODEs Previous: Integration of ODEs

Introduction

In this section, we shall discuss the standard numerical techniques used to integrate systems of ordinary differential equations (ODEs). We shall then employ these techniques to simulate the trajectories of various different types of baseball pitch.

By definition, an ordinary differential equation, or o.d.e., is a differential equation in which all dependent variables are functions of a single independent variable. Furthermore, an $n$th-order o.d.e. is such that, when it is reduced to its simplest form, the highest order derivative it contains is $n$th-order.

According to Newton's laws of motion, the motion of any collection of rigid objects can be reduced to a set of second-order o.d.e.s. in which time, $t$, is the common independent variable. For instance, the equations of motion of a set of $n$ interacting point objects moving in 1-dimension might take the form:

\begin{displaymath}
\frac{d^2 x_j}{dt^2} = \frac{F_j(x_1,...,x_n,t)}{m_j}
\end{displaymath} (2)

for $j=1$ to $n$, where $x_j$ is the position of the $j$th object, $m_j$ is its mass, etc. Note that a set of $n$ second-order o.d.e.s can always be rewritten as a set of $2n$ first-order o.d.e.s. Thus, the above equations of motion can be rewritten:
$\displaystyle \frac{dx_j}{dt}$ $\textstyle =$ $\displaystyle v_j,$ (3)
$\displaystyle \frac{dv_j}{dt}$ $\textstyle =$ $\displaystyle \frac{F_j(x_1,...,x_n,t)}{m_j}.$ (4)

for $j=1$ to $n$. We conclude that a general knowledge of how to numerically solve a set of coupled first-order o.d.e.s would enable us to investigate the behaviour of a wide variety of interesting dynamical systems.


next up previous
Next: Euler's method Up: Integration of ODEs Previous: Integration of ODEs
Richard Fitzpatrick 2006-03-29