AP Physics C: Mechanics / Unit 7, Oscillations / Topic 7.1
The motion that a restoring force proportional to the displacement produces, written as a differential equation.
Describe simple harmonic motion.
This page covers that learning objective.
A clock pendulum swings, a loudspeaker cone moves in and out, and a block on a spring moves back and forth along a track. Each of these motions repeats. You learned Newton’s Second Law of Motion in Unit 2 and energy in Unit 3, and both apply in this unit. This unit has two goals. The first goal is to identify the type of force that produces the repeating motion of a spring and of a pendulum. The second goal is to predict the motion when the force is known.
The force is a restoring force that is proportional to the displacement from the equilibrium position. In this course the condition is written as a differential equation, \(m\,d^2x/dt^2=-kx\). The other results in this unit are derived from this equation. The equation determines the shape of the position graph, the position of the greatest speed, the position of the greatest acceleration, and the period. This page derives the equation and shows how to recognize a system that satisfies it.
A motion is periodic when the object returns to the same position with the same velocity after a fixed time, and the motion then repeats. One cycle is one complete motion from a position, through the whole path, and back to the same position with the same velocity. In a periodic motion, each cycle takes the same time.
An oscillation takes place around the equilibrium position, where the net force on the object is zero. For a block on a horizontal spring, the equilibrium position is the position where the spring is relaxed. At that position the spring exerts no force, and the weight and the normal force cancel. A block that is placed at rest at the equilibrium position stays at rest.
The displacement \(x\) is measured from the equilibrium position. It is not measured from the wall or from the end of the motion. When \(x\) is measured from a different position, each equation on this page has an extra constant, and the equations in the form shown here are not correct.
\(F_s = -kx\)the restoring force, with the minus sign recording that it points back toward equilibrium
A restoring force is directed toward the equilibrium position, and the negative sign in the equation shows this direction.
Example: a block on a spring with \(k=32\) N/m is pulled to \(x=+0.080\) m.
\(F_s=-(32\text{ N/m})(+0.080\text{ m})=-2.6\text{ N}\)the force is in the \(-x\) direction
The block is then pushed to \(x=-0.080\) m.
\(F_s=-(32\text{ N/m})(-0.080\text{ m})=+2.6\text{ N}\)the same magnitude in the \(+x\) direction
Simple harmonic motion is a special case of periodic motion. A ball that bounces is periodic, but its motion is not simple harmonic motion. The contact force on the ball is zero while the ball is in the air, and it is very large during the contact with the floor, so the net force is not proportional to the displacement. The definition of simple harmonic motion requires a net force that is proportional to the displacement.
Remember this. In this unit, the displacement is measured from the equilibrium position. When a problem gives a length, decide whether the length is a distance from the equilibrium position or the total length of the spring. The two lengths differ by the relaxed length of the spring. Only the distance from the equilibrium position is used in \(F_s=-kx\).
The simulation below shows a block of mass \(m\) on a spring with spring constant \(k\), on a frictionless surface. Drag the block along the track to set its displacement, and read the spring force and the acceleration. Release the block to observe the motion.
Test thisDrag the block to the right until the readout shows about \(x=0.20\) m, and read the spring force. Then drag the block to the left until the readout shows about \(x=-0.20\) m, and read the spring force again. Then press Release, and observe the readout when the block passes the gold line.
Report what happened1. What were the two spring forces, in newtons, with their signs?
2. In which direction did each force point?
3. What was the spring force when the block passed \(x=0\)?
4. Explain why the spring force has that value at \(x=0\).
Now without the simulationA block sits at rest on a horizontal spring on a frictionless track. The spring is relaxed. Somebody pushes the block 0.15 m to the left and holds it there. The equilibrium position of the block is
Topic questions
1 Which of these motions is periodic but is not simple harmonic motion?
2 A block oscillates on a spring between \(x=-0.18\) m and \(x=+0.18\) m. At the instant the block is at \(x=+0.18\) m, the net force on it is
Substitute \(F_s=-kx\) into \(\sum F=ma\), and write the acceleration as the second derivative of the position. This step makes no assumption about the motion. It uses only the force equation and Newton’s Second Law of Motion.
\(m\frac{d^2x}{dt^2} = -kx\)Newton’s second law for a block on an ideal spring
Divide both sides by \(m\) to obtain the form of the equation that this unit uses. The ratio \(k/m\) appears one time in the equation, and it is named \(\omega^2\). Section 3 shows that \(\omega\) is the angular frequency of the motion.
\(\frac{d^2x}{dt^2} = -\frac{k}{m}x = -\omega^2 x\)with \(\omega=\sqrt{k/m}\)
The equation describes the shape of the position graph. The second derivative of the position is proportional to the position, and it has the opposite sign. Where the graph is above the axis, it curves downward. Where the graph is below the axis, it curves upward. A graph that curves toward the axis in proportion to its distance from the axis is a cosine graph.
Example: the oscillator in this unit has \(m=0.50\) kg and \(k=32\) N/m.
Worked, line by line
At \(x=0\), the acceleration is zero. At each instant, the position determines the acceleration.
Remember this. The equation \(d^2x/dt^2=-\omega^2x\) is the definition of simple harmonic motion in this course. A system is a simple harmonic oscillator when its equation of motion can be written in this form. The type of system does not matter.
The simulation below shows the graph of the spring force against the displacement. Change the stiffness, and read the slope of the line. Then read the acceleration at the same displacement.
Test thisSet the stiffness to about 20 N/m, and read the slope of the line. Then set the stiffness to about 40 N/m, and read the slope again. At each stiffness, read the acceleration at the same displacement.
Report what happened1. What were the two slopes, with their signs?
2. What happened to the acceleration at the same displacement when the stiffness was doubled?
3. Use \(d^2x/dt^2=-(k/m)x\) to explain this change in the acceleration.
Now without the simulationA block of mass \(m\) on a spring of stiffness \(k\) satisfies \(m\,d^2x/dt^2=-kx\). The mass is doubled and the spring is left alone. The quantity \(\omega^2\) in \(d^2x/dt^2=-\omega^2x\) becomes
Topic questions
3 Which equation is the condition for simple harmonic motion?
4 A 0.50 kg block on a 32 N/m spring is held at \(x=0.080\) m and released from rest. The magnitude of its acceleration at the instant of release is
A function satisfies \(d^2x/dt^2=-\omega^2x\) when its second derivative is equal to the same function multiplied by \(-\omega^2\). The cosine function has this property. A cosine function with a constant added to the angle also has this property.
\(x(t) = A\cos(\omega t + \phi)\)the general solution, with amplitude \(A\), angular frequency \(\omega\) and phase constant \(\phi\)
The solution can be checked with two derivatives.
Worked, line by line
The equation is satisfied for any value of \(A\) and any value of \(\phi\). For this reason \(A\) and \(\phi\) are free constants, and \(\omega\) is not a free constant.
The three constants have two different sources. The system determines \(\omega=\sqrt{k/m}\), which depends only on the spring constant and the mass. The release determines \(A\) and \(\phi\) through the position and the velocity at \(t=0\). When the block is released from rest at \(x=+A\), the phase constant is \(\phi=0\). When the block starts at the equilibrium position with a velocity in the positive direction, the phase constant is \(\phi=-\pi/2\).
\(\omega = 2\pi f = \frac{2\pi}{T}\)the angular frequency written in terms of the frequency and the period
The angular frequency \(\omega\) is in radians per second, the frequency \(f\) is in cycles per second, and the period \(T\) is in seconds. One cycle is \(2\pi\) radians of phase, which is the source of the factor \(2\pi\).
Example: the 0.50 kg block on the 32 N/m spring has \(\omega=8.00\) rad/s.
Worked, line by line
Remember this. The most common algebra mistake in this unit is to use \(\omega\) in place of \(f\). The two quantities differ by a factor of \(2\pi\), which is about 6.28. When an answer is wrong by a factor of about 6, check for this mistake.
The simulation below shows an oscillator with a stopwatch. The stopwatch starts at the end of a cycle and stops at the end of a cycle, so the time on the stopwatch is the time for a whole number of periods. Measure the period, and then calculate the frequency and the angular frequency from the period.
Test thisChoose a mass and a stiffness, and press Measure. Wait for at least ten cycles, and then read the time and the number of cycles. Change the stiffness, and measure again.
Report what happened1. What period did you find in each measurement?
2. What frequency and what angular frequency did you calculate from each period?
3. Which of the three quantities changes when the block is released from twice the displacement?
Now without the simulationA 0.50 kg block on a 32 N/m spring is released from rest at \(x=+0.080\) m. Written as \(x=A\cos(\omega t+\phi)\), the three constants are
Topic questions
5 Two blocks on identical springs are released from rest, one from 0.040 m and one from 0.080 m. Compared with the first, the second has
6 An oscillator has \(\omega=12.6\) rad/s. Its period is closest to
The test for simple harmonic motion does not depend on the type of system. Write the net force, or the net torque, as a function of the displacement from the equilibrium position. Then find the term that remains for small displacements. When this term is proportional to the displacement and has the opposite sign, the motion is simple harmonic motion. The constant that multiplies the displacement is the effective spring constant.
A simple pendulum is the standard example. The restoring force along the arc has the magnitude \(mg\sin\theta\), which is not proportional to \(\theta\). For small angles, \(\sin\theta\approx\theta\). At 8 degrees, the angle is 0.1396 rad and \(\sin 8^\circ=0.1392\), so the two values differ by 0.33 percent. When the approximation is accurate, the pendulum is a simple harmonic oscillator. At larger angles, the motion of the pendulum is periodic, but it is not simple harmonic motion.
\(F_{\text{restoring}} = -mg\sin\theta \approx -mg\theta\)the small angle approximation, in radians
The same test gives an effective spring constant for a system without a spring.
Example: a block slides without friction in a bowl of radius \(R\). The block is displaced a small arc length \(s\) from the bottom, so \(\theta=s/R\).
Worked, line by line
A ball that rolls in the same bowl is a different problem. The rotational inertia of the ball increases the effective inertia, so the angular frequency is less than \(\sqrt{g/R}\).
A graph that looks like a wave does not show that the motion is simple harmonic motion. The test uses the force on the system in the problem. Write the restoring term, and check whether it is proportional to the displacement.
Remember this. Find the restoring term that is proportional to the displacement, and identify the constant that multiplies the displacement. This constant divided by the mass is \(\omega^2\). The result is the same for a system without a spring.
The simulation below shows a pendulum that you can release at a small angle or at a large angle. The measured period is shown next to the period from the small angle equation.
Test thisRelease the pendulum at 5 degrees, and read the measured period and the predicted period. Then release the pendulum at 60 degrees, and read both periods again.
Report what happened1. By what percentage did the measured period differ from the predicted period at each angle?
2. Which release gives simple harmonic motion?
3. Which release gives a motion that is periodic but is not simple harmonic motion?
4. Which property of the force causes this difference?
Now without the simulationA small block slides back and forth without friction in a spherical bowl of radius \(R\), staying near the bottom. The angular frequency of the motion is
Topic questions
7 At what angle, in radians, does \(\sin\theta\) first differ from \(\theta\) by more than about 1 percent?
8 A system is found to obey \(d^2u/dt^2 =-36u\), where \(u\) is measured from equilibrium in meters and \(t\) in seconds. Its period is
Topic 7.2 gives the period. The period of a mass on a spring is \(T_s=2\pi\sqrt{m/k}\), and the period of a simple pendulum at a small angle is \(T_p=2\pi\sqrt{L/g}\). In Topic 7.2 you will derive both equations from the same differential equation.