© *Matt Strassler [August 28, 2012]*

*This is article 1 in the sequence entitled Fields and Particles: with Math*

If you want to understand particle physics, there’s basically one thing to remember from freshman physics, or even high school physics — and that’s how a spring works. Basically, anything that bounces, vibrates, rings, wiggles, rolls back and forth, or goes *boing-boing-boing* is, at heart, an example of a spring.

Let’s imagine we attach a ball to the end of a spring. The motion of a spring, and the equations behind that motion, are simple. What we’ll do is this: First, let’s recall the basic workings of a spring. Then we’ll look at the motion of the ball once it starts bouncing around — **oscillation**. And finally, for those who’d like to see it (it can be skipped for now if you want), we’ll review the equations that lead to that motion.

**The Harmonic Oscillator (i.e. Ball on a Spring)**

The ball on a spring has an equilibrium position; this is the location where if you place the ball there and let go of it, the spring will not push the ball in either direction, and the ball will remain stationary. This is the blue line in Figure 1. If you pull the ball away from its equilibrium position (green arrows in Figure 1), the spring will pull the ball back toward its equilibrium position with a force F (red arrow). The further you pull the ball, the harder the spring pulls back *(at least as long as you don’t pull so hard that the spring breaks or becomes so compressed that it is crushed.)*

**Oscillatory Motion (i.e. Bouncing!)**

Let’s call the direction in which the ball can move “the z direction”, and let’s define the z axis so that z=z_{0} is the equilibrium position for the ball on the spring. Now suppose you pull the ball away from its equilibrium position, holding it so that it isn’t moving, at the position z = z_{0} + A; and then, at a chosen moment in time (which we’ll call t=0) you let go. The ball will start to bounce back and forth; see Figure 2. The size of the bounce — the **amplitude** of the oscillation — is simply A. It can be as big or small as you like; you chose how far to pull the ball away from equilibrium before you let it go. But how often the back-and-forth bounce occurs — the** frequency** of oscillation ν — is not something you control. It turns out to be the same no matter what A is; it is determined only by properties of the ball and of the spring, not by what you chose to do. See Figure 2.

For scientific research it’s crucial to put these observations into a math formula. The location z of the ball as a function of the time t, which we write as the function z(t), takes the form

- z(t) = z
_{0}+ A cos [ 2 π ν t ]

where as usual *cos* is short for *cosine*, π is the number “pi” that shows up in circular geometry, z_{0} is the ball’s equilibrium position, and A and ν (“nu”) are the amplitude and frequency of oscillation. The cosine function is an oscillating function, so this formula represents ** oscillatory motion** with

**amplitude**A and

**frequency**ν. Examples of oscillatory motion for a ball on a spring, with different values of the initial displacement (and resulting amplitude) A, are shown in Figure 2, which also illustrates that for a given ball and spring, the frequency ν doesn’t depend on the amplitude A.

*Fine print: Both the amplitude and frequency are positive (or zero). If you chose A to be negative, then the amplitude is -A; in short the amplitude is really |A|, the absolute value of A.*

What’s hugely important to remember about amplitude and frequency for the ball and spring (in classical [*i.e.*pre-quantum] physics.)

- You can choose whatever amplitude A you like;
- However, the spring and the ball determine ν, and the only way you can change the frequency ν is to replace the spring with a different one, or the ball with a different one.

The **period **of each oscillation (how long it takes for the ball to swing back and forth exactly once) we’ll call T, and the period is just the inverse of the frequency: T = 1/ν. If the period is 5 seconds, then the frequency is once-every-5-seconds, or 1/5 per second (often called 1/5 Hertz [Hz for short]).

*More fine print: for any realistic ball-spring system you’ll encounter in daily life, friction will cause A to gradually become smaller, and eventually A will decrease to zero and the motion will stop. The formulas for the motion including the effects of friction aren’t that much more difficult to write down, but we won’t need them here. So I’ll assume friction is always small, so that A decreases very slowly, and we can just use the simple formulas that ignore friction. However, there’s one really important thing to know: friction decreases A, but (unless it is very strong) has no effect on ν, and on T! The frequency of oscillation remains the same even as the amplitude decreases. This is why the note produced by a guitar string after you pluck it does not change, even as the sound it produces becomes softer and dies away.
*

One more thing: there’s a nice formula for the energy stored in an oscillating spring. It is proportional to the square of the amplitude and the square of the frequency:

- E = 2 π
^{2}ν^{2}A^{2}M

This energy is partly the ball’s motion-energy (“kinetic”) and partly relationship-energy (“potential”) stored in the spring, and as the ball swings back and forth, the partition of the total energy into these two types of energy changes back and forth. But the total energy E is constant during the motion. * (Fine Print: There’s also the mass-energy of the ball, M c ^{2}, but we’re not keeping track of that because that energy is present whether or not the spring is moving.)*

This same oscillatory motion formula applies to pretty much everything that wiggles or bounces, as long as the wiggles aren’t too big: a ball rolling at the bottom of a bowl; a car bouncing on bad shock absorbers; a vibrating violin string or guitar string after it is plucked; a xylophone key after it is struck; and so on.

**The Equation of Oscillatory Motion (i.e. Bouncing Math)**

Now let’s remember the basic formulas that allow us to understand why the ball on the spring has oscillatory motion. *(You can skip this section at first reading; but at some point you may need it, especially if you want to understand how the Higgs field works.)*

As we said at the beginning (Figure 1), the ball on the spring has an equilibrium position, which we can called z = z_{0}. Suppose that at any given moment (either because we’ve pulled on the ball, or because it is bouncing on its own) it is found at some other position z. Then if z > z_{0}, i.e. if the displacement from equilibrium z – z_{0} is positive, then the spring will exert a force that is pointed in the negative z direction so as to pull the ball back toward the equilibrium point. Conversely, if z < z_{0}, i.e. if the displacement from equilibrium z – z_{0} is negative, then the spring will exert a force that is pointed in the positive z direction, again so as to pull the ball back toward the equilibrium point. And the further the ball is away from the equilibrium position, the harder the spring pulls. The force F that the spring exerts is related to the displacement from equilibrium by

- F = – K (z – z
_{0})

where K is a positive quantity that depends on the specific spring, and is called the spring constant.

Note that this formula has the right properties:

- If the ball is at the equilibrium point, F = 0; the spring exerts no force, so if the ball is motionless at the equilibrium point, it will remain there (in equilibrium).
- If the displacement is positive, the force is negative.
- If the displacement is negative, the force is positive.
- The larger the displacement, the larger the force.

Next we appeal to Newton’s second law of motion, which tells us that under a force F, a ball of mass M will move with acceleration a, where F = M a. Plugging this into the previous formula gives us

- M a = – K (z – z
_{0})

or

- a = – K/M (z – z
_{0})

This is almost the equation we need to derive the oscillatory motion. We just need to remind ourselves about the relationship between a and z. To do that it is useful to remember the relationship between a and the velocity v, and between v and z. That relationship is one of change with time:

- the
**velocity**is*the change in time of the position*, v = dz/dt - the
**acceleration**is*the change in time of the velocity*, a = dv/dt

[If you haven’t had calculus, the expression dz/dt looks strange; but it’s just a way of representing the words to the left of it, so focus on the words.] Putting these together

- a = d(dz/dt)/dt = d
^{2}z/dt^{2}

the acceleration is *the change in time of the change in time of the position*.

We can then rewrite our formula as the **equation of motion**

- d
^{2}z/dt^{2}= – K/M (z – z_{0}) (*)

where z is shorthand for z(t). And now we can check that oscillatory motion z(t)= z_{0} + A cos[ 2 π ν t ] is a solution to this equation of motion. All we need to do is first calculate the particle’s velocity as the change in time of its position:

- d/dt (z
_{0}+ A cos[ 2 π ν t ]) = – (2 π ν) A sin[ 2 π ν t ]

(dz_{0}/dt = 0 since the equilibrium position z_{0} isn’t changing with time, and **d/dt(cos wt) = -w sin wt** [the change in time of a cosine of a number w times t is equal to w times minus the sine of w times t]); and then we calculate the particle’s acceleration as the change in time of its velocity

- d/dt [– (2 π ν) A sin[ 2 π ν t ] ] = – (2 π ν)
^{2}A cos[ 2 π ν t ]

(because **d/dt(sin wt) = w cos wt** [the change in time of a sine of a number w times t is w times the cosine of w times t].) Thus

- d
^{2}z/dt^{2}= – (2 π ν)^{2}A cos[ 2 π ν t ] = – (2 π ν)^{2}(z – z_{0})

where in the last step I used the formula z(t)= z_{0} + A cos[ 2 π ν t ] for oscillatory motion. This final equation is the same as our **equation of motion** [ d^{2}z/dt^{2} = – K/M (z – z_{0}) ] * provided* that – (2 π ν)

^{2}= K/M, i.e., as long as the frequency of oscillation is

- ν = √ K/M / 2π

So we have indeed found that our equation of motion implies the spring will oscillate with the above frequency, that this frequency does not depend on A — it depends only on properties of the spring (K) and the ball (M) — and that there is a solution to the equation no matter what A is. Thus we are free to choose A to be any size, determined by however far we pull the ball away from the equilibrium point before we release it.

**Next Up: The Quantum Ball on a Spring**

That’s the ball on the spring in classical [i.e., pre-quantum] physics. Quantum mechanics changes many things, but the most important is this: we are still free to choose A, but A cannot be of an arbitrary size. Instead, **it can only take special values, proportional to the square root of an integer.**

Wow, this looks like the start of a great course !

Even though I’ve already seen the things it starts with somewhere else, I’ll follow it just because such articles are so much fun to read and reconsider certain things from time to time (explained by someone else) does never hurt 🙂

The “boing boing boing” at the beginning for example made me LOL😀 and both, such funny statements as well as the very clear explanations of things in all of the educational articles on this site, strongly reminds of the Lenny Susskind funny as hell, instructive, and enjoyable online lectures I have seen (all of them!) …

Cheers

Minor typo on first read: after “Next we appeal to Newton’s second law of motion, …”, the first equation should have a capital M instead of a small m.

thanks; fixed.

I am looking forward to this series of articles! I just tried to ingest Penrose’s _Road to Reality_, which, I think, is going in a similar direction. Despite having most of the requisite mathematical background, I still found it impenetrable in spots (though enlightening in others). I’ve read many of your posts, and your enlightening-to-impenetrable ratio is *much* better.

Thank you!

I think the statement:

friction decreases A, but has no effect on ν, and on T

is slightly misleading (although maybe that’s ok for this). It’s true that friction doesn’t cause the frequency to change with time (so the note doesn’t change as the guitar string damps out), but friction does change v and T from their values in the undamped case (so increasing the damping on a guitar string will change the note). Admittedly this is a technical point.

I should probably say “virtually no effect [unless the friction is really large] on the frequency…”. Thanks.

Grade VII science class – age 12 – teacher asks: ”If I hang one of these on a coil spring and it stretches one inch, how far will it stretch if I hang two?”

Me: ”I don’t know. It depends.”

I was made to look like a fool for being unable to verbalize that we needed to first determine the linearity of the spring constant.

40+yrs haven’t completely erased the resentment.

There is something wrong with your picture. The way you drew it, it looks impossible to have an equilibrium at the blue line, the spring is still extended. Maybe you need to change the orientation of the picture so that the ball moves downward due to gravity.

Springs can be stressed by either compression or extension. There are some springs, for example, a slinky, where the equilibrium point is where the spring is completely compressed. This may be what you are thinking of. But there are other springs, such as bed springs or a pogo stick, where the spring will be extended when in equilibrium.

What is pulling that spring? If the drawing were to look downward, we may say it is gravity. What is it now?

The equilibrium is reached when all energy is used up. Without loss of energy in the form of friction etc the movement would be infinite ?

Hello Professor

I may be off base here but I was wondering if A(distance from the equilibrium) is related to Energy by A = the square root of (E/2 π2 ν2 M), then energy must be continuous in order to choose an arbitrary A? I thought Energy was not continuous and only came in discrete values? Does this not suggest that it is not possible to choose an arbitrary A and only values of A that correspond to those values for A that corresponds to a multiple of some discrete energy?

.

Have you read the next article yet? https://profmattstrassler.com/articles-and-posts/particle-physics-basics/fields-and-their-particles-with-math/ball-on-a-spring-quantum/ I think it answers your questions.

Thank You. Yes this article clears it up.

Matt

I am having trouble with this part of your math: All we need to do is first calculate the particle’s velocity as the change in time of its position:

d/dt (z₀ + A cos[ 2 π ν t ]) = – (2 π ν) A sin[ 2 π ν t ]

If z is short hand for z(t) and z(t)=z₀+Acos[2πvt] then shouldn’t the particles velocity be written as dz(t)/dt, which becomes, dz₀+[2πvt]/dt? It appears to me that the numerator and denominator are reversed and that there is a missing term for time, t. Please forgive me if I am missing something here. And thank you for bearing with me as I attempt to deepen my understanding. Or this all may just be a misunderstanding caused by the way the equations look on the page, which make it appears as if (z₀ + A cos[ 2 π ν t ]) is in the numerator. If that is the case I am sorry to have bothered you.

Don Murphy

Don, The (z0 + A cos [2pi v t]) is in the numerator. The confusion comes from writing equations in line. And of course dz(t)/dt is a differential, not a fraction.

Very great post. I simply stumbled upon your blog and wanted to mention that I’ve really loved

browsing your blog posts. After all I will be subscribing on your feed and I

hope you write once more very soon!

I believe that a negative sign is missing before the term K/M in the last expression is the quoted text.

“…equation of motion [ d2z/dt2 = – K/M (z – z0) ] provided that – (2 π ν)^2 = K/M…”

It should be – (2 π ν)^2 = – K/M. The negative signs cancel out, leading to the provided solution, ν = √ K/M / 2π.

I like what you guys are usually up too. This kind of clever work and reporting! Keep up the good works guys I’ve added you guys to my own blogroll.