Separation and the fixed-end conditions give
Put
The initial displacement and zero initial velocity then give the separated solution of the damped string equation
For the triangular initial displacement,
Thus the even coefficients vanish and the odd ones alternate in sign.
Let
Then
Orthogonality of the sine and cosine modes, equivalently the Parseval identity, gives
The sign of its derivative is clearest directly from the equation. Integration by parts, using at the fixed endpoints, yields
This is the energy dissipation identity for a linearly damped string.