Eulers-Method e
Eulers-Method e
which in turn can be written as where the dot notation indicates a variable has been
differentiated with respect to t.
If and are the two eigenvalues of M (and the course content requires that these are distinct)
and p1 and p2 are the corresponding eigenvectors, then the solution to the system of equations is:
where the constants A and B will depend on the initial conditions for the
system and this is given in the formula booklet.
Verifying that this is a solution to the original equation can be demonstrated by differentiating each
side, and using the properties of eigenvalues and eigenvectors.
Differentiating gives:
Real eigenvalues
If the eigenvalues are real, students should be able to find and interpret a particular solution to the
equation.
The course specifies finding exact solutions in the case of real distinct eigenvalues only. Students
will not be asked to find particular solutions in the case of complex or imaginary eigenvalues, as this
is not covered in the course content.
Example question
a. Find the general solution of the following system of equations.
Solution
a.
or 2
Hence
so an eigenvector is
−1 2 x
and when λ =2 = 0
3 −6 y
1
y= x so the other eigenvector is
2
b. To find the particular solution for the initial conditions the values given are substituted into the
general equation in order to find values for A and B.
A trajectory shows the path traced out by a solution to the system of equations, as the value of t
increases.
Real eigenvalues
For systems with real eigenvalues there are three possibilities depending on the signs of the
eigenvalues.
In this case the trajectories will approach the along the direction of the eigenvector with the
least negative eigenvalue.
If then the movement will be away from the origin with the trajectories tending towards
the direction of the eigenvector with the largest eigenvalue.
shown below:
Complex eigenvalues
Because they come from the solution of a quadratic equation complex eigenvalues will always form
conjugate pairs.
The fact that indicates that second factor introduces circular motion to the
at
system. The first factor, e , will ensure the trajectory spirals away from when and
towards when .
In exams candidates will be expected to be able to determine whether the direction of the trajectory
is clockwise or counterclockwise. One way of determining this is to find the value of as a trajectory
crosses the x-axis or the value of as it crosses the y-axis.
Example question
Sketch the trajectory of the solution to the following system of equations:
Solution
Following the same method as the previous example the eigenvalues can be calculated:
The real part is greater than zero so the trajectory will move away from .
Imaginary eigenvalues
In this case the trajectories will form circles or ellipse with as a centre. The direction of the
trajectories can be determined in a similar manner to that of the complex eigenvalues. The value of
and can give an indication of the alignment of the ellipse.
Phase portrait
A phase portrait shows a series of trajectories for different initial conditions. The trajectories partition
the plane and so will never cross each other.
Example question
Sketch the phase portrait given the following information. are the two eigenvalues and p1
and p2 are the corresponding eigenvectors.
1. , , ,
2.
l2 = 3
, , ,
Solution
1.
2.
3. The trajectories will be elliptical. Consider a point on one of the axes, for example
4. The trajectories will form spirals. Because the real part is negative they will approach .
To find the direction of the spirals consider a point on the x (or y) axis.
For example
Fortunately there are many numerical methods for finding approximate solutions, one of which is the
Euler method covered in this course.
For
dx
= f1 (x, y,t)
dt
dy
= f 2 (x, y,t)
dt
The Euler formula is
Example question
Use the Euler method with a step length of 0.1 to find the value of x and y when , given that
when
Solution
Values when are
TI-84
The screenshots below illustrate the process on a TI-84 calculator.
To aid the entry of the sequences the button enters n and allows various
options for the entry of the functions.
The first sequence entered gives the values of t, the second gives x and the third gives y .
HP-Prime
The process is similar on an HP-Prime
The takes you to the function entry page and the sequences are entered.
Casio fx9750GII
Choose RECUR from the app menu.
To enter the sequences use or F4 which gives the options for the terms as below.
Contexts
Common contexts for these questions include predator-prey models, population changes and the
spread of diseases (for example using the SIR model).
This method of writing second and higher order differential equations as a system of linear equations
is a frequently used technique.
The questions in an exam will often be set in a context but knowledge of the context from outside
the syllabus will not be required. Any interpretation required will be on the general properties of
differential equations or will use information given in the question.
Example question
A mass, M, is attached to the end of a spring. Let x be the displacement of M (measured in cm) from
an equilibrium position and at t = 0, let M be at rest with x = 2.
The subsequent motion of M can be described by the second order differential equation:
(iii) Indicate on your diagram the first point for at which the velocity is equal to zero.
(i) The time, to the nearest tenth of a second, at which M again has a maximum (positive)
displacement.
Solution
a.
b.
(i)
(ii) The trajectory will spiral towards . At the point so the spiral is
clockwise.
c. (i)
(ii)