Coupled first-order differential equations

Coupled first-order differential equations

Spec 9.9 · Edexcel A-Level Further Maths: Revision notes

Studying this course? Keep your progress in one place.

Key facts

  • A coupled system has two variables, each derivative depending on both.
  • Eliminate one variable to get a second-order equation, solve it, then recover the other variable from the first-order equation.
  • For x˙=ax+by\dot{x}=ax+by, y˙=cx+dy\dot{y}=cx+dy: x¨−(a+d)x˙+(ad−bc)x=0\ddot{x}-(a+d)\dot{x}+(ad-bc)x=0.
  • A constant forcing term gives an equilibrium where x˙=y˙=0\dot{x}=\dot{y}=0.
  • There are two arbitrary constants overall.

Coupled equations

Eliminate one variable to get a second-order equation, solve it, then recover the other variable.

A coupled system has one independent variable tt and two dependent variables, with each derivative depending on both:

x˙=ax+by+f(t),y˙=cx+dy+g(t).\dot{x}=ax+by+f(t),\qquad\dot{y}=cx+dy+g(t).

You cannot solve either equation alone. The method is to eliminate one variable to get a second-order equation in the other, solve that, then recover the second variable.

  1. 1

    Rearrange

    make the other variable the subject of one equation

  2. 2

    Differentiate

    that equation

  3. 3

    Substitute

    use the other equation to get a second-order equation

  4. 4

    Solve

    find the CF and PI for the first variable

  5. 5

    Recover

    use the first equation to find the second variable

Solving a coupled system

How many arbitrary constants are in the general solution of a coupled pair of first-order equations?

Eliminating a variable

Its coefficients come from the matrix: −(a+d)-(a+d) on x˙\dot{x} and (ad−bc)(ad-bc) on xx.

For x˙=ax+by\dot{x}=ax+by and y˙=cx+dy\dot{y}=cx+dy, eliminating yy gives x¨−(a+d)x˙+(ad−bc)x=0\ddot{x}-(a+d)\dot{x}+(ad-bc)x=0. Use this as a check on your working.

Solve the auxiliary equation to get xx, then find yy from the first equation. Do not solve for yy separately: its own second-order equation would introduce extra constants that need not satisfy both original equations.

  • Second-order equationx¨−(a+d)x˙+(ad−bc)x=0\ddot{x}-(a+d)\dot{x}+(ad-bc)x=0

Worked example

Solve x˙=2x+y\dot{x}=2x+y, y˙=3x+4y\dot{y}=3x+4y.

For x˙=x+2y\dot{x}=x+2y, y˙=3x+2y\dot{y}=3x+2y, what is the coefficient of xx in x¨+px˙+qx=0\ddot{x}+p\dot{x}+qx=0?

Systems with forcing

The solution is the complementary function plus a particular integral, which is the equilibrium.

If f(t)f(t) or g(t)g(t) is non-zero, the second-order equation is non-homogeneous, so the solution is complementary function plus particular integral.

The constants in the PI are the equilibrium values, where x˙=y˙=0\dot{x}=\dot{y}=0. As t→∞t\to\infty the exponential terms vanish and (x,y)(x,y) tends to the equilibrium.

  • Equilibriumx˙=y˙=0\dot{x}=\dot{y}=0
  • PI for constant forcingthe equilibrium values

Worked example

Solve x˙=−2x+y\dot{x}=-2x+y, y˙=x−2y+9\dot{y}=x-2y+9.

In the example, set x˙=y˙=0\dot{x}=\dot{y}=0. What equilibrium do you get?

Initial conditions

Use one condition on each variable: x(0)x(0) and y(0)y(0) give two equations for AA and BB.

There are two arbitrary constants overall, not four.

Write xx with AA and BB, obtain yy from the first equation, then use x(0)x(0) and y(0)y(0) to find both constants.

You need a condition on each variable, or equivalently x(0)x(0) and x˙(0)\dot{x}(0). Check by substituting back into an original equation.

  1. 1

    Solve for xx

    with constants AA and BB

  2. 2

    Find yy

    from the first equation

  3. 3

    Apply conditions

    x(0)x(0) and y(0)y(0)

  4. 4

    Solve

    the pair of equations for AA and BB

Finding the constants

Worked example

For the system above, find the solution with x(0)=y(0)=0x(0)=y(0)=0.

With x(0)=2x(0)=2 and y(0)=1y(0)=1, which equations find AA and BB?

Predator and prey

Read the roles from the signs of the cross terms, solve, then interpret in context.

Let xx be the prey and yy the predators. In x˙=3x−2y\dot{x}=3x-2y, prey grow by themselves (+3x+3x) but are eaten (−2y-2y). If y˙=x\dot{y}=x, predators increase with prey.

Identify the roles from the signs of the cross terms. A term that reduces one population and helps the other signals a predator-prey model.

Comment on limitations: unlimited growth (no carrying capacity), constant rates, and only two species.

0.20.40.60.811.21.420406080100120140xy(0, 7)(0, 4)x = e^t + 6e^(2t)y = e^t + 3e^(2t)
Prey x and predators y (hundreds) both grow without limit; prey stay ahead.

Worked example

With x(0)=7x(0)=7 and y(0)=4y(0)=4 (hundreds), solve x˙=3x−2y\dot{x}=3x-2y, y˙=x\dot{y}=x.

Why is this predator-prey model unrealistic as t→∞t\to\infty?

Try an exam question

Solve x˙=x+2y\dot{x}=x+2y, y˙=4x−y\dot{y}=4x-y, giving xx and yy in terms of tt and two arbitrary constants.

[5 marks]

That's the notes covered.

Carry on to the next subtopic.

Try a question

Eliminating yy gives which second-order differential equation for xx?

1 mark, marked against the mark scheme

Revision notes