Step 1: Since \(u_t(x,0) = 0\), d'Alembert's solution reduces to
\[u(x,t) = \frac{1}{2}\left[F(x+ct) + F(x-ct)\right]\]where \(F\) is the odd, period 2 extension of the initial shape \(u(x,0) = \sin(\pi x)\), and \(c = 2\).
Step 2: The function \(\sin(\pi x)\) is already odd and has period 2 (since \(\sin(\pi(x+2)) = \sin(\pi x)\)), so it is its own extension: \(F(s) = \sin(\pi s)\).
Step 3: Substitute:
\[u(x,t) = \frac{1}{2}\left[\sin(\pi(x+ct)) + \sin(\pi(x-ct))\right]\]Step 4: Use the identity \(\sin A + \sin B = 2\sin\left(\frac{A+B}{2}\right)\cos\left(\frac{A-B}{2}\right)\) with \(A = \pi(x+ct)\), \(B = \pi(x-ct)\), so \(\frac{A+B}{2} = \pi x\) and \(\frac{A-B}{2} = \pi c t\):
\[u(x,t) = \frac{1}{2}\cdot 2\sin(\pi x)\cos(\pi c t) = \sin(\pi x)\cos(\pi c t)\]Step 5: Substitute \(c = 2\):
\[u(x,t) = \sin(\pi x)\cos(2\pi t)\] \[\boxed{u(x,t) = \sin(\pi x)\cos(2\pi t)}\]