5
$\begingroup$

Pythagorean number of a totally real field $\mathbb{K}$ is the minimal number $N$ of squares $t_k^2$ required to represent a totally positive $0\leq x\in \mathbb{K}$ as $x=\sum_{k=1}^N t_k^2$, where $t_k\in\mathbb{K}$, $1\leq k\leq N$. E.g. for $\mathbb{K=Q}$ one has $N=4$, by Lagrange 4-squares theorem, and for $\mathbb{K=R}$ one has $N=1$.

What is known about Pythagorean numbers of real cyclotomic fields, i.e. fields $\mathbb{Q}[\zeta_n+\zeta_n^{-1}]$, with $\zeta_n$ a primitive $n$-th root of unity?

EDIT: $N\leq 4$ by Hilbert-Landau-Siegel Theorem (page 78 in Hilbert's book), see also sum of squares in ring of integers. So the question is whether $N=4$ is the case for every $n$, or we can do better.


NB. Not all elements $x>0$ in $\mathbb{K}$ need be totally positive, so the question is about only these $x$ which are totally positive.

$\endgroup$
6
  • $\begingroup$ Only totally positive elements are sums of squares, not arbitrary positive elements, even if the field is totally real. For totally positive elements, all number fields have $N=4$; see mathoverflow.net/q/14456 . $\endgroup$ Sep 19, 2022 at 9:15
  • $\begingroup$ I require elements $t_k$ we square to be in $\mathbb{K}$, so mathoverflow.net/q/14456 doesn't apply. $\endgroup$ Sep 19, 2022 at 9:19
  • 1
    $\begingroup$ The are required to be in $\mathbb K$ in that question as well, otherwise it would not make any sense (every positive real is a square). To clarify, the linked question is a bit different (it speaks about sums of squares of algebraic integers rather than arbitrary field elements), but the accepted answer by KConrad starts by explaining the situation for fields, so it exactly answers your question (for all number fields, not just real cyclotomic fields). $\endgroup$ Sep 19, 2022 at 9:23
  • $\begingroup$ I see, thanks! So the upper bound is 4, are there $n$'s for which $N<4$ ? $\endgroup$ Sep 19, 2022 at 9:25
  • $\begingroup$ Hmm, I see, I don’t know an answer to that off-hand. This clearly does depend on the field, as e.g. any extension of $\mathbb Q(i)$ has $N\le2$. I would think that for real number fields, the answer should be exactly $4$, but I don’t have a reference for that. $\endgroup$ Sep 19, 2022 at 9:35

1 Answer 1

6
$\begingroup$

Content warning: This answer assumes knowledge of Hasse-Minkowski and mild (local) class field theory. The latter could be eliminated with some more explicit computations in local fields. References to all required facts can be found in Milne's notes or Cassels-Frohlich, as well as Serre's a course in arithmetic for the basics of quadratic forms. (Updated to correct the case of $d=2$ but the final answer remains the same.)

Start with the case of finite extensions $K$ of $\mathbf{Q}_p$.

Claim: All elements of $K$ are sums of two squares if and only if $i \in K$. If $p = 2$, all elements of $K$ are sums of three squares if and only if $[K:\mathbf{Q}_2]$ is even.

Proof: If $i \in K$ then

$$n = \left(\frac{n+1}{2}\right)^2 + \left(i \cdot \frac{n-1}{2}\right)^2.$$

If $i \notin K$ and $L = K(i)$ then $L/K$ is cyclic of order two. Thus $K^{\times}/N_{L/K}(L^{\times})$ also has order two by local class field theory. But the norms are percisely the elements which are sums of two squares, so "half" the elements of $K^{\times}$ are not sums of two squares.

Let $D/\mathbf{Q}_2$ denote the unique non-split quaternion algebra. This is just the Hamilton quaternions over $\mathbf{Q}_2$ and corresponds to the Hilbert symbol $(-1,-1)_{\mathbf{Q}_2}$. That is, $D = \mathbf{Q}_2[i,j]$ with $i^2=j^2=-1$ and $ij = -j i$. By local class field theory, $D$ splits over $K$ if and only if $[K:\mathbf{Q}_2]$ is even. If $D$ splits over $K$ then the Hilbert symbol $(-1,-1)_{K}$ is trivial and there exists $x,y \in K$ with

$$-1 = x^2 + y^2.$$

But now

$$n = \left(\frac{n+1}{2}\right)^2 + \left(x \cdot \frac{n-1}{2}\right)^2 + \left(y \cdot \frac{n-1}{2}\right)^2$$

is the sum of three squares. Conversely, if every element of $K$ is the sum of three squares then $-1 = x^2 + y^2 + z^2$ and the quaternion $1 + xi+ yj+zij \in D_K$ has norm zero, which implies that $D_K$ has zero divisors and thus splits. This completes the proof.

If $F/\mathbf{Q}$ is any global field, then $\alpha \in F$ is a sum of $d$ squares if and only if

$$x^2_1 + x^2_2 + \ldots + x^2_d - \alpha x^2_{d+1} = 0$$

has a non-trivial solution. By Hasse-Minkowski, this can be checked locally at each place.

  1. If $\alpha \in F$ is totally positive then it has a real solution as soon as $d \ge 1$.
  2. If $v$ is a finite place of odd residue characteristic then it has a solution as soon as $d \ge 3$ because $x^2_1+x^2_2+x^2_3=0$ already has a non-trivial solution since it is a smooth conic and thus it is isomorphic to $\mathbf{P}^1$ over $F_v$.
  3. Let $v$ have residue characteristic $2$. There is a non-trivial solution as soon as $d \ge 4$ for any $\alpha$ over a local field. For $d=2$ or $d=3$, we can determine whether it has a solution by the local result above. (By weak approximation if $F_v = K$ and not every element of $K$ is a sum of $d$ squares then not every element of $F$ is a sum of $d$ squares; being a sum of $n$ squares in $K$ is an open condition.)

So the answer for a general number field $F$ is:

  1. $d = 2$ if and only if the localizations $F_v$ for all $v$ contain a square root of $-1$. But this implies that the only primes in $F$ which can split completely are $1 \bmod 4$ and so by Cebotarev $F$ contains $\mathbf{Q}(i)$. If $i \in F$ then every element is a sum of two squares.
  2. $d \le 3$ if and only if the localizations $F_v$ for all $v$ of residue characteristic $2$ have even degree over $\mathbf{Q}_2$.
  3. $d \le 4$.

For example, given a quadratic field $F = \mathbf{Q}(\sqrt{D})$ of discriminant $D$, then $d = 2$ if $D = -4$, and $d \le 3$ if $D \not\equiv 1 \bmod 8$.

For the specific fields $F = \mathbf{Q}(\zeta + \zeta^{-1})$ where $\zeta$ is a primitive root of unity of order $n$, write $n = 2^k m$. The Galois group of $\mathbf{Q}(\zeta)$ is

$$(\mathbf{Z}/2^k \mathbf{Z})^{\times} \oplus (\mathbf{Z}/m \mathbf{Z})^{\times},$$

the Galois group of $F$ is the quotient of this group by $(-1,-1)$. Tthe decomposition group $C$ of $v|2$ in $\mathbf{Q}(\zeta)$ is

$$C:=(\mathbf{Z}/2^k \mathbf{Z})^{\times} \oplus \langle 2 \rangle,$$

and the decomposition group $D$ of $v|2$ in $F$ is $C/C \cap \langle -1,-1 \rangle$. Certainly $i \notin F$ so $d > 2$. Hence $3$ squares are always required for these fields $F$ for any $n$. To see when $d=3$ it suffices to compute whether the decomposition group has even order or not. We find:

  1. If $k=0$ or $k=1$, then the order of $D$ is the order of $2 \bmod n$. Hence $d=3$ when $2$ either has order divisible by $4$, or has order $2r$ with $r$ odd and in addition $2^r \not\equiv -1 \bmod n$.

  2. If $k=2$ and $2$ has even order modulo $n$ then $4 | |D|$ and so $2 | |C|$. If $2$ has odd order modulo $n$ then $(-1,-1)$ does not lie in $C$, and so the quotient $|D|$ still has even order. Thus $d = 3$ in all cases.

  3. If $k \ge 3$ then $4 | |C|$ and the decomposition group of $v|2$ of $F$ always has even order, so $d=3$.

For example, if $n=p > 2$ is prime, then $d=3$ if and only if the multiplicative order of $2 \bmod p$ is divisible by $4$, otherwise $d=4$. The few $n$ for which $d=3$ are $n = 5, 8, 12, 13, \ldots $

$\endgroup$
5
  • $\begingroup$ $i$ is not in $\mathbb{K}$, so this seems to be answering a different question. Besides, $N$ only exists for totally real $x$, not in general. (If $x$ is not totally real, it can't be s.o.s.) $\endgroup$ Sep 19, 2022 at 19:37
  • 2
    $\begingroup$ @DimaPasechnik Regarding your first sentence: the first part of my answer concerns the case of a local field $K$. With respect to the question it represents the completion of $F$ at a prime of residue characteristic $2$. Certainly $F_v$ can contain an $i$ with $i^2 = -1$ even if $F$ is totally real; this happens if $F = \mathbf{Q}(\sqrt{7})$ for example. Regarding your second sentence: a necessary (and sufficient) condition for $x \in F$ to be a sum of squares is to be positive for each real embedding of $F$; there are no conditions on $x$ for any complex (non-real) embedding. $\endgroup$
    – user488927
    Sep 19, 2022 at 22:58
  • $\begingroup$ Can you give a concrete example of a real cyclotomic number for which one needs at least 3 squares to represent it? $\endgroup$ Sep 20, 2022 at 6:44
  • $\begingroup$ @DimaPasechnik The integer $3$ needs at least $3$ squares in $\mathbf{Q}$ to represent it. Any prime $\equiv -1 \bmod 4n$ is not a sum of two squares in $\mathbf{Q}(\zeta+\zeta^{-1})$ when $\zeta^n=1$. $\endgroup$
    – user488927
    Sep 20, 2022 at 15:28
  • $\begingroup$ Thanks! I now understand how to ask a more pointed question. :-) $\endgroup$ Sep 20, 2022 at 23:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.