Consider a bar of length π with free ends, subject to longitudinal vibrations. You may assume that the longitudinal displacement y(x,t) of the bar satisfies the wave equation with some wave speed c :
∂t2∂2y=c2∂x2∂2y
for x∈(0,π) and t>0 with boundary conditions:
∂x∂y(0,t)=∂x∂y(π,t)=0
for t>0. The bar is initially at rest so that
∂t∂y(x,0)=0
for x∈(0,π), with a spatially varying initial longitudinal displacement given by
y(x,0)=bx
for x∈(0,π), where b is a real constant.
(a) Using separation of variables, show that
y(x,t)=2bπ−π4bn=1∑∞(2n−1)2cos[(2n−1)x]cos[(2n−1)ct]
(b) Determine a periodic function P(x) such that this solution may be expressed as
y(x,t)=21[P(x+ct)+P(x−ct)]