# Ordinary Differential Equations/Separable 2

First-Order Differential Equations

# Separable Variables: Real-World Examples[edit]

This page gives some examples of where simple separable variable DEs are found in the world around us.

## Contents

## Acceleration, velocity, and position[edit]

The classic real world example of differential equations is the relationship between acceleration, velocity, and position.

So if you're given an equation for acceleration, you can figure out both velocity and position.

### Example 1 - Constant Acceleration[edit]

Lets say that accelearation is a constant, g (the acceleration due to gravity, or about 10 m s^{-2}. The initial velocity at *t*=0 is *v*_{0}. The initial position is *x*_{0}. Solve for *v* and *x*.

First, you need to solve for *v*. I.w.r.t.*x*.

Now plug in to find C.

Now we solve for *x*.

Again, now we solve for C.

Anyone who has studied physics will recognize this as the basic equation for position for an object undergoing a constant force in one dimension.

### Example 2 - Resistive Medium[edit]

Lets say we're traveling through a medium that resists movement. In this medium, . Solve for *v* and *x*, given that the initial velocity was 10 m/s and the initial displacement was 0 m.

Notice that as *t* increases, velocity decreases. This is what you'd expect if the medium was resisting your movement and slowing you down over time. Now substitute in the initial velocity at *t*=0

Now to solve for *x*.

The position increases throughout, but it increases ever more slowly as time goes on. This is again what you'd expect for a medium resisting motion. Since velocity is never less than 0, we never stop going forward, but we go exponentially less far over time. Putting in our boundary conditions,

## Exponential Growth and Decay[edit]

One of the most common differential equations in science is

- .

The solution to this is

- .

If *k* is positive, this is called exponential growth. If *k* is negative, its exponential decay. Both are used in science, for very different reasons.

### Population Growth[edit]

Lets say we have a group of animals in the wild. We want to know how many animals there will be in *t* years. We know how many there are now. We also know the birth rate and death rate. Can we solve this problem?

Of course we can. First, we need to figure out the rate of growth. If the birth rate is B, and the death rate is D, the total rate of change is (B-D). Since this is the rate, we need to multiply it by the current population to get the population growth. The final equation looks like

where P is the population. That looks like the equation for exponential growth, doesn't it? As a matter of fact, change the 'delta' to a differential, and it is. The growth factor is (B-D).

#### Example 3[edit]

- In a certain population of rabbits, the birth rate is 10%. The death rate is 15%. The initial population is 100. How many rabbits are there after 10 years? Will we always have rabbits?

From our solution to the exponential equation:

Unfortunately, we will not always have rabbits. Since the growth rate is negative, they will eventually go extinct. (Note: we will never actually hit 0, but in real life you can't have less than 1 rabbit. If we were measuring a continuous property instead of a discrete one, we would always have something, it would just get very small).

### Radioactive Decay[edit]

Another situation for exponential growth is radioactive isotopes. If you have a sample of radioactive material, individual atoms will randomly decay or not decay. While you can't know exactly how many atoms decay and when, you do know the average rate of decay. Every λ years, half of the atoms left will decay. This period of time, λ, is called a half life. The *activity* of the sample (how many decays per second) is called A. Mathematically, this looks like

These problems look just like the problem above. Just like rabbits, we will eventually run out of radioactive atoms as well.