Roots of unity and unreasonable differentiation
Alice Devillers
Alice Devillers and Stephen Glasby, Centre for the Mathematics of Symmetry and Computation, University of Western Australia, 35 Stirling Highway, Perth 6009, Australia. E-mail addresses:{alice.devillers, stephen.glasby}@uwa.edu.au
and
S. P. Glasby
Abstract.
We explore when
it is legal to differentiate a polynomial evaluated at a root of unity using modular arithmetic.
Acknowledgements: SG gratefully acknowledges support from the Australian Research Council Discovery Project DP190100450.
2010 Math Subject Classification: 11A07, 11-01.
1. Sometimes legal operations
The equation (x+y)p=xp+yp is valid in a field of prime
characteristic p. Thus an apparent error can be a legitimate deduction
in the right circumstances.
Denote the kth derivative of
tn as nktn−k where nk equals
n(n−1)⋯(n−k+1) for k>0, and 1 if k=0. We pronounce nk
as “n falling factorial k”. Observe that
nk is divisible by each integer in {1,…,k}, and nk=0 for
n<k. Also the kth derivative f(k)(t) of a power series f(t)=∑n⩾0fntn equals ∑n⩾0fnnktn−k=∑n⩾kfnnktn−k.
Let α∈Z satisfy αn≡1(modn). Thus α is a root, modulo n, of the polynomial tn−1=(t−1)f(t), where f(t)=∑i=0n−1ti.
It is clear that f(0)(α)≡0(modn) when
α≡1(modn). However, it seems unreasonable to expect that
f(k)(α)=∑i=0n−1ikαi−k≡0(modn) holds for all k⩾0. What looks like a blunder turns out to be true under the
(unreasonably) weak assumptions of Theorem 1.
Theorem 1**.**
Suppose k⩾0, n⩾1, α∈Z where αn≡1(modn).
Then
[TABLE]
if and only if at least one of the following hold:
- (a)
k+1∈{4,q}* where q is prime, or*
2. (b)
k+1=4* and 4∤n, or*
3. (c)
k+1* is a prime q, and q∤n or α≡1(modq).*
The motivation for Theorem 1 came from a (presently
unfinished [BDG]) study of input-output
automata on a group G. We considered
the finite groups G for which there exists a ‘constant’ k∈G and
a function f:G→G satisfying f(xk)=xf(x) for all x∈G.
We call these J-groups (as they are related to the Jacobson radical of
a near ring).
A simple argument shows that J-groups must have odd order, and hence
are solvable by [FT]. We conjectured [BDG] that any nilpotent group of
odd order is a J-group. To prove that many metacyclic groups
are J-groups required the k=0 and k=1 cases of Theorem 1. The proof for
all k⩾0 is not much harder.
2. The proofs
We first establish some preliminary results before proving Theorem 1.
Henceforth, n,i,j,k will be integers.
A sum ∑i=n0n1−1g(i) collapses if we find a function
G such that g(i)=G(i+1)−G(i) for n0⩽i<n1. Then
∑i=n0n1−1g(i)=G(n1)−G(n0). By analogy with differentiation, we write
(ΔG)(i)=G(i+1)−G(i). For example, if g(i)=ik, then it
follows from Δ(ik+1)=(i+1)ik−ik(i−k)=(k+1)ik that G(i)=ik+1/(k+1). Hence
[TABLE]
Clearly k divides nk for all n⩾0 and k⩾1.
The p-adic valuation νp(n) of an integer n=0 is defined by
νp(n)=logp(np) where np is the largest p-power divisor of n.
This (additive) valuation extends to Q× by defining νp(r/s) to be νp(r)−νp(s).
Lemma 2**.**
Suppose k⩾1 and n⩾1. Let p∣(k+1) where p is a prime, and let e=νp(k+1)⩾1.
- (a)
If k+1=pe, then
νp((n−1)k)⩾e.
2. (b)
If k+1=pe, then νp((n−1)k)⩾e−1 where equality holds only if p∣n.
3. (c)
νp((n−1)k/(k+1))<0* if and only if k+1∈{4,p}
and (k+1)∣n, in which case νp((n−1)k/(k+1))=−1.
*
Proof.
(a) Suppose first that
k+1 is not a p-power and write k+1=ab where gcd(a,b)=1 and
1<a<b<k+1. Since a,b⩽k it follows that a and b, and hence
k+1=ab, divide (n−1)k.
Hence e=νp(k+1)⩽νp((n−1)k). This proves (a).
(b) Suppose now that k+1=pe. As pe−1⩽k, we deduce that
pe−1∣(n−1)k, and so νp((n−1)k)⩾e−1. Suppose νp((n−1)k)=e−1. As k+1 divides nk+1=n(n−1)k
but not (n−1)k, we deduce that p divides n.
This proves (b).
(c) Assume first that νp((n−1)k/(k+1))<0, that is, νp((n−1)k)<νp(k+1)=e. Part (a) implies k+1=pe and Part (b) implies νp((n−1)k)=e−1 and p∣n, so that νp((n−1)k/(k+1))=−1.
Thus each factor of (n−1)k of the form n−jp with
1⩽j⩽pe−1−1 is a multiple of p, and so νp((n−1)k)⩾pe−1−1. Therefore
pe−1−1⩽e−1, that is pe−1⩽e.
The latter inequality is true
for e=1 and all primes p, and for e=2 and p=2, and false otherwise.
If e=1, then k+1=p∣n. If e=2 and p=2, then k+1=4, 2∣n and ν2((n−1)3)=1. Thus n−1 and n−3 are odd while n−2≡2(mod4). It follows that n≡0(mod4), and so in both cases k+1 divides n.
Conversely, assume that k+1∈{4,p} and (k+1)∣n.
If k+1=4∣n, then (n−1)k=(n−1)(n−2)(n−3) where n−i≡4−i(mod4). Thus ν2((n−1)3)=1<ν2(k+1)=2.
If k+1=p∣n, then (n−1)k=(n−1)(n−2)⋯(n−p+1) where n−k≡p−k≡0(modp). Thus, in both cases, we have νp((n−1)k)=e−1<νp(k+1)=e, as desired.
∎
Corollary 3**.**
By Lemma 2, we have that (n−1)k/(k+1) is an integer unless
- (a)
k+1=4* and 4∣n, or*
2. (b)
k+1* is a prime p, and p∣n.*
Moreover, νp((n−1)k/(k+1))⩾−1 and
νp((n−1)k/(k+1))⩾0 if (k+1)∤n.
To prove Theorem 1, we will also need the following lemma.
Lemma 4**.**
Suppose k⩾0, n⩾1 and α≡1(modp) where p is prime. Then
[TABLE]
Proof.
Since α≡1(modp), we have α=1+y where p∣y. Using ik=0 if 0⩽i<k,
and Eq. (2) gives:
[TABLE]
Consider the summands in (2) with j⩾1.
By Legendre’s formula, νp(j!)=∑i=1∞⌊pij⌋.
(The sum is finite as ⌊pij⌋=0 for pi>j.)
Thus νp(j!)<∑i=1∞pij=p−1j. Therefore
νp(j!)<j for j⩾1, and hence p divides yj/j!.
Since νp(yj/j!)⩾1 for all j⩾1, and
νp(k+j+1(n−1)k+j)⩾−1 by Corollary 3, we have
νp(j!yjk+j+1(n−1)k+j)⩾0. However pℓ∣n, and so j!yjk+j+1(n−1)k+jn≡0(modpℓ) for each j⩾1.
Hence
[TABLE]
Proof of Theorem 1.
When n=1, Eq. (1) is trivially true.
Moreover, one of (a), (b) or (c) is true when n=1 since 4∤n and q∤n for any prime q.
We now assume n>1.
Suppose that n=n1⋯nr where the nj are pairwise coprime
and nj>1 for each j.
Given the ring isomorphism Zn→Zn1×⋯×Znr, Eq. (1) holds if and only if nj∣∑i=0n−1ikαi−k
for each j. Suppose that nj=pjℓj where each pj is prime.
Fix a prime factor p of n, and set ℓ:=νp(n).
For each prime factor p of n, we divide the proof in two cases.
Claim 1: If α≡1(modp), then ∑i=0n−1ikαi−k≡0(modpℓ).
Suppose that α≡1(modp).
Consider the identity f(t)=∑i=0n−1ti=f1(t)f2(t) where
f1(t)=tn−1 and f2(t)=(t−1)−1. The k-fold derivative of the product
f1f2 is
(f1f2)(k)=∑i=0k(ik)f1(k−i)f2(i) by Leibnitz’ formula. We have
f1(i)(t)=nitn−i for i>0, and
f2(i)(t)=(−1)ii!(t−1)−1−i=−i!(1−t)−1−i for i⩾0. Hence, for t=1,
[TABLE]
Replacing (ik)i! with ki gives
[TABLE]
Substituting t=α and noting that αn≡1(modpℓ)
and 1−α is a unit modulo pℓ shows that
∑i=0n−1ikαi−k≡0(modpℓ).
The sum vanishes modulo pℓ for k=0, and for k>0
because n divides nk−i for i<k and pℓ∣n.
This proves Claim 1.
Claim 2: If α≡1(modp) and at least one of the conditions (a), (b), or (c) hold, then
∑i=0n−1ikαi−k≡0(modpℓ).
Suppose that α≡1(modp) and at least one of the conditions (a), (b), or (c) hold.
We argue that k+1(n−1)k is an integer. Suppose not.
Then by Corollary 3, condition (i) or (ii) holds.
Since α≡1(modp) both (i) and (ii) are incompatible with
(a), (b), and (c). This shows that k+1(n−1)k is
an integer, and hence Claim 2 is true by Lemma 4.
In summary, we have nj∣∑i=0n−1ikαi−k for each j, and so (1) holds if at least one of the conditions (a), (b), or (c) hold.
To finish the proof, we now prove the converse.
Assume (1) holds but (a) does not hold. Then nj∣∑i=0n−1ikαi−k
for each j, and k+1∈{4,q} where q is a prime. We must show that conditions (b) or (c) hold.
Suppose k+1=4. Assume 4∣n. Consider the prime factor 2 of n.
Since αn≡1(modn), we have α≡1(mod2). Thus Lemma 4 implies
∑i=0n−1i3αi−3≡4(n−1)3n(mod2ℓ) where ν2(n)=ℓ.
By Lemma 2(c), ν2((n−1)3/4)<0, and so 2ℓ does not divide 4(n−1)3n, a contradiction. Hence, if k+1=4,
then 4∤n and (b) holds.
Suppose k+1 is a prime q and α≡1(modq). Assume q∣n.
Consider the prime factor q of n. Then
∑i=0n−1ikαi−k≡k+1(n−1)kn(modqℓ) where νq(n)=ℓ, by Lemma 4. However, Lemma 2(c) shows νq((n−1)k/(k+1))<0, and so qℓ does not divide k+1(n−1)kn, a contradiction.
Hence, if k+1=q with α≡1(modq), then q∤n and condition (c) holds.
∎
Finally, observe that the requirement α≡1(modq)
in Theorem 1(c) is needed. For example take α=5,
n=6, k=2.
Then ∑i=0n−1ikαi−k≡0(modn) and q=k+1=3.
Thus conditions (a) and (b) do not hold, and the only part of (c) that holds is
α≡1(modq). In condition (b), we do not need to add “or α≡1(mod2)” because that never happens when 4∣n.
Acknowledgement.
We thank the referee for their helpful suggestions.