# Waves review: chapter 1

This is an overview of the waves portion of the course. The content of this review, like the class itself, draws heavily from the book "Vibrations and Waves" by A.P. French (the person, not the class). In order to get the best understanding of the subject, I'd recommend reading through the book as well.

## 1Periodic Motions¶

The concepts in this chapter are pretty basic, so I'm just going to breeze through a few of them. First of all, it is important that you know that for an object of mass $m$ attached to a spring of Hooke constant $k$, the restoring force that results is given by $F = ma = -kx$ where $x$ is the displacement from equilibrium. What's also very important is understanding how to put this in the form of a differential equation. Remembering that acceleration is the second time derivative of position, we can rewrite our spring equation as $m\ddot x = -kx$, where $\ddot x$ represents the second time derivative of $x$. Get used to this dot notation as it shows up everywhere in physics1.

Our equation $m\ddot x = -kx$ is a second order ordinary differential equation, which means that it contains a second order derivative, and is only concerned with derivatives of a single variable. You don't need extensive knowledge of ODES for this course, but you do need to recognize the following: an ODE of this form can be satisfied with a solution of the form $x = A \cos (\omega t + \alpha)$ where $\omega = \sqrt{k / m}$. To check this, just find $\ddot x = -A\omega^2\cos(\omega t + \alpha)$, plug it in and be amazed2.

In fact, any differential equation of the form $\ddot x = -\omega^2 x$ is an equation of motion for a simple harmonic oscillator with angular frequency $\omega$. As you'll see, it pops up everywhere in physics, so it's handy to remember.

### 1.1Properties of simple harmonic motion¶

I'm going to assume everyone reading this has seen a sinusoid before, so I'll be brief: the position of an object undergoing simple harmonic motion can be described by a sinusoid: $x = A\cos(\omega t + \alpha)$. The distance from equilibrium never exceeds the amplitude $A$. After a certain period of time, the motion repeats itself (maybe that's why they call it periodic...). This period is denoted as $T$, and $T = 2\pi / \omega$. Hopefully you've seen this all before.

### 1.2Rotating vector approach¶

I'm not sure if you've seen this before but the book really likes this approach so I'm going to mention it too: one intuitive way to view simple harmonic motion is as the projection of a rotating vector (in 2 dimensions) onto a single dimension. What this is saying is pretty much covered in this animation:

Okay so why is this important? Besides giving us a nice intuitive way to view sine waves, it helps us introduce the next part of the chapter:

### 1.3The complex exponential (i.e. the coolest thing in this class)¶

Alright so I'm just gonna put this out there first without really explaining a thing just because it's so cool:

$$e^{i\theta} = \cos\theta + i\sin\theta$$

Where $i$ is the imaginary unit such that $i^2 = -1$.3 Except actually in this class we're gonna use $j$ instead of $i$, so I should actually say

$$e^{j\theta} = \cos\theta + j\sin\theta$$

This beautiful piece of math is called Euler's formula (you may have seen the special case $e^{\pi i} + 1 = 0$) and it just rocks my world. In order to understand why exactly why this is so cool, it's important to understand the geometric interpretation of complex numbers. A complex number $a + jb$ can be viewed as a pair of real numbers $a$ and $b$, sort of like how a point in a 2D plane can be represented by a pair of real numbers $(x,y)$. So we do this: we construct a 2D plane with two orthogonal axes: the real axis, and the imaginary axis. The $a$ in our complex number represents the position along the real axis, and $b$ is the position along the imaginary axis.

Now remember, like we saw in the animation above, a vector of unit length, based at the origin and rotating around it, can be projected onto one of the axes, forming a sinusoid. Also, for a triangle in the unit circle at an angle $\theta$ with the x-axis, $x = \cos\theta$ and $y = \sin\theta$. Combining all this, we see that $\cos\theta + j\sin\theta$ describes a unit vector in the complex plane, at an angle of $\theta$ with with real axis. So what Euler's formula lets us do is describe this vector in a really simple form - all we gotta write is $e^{j\theta}$, and we've described a vector. And if we write it as $e^{j\omega t}$, we've got a rotating vector with angular frequency $\omega$.

How does this help us with waves? Well, remember, if we project this vector onto the x/real axis (which we can do by only taking the real part of the complex number that represents it) we get a cosine wave. Additionally, notice that $z = Ae^{j\omega t}$ satisfies our differential equation $\ddot z = -\omega^2 z$ too (I use $z$ to denote that it's a complex number) - so we can do our analysis with complex exponentials, then simply take the real part when we're done with the algebra - that is, $x = \text{Re}(z)$.

As a side note, I should point out that since we can represent vectors in 2D with complex numbers, we can naturally perform vector operations on them with complex numbers. If we have two complex numbers $u$ and $v$, then $u + v$ will represent the same vector that we get if we added the vectors $u$ and $v$ describe. If we multiply $u$ by $j$, it's the same as rotating the vector described by $u$ 90 degrees counterclockwise. Finally, if we multiply $u$ by $e^{j\theta}$, we effectively rotate $u$ by the angle $\theta$. This knowledge can help make seemingly complicated complex expressions intuitive4.

1. It was also Newton's way of writing derivatives. The notations $\frac{dy}{dx}$ and $y'(x)$ both originate from Leibniz.

2. You may have noticed that a solution of the form $x = A\sin(\omega t + \alpha)$ also satisfies the ODE (which makes sense as $\alpha$ is arbitrary, so if we just add $\pi / 2$ to it we change from $\cos$ to $\sin$). We choose to use $\cos$ for reasons that will soon make sense.

3. Note I did not define it as $i = \sqrt{-1}$ for reasons, only some of which I understand

4. If you like this complex numbers stuff (and even if you don't) you'll probably like this