Problem 1: Find the sum of the coefficients of the even-power terms of the polynomial f(x) given that f(1)=5 and f(−1)=3.
To solve this problem, let’s write down a simple example: g(x)=4x3+x2−3x+5. Now lets plug in 1 and -1. We get g(1)=4+1−3+5=7 and g(−1)=−4+1+3+5=5. We realize that if we add together g(1) and g(−1), the odd-power terms get canceled out, so the answer to our original problem is 2f(1)+f(−1)=4.
Problem 2:Find the sum k=0∑50(2k100).
The binomial theorem says that (x+y)a=k=0∑a(ka)xkya−k, so we know that k=0∑100(k100)=(1+1)100. Let f(x)=(x+1)100=k=0∑100(k100)xk. Then we are trying to find the sum of the coefficients of even-power terms of f(x), and that can be done by the same trick we learned in problem 1. Thus, k=0∑50(2k100)=2f(1)+f(−1)=22100+0=299.
Problem 3.Find the sum k=0∑33(3k99).
We put f(x)=(x+1)99, but it is not clear how we will cancel out all powers not divisible by 3. First we need to build some theory.
Definition 1. An nth root of unity ζ satisfies ζn=1. The kth nth root of unity is ζk=en2πik for 0≤k≤n−1.
Example 1. There are two 2nd roots of unity, ζ1=1 and ζ2=−1; these roots you know very well, since any time you take a square root, you need to add the plus-minus symbol.
Example 2. There are three 3rd roots of unity (in general, there are n nth roots of unity). Heuristically, they can be found by writing ζ=eiθ,ζ3=1⟹e3θi=1=e2πi=e4πi=e6πi. Equating the powers, we see that θ=32π,34π,2π all work. By convention, the first root of unity is always 1, corresponding with θ=2π. Note that large values of θ do not count as distinct roots of unity; for example, e10/3πi=e2πie4/3πi=e4/3πi=ζ3. Using Euler’s Formulaeix=cosx+isinx we can calculate the 3rd roots of unity: ζ1=cos2π+isin2π=1,ζ2=cos32π+isin32π=−21+i23 and ζ3=cos34π+isin34π=−21−i23.
Definition 2. A primitive root of unity is a root of unity that generates all the other roots via exponentiation. Any kth nth root of unity with gcd(k,n)=1 is primitive.
Example 3. The second 3rd root of unity ζ2=e32πi is primitive since ζ22=e32πi⋅2=ζ3 and ζ23=e32πi⋅3=ζ1. In general, the second nth root of unity is primitive (why? hint: use the gcd property). Check that the third root of unity ζ3 is also primitive.
Theorem 1. The sum of the nth roots of unity is 0.
Proof. Let ω be a primitive root (note that w≠1). Then k=0∑n−1ωk=ω−1ωn−1=ω−11−1=0.□
OK, now we are ready to approach the problem.
Just as 1+(−1)n cancels out for odd n, 1+wn+w2n cancels out for n̸≡0(mod3). Proof. Consider the case n=3m: 1+w3m+w6m=1+1+1=3. Put n=3m+1, and find that 1+w3m+1+w2(3m+1)=1+w3mw1+w6mw2=1+w+w2, which is 0 by theorem 1, so the case n≡1(mod3) does result in 0. Now put n=3m+2, and find that 1+w3m+2+w2(3m+2)=1+w3mw2+w6mw1w3=1+w2+w, so we have verified n≡2(mod3) as well. This principle works for any nth roots of unity, as summarized in the following theorem.
Theorem 2. For a set of nth roots of unity ζi and an integer a, k=0∑n−1ζka=n iff n divides a and k=0∑n−1ζka=0 otherwise.
Proof. Letw be a primitive root. We know that wa=1 iff n divides a. In this case, k=0∑n−1ζka=k=0∑n−1(wa)k=k=0∑n−11=n. Otherwise, wa≠1, so we can interpret the sum as geometric: k=0∑n−1(wa)k=wa−1wa⋅n−1=wa−11−1=0.□
To finish the problem, we need to compute 3f(1)+f(w)+f(w2). Since the actual expressions of the roots of unity look complicated, we will just manipulate the ws. 3299+(1+w)99+(1+w2)99=3299+(−w2)99+(−w)99=3299−2
Problem 4 (North Fulton 2017 Varsity Written):Find(12017)+(52017)+(92017)+⋯+(20172017)
Obviously, we will be using fourth roots of unity. They are: 1,−1,i,−i. In the previous problem, we expressed the roots of unity in terms of w, but since the 4th roots of unity are so simple, we will just use them directly here. OK, so we begin by filtering out the evens by using the roots 1 and −1:
22016=(12017)+(32017)+(52017)+⋯+(20172017). Now let’s use the roots i,−i:
(1+i)2017−(1−i)2017=(02017)+(12017)i−(22017)−(32017)i+⋯+(20172017)i−(02017)+(12017)i+(22017)−(32017)i−⋯+(20172017)i=2i(12017)−2i(32017)+2i(52017)+⋯+2i(20172017). Therefore, the answer is 22015+4i(1+i)2017−(1−i)2017. To calculate the fraction, we use 1+i=2eπ/4⟹(1+i)2017=22017/2eπ/4=21008+i21008. So we have 22015+4i21008+i21008−21008+i21008=22015+21007.
Permalink