More fun in 2015, Part 7

Algebra Level 4

If w = e 2 π i / 2015 , w=e^{2\pi{i}/2015}, find k = 1 2014 1 1 + w k + w 2 k . \sum_{k=1}^{2014}\frac{1}{1+w^k+w^{2k}}.


The answer is 1343.

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.

6 solutions

Patrick Corn
May 27, 2015

The key is that ( 1 + w k + w 2 k ) ( 1 + w 3 k + w 6 k + + w 2013 k ) ( 1 w k ) = 1 w 2016 k = 1 w k , \begin{aligned} (1+w^k+w^{2k})(1+w^{3k}+w^{6k} + \cdots + w^{2013k})(1-w^k) &= 1-w^{2016k} \\ &= 1-w^k, \end{aligned} and 1 w k 0 1-w^k \ne 0 , so the sum is k = 1 2014 n = 0 671 w 3 n k = 2014 + n = 1 671 k = 1 2014 w 3 n k \sum_{k=1}^{2014} \sum_{n=0}^{671} w^{3nk} = 2014 + \sum_{n=1}^{671} \sum_{k=1}^{2014} w^{3nk}

But k = 1 2014 ζ k \sum_{k=1}^{2014} \zeta^k is 1 -1 if ζ \zeta is a nontrivial 2015 2015 th root of unity (same argument as above; multiply by 1 ζ 1-\zeta to get ζ ζ 2015 = ζ 1 \zeta-\zeta^{2015} = \zeta-1 ).

So the answer is 2014 + n = 1 671 1 = 1343 2014 + \sum_{n=1}^{671} -1 = \fbox{1343} .

Thanks you have given me a method to solve this - k = 1 1007 1 1 + 2 c o s ( 2 k π 2015 ) \displaystyle \sum_{k=1}^{1007}{\frac{1}{1 + 2cos(\frac{2k\pi}{2015})}} . But I am unable to put in a general term which can be found but is tedious. Well, if there is a trigonometric way of finding this sum, then please tell me. It will be counted in as an alternative.

Kartik Sharma - 6 years ago

Log in to reply

Yes, this is essentially the same problem, and we can use Patrick's approach. Just let k k go to 2014 2014 and then take half at the end.

k = 1 2014 1 1 + w k + w k = k = 1 2014 w k 1 + w k + w 2 k = k = 1 2014 w k ( w k 1 ) w 3 k 1 \sum_{k=1}^{2014}\frac{1}{1+w^k+w^{-k}}=\sum_{k=1}^{2014}\frac{w^k}{1+w^k+w^{2k}}=\sum_{k=1}^{2014}\frac{w^{k}(w^k-1)}{w^{3k}-1} k = 1 2014 w k ( w 2016 k 1 ) w 3 k 1 = k = 1 2014 n = 0 671 w k ( w 3 n k ) = n = 0 671 k = 1 2014 w ( 3 n + 1 ) k = 672 \sum_{k=1}^{2014}\frac{w^{k}(w^{2016k}-1)}{w^{3k}-1}=\sum_{k=1}^{2014}\sum_{n=0}^{671}w^k(w^{3nk})=\sum_{n=0}^{671}\sum_{k=1}^{2014}w^{(3n+1)k}=-672 The answer to your problem is half of that , 336 -336 .

Why solve it trigonometrically when you can do it elegantly, with roots of unity? ;)

Otto Bretscher - 6 years ago

Log in to reply

Yeah! That's right. But it is always good to have an alternative.

Kartik Sharma - 6 years ago

Thank you for this clear and elegant solution! (+1) It is great to find another fan of roots of unity on Brilliant ;)

It's interesting to note that all one needs to do this "fancy" Level 5 problem are finite geometric series, over and over again.

Maybe in can interest you in this problem as well. I don't know an elegant solution to the extra credit part... I hope you can help ;)

Otto Bretscher - 6 years ago

Log in to reply

I find roots of unity kind of "magical". Great problem!

Julian Poon - 6 years ago

I certainly know what the square of that product is (that's how I solved the problem, actually), but I'm not sure how to decide which square root it is.

By the way, how do you embed links in your solutions/comments?

Patrick Corn - 6 years ago

Log in to reply

I know how to decide it, but my approach is tedious.

Otto Bretscher - 6 years ago

ahaha.. we have identically and exactly the same method that we use, Patrick =)

Keil Cerbito - 6 years ago

What am I doing wrong, I get 2014/3 or 671.3333:

w = e^(2pi * i/2015) = [e^{2pi * i)}^(1/2015) = {cos(2pi) + [i *sin(2pi)]}^(1/2015) = [1 + (i * 0)]^(1/2015) = 1

1 + (1)^k + (1)^(2k) = 3 for all k from k = 1 to k = 2014 and the addend is 1/3.

The sum is then 1/3 added to itself 2014 times, or (2014/3) = 671.3333.

Anu Sood - 4 years, 1 month ago

Log in to reply

I did it the same way, have no idea why it is not accepted.

Rey John - 2 years, 10 months ago

Log in to reply

Because it's not correct? You are saying that ω = 1 \omega = 1 where ω \omega is a nontrivial 2015 2015 th root of unity, and this is completely false. You have to be careful with laws of exponents when working with complex numbers. Here's a StackExchange thread with some commentary.

Patrick Corn - 2 years, 10 months ago

Why the first relation is equal to 1 w 2016 k 1-w^{2016k} ? Calculating it I get 1 w 1343 k 1-w^{1343k} .

Matteo Staccone - 6 years ago

Log in to reply

You are right! The highest power in the middle term should be 3 × 671 = 2013 3\times{671}=2013 . Thanks!

Otto Bretscher - 6 years ago

Editing now.

Patrick Corn - 6 years ago
Kenny Lau
Oct 15, 2015

This solution is not elegant at all, but I would still share it, because this is how I did it.

Firstly, z 2 + z + 1 = ( z e 2 i π 3 ) ( z e 4 i π 3 ) z^2+z+1=(z-e^{\frac{2i\pi}3})(z-e^{\frac{4i\pi}3}) .

Therefore, by Partial Fractions - Linear Factors , 1 1 + z + z 2 = i 3 ( 1 z e 2 i π 3 1 z e 4 i π 3 ) \dfrac1{1+z+z^2}=-\frac i{\sqrt3}\left(\dfrac1{z-e^{\frac{2i\pi}3}}-\dfrac1{z-e^{\frac{4i\pi}3}}\right) .


z 2015 = 1 z^{2015}=1 is the equation that generates all the " ω \omega "s.

Note that z = 1 z=1 is an extra solution that I will deal with later.

Then, ( z + e 2 i π 3 ) 2015 = 1 (z+e^{\frac{2i\pi}3})^{2015}=1 would produce "( ω e 2 i π 3 \omega-e^{\frac{2i\pi}3} )".

Then, ( 1 z + e 2 i π 3 ) 2015 = 1 \left(\dfrac1z+e^{\frac{2i\pi}3}\right)^{2015}=1 would produce " ( 1 ω e 2 i π 3 ) \left(\dfrac1{\omega-e^{\frac{2i\pi}3}}\right) ".

Multiply by e 4 i π 3 z 2015 e^{\frac{4i\pi}3}z^{2015} to produce ( e 4 i π 3 + z ) 2015 = e 4 i π 3 z 2015 (e^{\frac{4i\pi}3}+z)^{2015}=e^{\frac{4i\pi}3}z^{2015} .

Sum of roots by Vieta's Formula = 2015 e 4 i π 3 1 e 4 i π 3 = 3 3 ( 2015 ) ( i ) = \dfrac{-2015e^{\frac{4i\pi}3}}{1-e^{\frac{4i\pi}3}}=\dfrac{\sqrt3}3(2015)(i)


Similarly, the sum of roots of the other part ( 1 z e 4 i π 3 ) \left(\dfrac1{z-e^{\frac{4i\pi}3}}\right) is 3 3 ( 2015 ) ( i ) -\dfrac{\sqrt3}3(2015)(i) .


Therefore, k = 1 2015 1 1 + ω k + ω k 2 = i 3 ( 3 3 ) ( 2015 ) [ i ( i ) ] = 4030 3 \displaystyle\sum_{k=1}^{2015}\frac1{1+\omega_k+\omega_k^2}=-\frac i{\sqrt3}\left(\frac{\sqrt3}3\right)(2015)[i-(-i)]=\frac{4030}3 .

Note that it is summed to 2015 instead of 2014

Then, the required answer is 4030 3 1 3 = 1343 \dfrac{4030}3-\dfrac13=1343 .

Substitution is certainly a viable, systematic way to do this (upvote). You are using the equation k = 0 n 1 1 z w k = n z n 1 z n 1 , \sum_{k=0}^{n-1}\frac{1}{z-w^k}=\frac{nz^{n-1}}{z^n-1}, which is more easily derived by logarithmic differentiation.

If you are interested in this topic, try my problems "More fun in 2015, Part 21" and "Let's minimize sin"... I have not received any solutions to those yet. Enjoy!

Otto Bretscher - 5 years, 8 months ago

Log in to reply

I know the method to "let's minimize sin", but I made a careless mistake so I got the question wrong and I can't write a solution :(

Maybe you can post something and let me comment my solution there.

Kenny Lau - 5 years, 8 months ago

Log in to reply

ok will do

Otto Bretscher - 5 years, 8 months ago

Log in to reply

@Otto Bretscher I mean you can just post anything like "hi" there and so that I can type my solution.

Kenny Lau - 5 years, 8 months ago
Davy Ker
Jan 18, 2017

I computed it for smaller values n n in the place of 2015 (and n 1 n-1 in the place of 2014), and noticed a pattern. I claim that:

  • if n 0 ( m o d 3 ) n \equiv 0 \pmod{3} , the sum does not exist (one of the denominators is zero)

  • if n 1 ( m o d 3 ) n \equiv 1 \pmod{3} , the sum is n 1 3 \frac{n-1}{3}

  • if n 2 ( m o d 3 ) n \equiv 2 \pmod{3} , the sum is 2 n 1 3 \frac{2n-1}{3}

In this case we have n = 2015 2 ( m o d 3 ) n = 2015 \equiv 2 \pmod{3} so the sum is 2 2015 1 3 = 1343 \frac{2*2015-1}{3}=1343 . I don't have a proof of this claim but I'm working on it.

Jerry Barrington
Oct 31, 2017

I didn't feel like working out the math as Patrick & Kenny did. But note that e^(2πi/2015) is simply the unit vector for the angle 2π/2015. w^k is the unit vector for 2πk/2015, and similarly for w^2k. So I put that in a spreadsheet, 2014 rows calculating each part of the sum, then summed it. Much quicker than working the theoretical aspect.

Harry D
Sep 18, 2020

In general, for w = e 2 π i 3 k + 2 w=e^{\frac{2\pi i}{3k+2}} , that is, w w being the smallest non-trivial ( 3 k + 2 ) - t h (3k+2)\mbox{-}th root of unity, the result of the sum is 2 k + 1 2k+1 .

In fact the result holds for w w being any non-trivial ( 3 k + 2 ) - t h (3k+2)\mbox{-}th root of unity.

Tom Engelsman
Dec 8, 2019

Enjoyable Roots-of-Unity problem, Sir Otto! Happy Holidays to you!

1 pending report

Vote up reports you agree with

×

Problem Loading...

Note Loading...

Set Loading...