This set practises the lessons on the sine and cosine combined, damped oscillations, the exponential input theorem and resonance and practical resonance. It follows MIT's Problem Set 4, in our own words.
MIT's set has two parts. Part II holds MIT's four own problems, and all four are written out below, with hints and solutions of our own. Part I is a short list of exercises from MIT's notes and from a textbook; the last section of this page lists them. MIT labels each problem with the day of the lecture that it belongs to. Problem 13 belongs to MIT's lecture on forced systems and the exponential response formula, Problem 14 to the one on phase lag and complex gain, Problem 15 to the one on operators and resonance, and Problem 16 to the one on frequency response. This site's lessons cover these topics in Lectures 8, 10, 12, 13 and 14.
Three of the problems use MIT's "Mathlets", small interactive programs (Forced Damped Vibrations; Amplitude and Phase: Second Order I). You do not need them here: where MIT asks you to measure something with a Mathlet, we ask you to compute it, and a plot from any tool you like (a graphing calculator, a spreadsheet, a few lines of code) is a good way to compare. The sheet does not give the mass of the Amplitude and Phase Mathlet; MIT's solution uses , and so do we.
MIT's solutions, which are on OpenCourseWare, stop after part (b) of Problem 15: Problem 15(c) and Problem 16 have no solution there. Those solutions are ours alone.
How to answer#
Work each problem on paper first. Then type your result in the answer box and press Check. A formula box takes plain typing, for example exp(3*t)*cos(4*t), and accepts every correct way of writing the answer. Type t for and w for . A number box wants a decimal number, not a fraction or a square root. Keep all the digits your calculator shows while you work. Unless a box asks for more digits, give 3 significant figures in the box; an answer with only 2 significant figures may or may not be accepted. Angles are in radians. If you are stuck, open the hints one at a time. Each problem or part ends with its full solution. Try before you open it: an answer given after its solution was opened earns no points. Your score is kept in this browser only.
MIT gives the points of Problems 13, 14 and 15(a) and (b) in its solutions, and we use them. MIT's solutions give no points for Problem 15(c) and Problem 16: we gave 6 points to 15(c) and 26 to Problem 16, split over the parts by ourselves. In every problem we also split the points over the answer boxes ourselves. The sheet's page numbers count its pages, from 1.
Problem 13#
Superposition and the exponential response formula
(a)4 points
Find the general real solution of
In words
x dot plus 2 x equals e to the power 3 t cos 4 t
MIT suggests writing the right side as the real part of a complex exponential and using the exponential response formula (ERF). The box asks for the particular solution that this method gives. The general solution is plus a solution of the homogeneous equation.
Hint
Which complex exponential has as its real part? Replace the right side by it, and call the unknown .
Hint
The ERF divides the exponential by the characteristic polynomial , evaluated at the exponent. Here . Evaluate it at the complex exponent and rationalise: .
Hint
Multiply the result by and take the real part.
Solution
The idea. The input is the real part of . The equation is linear with real coefficients, so the real part of the solution for the complex input solves the real equation. The ERF gives the complex solution directly.
Complexify and use the ERF
Let solve . The characteristic polynomial is , and the exponent is , so and the exponential input theorem applies:
In words
z sub p equals e to the power alpha t over p( alpha ) equals e to the power the quantity 3 plus 4 i, t, end of power, over the quantity 5 plus 4 i
Take the real part
Since and ,
In words
x sub p equals Re z sub p equals e to the power 3 t over 41 Re ( the quantity 5 minus 4 i, the quantity cos 4 t plus i sine 4 t, ) equals e to the power 3 t over 41, times the quantity 5 cos 4 t plus 4 sine 4 t
The homogeneous equation has the solution , so the general real solution is . [MIT's solution writes the factor as , which should be , and its last line has and in place of and . Its line is right.]
Check the result
At : , and , because the derivative of the bracket at is . So , as the equation demands.
(b)4 points
Find the general real solution of
In words
x double dot plus x dot plus 2 x equals cos t
MIT asks you to write the sinusoidal solution in two ways: as , and as . The first box asks for (it turns out that is the same number), the second for the phase lag , in radians, between and .
Hint
Replace by , whose real part it is, and use the ERF with .
Hint
Rationalise , multiply by and take the real part. For the second form, write in polar form (a size times to the power times an angle), or use the sine and cosine identity of Lecture 8.
Solution
The idea. The same method as in (a), now with a second-order polynomial, and then a change from the Cartesian form to the polar form .
The ERF
With : , which is not zero, so
In words
z sub p equals e to the power i t over the quantity 1 plus i, equals the quantity 1 minus i, all over 2, times the quantity cos t plus i sine t
Two forms of the real part
The real part is , so . In polar form , so :
In words
x sub p equals 1 over the square root of 2, times cos the quantity t minus pi over 4, capital A equals 1 over the square root of 2 equals 0.7071, phi equals pi over 4 equals 0.7854
The general solution is . The characteristic polynomial has the roots , so
In words
x sub h equals e to the power minus t over 2, end of power, the quantity c one cos the square root of 7 over 2, times t plus c two sine the square root of 7 over 2, times t
Check the result
The two forms agree: , and . Direct substitution at : , , , so .
(c)4 points
MIT now has you open the Mathlet Forced Damped Vibrations, with the mass , the damping constant and the spring constant , so that the equation of part (b) is the equation of the Mathlet with its forcing amplitude set to . Start it from , and measure the pseudoperiod of the oscillation, which is the time between successive times at which the solution crosses zero in the same direction. MIT asks how well the measurement agrees with part (b).
Here you compute it instead. The box asks for the pseudoperiod, in the time units of the equation.
Hint
With no forcing, the equation is . Its solutions are those of in part (b).
Hint
The oscillating factor of has the angular frequency (the damped, or pseudo, frequency). The period is divided by it.
Solution
The idea. The damping factor only shrinks the oscillation; the zeros are those of the cosine and sine, which repeat with the period of their argument.
The pseudoperiod
The roots of the characteristic polynomial, found in part (b), are with . A solution crosses zero (in one direction) once per period of :
In words
capital T d equals 2 pi over omega sub d equals 4 pi over the square root of 7 equals 4.7496
Compare with a measurement
MIT measured the first six zeros of the Mathlet's solution at . Zeros of a damped oscillation come every half pseudoperiod, so the average gap, , doubled, gives , which agrees with to about half a per cent.
(d)4 points
Keep , , and set the forcing to , as in part (b). MIT has you select the steady state curve in the Mathlet, measure its amplitude and its value at , compare them with part (b), and also compute . Do it by computation. The three boxes ask for the amplitude of , for and for .
Hint
Use the polar form of part (b), , with and from there.
Hint
For differentiate the polar form first: the derivative of is .
Solution
The idea. Everything follows from the one formula of part (b).
The three numbers
The amplitude is . At ,
In words
x sub p (0) equals capital A cos (- pi over 4 ) equals one half, x p dot (0) equals minus capital A sine (- pi over 4 ) equals one half
MIT measured the amplitude as and as about on the Mathlet: good agreement.
Check the result
The values agree with the Cartesian form of part (b): at it is , and its derivative is at .
(e)5 points
Now choose rest initial conditions: and . The solution is , with the of part (b) and the transient (the Mathlet draws all three curves). Compute . The box asks for the formula of .
Hint
must have the form of part (b), with two constants. Which two conditions do the rest conditions put on and , given and from part (d)?
Hint
Use the form . The constant is . For remember that the factor also has to be differentiated.
Solution
The idea. The particular solution of part (b) does not satisfy the rest conditions. The transient is chosen to cancel its value and its velocity at .
The conditions on
The full solution has and , so with part (d):
In words
x sub h (0) equals minus x sub p (0) equals minus one half, x sub h dot (0) equals minus x p dot (0) equals minus one half
The constants
Write , with . Then , so . Differentiating, , and this must be :
In words
b equals 2 over the square root of 7, times the quantity minus one half minus one quarter, equals minus 3 over the quantity 2 the square root of 7, x sub h equals e to the power minus t over 2, end of power, the quantity minus one half cos the square root of 7 over 2, times t minus 3 over the quantity 2 the square root of 7, times sine the square root of 7 over 2, times t
Check the result
At the formula gives , and . Added to they give and . And as : the solution settles on the steady state.
Problem 14#
A spring driven through its top end: complex gain
MIT's problem uses the Mathlet Amplitude and Phase: Second Order I. A mass hangs on a spring and a dashpot. The dashpot is fixed, and the top end of the spring is moved up and down: its position is the input signal . The position of the mass is the response , of which we look only at the steady state. The spring pulls on the mass with the force and the dashpot with , so Newton's law, with , gives
In words
x double dot plus b x dot plus k x equals k cos omega t
(Our statement of the model: MIT's sheet describes the system in words.) The input has amplitude , so the amplitude of the response is the gain. Take , and .
(a)8 points
MIT asks you to verify the gain and the time lag that the Mathlet displays. Compute them: the gain, and the time lag, which is the time by which the response lags behind the input (the phase lag divided by ).
Hint
Complexify: replace by . The ERF needs the characteristic polynomial at .
Hint
With the given numbers is a very simple number. Write the response as , put it in the form and read off and .
Solution
The idea. Replace the input by a complex exponential, divide by the characteristic polynomial at (the ERF), and take the real part. The size of the complex number in front is the gain, and minus its argument is the phase lag.
The ERF at
The equation is . Complexified, the input is , and
In words
p(2 i) equals (2 i) squared plus one half (2 i) plus 4 equals minus 4 plus i plus 4 equals i
so , and its real part is .
Gain and lag
The gain is the amplitude , and the phase lag is (the response is a sine where the input is a cosine). The time lag is
In words
t nought equals phi over omega equals the quantity pi over 2, all over 2 equals pi over 4 equals 0.7854
Check the result
At the term is zero and only the damping term is left, so is purely imaginary, which makes the phase lag exactly a quarter of a period. Substituting into the equation gives , as required.
(b)8 points
The complex gain is the number for which the complex response to the input is . For this system find , the gain as a function of , and , where is the phase lag, for (where the real part of is positive). Keep and .
Hint
Complexify the equation with on the right, and use the ERF with a general in place of . The result has the form .
Hint
The gain is the size of : the size of a quotient is the quotient of the sizes. The phase lag is minus the argument of , which is the argument of because is a positive real number. The tangent of an argument is the imaginary part over the real part.
Solution
The idea. For in place of the ERF gives . The complex gain is that coefficient, and its polar form holds both the gain and the phase lag.
The complex gain
The polynomial at is . Therefore
In words
capital H ( omega ) equals 4 over p(i omega ) equals 4 over the quantity 4 minus omega squared plus one half i omega
Gain and phase lag
Then and the real response is with
In words
g( omega ) equals the absolute value of capital H ( omega ) equals 4 over the quantity the square root of the quantity 4 minus omega squared, all squared plus one quarter omega squared, end of root
The polar form of a reciprocal (Lecture 7) says that the argument of is minus the argument of , so , and
In words
tan phi equals Im p(i omega ) over Re p(i omega ) equals the quantity omega over 2, all over the quantity 4 minus omega squared
For the real part of is negative and lies between and : the formula for still holds, but is then not the arc tangent of it.
Check the result
At the formulas give and , which means : the values of part (a). At : and , because a very slow input is followed exactly.
Problem 15#
Resonance and undetermined coefficients
Find the general real solution of each equation. MIT's solutions give 6 points to each of (a) and (b). In each part the box asks for one particular solution .
(a)6 points
In words
x dot plus x equals e to the power minus t
MIT asks you to use the resonant case of the exponential response formula.
Hint
The input is with . Is a root of the characteristic polynomial ?
Hint
If it is a simple root, the ERF divides by instead.
Solution
The idea. The input is already a solution of the homogeneous equation, so the ordinary ERF fails; the resonant ERF puts one factor in front.
The resonant ERF
The characteristic polynomial is , and , so we are in the resonant case. Since , the root is simple, and
In words
x sub p equals t e to the power minus t over the quantity p prime (-1), equals t e to the power minus t
With the homogeneous solution the general solution is .
Check the result
, so , as required.
(b)6 points
In words
d cubed x over d t cubed minus d x over d t equals t squared plus 1
The box asks for the particular solution of the form of a polynomial in with no constant term (a constant would be a homogeneous solution, so it can be added freely).
Hint
Undetermined coefficients do not work directly with the guess : the polynomial has . Look at what the equation says about instead.
Hint
For the equation is , which has . Try and match the coefficients of , and . Then integrate .
Solution
The idea. The equation contains only through its derivatives, so it is a second-order equation for .
The equation for u
With the equation reads . Try . Then , which equals when , and , so :
In words
u sub p equals minus t squared minus 3
Integrate
A function with and no constant term is
In words
x sub p equals minus t cubed over 3 minus 3 t
The characteristic polynomial factors as , so the homogeneous solution is , and the general solution is .
Check the result
and , so . The degree also fits: is a root of , so the polynomial input of degree gives a polynomial solution of degree .
(c)6 points
In words
2 x double dot plus x dot equals the quantity t squared plus 1, e to the power 2 t
The box asks for the particular solution of the form times a polynomial of degree two.
Hint
The input is times a polynomial, so write and use the exponential shift rule: .
Hint
Here . Work out , and solve with . Is zero?
Solution
The idea. The exponential shift rule turns an equation with the input into one with a plain polynomial input, which undetermined coefficients solve.
Shift the operator
With and ,
In words
p the quantity capital D plus 2, equals 2 the quantity capital D plus 2, all squared plus the quantity capital D plus 2, equals 2 capital D squared plus 9 capital D plus 10
and the equation becomes . Since , a polynomial of degree two works.
Match coefficients
For : . Matching :
In words
a equals one tenth, b equals minus 9 over 50, c equals 111 over 500, x sub p equals e to the power 2 t the quantity t squared over 10 minus 9 t over 50 plus 111 over 500
The homogeneous equation has the solutions , so the general solution is .
Check the result
Put the values back into the left side of the shifted equation. The coefficient is . The coefficient is . The constant term is . So , as required.
Problem 16#
Frequency response, practical resonance and the Nyquist plot
This problem uses the system of Problem 14 again: with and for parts (a) to (c). MIT uses the Mathlet's Bode plots and Nyquist plot; you can do everything with the formulas of Problem 14, and any plotting tool will show the curves.
(a)10 points
In Problem 14 you found the gain as a function of . At it is , but is that the largest gain? Find the input frequency that makes the gain a maximum (the practical resonance frequency): MIT's hint is that it is easier to minimise the square of the denominator. Find also the largest gain. The first box asks for , the second for the largest gain.
Hint
The gain is large where the square of its denominator, , is small. Call : it is then a quadratic polynomial in .
Hint
Find the where the derivative of that quadratic vanishes, take the square root for , and put it back into the gain.
Solution
The idea. The gain is with , so it is largest where is smallest. In the variable the function is a simple parabola.
Minimise D
has the derivative , which is zero at . This is a minimum (the parabola opens upwards) and , so it is allowed:
In words
omega r equals the square root of 31 over 8 equals 1.9685
It is not , but a little below it. [This is the lecture's with and .]
The largest gain
At the minimum, , so
In words
g max equals 4 over the quantity the square root of 63 over 64, equals 32 over the square root of 63 equals 4.0316
Check the result
The largest gain, , is just above the value at , as it must be, since is the point of the maximum and is not: with a damping this light, the peak is flat and close to . As shrinks to the peak moves to , where the gain grows without limit.
(b)6 points
MIT asks you to find, by experiment, the for which the phase lag is as close to as you can get it, and then to compute from the formula for of Problem 14(b) the positive for which it is exactly . Find it by computation.
Hint
What is ? Then use and solve for .
Hint
You get a quadratic equation in . It has one positive solution, below (where ).
Solution
The idea. A phase lag of means .
Solve for ω
Setting gives , and the positive root is
In words
omega equals the quantity minus 1 plus the square root of 65, all over 4 equals 1.7656
Check the result
At this , and : the real and imaginary parts of are equal, so its argument is . Compare with Problem 14: at the lag is and at it is about , so is reached at a lower frequency, as found.
(c)4 points
The Nyquist plot is the curve traced out by the complex gain in the complex plane as runs from to . The length of the line from the origin to is the gain, and the angle below the positive real axis is the phase lag. MIT asks for a sketch of the plot with the point where the phase lag is as close to as possible. Sketch the curve of and mark that point (this part you mark yourself, with the solution). The box asks for the gain at that point.
Hint
Where does the curve start, at ? What are the real and imaginary parts of for large , and what is the sign of the imaginary part for all ?
Hint
At the point with the phase lag , use the of part (b) and the gain formula of Problem 14(b).
Solution
The idea. Write , so that the real and imaginary parts are visible.
The shape of the curve
With ,
In words
capital H ( omega ) equals the quantity 4 the quantity 4 minus omega squared, all minus 2 i omega, all over the quantity the quantity 4 minus omega squared, all squared plus one quarter omega squared
The imaginary part is negative for every , so the curve lies below the real axis. It starts at , passes through (the lowest point is near there), crosses to the negative real part for , and tends to along the negative real axis as . It is a sort of large loop through , and the origin. Draw the line from the origin at below the positive real axis; it meets the curve at .
The gain there
At , has size (from the unrounded values), so the gain is . This is the length of the line from the origin to the marked point.
Check the result
The gain is less than the peak of part (a), as it must be, and more than the value at : the point lies on the way from to .
(d)6 points
Set and , and vary . MIT asks you to observe, in the Nyquist plot, the position of the line from the origin to when you change ; then to set to another value, adjust to get a phase lag close to , and again vary ; and to explain it. Do it with formulas, for general and (with ). The complex gain is . A phase lag of puts on the negative imaginary axis. The first box asks for the gain at the frequency where that happens; the second asks what this tells about , and .
Hint
When is a quotient with a real positive numerator purely imaginary? Look at the denominator .
Hint
Write out what that says about the real and imaginary parts of the denominator. Does the condition involve ? Then evaluate at that .
Solution
The idea. A phase lag of means the argument of is : has no real part and a negative imaginary part. Because is real, that is a condition on the real part of the denominator.
The condition
has a zero real part exactly when the denominator has a zero real part, that is, when :
In words
omega squared equals k
The damping constant does not appear. That explains the observation: whatever is, the line from the origin to at this stays on the negative imaginary axis, and only its length changes.
The gain there
At the denominator is , so
In words
capital H equals k over the quantity i b the square root of k, equals minus i the square root of k over b, the absolute value of capital H equals the square root of k over b
The gain grows as shrinks, but the phase lag stays .
Check the result
For and the gain is , as in Problem 14(a). The condition is not the practical resonance condition of Problem 16(a): the peak of the gain and the lag are at slightly different frequencies, and they coincide only when .
More practice: MIT's Part I#
Part I of MIT's Problem Set 4 (20 points at MIT, not scored here) is a short list of routine exercises. Two of its items come from MIT's "18.03 Notes and Exercises", which is on MIT OpenCourseWare under the same licence as the rest of the course. They are not rewritten here: open the exercises, section 2, try them, then compare with MIT's solutions where it gives one. An exercise number such as 2F-6 means section 2, group F, exercise 6 (MIT's sheet writes 2-F6).
| For | Exercises |
|---|---|
| Forced systems and the exponential response formula: the exponential input theorem | Notes exercises 2F-6 b, c, d |
| Phase lag and complex gain: sine and cosine combined | A problem of MIT's own: find the general solution of (MIT prints its answer at the end of the sheet) |
| Operators, undetermined coefficients and resonance: resonance and beats | Notes exercises 2C-8 c, d |
MIT's list also has exercises 2, 8, 11 and 14 of Section 2.5 and exercise 17 of Section 2.6 of the course textbook (Edwards and Penney, Differential Equations), with sections of that book to read. The textbook is not openly licensed and is not used on this site, so they are not part of this page.