Summing Up Certain Roots of Unity

Algebra Level 5

Let ω = e 2 π i 10 \omega =\large e ^ { \frac{ 2 \pi i } { 10} } , which is a primitive 1 0 th 10^\text{th} root of unity.

Consider all solutions to a 0 × 1 + a 1 × ω 1 + a 2 × ω 2 + a 3 × ω 3 + a 4 × ω 4 + a 5 × ω 5 + a 6 × ω 6 + a 7 × ω 7 + a 8 × ω 8 + a 9 × ω 9 = 0 , \begin{array} { r l l l l l l } & a_0 \times 1 & + a_1 \times \omega^1 & + a_2 \times \omega^2 & + a_3 \times \omega^3 & + a_4 \times \omega^4 \\ + & a_5 \times \omega^5 & + a_6 \times \omega^6 & + a_7 \times \omega^7 & + a_8 \times \omega^8 & + a_9 \times \omega^9 & = 0, \end{array} where a i { 0 , 1 } a_i \in \{ 0, 1 \} . For each solution, define A = a i A = \sum a_i .

Over all possible solutions, how many distinct values of A A are there?


As an explicit example, we could have all a i = 1 a_i = 1 , which gives us A = 10 A = 10 .

1 2 5 6 7 8 9 10

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

3 solutions

Calvin Lin Staff
Jan 24, 2017

We can have A = 0 , 2 , 4 , 5 , 6 , 8 , 10 A = 0, 2, 4, 5, 6, 8, 10 , for a total of 7 values.

The trickier part is explaining why these are the only solutions, and how we can generalize the approach. Read on for how to do this.


We will answer the general question for n = 2 p n = 2p , where p p is an odd prime. In this case, we have p = 5 p = 5 .

Claim: The number of values of A A is p + 2 p + 2 . These correspond to the p + 1 p+1 even numbers 0 , 2 , , 2 p 0, 2, \ldots, 2p and the odd number p p .

Proof: First, we show why those numbers work.
In the even case, for A = 2 k A = 2k , observe that since ω p = 1 \omega^p = - 1 , thus ω i = ω p + i \omega^i = - \omega^{p+i} . We can set a 1 = a 2 = = a k = 1 , a p + 1 = a p + 2 = = a p + k = 1 a_1 = a_2 = \ldots = a_k = 1, a_{p+1} = a_{p+2} = \ldots = a_{p+k} = 1 , and a i = 0 a_i = 0 otherwise. Then, since ω i + ω p + i = 0 \omega^i + \omega^{p+i} = 0 , thus the terms can be paired up and sum to zero.
In the odd case, for A = p A = p , we set a 2 = a 4 = a 6 = = a 2 p = 1 a_2 = a_4 = a_6 = \ldots = a_{2p} = 1 , and a i = 0 a_i = 0 otherwise. Notice that ω 2 k \omega^{2k} correspond to the k k roots of unity.

Now, we will show why these are the only numbers which work.
Let x = ω 2 x = \omega ^2 . Then, x x is a primitive p p root of unity.

Claim: The only integer solutions to i = 0 p 1 b i x i = 0 \sum_{i=0}^{p-1} b_i x^i = 0 is when b i b_i are all equal. We will not prove this claim here, but it arises because the minimal polynomial of x x is 1 + x + x 2 + + x p 1 = 0 1 + x + x^2 + \ldots + x^{p-1} = 0 , hence all of b i b_i must be equal.

Now, rewrite the original equation as:

( a 0 a p ) 1 + ( a 2 a p + 2 ) x + ( a 4 a p + 4 ) x 2 + + ( a 2 p 2 a p + ( 2 p 2 ) ) x p 1 = 0 , (a_0 -a_p) 1 + (a_2 - a_{p+2}) x + (a_4 - a_{p+4}) x^2 + \ldots + (a_{2p-2} - a_{p + (2p-2) } ) x^{p-1} = 0,

where the indices are evaluated modulo 2 p 2p , meaning that a 3 p 2 = a p 2 a_{3p-2} = a_{p-2} .

Then, by the previous claim, the only solutions occur when these values of a 2 k a 2 k + p a_{2k} - a_{2k+p} are all equal.
Since a i { 0 , 1 } a_i \in \{0, 1 \} , hence a 2 k a 2 k + p { 0 , 1 , 1 } a_{2k} - a_{2k+p} \in \{ 0, 1, -1 \} .
In the event that a 2 k a 2 k + p = 1 a_{2k} - a_{2k+p} = 1 , we must have a 2 k = 1 , a 2 k + p = 0 a_{2k} = 1, a_{2k+p} = 0 , which gives A = p A = p .
In the event that a 2 k a 2 k + p = 1 a_{2k} - a_{2k+p} = -1 , we must have a 2 k = 0 , a 2 k + p = 1 a_{2k} = 0, a_{2k+p} = 1 , which gives A = p A = p .
In the event that a 2 k a 2 k + p = 0 a_{2k} - a_{2k+p} = 0 , we must have a 2 k = a 2 k + p a_{2k} = a_{2k+p} , which gives that A A is even.

Hence, these are the only numbers which would work.


This solution can be generalized using group theory , specifically Galois theory. It does exactly what we need with the coefficients, and yields that the only values of A A which work are when gcd ( n , A ) 1 \gcd(n, A ) \neq 1 . In particular, for n = 15 n = 15 , the only possible values of A A are indeed 0 , 3 , 6 , 9 , 12 , 15 , 5 , 10 0, 3, 6, 9, 12, 15, 5, 10 .

I do not yet know how of an elementary solution to deal with n = p q n = pq . The minimal polynomial trick no longer works, because with x = ω p x = \omega ^p , we have coefficients of the form a i + a i + q ω q + a i + 2 q ω 2 q + a_i + a_{i+q} \omega^q + a_{i+2q} \omega^{2q} + \ldots , which need not be an integer (and in fact are often complex valued).

Since a i {a}_{i} is either 0 0 or 1 1 , then we can imagine adding unit vectors from the center to the vertices of a decahedron. We want to know which combinations of vectors add up to 0 0 . It immediately becomes obvious that 0 0 and 10 10 vectors will add up to nothing, and that any opposite pairs of vectors will also add up to nothing, and that 5 5 vectors equally spaced, i.e., a pentagon, will add up to nothing. Meanwhile, obviously a single vector remains a single vector, which means its complement of 9 9 vectors will also add up to a single vector. We're then left with 3 3 vectors to look at (and its complement, 7 7 vectors)---and it's easy to see that for 3 3 vectors to add up to nothing, they have to be at angles of 120 120 degrees apart, which is impossible here (which means that its complement of 7 7 vectors is also impossible).

Hence we've got 0 , 2 , 4 , 5 , 6 , 8 , 10 0, 2, 4, 5, 6, 8, 10 vectors that can add to nothing, while 1 , 3 , 7 , 9 1, 3, 7, 9 vectors cannot add to nothing.

When I first tackled this problem, I missed the detail that a i {a}_{i} can only be either 0 0 or 1 1 . Much easier with this particular condition! But this gives me a great idea for a new problem.


Michael Mendrin - 4 years, 4 months ago

Log in to reply

Yes, that's the simplified idea of the above proof. Can you post it as a separate solution?

I presented it this way as I wanted to generalize it to 2 p 2p directly, and the proper argument for "you can't select a non-empty subset of those p p vectors to get it to sum to 0" is essentially about the complex roots of unity.

In relation to your last comment, relaxing the constraint on a i a_i leads to solutions which are essentially linear combinations of these types of equations that we found. For a concrete reason why, we would have to go deeper into Galois theory.

Calvin Lin Staff - 4 years, 4 months ago
Michael Mendrin
Jan 27, 2017

This is a simplified solution based on Calvin's fuller explanation, to help better understand it

Since a i {a}_{i} is either 0 0 or 1 1 , then we can imagine adding unit vectors from the center to the vertices of a decahedron. We want to know which combinations of vectors add up to 0 0 . It immediately becomes obvious that 0 0 and 10 10 vectors will add up to nothing, and that any opposite pairs of vectors will also add up to nothing, and that 5 5 vectors equally spaced, i.e., a pentagon, will add up to nothing. Meanwhile, obviously a single vector remains a single vector, which means its complement of 9 9 vectors will also add up to a single vector. We're then left with 3 3 vectors to look at (and its complement, 7 7 vectors)---and it's easy to see that for 3 3 vectors to add up to nothing, they have to be at angles of 120 120 degrees apart, which is impossible here (which means that its complement of 7 7 vectors is also impossible).

Hence we've got 0 , 2 , 4 , 5 , 6 , 8 , 10 0, 2, 4, 5, 6, 8, 10 vectors that can add to nothing, while 1 , 3 , 7 , 9 1, 3, 7, 9 vectors cannot add to nothing.

Here's a graphic showing 3 3 red (or 7 7 blue) vectors, neither combination adding up to a null vector

Anirudh Sreekumar
Jan 24, 2017

1) We can easily see that the equation is valid for, a i = 0 a_{i}=0 ( A = 0 ) \Rightarrow (A=0) is valid

2) We know that,

ω 10 = 1 \large\omega^{10}=1 ω 10 1 = 0 \Rightarrow \large\omega^{10}-1=0

thus ω 10 1 ω 1 = i = 0 9 ω i = 0 \dfrac{\large\omega^{10}-1}{\omega-1}=\sum_{i=0}^{9} \large\omega^{i}=0 ( A = 10 ) \Rightarrow (A=10) is valid

3) ω 5 = 1 \large\omega^{5}=-1 ω 5 + 1 = 0 \Rightarrow \large \omega^{5}+1=0 ( A = 2 ) \Rightarrow (A=2) is valid

multiplying throughout by ω \omega we get 4 4 more pairs

ω 6 + ω = 0 \large\omega^{6}+\large\omega=0

ω 7 + ω 2 = 0 \large\omega^{7}+\large\omega^{2}=0

ω 6 + ω 3 = 0 \large\omega^{6}+\large\omega^{3}=0

ω 6 + ω 4 = 0 \large\omega^{6}+\large\omega^{4}=0

4) Adding distinct pairs from the set of 5 pairs above would give another valid case, thus we can see that it is valid for ( A = 4 , 6 , 8 ) (A=4,6,8)

5) ( ω 5 ) 2 = 1 (\large\omega^{5})^2=1 ( ω 2 ) 5 1 ω 2 1 = 1 + ω 2 + ω 4 + ω 6 + ω 8 = 0 \Rightarrow \dfrac{(\large\omega^{2})^5-1}{\large\omega^{2}-1} =1+\large\omega^{2}+\large\omega^{4}+\large\omega^{6}+\large\omega^{8}=0 ( A = 5 ) \Rightarrow (A=5) is valid

6) now we need to show it is impossible for A = 1 , 3 , 7 , 9 A=1,3,7,9

i) Case 1 : ( A = 1 ) 1:(A=1)

we know that ω 10 = 1 \large\omega^{10}=1 so, ω n 0 \large\omega^{n}\neq 0

thus we have no solution for A = 1 A=1

ii) Case 2 : ( A = 3 ) 2:(A=3)

assume it is valid for A = 3 A=3

then ω a + ω b + ω c = 0 \large\omega^{a}+\large\omega^{b}+\large\omega^{c}=0 where a,b,c are distinct and 0 a , b , c 9 0\leq a,b,c \leq 9 assume a to be the smallest then we have

ω a ( 1 + ω b a + ω c a ) = 0 ω b a + ω c a = 1 \large\omega^{a}(1+\large\omega^{b-a}+\large\omega^{c-a})=0 \Rightarrow \large\omega^{b-a}+\large\omega^{c-a}=-1 , ( b a ) (b-a) and ( c a ) (c-a) are distinnct.

since the RHS is purely real and negative we need to check only 2 cases,namely,

ω 6 + ω 4 \large\omega^6+\large\omega^4 and ω 7 + ω 3 \large\omega^7+\large\omega^3

since both of these doesn't satisfy the equation there is no solution for A = 3 A=3

iii) Case 3 : ( A = 7 , 9 ) 3:(A=7,9)

we can see that

ω 5 + x + ω x = 0 \large\omega^{5+x}+\large\omega^{x}=0

when we select 7 distinct powers of ω \large\omega we will always have 2 pairs that add upto 0 ,

thus it reuces to the case where A = 3 A=3

similary when we select 9 distinct powers of ω \large\omega we will always have 4 pairs that add upto 0 ,

thus it reuces to the case where A = 1 A=1

since we already proved that A 1 , 3 A\neq1,3 ,we can see that A 7 , 9 A\neq7,9

thus the possible distinct values of A A are A = 0 , 2 , 4 , 5 , 6 , 8 , 10 A=0,2,4,5,6,8,10

the number of distinct values of A are 7 \boxed{7}

sorry for the tedious approach,i'm sure there are more elegant solutions,but this is what i could come up with

Anirudh Sreekumar - 4 years, 4 months ago

Great. How can we generalize this?

@Brandon Monsen approached me with the problem for n = 4034 n = 4034 instead of 10. Listing through all of the cases would be quite painful.

Calvin Lin Staff - 4 years, 4 months ago

Log in to reply

Curse the all 0 case! Anyways I still don't really have a grasp as to what's going on with these cyclotomic polynomials you mentioned in slack but after looking at wikipedia they gave some generalizations as to what these polynomials will look like for different n n .

More importantly, the cyclotomic polynomial Φ n ( x ) \Phi_{n}(x) , which is the minimal polynomial for x = e 2 π 1 n x=e^{2\pi \frac{1}{n}} is given by

Φ n ( x ) = 1 k n , g c d ( k , n ) = 1 ( x e 2 π k n ) \Phi_{n}(x)=\prod_{1\leq k \leq n,gcd(k,n)=1} \left(x-e^{2\pi \frac{k}{n}} \right)

Since our ω k \omega^{k} represents some member of the set S S where S = { e 2 π k n } k = 1 , 2 , 3 , . . . , n S= \{e^{2\pi \frac{k}{n}} \} \quad k=1,2,3,...,n , these minimal polynomials represent the smallest possible "cycle" that sums to 0 0 for any given k k .

Since we have the smallest cycle, we can form other cycles by multiplying the minimal polynomial by other polynomials M ( x ) M(x) such that Φ n ( x ) M ( x ) = p = 0 q a p x p = 0 \Phi_{n}(x)M(x)=\sum_{p=0}^{q} a_{p}x^{p}=0 for a p = 0 , 1 a_{p}=0,1 .

And yet still I have no idea how to show that those are the ONLY possibilities. Do all polynomials P ( x ) P(x) such that k k is a root contain a factor that is the minimal polynomial of k k ?

Brandon Monsen - 4 years, 4 months ago

if ( ω p ) q = 1 \large(\omega^{p})^{q}=1

then 1 + ω p + ω 2 p + . . . . + ω p ( q 1 ) = 0 \large1+\omega^{p}+\omega^{2p}+....+\omega^{p(q-1)}=0

thus A=q will be valid

also we can multiply 1 + ω p + ω 2 p + . . . . + ω p ( q 1 ) \large1+\omega^{p}+\omega^{2p}+....+\omega^{p(q-1)} by ω p \large\omega^{p} , p 1 p-1 more times to get p p distinct equations of length q q

thus A = q , 2 q , 3 q , . . . . . . . . , p q A=q,2q,3q,........,pq will all be valid

by interchanging p p and q q in ( ω p ) q \large(\omega^{p})^{q}

we can get get q q distinct equations of length p p also

thus A = p , 2 p , 3 p , . . . . . . . . , p q A=p,2p,3p,........,pq will also be valid

thus the total number of cases of A for a given p and q comes out to be p + q m p+q-m

where m = p q l c m ( p , q ) m=\dfrac{pq}{lcm(p,q)}

so we need to find all such pairs p and q,and also add the trivial case where A = 0 A=0

these are my thoughts

Anirudh Sreekumar - 4 years, 4 months ago

Log in to reply

I had come up with something similar to that earlier, where the factors of n n were the "cycle"-lengths ie how many terms you add up, with the other factor being the increment on the exponents. I'm trying to show now that there are no other possibilities, ie x 2 + x 24 + x 135 + x 136 = 0 x^{2}+x^{24}+x^{135}+x^{136}=0 .

Calvin had pointed out minimal polynomials for a certain root k k , which are the least degree polynomial with integral coefficients such that k k is a root, and I'm trying to use that to prove how the cases you named are the only ones.

Brandon Monsen - 4 years, 4 months ago

That's a good start.

  1. I believe you're already using the fact that p , q p, q are primes, or that l c m ( p , q ) = 1 lcm (p,q) = 1 . The case when l c m ( p , q ) 1 lcm (p,q) \neq 1 is more complicated.

  2. Your argument only shows sufficiency / existence. It doesn't show necessity (which is the later half of your solution arguing that A 1 , 3 , 7 , 9 A \neq 1, 3, 7, 9 ).

Calvin Lin Staff - 4 years, 4 months ago

Log in to reply

@Calvin Lin Did you look at what I posted? I was curious if all polynomials with integral coefficients such that k k is a root would be of the form f ( x ) M ( x ) f(x)M(x) where f ( x ) f(x) is an arbitrary polynomial and M ( x ) M(x) is the minimal polynomial of k k ?

My intuition says yes, and I worked out the case for 2 \sqrt{2} in a cubic polynomial to get an idea of what's going on:

P ( x ) = ( x 2 ) ( x a ) ( x b ) P ( x ) = x 3 ( 2 + a + b ) x 2 + ( 2 a + 2 b + a b ) x a b 2 a b = p 2 , p Z 2 ( a + b ) + a b = q , q z , a + b = r 2 , r z 2 ( r + p 2 ) = q + 2 p = 2 r , q = 2 a b = 2 r , 2 a + 2 b = 2 r 2 ( a + 2 ) ( b + 2 ) = 0 \begin{array}{c}P(x)=(x-\sqrt{2})(x-a)(x-b) \\ P(x)=x^{3}-(\sqrt{2}+a+b)x^{2}+(\sqrt{2}a+\sqrt{2}b+ab)x-ab\sqrt{2} \\ ab=\frac{p}{\sqrt{2}}, \quad p \in \mathbb{Z} \quad \sqrt{2}(a+b)+ab=q, \quad q\in \mathbb{z}, \quad a+b=r-\sqrt{2}, \quad r \in \mathbb{z} \\ \Rightarrow \sqrt{2}(r+\frac{p}{2})=q+2 \Rightarrow p=-2r, \quad q=-2 \\ ab=-\sqrt{2}r, \quad \sqrt{2}a+\sqrt{2}b=\sqrt{2}r-2 \\ (a+\sqrt{2})(b+\sqrt{2})=0 \end{array}

Therefore either a a or b b must be 2 -\sqrt{2} for P ( x ) P(x) to have a root 2 \sqrt{2} and also have integral coefficients.

Obviously this doesn't prove it for all cases, but I was wondering if I should continue down this road?

Brandon Monsen - 4 years, 4 months ago

Log in to reply

@Brandon Monsen Yea i did. It wasn't clear to me where you were going with it though.

Calvin Lin Staff - 4 years, 4 months ago

Log in to reply

@Calvin Lin Oh I was thinking that given the constraint a i = 0 , 1 a_{i}=0,1 , we could write all polynomials such that k k is a root in the form f ( x ) M ( x ) f(x)M(x) , where M M is the minimal polynomial of k k .

If this were true, then we would be able to look for the other possible solutions by adding\subtracting iterations of M ( x ) x α M(x)x^{\alpha} for some values of α \alpha such that all coefficients are 1 1 or 0 0 .

Essentially it would be transforming the problem such that we would be dealing with basic arithmetic of like terms rather than adding vectors in the complex plane, and the answers would be much easier to arrive to.

Brandon Monsen - 4 years, 4 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...