Methods of Analysis. IV. General Solutions

With some equations, we can determine the general solution which describes where the system will be at any time in the future.

General solutions are extremely useful because

Unfortunately, not all non-linear equations can be solved directly.

For instance, the diploid selection model in discrete time and the logistic model in discrete time do not have an explicit general solution.

Exponential Growth in Discrete Time

If R is the number of offspring per parent and if there are n[t] individuals in the population at time t, then in the next generation there will be:

n[t+1] = R n[t]

Starting at generation 0, there will be R n[0] individuals in the first generation, R2 n[0] individuals in the second generation, R3 n[0] individuals in the third generation, and so on.

n[t] = Rt n[0]

This is the general solution giving the population size over time.

Exponential Growth in Continuous Time

If each individual reproduces at a constant rate (r) and if there are n[t] individuals in the population at time t, then the rate of change of the whole population will be:

dn[t]/dt = r n[t]

To solve this equation, perform a "separation of variables" and integrate both sides:

At time t=0, n[0] = Exp[r*0+c], which tells us that Exp[c] must equal n[0].

n[t] = Exp[r t] n[0]

Exp[r] plays the same role in the continuous time model as does R in the discrete time model.

Logistic Model (Discrete)

No general solution is available.

Logistic Model (Continuous)

To solve the differential equation giving the population size over time, we again perform a "separation of variables" and then integrate both sides:

Logistic Model (Continuous)

At time t=0, this equation reduces to n[0]/(K-n[0]) = Exp[c], which we can then use to replace Exp[c].

We then solve for n[t]:

Does this make sense?

Haploid Selection Model (Discrete)

For discrete time models, one method that sometimes works is:

We could repeat these steps to write p[t] as a function of p[t-3]. The fitnesses would then be cubed rather than squared.

Repeating the method t times would give:

Haploid Selection Model (Discrete)

A second method which is often easier is to search for a transformation that simplifies the recursions. For example,

In this model, the first transformation makes the equations much simpler:

This tells us a bit more about how selection acts in the haploid model: the ratio of A to a alleles changes by a constant amount each generation!

To transform back into the original variable, note that p[t] = x[t]/(x[t]+1):

which is the same solution as we had above.

This general solution can be used, for example, to determine how much time it would take for a given change in the frequency of an allele.

Haploid Selection Model (Continuous)

To solve the differential equation giving the allele frequency over time, we perform a "separation of variables" and then integrate both sides:

We then solve for p:

Finally, we plug in an initial condition. Say that at time t=0 the allele frequency is p0. Then at time t the allele frequency, pt will solve:

Again this tells us that the ratio of A to a alleles changes at a constant rate over time.

Haploid Selection Model (Continuous)

We can rearrange the equation to solve for pt directly:

Exp[rA] and Exp[ra] in the continuous time model play the same role as WA and Wa in the discrete time model.

The continuous time model exhibits the same behavior over time as the discrete time model.

Diploid Selection Model (Discrete)

No general solution is available.

Methods of Analysis. IV. General Solutions

Back to biology 301 home page.