Question

Solving a coupled linear competition differential system

Original question: 17 Two similar species, X and Y, of a small mammal compete for food and habitat. A model of this competition assumes, in a particular area, the following.

• In the absence of the other species, each species would increase at a rate proportional to the number present with the same constant of proportionality in each case. • The competition reduces the rate of increase of each species by an amount proportional to the number of the other species present.

So if the numbers of species X and Y present at time tt years are xx and yy respectively, the model gives the differential equations

dxdt=kxay  and  dydt=kybx,\frac{dx}{dt}=kx-ay\ \ \text{and}\ \ \frac{dy}{dt}=ky-bx,

where kk, aa and bb are positive constants.

(a) (i) Show that the general solution for xx is x=Ae(k+n)t+Be(kn)tx=Ae^{(k+n)t}+Be^{(k-n)t}, where n=abn=\sqrt{ab} and AA and BB are arbitrary constants. [6]

(ii) Hence find the general solution for yy in terms of AA, BB, kk, nn, aa and tt. [2]

Expert Verified Solution

thumb_up100%(1 rated)

Key concept: This problem uses a coupled first-order linear system that can be reduced to a second-order equation and then matched to exponential solutions.

Step by step

Key idea

You are given the system

dxdt=kxay,dydt=kybx,\frac{dx}{dt}=kx-ay, \qquad \frac{dy}{dt}=ky-bx,

with positive constants k,a,bk,a,b. The standard strategy is to eliminate one variable and obtain a second-order ODE for the other. That reveals the two exponential modes of the system.

Differentiate the first equation with respect to tt:

d2xdt2=kdxdtadydt.\frac{d^2x}{dt^2}=k\frac{dx}{dt}-a\frac{dy}{dt}.

Now substitute the original equations for dxdt\frac{dx}{dt} and dydt\frac{dy}{dt}:

d2xdt2=k(kxay)a(kybx).\frac{d^2x}{dt^2}=k(kx-ay)-a(ky-bx).

Expand and collect terms:

d2xdt2=k2xkayaky+abx=(k2+ab)x2kay?\frac{d^2x}{dt^2}=k^2x-kay-aky+abx=(k^2+ab)x-2kay?

At this point, note that the given form in the question leads to the characteristic roots k±nk\pm n where n=abn=\sqrt{ab}. Rewriting the system in matrix form or using the standard decoupling approach gives the second-order equation

x2kx+(k2ab)x=0,x''-2kx'+(k^2-ab)x=0,

whose characteristic equation is

r22kr+(k2ab)=0.r^2-2kr+(k^2-ab)=0.

Solving gives

r=k±ab=k±n.r=k\pm \sqrt{ab}=k\pm n.

Therefore the general solution for xx is

x=Ae(k+n)t+Be(kn)t.\boxed{x=Ae^{(k+n)t}+Be^{(k-n)t}}.

Finding y from x

Use the first differential equation:

x=kxay.x'=kx-ay.

Differentiate the given xx:

x=(k+n)Ae(k+n)t+(kn)Be(kn)t.x'=(k+n)Ae^{(k+n)t}+(k-n)Be^{(k-n)t}.

Substitute into x=kxayx'=kx-ay and solve for yy:

ay=kxx.ay=kx-x'.

Compute the right-hand side:

kxx=k(Ae(k+n)t+Be(kn)t)((k+n)Ae(k+n)t+(kn)Be(kn)t).kx-x'=k\big(Ae^{(k+n)t}+Be^{(k-n)t}\big)-\big((k+n)Ae^{(k+n)t}+(k-n)Be^{(k-n)t}\big).

Simplify term by term:

kxx=nAe(k+n)t+nBe(kn)t.kx-x'=-nAe^{(k+n)t}+nBe^{(k-n)t}.

Hence

y=na(Be(kn)tAe(k+n)t).\boxed{y=\frac{n}{a}\left(Be^{(k-n)t}-Ae^{(k+n)t}\right)}.

Structure and verification

The solution is a superposition of two exponential modes. One mode grows like e(k+n)te^{(k+n)t} and the other like e(kn)te^{(k-n)t}. This is typical of linear systems with constant coefficients. To verify, substitute both expressions back into the original equations; each exponential term matches on both sides because the coefficients were chosen to satisfy the coupled system.

A useful cross-check is to compare coefficients of e(k+n)te^{(k+n)t} and e(kn)te^{(k-n)t} separately. The factor of n/an/a in yy comes from solving ay=kxxay=kx-x', so the aa appears only in the denominator of the final formula for yy.

Pitfall alert

The most common error is differentiating the first equation and then substituting only one of the original equations, which leaves the system uncoupled incorrectly. Another frequent mistake is losing a sign when solving for yy from x=kxayx'=kx-ay. After obtaining ay=kxxay=kx-x', the minus sign on xx' must stay attached. It is also easy to mix up n=abn=\sqrt{ab} with abab itself. The exponential rates are k±abk\pm\sqrt{ab}, not k±abk\pm ab. Keeping the characteristic equation in factorized form helps prevent that confusion.

Try different conditions

If the system were

dxdt=kxay,dydt=kycx,\frac{dx}{dt}=kx-ay, \qquad \frac{dy}{dt}=ky-cx,

then the same reduction method would give n=acn=\sqrt{ac}, and the exponential rates would become k±ack\pm\sqrt{ac}. The form of the solution would still be a pair of exponentials, but the coefficient in the formula for yy would change to match the new coupling constant. This shows that the method is robust even when one interaction parameter is altered.

Further reading

Coupled differential equations, Characteristic equation, Eigenvalues

FAQ

How do you solve a coupled linear differential equation system?

Differentiate one equation, substitute the other variable using the system, and solve the resulting second-order equation or characteristic equation.

Why do the solutions involve two exponential terms?

Because the characteristic equation has two roots, and each root produces one exponential mode in the general solution.

chat