# Physics with Calculus/Mechanics/Harmonic Motion, Waves, and Sounds

## Simple harmonic motionEdit

A body executes simple harmonic motion if its acceleration is proportional to its displacement from a fixed point, and is always in the direction of that point.

To explore simple harmonic motion (SHM) let's take the example of a spring with a mass in the absence of gravity (interestingly, you get SHM even with gravity present). If this is our ideal spring, the force is where is a measure of the stiffness of the spring and is the displacement. The force is toward the origin if that is the equilibrium position of the spring, so we write to remind ourselves of that. Now, Newton's second law becomes

.

This differential equation is easy enough to solve, and the answer is where and are arbitrary constants and . It does not really matter how we got the solution, because we are physicists, not mathematicians. This is the answer we are expecting, so we try it, and lo and behold, it works. If you do not believe me, substitute it in. Moreover, this is the complete solution, and you will just have to believe me on that because it is slightly more difficult to prove.

Without loss of generality, we will take , also called the phase shift, to be zero (if you are concerned about this, we are just defining where is).

Now, a remarkable thing we recognize about the solution is that the frequency (radians per second), is independent of . That is, no matter how big the oscillations are, the frequency is the same. A pendulum approximately undergoes SHM, so this is why they are used in clocks, the amplitude doesn't affect the period! By the way, we have added the subscript zero to omega because we are going to have some other omegas soon.

Some terms to remember are frequency, f (cycles per second) = and the period, T = . These are not so important, but often people will specify the frequency or the period instead of the angular frequency, so they can be helpful.

Now, to get the velocity, differentiate the position, and to get the acceleration, differentiate the velocity. We have,

and .

Now, we have avoided saying what is. It turns out, it depends on the problem, or the initial conditions. We can say the velocity or position of the oscillator at some t is something and then use the expression for or to find . You can do the same thing with the phase if you want, but it is a little tedious and doesn't tell us much.

Notice the greatest velocity is at the equilibrium position of the oscillation. We can go on making such statements, but they are all extremely obvious if you simply plot out the position, velocity, and acceleration on the same graph.

## DampingEdit

An object that oscillates freely oscillates at its natural frequency. If it loses no energy, it will continue to oscillate forever. Damping is when an oscillating mass loses energy. There are 3 types of damping:

1) Light - The amplitude gradually decreases over time

2) Heavy - The mass would overshoot 0 displacement

3) Critical - The displacement decreases to 0 without any oscillation.

The cause of damping is frictional forces, e.g. Car suspension

Let's try to quantify this a bit. Say there is a friction force which is proportional to the velocity (this is a pretty good approximation in many cases) with constant of proportionality c. Then, by Newton's second law,

.

This equation is a little trickier to solve than without the friction. We going to use a very nice trick which you will find throughout physics, and whenever you have similar equations. Notice that if is a solution and is a solution, then is also a solution, where and are constants (real or complex). This property means the equation is called "linear." We know that . Assume is . Then we just take the real part of and we get our answer because the equation is linear, but exponentials are so much easier to work with than sines and cosines. The equation of motion becomes

So,

or .

Defining , and remembering

.

Defining , we have the general solution

.

All we do is take the real part of this with Euler's identity, and we have,

,

where and are just and written a different way. You can find them if you want, but they won't be very helpful. Notice that the oscillator oscillates with ever decreasing amplitude, but not at it's "natural" frequency, but at a different frequency.

It is conceivable that is imaginary, in which case, the entire solution is just a negative exponential! This is called critical damping, when it just turns into being an exponential instead of oscillatory motion.

## WavesEdit

We all have seen water waves, such as the ripples in a pond or puddle. Although the wave moves from one point to another, the water itself does not go with it. So, what are waves? They are somewhat difficult to define, yet they are present throughout physics -- water waves, seismic waves, sound waves, light waves, and many others. Waves are generally characterized by propagating themselves; if you leave a wave alone, it keeps going. But already we have exceptions because some materials absorb waves, so it won't necessarily keep going. Furthermore, waves usually travel through a medium, which is a fancy word for substance. Water waves travel in water, sound waves travel in air (or just about anything else). However, light does not seem to travel in a medium, but rather through empty space. So, a wave does not even need something to travel in, it seems. In any case, instead of asking around trying to figure out precisely what waves *are,* let's try to say some useful things about waves.

First, we will introduce a common wave equation (the equation which describes how waves move), which holds true for electromagnetic waves in vacuum, for small waves in a tight string, and for small sound waves. Then we will take a look at it's solutions and try to understand some of the principles of waves.

can be pressure, displacement, or a component of the electric field, or something else, but in any case, this is the equation you get for many things.

First, let's look at the one dimensional equation.

.

I will tell you the solutions to this equations, because that is what we care about. It is a little more difficult to prove that they are the only solutions than it is to verify they are solutions, but you will have to take my word for it. We don't really care how we get the solutions because we are physicists not mathematicians.

where and are arbitrary constants, and and are arbitrary functions. Interestingly enough, it does not matter what and are! Physically speaking, the two terms correspond waves moving to the left and to the right at the speed c. Notice that if I have two solutions, say, and , then is also a solution where and are arbitrary constants. This is one of the most useful properties of the solutions to this wave equation. This property is known as linearity.

So, we know everything about waves since we have the solution to the wave equation, right? Wrong. Let's take some particularly special solutions to this equation and study them a bit.

is a solution provided that

.

is called the wave number or wave vector (it will be a vector when we look at the three dimensional solutions), is called the frequency (measured in radians per second, not cycles per second), is called the phase shift, and is called the amplitude. Physically this corresponds to a sine wave of frequency moving to the right, with each point going up and down with frequency . That is, is the frequency in space and is the frequency in time. is called the phase velocity in this case (we will see that there is another kind of velocity, but it happens to be the same as this velocity for this particular equation).

Some people like to talk about frequency in cycles per second and give it a special name, . Some people like to talk about wavelength, , which is just and is the distance from crest to crest. Fairly obviously, because . Some people call this one of the most important or beautiful relationships of physics, but I would disagree. It really is not that profound, it is just telling us that if crests pass us per second, and the distance from crest to crest is , the speed of the wave is just which is just using conversion factors. It is actually pretty mundane.

So, what can we do with these solutions we have found? Why, make new solutions! We already know that if we have two solutions we can add them together to get another solution. We use Fourier analysis and you will find it just about anywhere you find linear systems. It turns out that we can write any periodic function, discontinuous or not, as the sum of many sine waves and cosine waves of different frequencies. So, we usually construct a solution based on a boundary condition by finding the coefficients for the different components. This is the big deal about sine waves -- they add up to make any function you want.

### Three Dimensional SolutionsEdit

To generalize from one to three dimensions, we convert k and x into vectors: and . To create a scalar phase, we need to take the dot product between these vectors: