In order to understand the solution in all mathematical details we make a change of variables
w = x + ct,\quad z = x − ct.
| (6.2) |
We write u(x,t) =\bar{ u}(w,z). We find
We thus conclude that
{{∂}^{2}u\over
∂{x}^{2}}(x,t) − {1\over {
c}^{2}} {{∂}^{2}u\over
∂{t}^{2}} (x,t) = 4 {{∂}^{2}\bar{u}\over
∂w∂z} = 0
| (6.4) |
An equation of the type {{∂}^{2}\bar{u}\over ∂w∂z} = 0 can easily be solved by subsequent integration with respect to z and w. First solve for the z dependence,
{∂\bar{u}\over
∂w} = Φ(w),
| (6.5) |
where Φ is any function of w only. Now solve this equation for the w dependence,
\bar{u}(w,z) =\mathop{ \mathop{\mathop{∫
}\nolimits }}\nolimits Φ(w)dw = F(w) + G(z)
| (6.6) |
In other words,
\class{boxed}{ u(x,t) = F(x + ct) + G(x − ct), }
|
with F and G arbitrary functions.
This equation is quite useful in practical applications. Let us first look at how to use this when we have an infinite system (no limits on x). Assume that we are treating a problem with initial conditions
u(x,0) = f(x),\kern 2.77695pt \kern 2.77695pt {∂u\over
∂t} (x,0) = g(x).
| (6.7) |
Let me assume f(±∞) = 0. I shall assume this also holds for F and G (we don’t have to, but this removes some arbitrary constants that don’t play a rôle in u). We find
The last equation can be massaged a bit to give
F(x) − G(x) ={\underbrace{ {1\over
c}{\mathop{\mathop{\mathop{∫
}\nolimits }}\nolimits }_{0}^{x}g(y)dy} }_{
=Γ(x)} + C
| (6.9) |
Note that Γ is the integral over g. So Γ will always be a continuous function, even if g is not!
And in the end we have
Suppose we choose (for simplicity we take c = 1\text{m/s})
f(x) = \left \{\array{
x + 1\quad &\text{if $ − 1 < x < 0$}
\cr
1 − x\quad &\text{if $0 < x < 1$}
\cr
0 \quad &\text{elsewhere} } \right ..
| (6.11) |
and g(x) = 0. The solution is then simply given by
u(x,t) = {1\over
2}\left [f(x + t) + f(x − t)\right ].
| (6.12) |
This can easily be solved graphically, as shown in Fig. 6.2.
The case of a finite string is more complex. There we encounter the problem that even though f and g are only known for 0 < x < a, x ± ct can take any value from −∞ to ∞. So we have to figure out a way to continue the function beyond the length of the string. The way to do that depends on the kind of boundary conditions: Here we shall only consider a string fixed at its ends.
Initially we can follow the approach for the infinite string as sketched above, and we find that
Look at the boundary condition u(0,t) = 0. It shows that
{1\over
2}[f(ct) + f(−ct)] + {1\over
2}[Γ(ct) − Γ(−ct)] = 0.
| (6.15) |
Now we understand that f and Γ are completely arbitrary functions – we can pick any form for the initial conditions we want. Thus the relation found above can only hold when both terms are zero
Now apply the other boundary condition, and find
The reflection conditions for f and Γ are similar to those for sines and cosines, and as we can see from Fig. 6.3 both f and Γ have period 2a.