4.5.1: Oscillation of a String
- Page ID
- 2179
\( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)
\( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)
\( \newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\)
( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\)
\( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)
\( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\)
\( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)
\( \newcommand{\Span}{\mathrm{span}}\)
\( \newcommand{\id}{\mathrm{id}}\)
\( \newcommand{\Span}{\mathrm{span}}\)
\( \newcommand{\kernel}{\mathrm{null}\,}\)
\( \newcommand{\range}{\mathrm{range}\,}\)
\( \newcommand{\RealPart}{\mathrm{Re}}\)
\( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)
\( \newcommand{\Argument}{\mathrm{Arg}}\)
\( \newcommand{\norm}[1]{\| #1 \|}\)
\( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)
\( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\AA}{\unicode[.8,0]{x212B}}\)
\( \newcommand{\vectorA}[1]{\vec{#1}} % arrow\)
\( \newcommand{\vectorAt}[1]{\vec{\text{#1}}} % arrow\)
\( \newcommand{\vectorB}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)
\( \newcommand{\vectorC}[1]{\textbf{#1}} \)
\( \newcommand{\vectorD}[1]{\overrightarrow{#1}} \)
\( \newcommand{\vectorDt}[1]{\overrightarrow{\text{#1}}} \)
\( \newcommand{\vectE}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash{\mathbf {#1}}}} \)
\( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)
\( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)
\(\newcommand{\avec}{\mathbf a}\) \(\newcommand{\bvec}{\mathbf b}\) \(\newcommand{\cvec}{\mathbf c}\) \(\newcommand{\dvec}{\mathbf d}\) \(\newcommand{\dtil}{\widetilde{\mathbf d}}\) \(\newcommand{\evec}{\mathbf e}\) \(\newcommand{\fvec}{\mathbf f}\) \(\newcommand{\nvec}{\mathbf n}\) \(\newcommand{\pvec}{\mathbf p}\) \(\newcommand{\qvec}{\mathbf q}\) \(\newcommand{\svec}{\mathbf s}\) \(\newcommand{\tvec}{\mathbf t}\) \(\newcommand{\uvec}{\mathbf u}\) \(\newcommand{\vvec}{\mathbf v}\) \(\newcommand{\wvec}{\mathbf w}\) \(\newcommand{\xvec}{\mathbf x}\) \(\newcommand{\yvec}{\mathbf y}\) \(\newcommand{\zvec}{\mathbf z}\) \(\newcommand{\rvec}{\mathbf r}\) \(\newcommand{\mvec}{\mathbf m}\) \(\newcommand{\zerovec}{\mathbf 0}\) \(\newcommand{\onevec}{\mathbf 1}\) \(\newcommand{\real}{\mathbb R}\) \(\newcommand{\twovec}[2]{\left[\begin{array}{r}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\ctwovec}[2]{\left[\begin{array}{c}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\threevec}[3]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\cthreevec}[3]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\fourvec}[4]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\cfourvec}[4]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\fivevec}[5]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\cfivevec}[5]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\mattwo}[4]{\left[\begin{array}{rr}#1 \amp #2 \\ #3 \amp #4 \\ \end{array}\right]}\) \(\newcommand{\laspan}[1]{\text{Span}\{#1\}}\) \(\newcommand{\bcal}{\cal B}\) \(\newcommand{\ccal}{\cal C}\) \(\newcommand{\scal}{\cal S}\) \(\newcommand{\wcal}{\cal W}\) \(\newcommand{\ecal}{\cal E}\) \(\newcommand{\coords}[2]{\left\{#1\right\}_{#2}}\) \(\newcommand{\gray}[1]{\color{gray}{#1}}\) \(\newcommand{\lgray}[1]{\color{lightgray}{#1}}\) \(\newcommand{\rank}{\operatorname{rank}}\) \(\newcommand{\row}{\text{Row}}\) \(\newcommand{\col}{\text{Col}}\) \(\renewcommand{\row}{\text{Row}}\) \(\newcommand{\nul}{\text{Nul}}\) \(\newcommand{\var}{\text{Var}}\) \(\newcommand{\corr}{\text{corr}}\) \(\newcommand{\len}[1]{\left|#1\right|}\) \(\newcommand{\bbar}{\overline{\bvec}}\) \(\newcommand{\bhat}{\widehat{\bvec}}\) \(\newcommand{\bperp}{\bvec^\perp}\) \(\newcommand{\xhat}{\widehat{\xvec}}\) \(\newcommand{\vhat}{\widehat{\vvec}}\) \(\newcommand{\uhat}{\widehat{\uvec}}\) \(\newcommand{\what}{\widehat{\wvec}}\) \(\newcommand{\Sighat}{\widehat{\Sigma}}\) \(\newcommand{\lt}{<}\) \(\newcommand{\gt}{>}\) \(\newcommand{\amp}{&}\) \(\definecolor{fillinmathshade}{gray}{0.9}\)Let \(u(x,t)\), \(x\in[a,b]\), \(t\in\mathbb{R}^1\), be the deflection of a string, see Figure 1.1.1 from Chapter 1. Assume the deflection occurs in the \((x,u)\)-plane. This problem is governed by the initial-boundary value problem
\begin{eqnarray}
\label{string1}\tag{4.5.1.1}
u_{tt}(x,t)&=&u_{xx}(x,t)\ \ \mbox{on}\ (0,l)\\
\label{string2} \tag{4.5.1.2}
u(x,0)&=&f(x)\\
\label{string3} \tag{4.5.1.3}
u_t(x,0)&=&g(x)\\
\label{string4} \tag{4.5.1.4}
u(0,t)&=&u(l,t)=0.
\end{eqnarray}
Assume the initial data \(f\), \(g\) are sufficiently regular. This implies compatibility conditions \(f(0)=f(l)=0\) and \(g(0)=g(l)\).
Fourier's method
To find solutions of differential equation (\ref{string1}) we make the separation of variables ansatz
$$
u(x,t)=v(x)w(t).
$$
Inserting the ansatz into (\ref{string1}) we obtain
$$
v(x)w''(t)=v''(x)w(t),
$$
or, if \(v(x)w(t)\not=0\),
$$
\frac{w''(t)}{w(t)}=\frac{v''(x)}{v(x)}.
$$
It follows, provided \(v(x)w(t)\) is a solution of differential equation (\ref{string1}) and \(v(x)w(t)\not=0\),
$$
\frac{w''(t)}{w(t)}=const.=:-\lambda
$$
and
$$
\frac{v''(x)}{v(x)}=-\lambda
$$
since \(x,\ t\) are independent variables.
Assume \(v(0)=v(l)=0\), then \(v(x)w(t)\) satisfies the boundary condition (\ref{string4}). Thus we look for solutions of the eigenvalue problem
\begin{eqnarray}
\label{ewastring1}\tag{4.5.1.5}
-v''(x)&=&\lambda v(x)\ \ \mbox{in}\ (0,l)\\
\label{ewastring2} \tag{4.5.1.6}
v(0)&=&v(l)=0,
\end{eqnarray}
which has the eigenvalues
$$
\lambda_n=\left(\frac{\pi}{l}n\right)^2, \ \ n=1,2,\ldots,
$$
and associated eigenfunctions are
$$
v_n=\sin\left(\frac{\pi}{l}nx\right).
$$
Solutions of
$$
-w''(t)=\lambda_n w(t)
$$
are
$$
\sin(\sqrt{\lambda_n}t),\ \ \ \cos(\sqrt{\lambda_n}t).
$$
Set
$$
w_n(t)=\alpha_n\cos(\sqrt{\lambda_n}t)+\beta_n\sin(\sqrt{\lambda_n}t),
$$
where \(\alpha_n,\ \beta_n\in\mathbb{R}^1\).
It is easily seen that \(w_n(t)v_n(x)\) is a solution of differential equation (\ref{string1}), and, since (\ref{string1}) is linear and homogeneous, also (principle of superposition)
$$
u_N=\sum_{n=1}^Nw_n(t)v_n(x)
$$
which satisfies the differential equation (\ref{string1}) and the boundary conditions (\ref{string4}). Consider the formal solution of (\ref{string1}), (\ref{string4})
\begin{equation}
\label{string5} \tag{4.5.1.7}
u(x,t)=\sum_{n=1}^\infty \left(\alpha_n\cos(\sqrt{\lambda_n}t)+\beta_n\sin(\sqrt{\lambda_n}t)\right)\sin\left(\sqrt{\lambda_n}x\right).
\end{equation}
''Formal'' means that we know here neither that the right hand side converges nor that it is a solution of the initial-boundary value problem. Formally, the unknown coefficients can be calculated from initial conditions (\ref{string2}), (\ref{string3}) as follows. We have
$$
u(x,0)=\sum_{n=1}^\infty\alpha_n\sin(\sqrt{\lambda_n}x)=f(x).
$$
Multiplying this equation by \(\sin(\sqrt{\lambda_k}x)\) and integrate over \((0,l)\), we get
$$
\alpha_n\int_0^l\ \sin^2(\sqrt{\lambda_k}x)\ dx=\int_0^l\ f(x)\sin(\sqrt{\lambda_k}x)\ dx.
$$
We recall that
$$
\int_0^l\ \sin(\sqrt{\lambda_n}x)\sin(\sqrt{\lambda_k}x)\ dx=\frac{l}{2}\delta_{nk}.
$$
Then
\begin{equation}
\label{string6} \tag{4.5.1.8}
\alpha_k=\frac{2}{l}\int_0^l\ f(x)\sin\left(\frac{\pi k}{l} x\right)\ dx.
\end{equation}
By the same argument it follows from
$$
u_t(x,0)=\sum_{n=1}^\infty\beta_n\sqrt{\lambda_n}\sin(\sqrt{\lambda_n}x)=g(x)
$$
that
\begin{equation}
\label{string7} \tag{4.5.1.9}
\beta_k=\frac{2}{k\pi}\int_0^l\ g(x)\sin\left(\frac{\pi k}{l} x\right)\ dx.
\end{equation}
Under additional assumptions \(f\in C_0^4(0,l)\), \(g\in C_0^3(0,l)\) it follows that the right hand side of (\ref{string5}), where \(\alpha_n\), \(\beta_n\) are given by (\ref{string6}) and (\ref{string7}), respectively, defines a classical solution of (\ref{string1})-(\ref{string4}) since under these assumptions the series for \(u\) and the formal differentiate series for \(u_t\), \(u_{tt}\), \(u_x\), \(u_{xx}\) converges uniformly on \(0\le x\le l\), \(0\le t\le T\), \(0<T<\infty\) fixed, see an exercise.
Contributors and Attributions
Integrated by Justin Marshall.