= Solution
There is a genuine periodicity mismatch in the source. Write $x_s=sb+u_s$. The intended <periodic displacements in a harmonic chain> satisfy $u_N=u_0$, equivalently $x_N=x_0+Nb$ for unwrapped positions. The printed $x_N=x_0$ instead makes the potential $\frac12m\lambda^2\sum_s(x_{s+1}-x_s)^2+\frac12Nm\lambda^2b^2$, with equilibrium at equal positions, not $x_s=sb$. The following lattice derivation uses periodic displacements, as required by the requested position operator.
Put $k_r=2\pi r/(Nb)$, $r=0,\ldots,N-1$, and <Fourier transform> the displacements and momenta with normalization $N^{-1/2}$. The spring quadratic form is diagonal, with factor $|e^{ik_rb}-1|^2=4\sin^2(k_rb/2)$. Thus each nonzero mode is a <harmonic oscillator> with
$$
\boxed{\omega_r=2\lambda|\sin(k_rb/2)|.}
$$
Creation and annihilation operators obey $[a_r,a_{r'}^\dagger]=\delta_{rr'}$. Inverting the oscillator-coordinate expansion gives
$$
\boxed{x_s=sb+\sqrt{\frac{\hbar}{2mN}}\sum_{r\ne0}\frac{a_re^{ik_rsb}+a_r^\dagger e^{-ik_rsb}}{\sqrt{\omega_r}}.}
$$
The conjugate momentum is $p_s=-i\sqrt{m\hbar/(2N)}\sum_{r\ne0}\sqrt{\omega_r}(a_re^{ik_rsb}-a_r^\dagger e^{-ik_rsb})$. Fourier orthogonality diagonalizes the <Hamiltonian> as $\sum_{r\ne0}\hbar\omega_r(a_r^\dagger a_r+1/2)$. The normalized oscillator vacuum is annihilated by every $a_r$; applying creation operators gives <number states>, each added <phonon> contributing $\hbar\omega_r$. The omitted zero mode is a free centre-of-mass coordinate, which must be fixed or treated separately rather than assigned an oscillator vacuum. Accordingly the reduced displacement commutator is $[u_s,p_t]=i\hbar(\delta_{st}-1/N)$.
For $iq u_s$, separate creation and annihilation parts. Their commutator is a scalar, so the supplied <Baker--Campbell--Hausdorff formula> and vacuum expectations give
$$
\langle0|e^{iqu_s}|0\rangle=e^{-W(q)},\qquad W(q)=\frac{q^2\hbar}{4mN}\sum_{r\ne0}\frac1{\omega_r}.
$$
Summing the geometric lattice phases yields
$$
\boxed{M=e^{-W(q)}e^{iqb(N-1)/2}\frac{\sin(Nqb/2)}{\sin(qb/2)},\qquad |M|^2=e^{-2W(q)}\left[\frac{\sin(Nqb/2)}{\sin(qb/2)}\right]^2.}
$$
The ratio is interpreted by continuity at its removable singularities. The interference factor has its maximum $N^2$ at $q=2\pi n/b$, where all lattice phases coincide. The source's Fourier-sum hint should read $r\equiv0\pmod N$, rather than $r=Nb$.
The claim about the full matrix element also needs qualification: its <Debye–Waller factor> envelope varies with $q$. The absolute global maximum is $|M(0)|^2=N^2$; at nonzero reciprocal-lattice points the value is $N^2e^{-2W(2\pi n/b)}<N^2$. Moreover the derivative of the envelope there is nonzero, whereas that of the interference factor is zero, so those points are not exact local maxima of the full finite-chain intensity. \b[The reciprocal-lattice condition maximizes the interference factor], which is the usual constructive-scattering interpretation of the requested result.
Back to article page