It will be purely βimaginaryβ.
It will be purely βrealβ.
It will be complex, that is with a non-zero real part and a non-zero imaginary part.
There is no way to tell for sure.
question id: pine-bring-window-1
π‘ Loading...
Exercise 1 Friction is an inevitable feature of real-world spring-mass systems. Without friction the spring-mass force-balance differential equation is
For a mass moving at velocity
Since weβve gotten in the habit of using
As the name βdamped harmonic oscillatorβ suggests, we expect that the solution to the force-balance equation will be a βdampedβ oscillation, that is an oscillation that decreases in amplitude over time as friction draws energy out of the system (and dissipates it as heat). But how fast and in what form will the amplitude decrease?
It will be purely βimaginaryβ.
It will be purely βrealβ.
It will be complex, that is with a non-zero real part and a non-zero imaginary part.
There is no way to tell for sure.
question id: pine-bring-window-1
No
Yes, one eigenvalue can be positive.
Both eigenvalues must be positive.
Depends on the specific values of
question id: pine-bring-window-2
When friction dominates (that is, large
It will be purely βimaginaryβ.
It will be purely βrealβ.
It will be complex, that is with a non-zero real part and a non-zero imaginary part.
There is no way to tell for sure.
question id: pine-bring-window-3
Suppose that we define
An exponentially decaying sinusoid
An exponentially growing sinusoid
An ordinary sinusoid.
question id: pine-bring-window-4
Exercise 2 Letβs plot
The βrealβ part
The βimaginaryβ part
The negative of the βimaginaryβ part
The negative of the βrealβ part
question id: tiger-sharpen-fork-1
Now letβs consider
question id: tiger-sharpen-fork-2
question id: tiger-sharpen-fork-3
question id: tiger-sharpen-fork-4
question id: tiger-sharpen-fork-5
Exercise 3 Passive electrical circuits
Second-order differential equations are used to model simple electrical circuits. In a step outside of calculus (meaning: you wonβt be examined on it) it is worth pointing out the correspondence between concepts of motion (acceleration, velocity, position) and electrical circuits (voltage, current, charge). There are three classical idealized passive components of circuits:
In every case, we will be interested in the voltage across the two ends of the component. And we will think about the dynamics of the circuit in terms of electrical charge which we will denote
Only a capacitor is capable of holding a voltage on its own. The other circuit elements can carry a voltage when they are part of a circuit. we will explore a simple circuit.
To prime the circuit, we will connect the two dots at the bottom of the circuit with a battery. This will charge up the capacitor in much the same way as we βcharge upβ a spring by pulling on it. Next remove the battery and get ready to observe the motion. Complete the circuit by closing the switch between the two dots. Doing so establishes the circuit, analogous to setting up the dynamics of the system. The initial condition is the amount of charge
The βforce-balanceβ is the requirement that the sum of the voltages across the circuit elements be zero. This amounts to
question id: falcon-shut-hamper-2
Exercise 4 XREF not implemented yet gives the equations for the motion of a cannonball with a simple model of air resistance and shows how to integrate them numerically with integrateODE()
.
You task is to set the initial conditions for velocity so that the ball is being fired 250 feet per second at an angle
Once you have the numerical integration working, find an argmin for
Exercise 5 Most any mathematics textbook devotes a considerable amount of space to deriving formulas. This is well and good. But in practical work, there is considerable room for error even if you already know the formula.
It is a good professional practice to try to have at least two ways to perform a calculation so that you can confirm that you are doing the calculation properly. In this exercise, we give you a formulas for the eigenvalues and eigenvectors of an abcd matrix. And, of course, there is the eigen()
function that should give the same results as the formula.
Your task is to use both eigen()
and the formulas directly to confirm that the two calculations are the same. The formulas have symbols; replace these with numbers of your choice to do the calculations.
You might start with numbers that are simple integers, then switch to numbers that are more or less random.
The formula for the eigenvalues of an abcd matrix
Once you know the eigenvalues, the eigenvectors can be calculated this way:
Calculate the eigenvalues and eigenvectors of
Calculate the eigenvalues and eigenvectors of
Calculate the eigenvalues and eigenvectors of
Exercise 6 An eigenvector
Your task:
Construct a numerical abcd matrix with whatever values you like and, using eigen()
, calculate its eigenvalues and eigenvectors.
Multiply the matrix by one of the eigenvectors to create a new vector.
Confirm that the vector in (2) is proportional to the eigenvector. When two vectors are proportional, dividing component-wise one vector by the other will create a vector with every element the same. (Note: if both of the vectors in the division have any zero component, the result of the division will be NaN
. In contrast, if one of the vectors has a zero component, but the other does not, you will get a result of 0 or Inf
for that component.)
Exercise 7 Youβve seen that sometimes the two eigenvalues of an abcd matrix are complex numbers, that is, have a nonzero imaginary part. You may also have noticed that the eigenvalues are closely related to one another: the imaginary part of one will be the negative of the imaginary part of the other. Such vectors are called complex conjugates.
Whenever a matrix has a complex eigenvalue, it will also have the complex conjugate of that eigenvalue; complex eigenvalues always come in pairs.
For a 2x2 matrix, there will be two eigenvalues. If one is complex, the other will be the complex conjugate.
For a 3x3 matrix, either one or all three of the eigenvalues will not be complex.
Hereβs a way to generate a random nxn matrix:
Your task: for 1.548950+0.00000i
is a real eigenvalue, because the imaginary part is zero.)
Exercise 8 Consider the second-order linear differential equation
The only state variable listed explicitly in the second-order equation is
Define a new state variable
Confirm that the matrix equivalent to the pair of first order equations is
The ab-matrix in (2) has only two parameters,
To answer this question, we will return to the app that displays flows:
You can see in the ab-selector graph on the left annotations for several types of generic behaviour:
In the ab-selector graph, these are encoded by color and shading. The blue parabola marks the ab-region of oscillation; stability is indicated using dark shading. Saddles are at the top of the ab-graph. Sources and sinks are the gray arches rising up from the edges of the graph.
The shading is set by calculating the eigenvalues for each (a, b)-pair
What sorts of trajectories, if any, are not produced by ab10 compared to the possibilities provided by the abcd matrix?
Play with the
Does any new type of behavior appear when