[guided]We now apply the additive large sieve to the frequencies produced by the Gauss sum formula. First verify the hypotheses on those frequencies. Choose representatives $0 \leq a < q$ and $0 \leq a' < q'$ with $\gcd(a,q)=1$ and $\gcd(a',q')=1$. If $a/q=a'/q'$, then cross-multiplication gives $aq'=a'q$. Since each fraction is in lowest terms, uniqueness of reduced rational representation gives $q=q'$ and then $a=a'$. Thus the reduced fractions $a/q$ are distinct.
The index set $I=\{n \in \mathbb{Z}: M<n\leq M+N\}$ consists of $N$ consecutive integers, and every frequency has the required form $a/q$ with $q \leq Q$ and $\gcd(a,q)=1$. The reduced-fraction spacing used in the locally staged [Additive Large Sieve Inequality](/theorems/7181) for Reduced Fractions [quotetheorem:TEMP-23] gives $\Delta=Q^{-2}$, so the locally staged Dual Additive Large Sieve Inequality [quotetheorem:TEMP-25] applies to the coefficient family $(c_{q,a})$ and gives
\begin{align*}
\sum_{n \in I}\left|\sum_{q \leq Q}\sum_{\substack{a \bmod q,\ \gcd(a,q)=1}} c_{q,a}e\left(\frac{an}{q}\right)\right|^2 \leq (N-1+Q^2)\sum_{q \leq Q}\sum_{\substack{a \bmod q,\ \gcd(a,q)=1}} |c_{q,a}|^2.
\end{align*}
The previous step proved the coefficient estimate
\begin{align*}
\sum_{\substack{a \bmod q,\ \gcd(a,q)=1}} |c_{q,a}|^2 \leq \sum_{\chi \bmod q}^{*}|b(q,\chi)|^2
\end{align*}
for each fixed $q \leq Q$. Summing that estimate over $q \leq Q$ and inserting it into the additive large sieve bound gives
\begin{align*}
\sum_{n \in I}\left|\sum_{q \leq Q}\sum_{\substack{a \bmod q,\ \gcd(a,q)=1}} c_{q,a}e\left(\frac{an}{q}\right)\right|^2 \leq (N-1+Q^2)\sum_{q \leq Q}\sum_{\chi \bmod q}^{*}|b(q,\chi)|^2.
\end{align*}
Finally, the Gauss-sum conversion step identified the inner additive sum with the dual primitive-character expression. Hence this is exactly the dual estimate needed for the original multiplicative large sieve.[/guided]