Ordinary differential equation

From Rice Wiki
Revision as of 21:12, 15 April 2024 by Rice (talk | contribs) (→‎Example)


An ordinary differential equation (ODE) relates a function and its derivatives. We usually use to denote the function and to denote the variable.

Ordinary means that the equation has one variable, as opposed to partial differential.

There is no general method to solve ODEs. We separate them by classes and solve them individually.

Example

An example of an ODE is the following

The general solution of the above is

Notably, the solution is homogeneous, meaning that is a solution. This will probably be covered later.

Initial Value Problem

To get a unique solution, we need to apply additional conditions, such as specifying a particular value

This is called an initial value problem, in which a function is generated from an initial value with another equation.

Usage

Since the derivative can be described as the rate of change, and the function itself is the state, ODEs arises as mathematical models of systems whose rate of change depends on the state of the system.

The following are brief descriptions of some applications of ODEs.

  1. Radioactive decay, where the function is the (large) number of atoms.
    • Atoms decay at an average constant rate
  2. Object falling under gravity, where the function is the velocity of the object

Dimensions/Units

The two sides of the equation must match in dimensions (aka. units).

Consider radioactive decay.

The solution comes to

We use time constant to get a sense of how fast it is decaying. Its units is time.

Equilibrium Solution

Consider an object falling under gravity

We sometimes want the equilibrium solution

Doing some math, we can eventually get

Classification

An ODE is linear if all terms are proportional to or are given functions of . This distinction is especially useful since linear combination can be used to construct solutions.

The order of an ODE is the order of its highest derivative.

In a scalar, there is only one unknown function . In a system, there are several, and you have to solve them simultaneously.

Here is a list of ODEs we study, from simple to complex: