**Page updated:**
April 15, 2020 **Author:** Curtis Mobley

View PDF

# Wave Representations

This page ﬁrst deﬁnes the sinusoidal functions that can be used to decompose waves on the sea surface into sums of sines and cosines. Sampling of sea surfaces at a ﬁnite number of points is then discussed.

### Sinusoidal Wave Representations

The sea surface can be described using a Cartesian coordinate system. Let $x$ be a unit vector chosen to point in the downwind direction, and let $z$ be directed upward (from the water to the air) normal to the mean sea surface at $z=0$. Then $y=z\times x$ is in the cross-wind direction. $z\left(x,y,t\right)$ is the surface elevation in meters at spatial location $\left(x,y\right)$ and time $t$.

Fourier proved in the early 1800’s that, under very general mathematical conditions, an arbitrary function can be written as a sum of sines and cosines of diﬀerent amplitudes and wavelengths. The sea surface elevation $z\left(x,y,t\right)$ is usually such a function. An exception is a sea surface with waves curling over and breaking on a beach. There can then be multiple air-water surfaces for a given $\left(x,y,t\right)$: the point on the surface that sees the full sky, the point above a surfer’s head as the wave curls over her, and the point on the water that supports the surf board. However, for a sea surface without breaking waves, there is only one air-water surface for a given location and time, which can be described as a sum of sinusoids.

The terms and notation needed to describe propagating sinusoidal waves are deﬁned as follows:

- $A$ is the amplitude (in units of meters) of the wave. This is one-half the distance from the trough to the crest of a sinusoidal wave. Oceanographers often talk about the wave height, $H$, which is the distance from a wave trough to a wave crest. Wave height is what most people visualize when they talk about how ”big” a wave is. For a sinusoidal wave, $H=2A$.
- $T$ is the temporal period (seconds), usually called just the period. This is the time it takes for one wave crest to pass by a ﬁxed point, i.e. for the argument of a sinusoid to go through $2\pi $ radians.
- $f=1\u2215T$ is the temporal frequency (1/seconds), usually called just the frequency. This is how many waves pass by a ﬁxed point per second.
- $\omega =2\pi \u2215T=2\pi f$ is the angular frequency (radians/second). This is the number of waves passing a ﬁxed point in $2\pi $ seconds.
- $\Lambda $ is the wavelength, or spatial period, (meters). This is the distance from one wave crest to the next.
- $\nu =1\u2215\Lambda $ is the wavenumber or spatial frequency (1/meters). This is the number of wavelengths per meter.
- $k=2\pi \u2215\Lambda =2\pi \nu $ is the angular wavenumber or angular spatial frequency (radians/meter). This is the number of wavelengths in $2\pi $ meters.
- $\varphi $ is the phase (nondimensional). This ﬁxes the location of a wave crest relative to the origin of a coordinate system.

There is no uniformity in the literature. People often refer to ”the frequency” without specifying whether they mean $f$ or $\omega $, and ”wavenumber” or ”spatial frequency” may mean either $\nu $ or $k$. People use $\nu ,\stackrel{\u0303}{\nu}$, or $\sigma $ for the wavenumber, some use $\sigma $ for $\omega $, and so on. You just have to ﬁgure it out on a case by case basis. For pedagogic purposes, we will start with wavenumber $\nu $ as the measure of spatial frequency, and then switch to the more common angular spatial frequency $k$. This presentation will use $\omega $ as the measure of temporal frequency.

Now consider a one-dimensional sea surface with elevation $z\left(x,t\right)$ over a spatial region of length $L$, e.g. $0\le x\le L$ or $-L\u22152\le x\le L\u22152$. According to Fourier, $z\left(x,t\right)$ can be written as a sum of sinusoids, the ${n}^{th}$ one of which is

$${z}_{n}\left(x,t\right)={A}_{n}cos\left(\frac{2\pi nx}{L}+{\varphi}_{n}\pm \frac{2\pi nt}{T}\right)\phantom{\rule{0.3em}{0ex}},$$ | (1) |

where $n=0,1,2,...$ is simply an index for which sinusoid is being considered. (Note that we could just as well write a sine here, which corresponds to a diﬀerent value for the phase.) For $n=0$ this reduces to a constant oﬀset ${z}_{0}\left(x,t\right)={A}_{0}cos\left({\varphi}_{0}\right)$, which is usually taken to be mean sea level and set to a reference value of 0 via setting ${A}_{0}=0$. For the moment, take $t=0$, i.e., we have a snapshot of the ocean surface at time zero. This sinusoid has a wavelength of ${\Lambda}_{n}=L\u2215n$, i.e., the cosine returns to the same value after a distance of $x=L\u2215n$. It is a pure cosine in the chosen coordinate system if the phase is $0$ or an even integer multiple of $\pm \pi $. If the phase is an odd integer multiple of $\pm \pi \u22152$ it is a sine. If time is included, the wave is propagating in the $+x$ direction if the time term is $-2\pi nt\u2215T$; the cosine returns to its initial value after a time of $t=T\u2215n$. A wave propagating in the $-x$ direction is described by a $+2\pi nt\u2215T$ term. The physical angular frequency ${\omega}_{n}\equiv 2\pi n\u2215T$ is always positive, but mathematically we can write just $+{\omega}_{n}t$ in the equation and then view a wave propagating in the $+x$ direction as having a negative temporal frequency.

With this interpretation of ${\omega}_{n}t$, Eq. 1 is conveniently written as

$${z}_{n}\left(x,t\right)={A}_{n}cos\left({k}_{n}x+{\varphi}_{n}+{\omega}_{n}t\right)\phantom{\rule{0.3em}{0ex}},$$ | (2) |

where ${k}_{n}=2\pi n\u2215L=2\pi \u2215{\Lambda}_{n}$ is the angular wavenumber of the ${n}^{th}$ wave of wavelength ${\Lambda}_{n}=L\u2215n$. Likewise, ${\omega}_{n}=2\pi n\u2215T=2\pi \u2215{T}_{n}=$ is the angular frequency of the ${n}^{th}$ wave with period ${T}_{n}=T\u2215n$. It may be intuitively easier to think of wavelengths per meter than of wavelengths per $2\pi $ meters, but the convenience of writing $k$ rather than $2\pi \u2215\Lambda $ or $2\pi \nu $ makes $k$ rather than $\nu $ the spatial frequency variable used in most publications. A similar comment holds for $\omega $ vs. $2\pi \u2215T=2\pi f$, so $\omega $ rather than $f$ is the common choice for the temporal frequency variable.

If we take $t=0$, or just combine the time term with the phase, expanding the cosine in Eq. (2) gives an equivalent form

$${z}_{n}\left(x\right)={a}_{n}cos\left({k}_{n}x\right)+{b}_{n}sin\left({k}_{n}x\right)\phantom{\rule{0.3em}{0ex}},$$ | (3) |

where ${a}_{n}={A}_{n}cos{\varphi}_{n}$ and ${b}_{n}=-{A}_{n}sin{\varphi}_{n}$, $n=1,2,...,$ ${a}_{0}={A}_{0},$ and ${b}_{0}=0$. This equation can be written in terms of complex numbers:

$${z}_{n}\left(x\right)={c}_{+n}{e}^{i{k}_{n}x}+{c}_{-n}{e}^{-i{k}_{n}x}\phantom{\rule{0.3em}{0ex}},$$ | (4) |

where $i=\sqrt{-1}$ and

Recalling that ${e}^{\pm i\mathit{\theta}}=cos\mathit{\theta}\pm isin\mathit{\theta}$, we see that the imaginary parts of Eq. (4) add to zero, so that ${z}_{n}\left(x\right)$ is still a real variable even though it is written in complex form. Also note that ${c}_{+n}^{\ast}={c}_{-n}$, where ${c}^{\ast}$ denotes the complex conjugate. (Complex conjugation means replace $i$ by $-i$ in all terms.) Although two complex numbers in general contain four independent real numbers, these ${c}_{+n}$ and ${c}_{-n}$ pairs contain only two independent numbers, ${a}_{n}$ and ${b}_{n}$.

We thus have three ways to describe a sinusoidal wave: (1) The cosine of Eq. (2) deﬁned by an amplitude and a phase; (2) the cosine and sine of Eq. (3) deﬁned by two amplitudes, or (3) the complex exponentials of Eq. (4) deﬁned by two complex numbers containing two independent real numbers. These equations all give the same ${z}_{n}\left(x\right)$, so we are free to choose whichever form is mathematically convenient for the problem at hand. For visualization of sea surfaces, the real forms (2) or (3) are convenient, but the calculations on the next pages are most conveniently carried out using complex exponentials.

Returning now to Fourier, linear wave theory says that we can write the sea surface elevation as a Fourier series

which in conjunction with Eq. (4) can be rewritten as

$$z\left(x\right)=\sum _{n=-\infty}^{\infty}{c}_{n}{e}^{i{k}_{n}x}\phantom{\rule{0.3em}{0ex}}.$$ | (7) |

As previously noted, the ${a}_{0}$ or ${c}_{0}$ term is usually set to 0. This equation is the mathematical heart of our subsequent descriptions sea surfaces.

Although the physics that leads to a given sea surface in general involves non-linear interactions between waves of diﬀerent wavelengths and periods, the shape of the resulting sea surface can be written as a linear sum of sinusoids of diﬀerent frequencies. Owing to the orthogonality of sines and cosines for diﬀerent $n$ values as deﬁned above, these wave components ${z}_{n}\left(x\right)$ are independent of each other. (Orthogonality means that ${\int}_{0}^{2\pi}cos\left(mx\right)cos\left(nx\right)dx=0$ if $m\ne n$, etc.) Thus a description of a time-dependent surface based on an expansion like that of Eq. (6) (including the time-dependent terms as seen in Eq. (2)) cannot be used to predict the nonlinear evolution of a sea surface from a given initial condition. To do that, you must return to the world of hydrodynamics in all of its nonlinear glory. For our present purposes, we only want to model the shapes of sea surfaces, not predict their hydrodynamic development from an initial state, so linear wave representations are adequate.

### Sampling

We next consider the implications of sampling the sea surface at a ﬁnite number of discrete locations or times. It is usually the case when we want to measure the sea surface elevation that we either make measurements at discrete locations ${x}_{r},r=0,1,...,N-1$ at a given time, or at discrete times ${t}_{r},r=0,1,...,N-1$ at a given location.

For a speciﬁc example, consider a region of sea surface $L=10\phantom{\rule{1em}{0ex}}m$ long where we take $N=8$ evenly spaced samples. This gives a measurement every $\Delta x=L\u2215N=1.25\phantom{\rule{1em}{0ex}}m$ at a given time. We are going to describe this surface as a sum of sinusoids. Figure 1 illustrates the ﬁrst few sinusoids shown as cosines. The cosines in the ﬁgure all have the same amplitude and each is oﬀset vertically for ease of viewing. The dots show the sampled values for each cosine component.

The longest wave that can ﬁt into a region of length $L$ has a wavelength of $\Lambda =L$. This is called the fundamental wave or ﬁrst harmonic. This wave is shown by the blue $n=1$ curve in the ﬁgure. Note that the $n=4$ cosine in the ﬁgure has a period of $2\Delta x$. The smallest wave that can be captured correctly in a sampling scheme has a period of twice the sampling interval. This called the two-point wave or two-point oscillation. Note that a sine term with period $2\Delta x$ would be sampled at arguments of $0,\pi ,2\pi ,...$ where the sine is zero and is thus not detectable. The spatial frequency $1\u2215\left(2\Delta x\right)$ (or temporal frequency $1\u2215\left(2\Delta t\right)$ if sampling in time at a given location) is called the spatial (or temporal) Nyquist frequency. Waves with higher frequencies than the Nyquist frequency are still sampled, as illustrated by the dots on the wave with $n=10$. Note, however, that the pattern of sampled points for the $n=10$ wave is exactly the same as for the $n=2$ wave. If all we have are the measured points, we cannot distinguish between the $n=10$ and the $n=2$ waves in this example. This illustrates the phenomenon of aliasing. In general, a wave with a frequency greater than the Nyquist frequency (i.e., a wavelength or period less that twice the sampling interval) is still sampled, but it appears as though the high frequency wave is a wave with a frequency less than the Nyquist frequency. The information about the high frequency (short wavelength) wave is added to or aliased into a lower frequency (longer wavelength) wave, thereby giving incorrect information about the lower frequency wave. Aliasing places a severe constraint on any sampling scheme. We can correctly sample only waves with wavelengths that lie between the size of the spatial region, $L$, and twice the size of the sampling interval. (In the temporal setting, the limits are the length of sampling time and twice the temporal sampling interval.)

The relation between a sampled frequency ${f}_{s}$ greater than the Nyquist frequency, the sampling rate or Nyquist frequency ${f}_{Ny}$, and the frequency ${f}_{a}$ receiving the aliased signal is

$${f}_{a}=|m{f}_{Ny}-{f}_{s}|$$ |

where $m$ is the closest integer multiple of the sampling rate to the signal being sampled. In the example of Fig. 1, ${f}_{s}={f}_{n=10}=10\phantom{\rule{1em}{0ex}}waves\phantom{\rule{1em}{0ex}}per\phantom{\rule{1em}{0ex}}10\phantom{\rule{1em}{0ex}}meters=1\phantom{\rule{1em}{0ex}}{m}^{-1}$, ${f}_{Ny}=0.4$, and either $m=2$ or $m=3$ gives ${f}_{a}=|2\times 0.4-1|=0.2$ (or ${f}_{a}=|3\times 0.4-1|=0.2$). Thus the $n=10$ wave is aliased into the $n=2$ wave, which has a frequency of 2 waves per 10 meters, or $0.2\phantom{\rule{1em}{0ex}}{m}^{-1}$, just as seen in the ﬁgure. Note that many other frequencies are also aliased into this frequency. For example, a wave with ${f}_{s}=1.4$, corresponding to $n=14$, also gives ${f}_{a}$ = 0.2 with $m=4$, and so on.