9. Linear Systems
In each case, use Maxima to find the eigenvalues and eigenvectors of the system. Determine what kind of equilibrium point each of the systems have and plot their phase portraits.
(a) In Maxima
(%i2) A: matrix ([1,1], [4,1])$
(%i3) eigenvectors (A);
(%i4) plotdf (list_matrix_entries (A.vars), vars, [vectors,"blank"]);
And after tracing some evolution curves, the phase portrait is the following
the eigenvalues are 3, with eigenvector (1, 2), and −1, with eigenvector (1,-2). The equilibrium point is then a saddle point.
(%i6) eigenvectors (A);
(%i7) plotdf (list_matrix_entries (A.vars), vars, [vectors,"blank"], [x,-2,2], [y,-2,2]);
The eigenvalues are −4, with eigenvector (1, -1/ ), and −1, with eigenvector (1, ). The equilibrium point is an attractive node.
(%i9) eigenvectors (A);
(%i10) plotdf (list_matrix_entries (A.vars), vars, [vectors,"blank"], [x,-2,2], [y,-2,2]);
There is only one eigenvalue equal to 2, with eigenvector (1, −1). The equilibrium point is an improper repulsive node.
The figure shows the hypothetical evolution curve of a ball in free fall which after bouncing off the ground is thrown vertically up, in the case when there is no energy loss during the motion or the collision with the ground. The positive part of the plot corresponds to the vertical motion of a projectile with negligible air resistance. The negative part of the plot represents the elastic deformation of the ball during the collision with the ground; during the time of contact with the ground, it has been assumed that the vertical motion of the ball is that of a simple harmonic oscillator without energy dissipation.
Knowing that the maximum height the ball reaches is = 10 m and the maximum deformation of the ball during the collision with the ground is = 1 cm, determine:
- The maximum speed of the ball during its motion.
- The angular frequency of the elastic deformation of the ball.
- The time that the ball remains in contact with the ground.
(a) At the point of maximum height, with coordinates (10, 0) in phase space, the mechanical energy is
and at the point (0, ), where the speed is maximum, the potential energy is zero and the mechanical energy is then equal to the kinetic energy
(b) At the point (−0.01,0), where the deformation of the ball is maximum, the kinetic energy is zero and the mechanical energy is equal to the potential energy of a harmonic oscillator with elastic constant
The angular frequency of the oscillation is then
(c) Since the evolution curve for the ball, during its time of contact with the ground, is half of an ellipse, the time it remains in contact with the ground is half of the period of the harmonic oscillator
A cylinder with mass is hanging on the vertical from a spring with elastic constant , as shown in figure 6.2; if is the height of the center of mass of the cylinder in the position where the spring is not deformed and neglecting the air resistance:
- Find the equation of motion, either from the Lagrange equation or from Newton's second law.
- Find the value of at the equilibrium point.
- Show that the system can be written as a linear system changing variable to a new variable and that the equation of motion in terms of is that of a simple harmonic oscillator with angular frequency .
(a) The kinetic energy and the potential energy, elastic plus gravitational, are
The Lagrange equation is
and the equation of motion is
(b) In the equilibrium point and are both zero; therefore,
(c) For the system to be linear, the constant term should not appear in the equation of motion. We can introduce a new variable such that
namely, and thus , leading to the equation of motion
which is the equation of a simple harmonic oscillator with angular frequency
A cylinder has circular base with area cm2, height cm and density g/cm3. Since its density is less than that of water, g/cm3, when the cylinder is immersed in water it floats on the surface, with a part of height outside the water, as shown in the figure ( ). If the cylinder is pushed downwards, it oscillates with changing in terms of time. Use the following procedure to analyze the oscillations of the cylinder:
- The buoyant force exerted by the water on the
cylinder is equal to the weight of the water that the
cylinder displaces; namely,
- Derive the equation of motion for the cylinder (expression of in terms of ).
- Determine the value of in the equilibrium position of the cylinder.
- Show that the dynamical system associated to the motion of the cylinder is linear and find its matrix.
- Show that the equilibrium point in phase space is a center, which means that the cylinder oscillates, and find the oscillation period of the cylinder.
- The resultant force is vertical and with value equal to
(positive if it points upwards or negative if it points
- The mass of the cylinder in grams is
- The value of
for which the acceleration,
, is zero is
- The two evolution equations are:
- The characteristic equation for this matrix is
. The two eigenvalues are then purely imaginary numbers
A transformer has two coils, the first coil has resistance and inductance and the second coil has resistance and inductance . When an oscillating voltage source is connected to the first coil, it produces a current , which induces a current in the second coil. When the source is disconnected from the first coil, the two currents gradually go down to zero, according to the following two equations:
where is the mutual inductance between the two coils and all the constants , , , and are positive.
- Write down the transformer equations as the evolution equations for a linear dynamical system and find the matrix of that system.
- In a real transformer, is less than . For the case , , , , (using some system of units in which those parameters are between 0 and 10), find out what kind of equilibrium point the system has.
- The values , , , and , describe a hypothetical case which cannot be a real transformer, since . Determine what kind of equilibrium point that system has and explain why it cannot describe a real transformer.
(a) The two equations of the transformer can be solved to obtain the expressions for and . Then Maxima's program coefmatrix can be used to extract the matrix of those two linear evolution equations; the input parameters for that program are the list of linear expressions and the list of variables.
(%i12) eq2: L2*dI2+M*dI1+R2*I2=0$
(%i13) sys: solve ([eq1, eq2], [dI1, dI2]);
(%i14) vars: [I1, I2]$
(%i15) A: coefmatrix (map (rhs, sys), vars);
(b) The values given for the parameters are substituted in the system matrix and the eigenvalues and eigenvectors of that matrix are then computed:
(%i17) eigenvectors (A1)$
(%i18) float (%);
(%o18) [ [ [-1.527, -0.1871], [1.0, 1.0] ], [ [ [1.0, -0.4484] ], [ [1.0, 1.115] ] ] ]
The two real and negative eigenvalues mean that the equilibrium point is an attractive node.
(c) The components of the phase velocity are the right-hand sides of the equations stored in the list sys
(%i20) plotdf (u1, vars)$
And after plotting some evolution curves, including those that approach the equilibrium points, the following phase portrait is obtained:
(d) Replacing the values given, the matrix of the system and its eigenvalues are,
(%i22) eigenvectors (A2)$
(%i23) float (%);
(%o23) [ [ [-0.1498, 1.483], [1.0, 1.0] ], [ [ [1.0, 0.9348] ], [ [1.0, -0.5348] ] ] ]
Therefore, the equilibrium point would be a saddle point, which cannot describe a real transformer since it would be an unstable system in which the currents would grow to infinity.
A radioactive isotope A decays giving rise to another radioactive isotope B; this second isotope then decays into a stable isotope C.
If and stand for the number of A and B isotopes at any given instant , their derivatives with respect to time obey the following equations:
where is the decay constant for isotopes A (probability that an isotopes decays during a unit of time) and is the decay constant for isotopes B.
- Find the matrix of the system and its eigenvalues.
- Taking into account that the decay constants and are positive, explain what kind of equilibrium point the system can have for any possible values of those constants.
- If at an initial instant the number of isotopes of the three kinds A, B and C are respectively , and , where is Avogadro's number, what will be the values of , and after a long time?
(a) The system matrix and its eigenvalues are:
(%i25) eigenvectors (A);
(%o25) [ [ [ , ], [1, 1] ], [ [ [0, 1] ], [ [1, ] ] ] ]
(b) There are two different cases. First, if and are different, there will be two real and negative eigenvalues; hence, the equilibrium point would be an attractive node. But if the two constants and are equal, there is only one eigenvalue, real and negative, and the equilibrium point would be an improper attractive node.
(c) Since the equilibrium point at the origin is attractive, after a long interval of time the system approaches the equilibrium point, namely, and . The extinction of the A and B isotopes mean that all the initial isotopes will become of kind C and, therefore, the final number of C isotopes, , equals the total number of isotopes at the initial instant, .
The evolution equations for a family of dynamical systems are:
where is a real parameter with any value between and . Determine for which values of the point ( , ) = (0,0) can be an attractive or repulsive node, attractive or repulsive focus, center or saddle point.
There are several ways to solve this problem. A simple method is as follows: the matrix of the system is,
which has trace and determinant equal to:
Thus, the relation between the trace and the determinant is . In a 2-d plot with in the domain axis and in the other axis, this is represented as a straight line with slope 1, passing through the point where the trace is and the determinant is zero.
The borderline between the regions where the system has a node or a focus is the parabola , which intersects the straight line at the two points where:
The following plot shows the straight line and the parabola.
The equilibrium point is a saddle point when the trace of the matrix is less than , it is an attractive node if the trace is between and , an attractive focus if the trace is between and 0, a center if the trace is equal to zero, a repulsive focus if the trace is between 0 and or a repulsive node if the trace is greater than . Keeping in mind that is equal to the trace, we can then conclude:
- Saddle point if
- Attractive node if
- Attractive focus if
- Center if
- Repulsive focus if
- Repulsive node if
Notice that for the equilibrium point is an improper node, which has already been include in the cases above. If , the determinant is zero, indicating that the system reduces to a single differential equation, , which corresponds to a system with only one state variable and an attractive equilibrium point. In that case, the second evolution equation shows that equals plus a constant.