Acceleration that points back
A particle moves along a line, and x is its displacement from a fixed center O at time t. Its velocity is and its acceleration is . These are often written ẋ and ẍ, with one dot for each derivative with respect to time.
In simple harmonic motion the acceleration is proportional to the displacement and points back toward O: , where is a positive constant. When x is positive the acceleration is negative, and when x is negative it is positive. The pull is always toward the center, and it is stronger the farther away the particle is.
Rearranged, . This is a second-order equation with no term, and its auxiliary equation is .
Roots
From , the roots are : a complex pair with real part p = 0 and imaginary part . So , which is .
The real part 0 means there is no shrinking or growing factor, so the swings keep the same size forever. Check by substitution: differentiating twice gives .
The starting state fixes A and B. With , a particle released from rest at x = 2 has x = 2 when t = 0, so A = 2. Its velocity is , which is 2B at t = 0, so B = 0 and x = 2 cos 2t.
x = 2 cos 2t from t = 0 to . The particle swings between 2 and −2, and it is back at x = 2 at and again at : every swing has the same height and takes the same time.
The harmonic form
A cosine and a sine of the same add up to a single wave. Expanding the cosine of a difference, . This equals when and .
Squaring and adding gives , so . Dividing gives . R is the amplitude, the greatest distance from the center.
For x = 3 cos 2t + 4 sin 2t, and , so x = 5 cos(2t − 0.927). The particle swings 5 either side of O, not 3 + 4 = 7: the cosine and the sine reach their peaks at different times.
Period and speed
A cosine repeats when its angle grows by . The angle grows by in the time T where , so the period is . With , .
R does not appear in , so a larger amplitude takes exactly as long. A particle pulled twice as far out is pulled back twice as hard, so it moves twice as fast and covers twice the distance in the same time.
The velocity is , so the greatest speed is , reached as the particle passes through O. For x = 5 cos(2t − 0.927) that is 5 × 2 = 10.
Since , at every moment. With v for the velocity, that is . At x = 3 the speed is .
ẍ = −ω²x conserves ½v² + ½ω²x², so the state circles a closed ellipse of amplitude R = 1 forever, and the period 2π/ω does not depend on R
Drag the starting state out to amplitude 2
The motion , so , drawn as velocity v against displacement x. Released from rest at x = 1, the state goes round an ellipse that reaches and , because the greatest speed is . Moved out to R = 2, the ellipse doubles in both directions and the quantity goes from 2 to 8, while the period stays .
The usual mistakes
Taking for . In the coefficient 9 is , so and the period is , not .
Adding the coefficients for the amplitude. 5 cos 2t + 12 sin 2t has amplitude , not 17.
Expecting a wider swing to take longer. The period contains no amplitude.
Working in degrees. The derivative of is only when is in radians.
An inductor and a capacitor
In the application below, the charge q on a capacitor moves in simple harmonic motion: its second derivative with respect to time is −q, with time m in milliseconds, so and the period is milliseconds. It writes the equation as two first-order equations and finds eigenvalues . These are the roots of the auxiliary equation , written with because there m counts milliseconds.
Worked example: An Inductor and a Capacitor Joined in a Loop: The Circuit Equation as Two First-Order Equations, and the Current That Flows
Question A capacitor of 4 microfarads holds a charge of 20 microcoulombs. At the moment it is connected across a coil of inductance 0.25 henries, no current is flowing, and the resistance of the loop is small enough to leave out. With time m in milliseconds after the connection, q the charge on the capacitor in microcoulombs and I = dqdm the current in milliamperes, the circuit obeys Ld2qdm2 + qC = 0, with L in henries and C in microfarads. (a) Write this as a pair of first-order equations in q and I, find the eigenvalues, and describe what the charge does over time. (b) Find the greatest size of the current, and how long after the connection the current first reaches that size.
1.Name the current: dqdm = I. Then d2qdm2 = dIdm, and the circuit equation gives 0.25dIdm = −q4, so dIdm = −q. The pair has matrix 01−10.
Naming the current I = dqdm, the circuit equation 0.25dIdm = −q4 gives dIdm = −q. 2.(a) The characteristic polynomial is λ2 + 1, so the eigenvalues are ± i. Their real part is zero, so the swings neither grow nor die away: the equilibrium q = 0, I = 0 is a center, and the charge swings back and forth between the two plates forever, once every 2π ≈ 6.28 milliseconds.
(a) The eigenvalues ± i have real part zero, so the path is a closed loop round a center: the charge swings forever. 3.With eigenvalues ± i the solutions are combinations of cos m and sin m. At m = 0, q = 20 and I = dqdm = 0, so q = 20cos m and I = −20sin m.
From q = 20 and I = 0, the path is q = 20cos m, I = −20sin m, a circle traced clockwise. 4.(b) The current is greatest in size when sin m = ± 1, so the greatest size of the current is 20 milliamperes. It first reaches that size at m = π2 ≈ 1.57 milliseconds, when the capacitor is empty, q = 20cosπ2 = 0. The minus sign in I = −20sin m says that it flows in the direction that discharges the capacitor.
(b) The current is greatest, 20 milliamperes, a quarter of a turn on, at m = π2 ≈ 1.57 milliseconds. 5.Check by energy: at the start the capacitor stores q22C = (20 × 10−6)22 × 4 × 10−6 = 5 × 10−5 joules, and at the greatest current the coil stores 12LI2 = 12 × 0.25 × 0.022 = 5 × 10−5 joules, the same. In a real circuit a little resistance gives the eigenvalues a small negative real part, and the swings slowly die away.
Check: the capacitor's q22C at the start and the coil's 12LI2 at the peak are both 5 × 10−5 joules.
Answer: (a) dqdm = I and dIdm = −q; the eigenvalues are ± i, a center, so the charge swings between 20 and −20 microcoulombs forever, once every 2π ≈ 6.28 milliseconds; (b) 20 milliamperes, first after π2 ≈ 1.57 milliseconds
Common mistakes
- Writing q = 20sin m, forgetting that the current, not the charge, starts at zero. That formula gives no charge at the start. The charge starts at its greatest value, 20, so it follows the cosine, and the current, its derivative, is −20sin m.
- Reading eigenvalues ± i as a sign that the charge dies away, because they are not positive. Only a negative real part makes the swings die away; with a real part of zero, as here, they keep the same size, and the circuit oscillates with no loss.
More coupled differential equations problems, worked step by step →