## 1.2.2 An example of first order ODE

Measurable Outcome 1.1, Measurable Outcome 1.3, Measurable Outcome 1.4

Ordinary differential equations (ODEs) occur throughout science and engineering.

## Free Fall Example

A model for the velocity \(u(t)\) of a spherical object falling freely through the atmosphere can be derived by applying Newton's Law. Specifically,

where \(m_ p\) is the mass of the particle, \(g\) is the gravity, \(D\) is the aerodynamic drag acting on the particle, and \(u_ t\) denotes the derivative of \(u(t)\) with respect to time \(t\). For low speeds, this drag can be modeled as (recall Unified fluids),

where \(\rho _ g\) and \(\mu _ g\) are the density and dynamic viscosity of the atmosphere, \(a\) is the sphere radius, \(Re\) is the Reynolds number for the sphere, and \(C_ D\) is the drag coefficient. To complete the problem specification, an initial condition is required on the velocity. For example, at time \(t=0\), let \(u(0) = u_0\). By solving Equation 1.4 with this initial condition, the velocity at any time \(u(t)\) can be found.

## General ODEs

A general ODE is typically written in the form,

where \(f(u(t),t)\) is the forcing function that results in the evolution of \(u(t)\) in time. When \(f(u(t),t)\) depends on \(u(t)\) in a nonlinear manner, then the ODE is called a nonlinear ODE. Note that in these notes, where clarity permits, we will omit the arguments of functions.

For the example defined by Equation 1.4, the forcing function is,

From the definition of \(D(u)\), \(f(u,t)\) is nonlinear in \(u\). Note also that in this example, \(f\) does not depend on \(t\) directly, rather \(f(u(t),t) = f(u(t))\).

## Linear ODEs

Although the use of numerical integration is most important for nonlinear ODE's (since analytic solutions rarely exist), the study of numerical methods applied to linear ODE's is often quite helpful in understanding the behavior for nonlinear problems. The general form for a single, linear ODE, is

where \(\lambda (t)\) is independent of \(u\). When \(\lambda (t)\) is a constant, the ODE is referred to as a linear ODE with constant coefficients.

In many situations, the linear ODE is derived by linearizing a nonlinear ODE about a constant state. Specifically, define the dependent state \(u(t)\) as a sum of \(u_0\) and a perturbation, \(\tilde{u}(t)\),

A linearized equation for the evolution of \(\tilde{u}(t)\) can be derived by substitution of this into Equation 1.8:

Note that the last equation is obtained using Taylor series. Thus, when \(t\) and \(\tilde{u}\) are small, the perturbation satisfies the linear equation,

Comparing Equation 1.10 to 1.15, we see that in this example,

For the falling sphere problem, a linear ODE can be derived by linearizing about the initial velocity \(u_0\). As shown above, this requires the calculation of \({\partial f}/{\partial u}\) and \({\partial f}/{\partial t}\). For the sphere,

The value of \({\partial D}/{\partial u}\) is

and \({\partial C_ D}/{\partial Re}\) and \({\partial Re}/{\partial u}\) can be found from their definitions. Also, since \(f\) does not directly depend on \(t\) for this problem, \({\partial f}/{\partial t} = 0.\)