Wave equation#

What you need to know

  • Wave Equation Overview: The wave equation, a partial differential equation (PDE), fully describes the spatial and temporal evolution of waves.

  • Linearity of the Wave Equation: The wave equation is linear, meaning that any linear combination of solutions is also a solution. This allows the most general solution to be expressed as a linear combination of all possible solutions.

  • Boundary and Initial Conditions: To solve the wave equation for a specific physical system, boundary conditions must be specified. These include the values the wave function takes at the physical boundaries (e.g., \(x = 0\) and \(x = L\)). Initial conditions with respect to time (e.g., at \(t = 0\)) may also be required.

  • Solution Method for 1D Guitar String: For a 1D guitar string, the wave equation is solved by separating variables, solving the resulting ordinary differential equations, and then applying boundary conditions at the two ends of the string.

  • Periodic Solutions: The solution for a 1D guitar string results in an infinite number of periodic solutions, which are parameterized by an integer \(n\).

Classical Wave equation#

  • Wave equation is an example of a second order PDE (partial differential equation). This PDE governs behavior of displacement \(u(x,t)\) in time and space.

\[\frac{\partial^2 u(x,t)}{\partial x^2 }= \frac{1}{v^2}\frac{\partial^2 u(x,t)}{\partial t^2}\]
applied photoelectric

Fig. 40 Classical wave equation can describe any complicated wave in space and time given the intitial conditions.#

  • Applications of the Classical Wave Equation: To illustrate the applications of the classical wave equation, we will solve it for a 1D guitar string. This provides a comprehensive mathematical description of the string’s behavior.

  • Predicting Evolution: By specifying arbitrary initial conditions, the wave equation allows us to precisely predict the evolution of the string over time and space.

applied photoelectric

Fig. 41 Classical wave equation can describe any complicated wave in space and time given the intitial conditions.#

Solving Wave Equation: The big picture#

  • Boundary Conditions: To solve the wave equation for a specific physical situation, such as a guitar string fixed at both ends, we need to specify two boundary conditions. Mathematically, these are:

\[ u(0, t) = 0 \quad \text{and} \quad u(L, t) = 0 \]

where \(u(x, t)\) represents the displacement of the string at position \(x\) and time \(t\).

  • Separation of Variables: A common method to solve such equations is the technique of separation of variables. This technique assumes that \(x\) and \(t\) vary independently of each other, allowing us to express \(u(x, t)\) as a product of two functions, each depending on only one variable. This allows us to decompose PDE into Ordinary Differnetial Equations ODEs.

\[ u(x, t) = X(x) \cdot T(t) \]
  • Principle of superposition: The wave equation is linear which you can see by \(u\) terms appearing with first order on both side. Linearity means that linear combination of two solutions \(c_1 u_1+c_2u_2\) is also a solution. If you have \(n\) particular solutions than you write general solution as linear combination of n terms.

Step 1: Plug the Product of Univariate Functions into the Wave Equation#

  • Start with the 1D wave equation that can describe 1D guitar string:

\[ \frac{1}{v^2}\frac{\partial^2 u(x,t)}{\partial t^2} = \frac{\partial^2 u(x,t)}{\partial x^2} \]
  • Substitute \(u(x, t) = X(x)T(t)\) into the wave equation:

\[ \frac{1}{v^2}\frac{\partial^2 X(x)T(t)}{\partial t^2} = \frac{\partial^2 X(x)T(t)}{\partial x^2} \]
  • After rearranging, we get:

\[ \frac{X(x)}{v^2}\frac{\partial^2 T(t)}{\partial t^2} = T(t)\frac{\partial^2 X(x)}{\partial x^2} \]
  • Thus, we obtain two separate ordinary differential equations (ODEs) from the original partial differential equation (PDE):

\[ \frac{1}{T(t)v^2}\frac{\partial^2 T(t)}{\partial t^2} = \frac{1}{X(x)}\frac{\partial^2 X(x)}{\partial x^2} = K \]
  • where \(K\) is a constant.

Step 2: Solving Each Ordinary Differential Equation#

After decomposing the PDE into ODEs, we solve each ODE separately:

\[ \frac{\partial^2 T(t)}{\partial t^2} - K T(t) v^2 = 0 \]
\[ \frac{\partial^2 X(x)}{\partial x^2} - K X(x) = 0 \]

Solution for spatial part#

  • Becasue of boundary conditions (\(X(x)=X(L)=0\)) imposed at the ends of guitar string we found infinite number of solutions indexed by an integer number \(n\). These terms are called normal modes and are visualized below.

\[ X(x) = B \sin \left(\frac{n \pi}{L} x \right) \]
applied photoelectric

Fig. 42 The first seven solutions (normal modes) of spatial part of the wave equation on a length \(L\) with two amplitudes (one positive and one negative).#

Solution for temporal part#

  • For temporal part since we do not have boundary conditions! Time is allowed to march forward into infinity. We find solution in the form of linear combination of sine and cosine functions with \(\omega_n = \beta v = \frac{n \pi v}{L}\) and \(n = 1, 2, 3, \ldots\) represents the normal modes.

\[ T(t) = D_n \cos(\omega_n t) + E_n \sin(\omega_n t) = A_n \cos (\omega_n t + \phi_n) \]
  • In the second line we esing trig identity to express sum of cosine and sine in terms of cosine. Still we have two constantst o determine

  • The constants \(A_n\) \(\phi_n\) in temporal part are determined by initial codnitions E.g what should be the amplitude and phase of wave at starting time \(t=0\).

Step 3 Full solution: A linear combination of normal modes#

  • After solving ODEs for spatial and tempoeral parts we now combine them into a full solution.

  • The complete description of any vibrational motion of the guitar string is given by the sum of the normal modes, \(X_n(x)\).

  • While the terms involving time, \(T_n(t)\), depend on how and where the string is plucked, the normal modes \(X_n(x)\) remain the same for a given string.

applied photoelectric

Fig. 43 Presented are first six solutions from \(n=0,1,2,3,4,5\)#

  • For \(n = 1\): There are 0 nodes (excluding the endpoints). This is called the fundamental frequency or first harmonic.

  • For \(n = 2\): There is 1 node. This is known as the first overtone or second harmonic.

  • For \(n = 3\): There are 2 nodes. This is called the second overtone or third harmonic.

  • Note that the general solution to wave equation is expressed as a linear combination of all normal modes

2D Membrane Vibrations#

  • The wave function of a 2D membrane with fixed edges depends on two independent spatial variables, \(x\) and \(y\). By applying the method of separation of variables, we decompose the wave function into three ordinary differential equations.

\[ u(x, y, t) = X(x) Y(y) T(t) \]
  • For the spatial components \(X(x)\) and \(Y(y)\), there are boundary conditions that must be satisfied at the fixed edges: Boundary condition along the \(X\)-axis: \(X(0) = X(L) = 0\) and Boundary condition along the \(Y\)-axis: \(Y(0) = Y(L) = 0\)

  • The 2D normal mode is the product of two 1D mode. Since dimensions are independent we get integer numbers \(n\) for the \(x\)-direction and \(m\) for the \(y\)-direction:

\[ u(x, y, t) = \sum_n \sum_m A_{nm} \cos(\omega_{nm}t + \phi_{nm}) \sin\left(\frac{n\pi x}{a}\right) \sin\left(\frac{m\pi y}{b}\right) \]
  • The angular frequency \(\omega_{nm}\) depends on the geometry of the membrane (with dimensions \(a\) and \(b\)) and the mode numbers \(n\) and \(m\):

\[ \omega_{nm} = v\pi \left(\frac{n^2}{a^2} + \frac{m^2}{b^2}\right)^{1/2} \]

Where:

  • \(v\) is the wave speed,

  • \(n\) and \(m\) are the mode numbers,

  • \(a\) and \(b\) are the dimensions of the membrane.

applied photoelectric

Fig. 44 Vibrations of 2D membrane.#

The sound of music.#

  • Music produced by musical instruments is a combination of sound waves with frequencies corresponding to a superposition of normal modes (in music they call harmonics, overtones) of those musical instruments.

  • Learn more from this series.

../_images/lec4_music.jpg

Fig. 45 The size of the musical instrument reflects the range of frequencies over which the instrument is designed to function. Smaller size implies higher frequencies, larger size implies lower frequencies.#

Example Problems#

Problem 1: Simple Harmonic Oscillator#

Solve the ODE:

\[ \frac{d^2 y}{dt^2} + \omega^2 y = 0 \]

where \(\omega\) is a constant.

Problem 2: Damped Oscillator#

Solve the ODE:

\[ \frac{d^2 y}{dt^2} + 2 \beta \frac{dy}{dt} + \omega^2 y = 0 \]

where \(\beta\) and \(\omega\) are constants. Consider cases of \(\beta^2 < \omega^2\), \(\beta^2 > \omega^2\) and \(\beta^2 = \omega^2\)

Problem 3: ODE with Constant Coefficients#

Solve the ODE:

\[ \frac{d^2 y}{dt^2} - 4 y = 0 \]

Problem 4: Simple 2nd order ODE#

Solve the ODE:

\[ \frac{d^2 y}{dt^2} + 9 y = 0 \]

Problem 5: When ODE gives repeated roots#

Solve the ODE:

\[ \frac{d^2 y}{dt^2} - 6 \frac{dy}{dt} + 9 y = 0 \]