Professional Documents
Culture Documents
In dynamical system theory, a phase space is a space in which all possible states
of a system are represented, with each possible state corresponding to one
unique point in the phase space. For mechanical systems, the phase space
usually consists of all possible values of position and momentum variables. The
concept of phase space was developed in the late 19th century by Ludwig
Boltzmann, Henri Poincaré, and Josiah Willard Gibbs.
1
called a phase line, while a two-dimensional system is called a phase plane. For
every possible state of the system or allowed combination of values of the
system's parameters, a point is included in the multidimensional space. The
system's evolving state over time traces a path (a phase space trajectory for the
system) through the high-dimensional space. The phase space trajectory
represents the set of states compatible with starting from one particular initial
condition, located in the full phase space that represents the set of states
compatible with starting from any initial condition. As a whole, the phase
diagram represents all that the system can be, and its shape can easily elucidate
qualities of the system that might not be obvious otherwise. A phase space may
contain a great number of dimensions.
For simple systems, there may be as few as one or two degrees of freedom. One
degree of freedom occurs when one has an autonomous ordinary differential
equation in a single variable, dy/dt=f(y), with the resulting one-dimensional
system being called a phase line, and the qualitative behaviour of the system
being immediately visible from the phase line. The phase space of a two-
dimensional system is called a phase plane, which occurs in classical mechanics
for a single particle moving in one dimension, and where the two variables are
position and velocity. In this case, a sketch of the phase portrait may give
qualitative information about the dynamics of the system.
Phase plane analysis is a method of analysing systems in which we plot the time
derivative of the system’s position as a function of position for various values of
initial conditions. It is mainly concerned with the graphical study of second
order systems described by
̇ ( )
̇ ( )
2
the phase plane. Such a curve is called a phase plane trajectory. A family of
phase plane trajectories is called a phase portrait of a system.
Singular points are very important features in the phase plane. Examining the
singular points can reveal a great deal of information about the properties of a
system. In fact, the stability of linear systems is uniquely characterized by the
nature of their singular points.
Figure 1.1
3
The arrows in the figure denote the direction of motion, and whether they point
toward the left or the right at a particular point is determined by the sign of ̇ at
that point. It is seen from the phase portrait of this system that the equilibrium
point is stable, while the other two are unstable.
4
2.0| Linear dynamical system
The harmonic oscillator, which we are about to study, has close analogy in
many other fields, although we start with a mechanical example of a weight on
a spring, or a pendulum with a small swing, or certain other mechanical devices,
we are really studying a certain differential equation, Some of the phenomena
involving this equation are the oscillations of a mass on a spring; the
oscillations of charge flowing back and forth in an electrical circuit; the
vibrations of a tuning fork which is generating sound waves; the analogous
vibrations of the electrons in an atom, which generate light waves, such as a
thermostat trying to adjust a temperature; complicated interactions in chemical
reactions; the growth of a colony of bacteria in interaction with the food supply
and the poisons the bacteria produce, all these phenomena follow equations
which are very similar to one another, and this is the reason why we study the
mechanical oscillator in such detail. The equations are called linear differential
equations with constant coefficients. A linear differential equation with constant
coefficients is a differential equation consisting of a sum of several terms, each
term being a derivative of the dependent variable with respect to the
independent variable, and multiplied by some constant.
Thus,
( )
5
Figure 2.1
Since we have the freedom to choose the origin of our coordinate system, we
can choose it to coincide with the equilibrium position of our oscillator. The
force that is responsible for the harmonic motion can be expanded around the
equilibrium position:
F( ) = + ( ) + ( ) + ( ) + …….
F( ) = ( ) =
Since the force F is equal to ma, we can rewrite the previous equation as
+ =0
Or,
+ =0
Where is the angular frequency of the harmonic motion. The most general
solution of this differential equation is A sin( t - φ). The amplitude and the
phase angle must be determined to match the initial conditions. The total energy
of the harmonic oscillator is constant, but the kinetic and potential energy
components of the total energy are time dependent.
As seen we can say that the differential equation governing the motion of a
harmonic oscillator
6
̈
Where m is the mass, k is the spring constant, and x is the displacement of the
mass from equilibrium, for the phase plane analysis of this simple harmonic
oscillator, since it is a linear equation it will be easy to solve it analytically, but
it will be cumbersome to solve non-linear equations in that way, so we should
deploy methods to deduce the behaviour of the equation without actually
solving them.
The motion in the phase plane is determined by a vector field that comes from
the differential equation stated above. To find this vector field, (the state of the
system is characterized by its current position x and velocity v) if we know the
values of both x and v, then the differential equation uniquely determines the
future states of the system. Therefore we rewrite the equation in terms of x and
v, as follows,
̇ , ̇
7
Now each trajectory lies on a curve in phase space with the equation:
( ), for a constant.
For E = 0, the motion is trivial: x and p are zero for all time.
8
2.2.1| Phase Portrait: undamped harmonic oscillator
Although the trajectory of the particle in real space is one way to visualize the
information of the motion of the oscillators, in general it does not provide
information about important parameters such as the total energy of the system.
More detailed information is provided by phase diagrams; they show
simultaneous information about the position and the velocity of the particle
9
(which is the information that is required to uniquely specify the motion of the
simple harmonic oscillator).
• Two phase paths cannot cross. If they would cross at a particular point, then
the total energy at that point would not be defined (it would have two possible
values).
• The phase paths will be executed in a clock-wise direction. For example, in the
upper right corner of the phase diagram, the velocity is positive. This implies
that x must be increasing. The x coordinate will continue to increase until the
velocity becomes equal to zero.
10
2.3| Damped Harmonic Oscillator
Figure 2.4
In the damped simple harmonic motion, the energy of the oscillator dissipates
continuously. But for a small damping, the oscillations remain approximately
periodic. The forces which dissipate the energy are generally frictional forces. A
mass attached to the free end of a spring with spring constant k is subject to a
damping force c. A mass on an ideal spring exhibits simple harmonic
oscillations and is described by the following differential equation:
When the oscillations are subject to a damping force, the motion is described
by:
Or
̈ ̇
11
To analyse the system using phase analysis rewriting the second order
differential equation as two first order differential equations;
̇ ̇
12
2.3.1| Phase Portrait: Damped harmonic oscillator
Figure 2.5
trajectory of this system can be demonstrated
even more profoundly with the use of a three-
dimensional phase plot as shown. In this plot, the vertical axis is time and the
trajectory shows how the amplitude and momentum (and thus the energy) of the
oscillations diminish rapidly at first, but more gradually as the oscillations
become smaller and less energetic.
Figure 2.6
13
3| Non-Linear Systems
̈ ̇ ( )
14
The ( ) term is responsible for the periodic external force, where is
the strength of the force and the frequency of forcing
The classical restoring force can be seen from the term , which obeys
Hooke’s law, while the term represents the cubic restoring force that
controls the non-linear response of the system
The term ̈ is the acceleration of the system
The term ̇ represents the linear damping in the system
Now, to analyse the solution of the equation lets convert the non-linear
equations into a system of first order differential equations as,
̇ ( )
With the above information we can plot the phase plane of the system and thus
analyse it.
15
3.1.1| Phase Portrait: Duffing Oscillator
Figure 3.0
From the phase-plane solution, we see that the parametric curve does in fact
orbit the set of equilibrium solutions. The equilibrium (0,0) seems to be unstable
while the other equilibria (±1, 0) appear to be centres. This system is non-
chaotic in nature.
16
4| Inference
4.1| Transition To Chaos
We saw in the special case of the Duffing Equation (above) that the phase-space
solutions conserved energy and resulted in solution curves that followed a
single, exact trajectory without deviation. To eliminate conservation of energy
(and to allow the potential for chaotic behaviour in the Duffing system) two
additional terms must be included in the system. A term, ̇ must be included to
allow damping in the system and a term, ( ) must be included to allow
external forcing of the system.
At and at timespan
Figure 3.2
17
At and at timespan
Figure 3.3
Figure 3.4
is increasing the system starts
transiting to chaotic dynamics,
and is seen when is about 0.35.
18
4.2| Conclusion
The phase planes of both linear and non-linear dynamical systems were
analysed and the behaviour of solution was inferred. In the case of linear
systems, even though the systems were easy to solve analytically the phase
plane provided an insight about the behaviour of the solutions. The method is
most applicable in the case of non-linear system of equations and in our project
we considered the Duffing oscillator, which is a forced as well as a damped
oscillator. Given the difficulty in solving non-linear equations, a graphical
analysis of the system seemed to be effective. The phase plane analysis of the
non-linear Duffing oscillator revealed some intresting dynamics. The transition
of the system from deterministic to chaotic behaviour was observed and using
matlab the phase portraits for the system for different parameter values were
observed. Thus in the case of the non-linear system the phase plane analysis
seemed to be effective than the conventional analytical methods. This report
investigated the Duffing Equation for a range of parameter values. We found,
due to energy conservation, that the Duffing Equation is unable to exhibit chaos
when the oscillator is undamped and unforced (that is, ). To allow for
chaos, energy conservation is eliminated by including both a damping and an
external forcing term. Then we see, as the magnitude of external forcing is
increased, the system moves through a region of period-doubling bifurcations
and then transitions to a chaotic regime. The transition to chaos appears to occur
between . and .
19
5|Appendix
5.1| Appendix 1
Conversion of the undamped harmonic oscillator equation to a System of
ODEs:
Let ̇ , and ̈ ̇
Since, ̈
5.2|Appendix 2
Conversion of the damped harmonic oscillator equation to a System of ODEs:
Let ̇ , and ̈ ̇
We know, ̈ ̇
̇ ̇
5.3|Appendix 3
Conversion of the non-linear Duffing oscillator equation to a System of ODEs:
Let ̇ and ̈ ̇,
We know, ̈ ̇ ( )
̇ ( )
20
5.4|Appendix 4
Derivation for the energy of the harmonic oscillator system
̇ ---- (1)
̇ --- (2)
( )
( )
(taking C=E)
5.4|Appendix 4
5.4.1|Matlab Codes
Phase portrait of undamped harmonic oscillator
function phase_portraits()
close all
clc
xinitial = [5;0];
tspan = [0 10];
[tout,stateout] = ode45(@Derivatives,tspan,xinitial);
21
%%%%% phase plot
figure()
xout = stateout(:,1);
xdotout = stateout(:,2);
plot(xout,xdotout)
x = state(1);
xdot = state(2);
k = 10;
m = 1;
c = 0;
dstatedt = [xdot;xdbldot];
function phase_portraits()
close all
clc
xinitial = [5;0];
tspan = [0 10];
[tout,stateout] =
ode45(@Derivatives,tspan,xinitial);
22
%%%%%plotting w.r.t time
plot(tout,stateout)
%%%%% phase plot
figure()
xout = stateout(:,1);
xdotout = stateout(:,2);
plot(xout,xdotout)
k = 10;
m = 1;
c = 0;
function duffing_oscillator
figure(1)
fid = fopen('double.dat','w');
23
[t,y] = ode45(@(t,x)
f(t,x,b,alpha,beta,amp,w),tspan,y0,op);
x1=y(:,1); x2=y(:,2);
plot(x1,x2);
function dy = f(t,y,b,alpha,beta,amp,w)
x1 = y(1); x2 = y(2);
dx1=x2;
dx2=-b*x2-alpha*x1-beta*x1^3+amp*sin(w*t);
dy = [dx1; dx2];
24
Reference
Websites
https://ocw.mit.edu/courses/mathematics/18-03-differential-
equations-spring-
2010/readings/supp_notes/MIT18_03S10_chapter_26.pdf
https://www.ndsu.edu/pubweb/~novozhil/Teaching/266%20D
ata/lecture_23.pdf
https://tutorial.math.lamar.edu/classes/de/phaseplane.aspx
https://myweb.ntut.edu.tw/~jcjeng/Phase%20plane%20analysi
s.pdf
http://howellkb.uah.edu/DEtext/Additional_Chapters/Part6/N
onLinSys1.pdf
https://www.hindawi.com/journals/aav/2014/465489/
https://demonstrations.wolfram.com/PhasePlaneTrajectoriesO
fTheUnforcedDuffingOscillator/
25
26