The strings of a musical instrument can either be plucked or hit in order to begin a vibration, producing --if we're lucky-- a note. A guitar player plucks strings but a piano player makes little hammers hit strings inside the instrument. The difference is that the free oscillation begins when the guitar player releases the string in a position away from its rest (equilibrium) position, while the hammer in the piano hits the relaxed string. Similarly, the guitar string begins to accelerate towards the relaxed position, while the piano string is at maximum velocity as soon as the hammer hits it and then decelerates as it moves towards its amplitude.
Like a pendulum, the string oscillates between states of maximum kinetic energy (when it passes through the relaxed position) and maximum potential energy (amplitude). When a string is plucked, it begins its oscillation in the potential-energy state; if it is hit, it begins in the kinetic-energy state.
|The general solutions of the wave equation are:||.|
|The string is pegged at x=0 and at x=l:||y(0,t)=y(l,t)=0.|
|Hence half the period of any oscillation must be a multiple of the length of the string,|
|i.e. standing wave condition:||.|
|Also, the cos(kx) solutions don't satisfy y(0,t)=0:||.|
The remaining boundary conditions depend on whether the string is in a guitar or in a piano:
|plucked (guitar)||hit (piano)|
|Positional boundary condition:|
|start at max. amplitude: y(x,0)=f(x)||start at relaxed position: y(x,0)=0|
|Velocity (differential) boundary condition:|
|no motion before release:||max. velocity at release:|
|The solution is either a sine or a cosine wave in time. The velocity, its derivative with time, is therefore a cosine or a sine wave, respectively. The velocity is supposed to be 0 at t=0; so it has to be the sine wave. Therefore the solution itself must be the cosine form in time.||y(x,0)=0 demands the sine solution in time.|
|General solution selected:|
|Expand into sine series:|
|Recall boundary condition...:|
Here it's necessary to differentiate y(x,t) before applying the differential BC:
The function f(x) describing the position of the string just before it is released (i.e. at t=0) can be seen from the diagram above.
|As we see, the positional BC is:||.|
|To find the Fourier coefficients, solve:||.|
|and move constants in front of the integrals:||.|
|The first and third integral are identical (apart from the limits).|
|It can be integrated by parts:||
|Thus, solve integrals in the bn equation:||,|
|and tidy up:|
|Most of the coefficients cancel out, so:||.|
|The factor (-1)n+1 ensures an alternating sign. Finally,|
|substitute the bn into y(x,t):||.|
Most problems of this kind require the use of polar coordinates in order to exploit their inherent symmetry. The additional spatial dimension(s) are dealt with by additional separation steps after separating off the time dependence.
|General wave equation:|
|Separate off time part:||,|
|then separate x and y:||.|