6
$\begingroup$

I am studying inequality (8.11) from Analytic Number Theory by Iwaniec and Kowalski. It is found on top of page 200. In bottom of page 199, the authors prove that $$ |S_f(N)|^2 \leq N + \frac{2N^2}{q} + 4(N+q)\log(q). $$ They claim that using the last inequality and the trivial bound $ |S_f(N)| \leq N $, (8.11) follows, namely $$ |S_f(N)| \leq2\frac{N}{\sqrt{q}} + \sqrt{q}\log(q). $$ where $ S_f(N) = \sum_{n=1}^N e^{\alpha n^2 + \beta n}, $ where $ \alpha $ and $ \beta $ are constants. also $ \left| 2\alpha - \frac{a}{q} \right| \leq \frac{1}{2Nq}, $ where $(a, q) = 1$ and $1 \leq q \leq 2N$.

I am having trouble fully understanding the derivation and implications of this result. Here's my attempt at breaking it into cases:


My Attempts

  1. Case A: If $ q \leq 4 $: $$ \min\left(\sqrt{N + \frac{2N^2}{q} + 4(N+q)\log(q)}, N\right) \leq N \leq \frac{2N}{\sqrt{q}}. $$ This appears consistent with (8.11).
  2. Case B: If $ N \leq \sqrt{q}\log(q) $: $$ \min\left(\sqrt{N + \frac{2N^2}{q} + 4(N+q)\log(q)}, N\right) \leq N \leq \sqrt{q}\log(q). $$ This seems to hold as well.
  3. Case C: If $ e^4 \leq q $: $$ \min\left(\sqrt{N + \frac{2N^2}{q} + 4(N+q)\log(q)}, N\right) \leq \sqrt{N + \frac{2N^2}{q} + 4(N+q)\log(q)}. $$ Using the fact that $ q \leq 2N $, I verified: $$ \frac{2N^2}{q} \leq 2N, \quad \text{and} \quad 4q\log(q) \leq q(\log(q))^2 \quad \text{if } e^4 \leq q. $$ This seems consistent with (8.11).
  4. Case D: Otherwise: I used MATLAB to check some examples numerically, but I found counterexamples that seem to violate (8.11). Below is the MATLAB code and output:

MATLAB Code and Results

% Parameters
q_min =5 ; % Minimum value of q
q_max = exp(4); % Maximum value of q
N=1:100; % Minimum value of N as a function of q
% Initialize variables
violations = []; % Store counterexamples
for q = q_min:floor(q_max) % q as an integer
for N = ceil(N_min(q)):floor(2*q) % Ensure N satisfies q <= 2N
% Compute LHS and RHS
LHS = min(sqrt(N + 2*N^2/q + 4*(N + q)*log(q)),N);
RHS = 2*N/sqrt(q) + sqrt(q)*log(q);
% Check if inequality is violated
8
if LHS > RHS
% Record counterexample
violations = [violations; q, N, LHS, RHS];
end
end
end
% Display results
if isempty(violations)
fprintf(’The inequality holds for all valid (q, N) pairs.\n’);
else
fprintf(’The inequality is violated for the following cases:\n’);
disp(’ q N LHS RHS’);
disp(violations);
end

The results
The inequality is violated for the following cases:
q N LHS RHS
13.0000 21.0000 20.9208 20.8968
14.0000 22.0000 21.7064 21.6339
15.0000 22.0000 22.0000 21.8490
15.0000 23.0000 22.4757 22.3654
16.0000 23.0000 22.8396 22.5904
16.0000 24.0000 23.2296 23.0904
16.0000 25.0000 23.6184 23.5904
17.0000 23.0000 23.0000 22.8383
17.0000 24.0000 23.5884 23.3233
17.0000 25.0000 23.9689 23.8084
17.0000 26.0000 24.3483 24.2935
18.0000 24.0000 23.9496 23.5765
18.0000 25.0000 24.3226 24.0479
18.0000 26.0000 24.6945 24.5193
18.0000 27.0000 25.0653 24.9907
19.0000 24.0000 24.0000 23.8465
19.0000 25.0000 24.6781 24.3053
19.0000 26.0000 25.0431 24.7641
19.0000 27.0000 25.4070 25.2230
19.0000 28.0000 25.7698 25.6818
20.0000 25.0000 25.0000 24.5777
20.0000 26.0000 25.3932 25.0249
20.0000 27.0000 25.7507 25.4721
20.0000 28.0000 26.1071 25.9193
20.0000 29.0000 26.4625 26.3665
20.0000 30.0000 26.8169 26.8137
21.0000 25.0000 25.0000 24.8626




Results showed cases where the inequality failed, especially for certain ( N, q ) values.


Question:

  1. Could someone clarify the derivation and logic leading to (8.11)?
  2. Are there additional conditions (perhaps implicit) required for (8.11) to hold?
  3. If counterexamples exist for $ N, q $, what might explain this discrepancy?

Any insights or guidance would be appreciated. Thank you!

$\endgroup$
6
  • 1
    $\begingroup$ What is the expression $S_{f}(N)$? from the shape of the inequalities it seems to be some Weyl sum? $\endgroup$
    – Asaf
    Commented Nov 27 at 21:16
  • $\begingroup$ It is $ S_f(N) = \sum_{n=1}^N e^{\alpha n^2 + \beta n}, $ where $ \alpha $ and $ \beta $ are constants. $\endgroup$ Commented Nov 27 at 21:45
  • $\begingroup$ Then $\alpha$ must be restricted to some arc or something as in the circle method? Could you write down the explicit statements you are looking at with the required assumptions? The holiday basically started, I am sure most folks are away from the campuses and probably don't carry their personal copy of Iwaniec-Kowalski with them (it is a rather thick book). $\endgroup$
    – Asaf
    Commented Nov 27 at 22:09
  • $\begingroup$ The constraint on $\alpha$ is given by: $ \left| 2\alpha - \frac{a}{q} \right| \leq \frac{1}{2Nq}, $ where $(a, q) = 1$and $1 \leq q \leq 2N$ @Asaf $\endgroup$ Commented Nov 27 at 22:34
  • 3
    $\begingroup$ @Asaf, MathOverflow is a global phenomenon. I am not aware of any holiday (with the possible exception of New Years on 1 January) which is celebrated everywhere. Also, not all users of MathOverflow have campuses to be away from. $\endgroup$ Commented Nov 28 at 1:42

3 Answers 3

6
$\begingroup$

The assumptions imply $$|S_f(N)|\le\sqrt2\frac N{\sqrt q}+2\sqrt q\log q.$$ Indeed, if $q\le2$, this follows from $|S_f(N)|\le N$; for $q\ge3$, we have $\log q>1$, thus $$\begin{align*} |S_f(N)|^2&\le\frac{2N^2}q+N+4N\log q+4q\log q\\ &\le\frac{2N^2}q+5N\log q+4q\log q\\ &\le\frac{2N^2}q+4\sqrt2N\log q+4q(\log q)^2\\ &=\left(\sqrt2\frac N{\sqrt q}+2\sqrt q\log q\right)^2. \end{align*}$$

$\endgroup$
6
$\begingroup$

The authors seem to claim that if a real quantity $X$ satisfies $X \le N$ and $$\tag{$*$}\label{483297_star}X^2\le N+\frac{2N^2}{q}+4(N+q)\log q$$ then $$X\le 2\frac{N}{\sqrt{q}}+\sqrt{q}\log q.$$ Here $N$, $q$ are positive integers. Your code clearly found a violation of this. Let me instead show that $$\tag{$**$}\label{483297_starstar}X \le C\left( \frac{N}{\sqrt{q}}+\sqrt{q}\log q\right)$$ holds with $C=8$.

  • Case 1: Suppose $q=1$ or $q=2$. Then \eqref{483297_starstar} holds with $C=\sqrt{2}$ using $X \le N$. From now on we won't use $X\le N$, and assume $q\ge 3$.
  • Case 2: Suppose $N\ge 8 q\log q$. In particular $N \ge q$. By \eqref{483297_star}, $X^2 \le N+\frac{2N^2}{q}+8N\log q \le \frac{4N^2}{q}$ and so \eqref{483297_starstar} holds with $C=2$.
  • Case 3: Suppose $N \le q$. By \eqref{483297_star}, $X^2 \le 3q+8q\log q \le 11q \log q$, which implies that \eqref{483297_starstar} holds with $C=\sqrt{11 }$. (In this case we can make $C$ as small as we wish by taking $q$ sufficiently large.)
  • Case 4: Suppose $q \le N \le 8q\log q$. Then $X^2 \le \frac{3N^2}{q} + 8N \log q \le \frac{3N^2}{q} + 64q\log^2 q$. Using the fact that $t\mapsto\sqrt{t}$ is subadditive, it follows that $$X \le \sqrt{\frac{3N^2}{q}} + \sqrt{64q\log^2 q} \le 2 \frac{N}{\sqrt{q}} + 8\sqrt{q}\log q.$$

Finally, we mention that \eqref{483297_starstar} is lossy compared to \eqref{483297_star} in the regime $N\ll q \log q$. A slightly better estimate is $$X \le C\left(\frac{N}{\sqrt{q}}+\sqrt{\max\{N,q\} \log q}\right).$$

$\endgroup$
2
  • 1
    $\begingroup$ Doesn’t your argument actually show the better bound $X\le2\frac N{\sqrt q}+8\sqrt q\log q$? Or did I miss some of the cases? $\endgroup$ Commented Nov 28 at 9:43
  • $\begingroup$ @EmilJeřábek Yes, you are right. $\endgroup$ Commented Nov 28 at 9:59
2
$\begingroup$

After further exploration, I found a related question and discussion on

https://mathoverflow.net/questions/208886/iwaniec-kowalski-exponential-sum-for-quadratic-function?rq=1`

that addressed my concerns. Based on the insights from that discussion, it seems there might be an issue with the correctness of the author's statement for certain cases.

Specifically, the counterexamples I found seem to suggest that additional constraints (e.g., on $\alpha$, $N$, or $q$ may be necessary for the inequality to hold.

$\endgroup$
3
  • 4
    $\begingroup$ If additional details are needed for your question, it is better to edit them into the question itself, rather than as an answer. $\endgroup$
    – LSpice
    Commented Nov 27 at 23:34
  • 2
    $\begingroup$ As far as I can see, this is an answer, rather than clarification of the question. $\endgroup$ Commented Nov 28 at 16:37
  • $\begingroup$ @EmilJeřábek, re, I certainly agree that this answers the question as posed, but I took it to be a modification of the question to ask for additional constraints or, as in your accepted answer, a modified conclusion, rather than just confirmation that the bound as stated isn't correct. $\endgroup$
    – LSpice
    Commented Nov 28 at 20:56

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .