Roots of Unity raised to the k/2 power equals 1 or -1
Any -th root of unity with even raised to the power will result in 1 or -1.
This should not be confused with the similar-looking concepts that or that roots of unity and are additive inverses of each other.
Let’s use the primitive 8-th roots of unity as an example with generator (primitive 8-th root of unity) :
As an exercise for the reader, we recommend taking the 6-th roots of unity, raising each element to the 3rd power () and seeing that the results are .
Looking at the evaluations above, we see a pattern that the even powered roots of unity plugged into evaluate to 1 and the odd-powered roots of unity plugged into evaluate to -1. A proof of this is in the appendix. Meanwhile, let’s make the central claim of the chapter:
Any k-th root of unity raised to where is even results in 1 or -1. Specifically, let be the primitive -th root of unity and let the root of unity in question be . If is even, will evaluate to 1 and if is odd, then will evaluate to -1.
A side-effect of this claim is that terms in a polynomial with the power can be evaluated almost for free if evaluated on a root of unity.
Suppose for example that we have a polynomial that we want to evaluate on 8 points. Now suppose we set the 8 points to be the 8-th roots of unity. Normally, we’d have to loop through and evaluate on each point. However, we don’t need to actually exponentiate each point of evaluation — we just check if the power of the root of unity is even or odd!
In fact, we can shortcut the process entirely. Let’s treat as an array with length 8. We can return 1 or -1 based on whether the array index is even or odd, and completely ignore the exponent. In other words, will evaluate to
If the polynomial has a coefficient other than one, for example , the evaluation depends just on whether we are on an even or odd index:
But what about polynomials that aren’t of the form ? Polynomials can be factored to introduce as many terms as possible. For example, consider the polynomial
Only the term is of the form . However, suppose we factor the polynomial as follows:
This polynomial is much easier to evaluate since we know in advance when the terms will evaluate to 1 or -1.
However, we don’t yet have a nice trick to handle the lower powers of . This will be the subject of upcoming chapters.
Summary
Raising a -th root of unity to the power results in 1 if is even and -1 if is odd. If we evaluate a polynomial on the -th roots of unity, the terms with power can be automatically computed simply by knowing if the root of unity we are evaluating on is an even power or odd power. Therefore, it is desirable to factor the polynomial so that we maximize the amount of terms.
Appendix — Proof that is 1 if is even and -1 if is odd for even
and are additive inverses of each other. Since and , must be the additive inverse of and hence .
Now we take (which is -1) and raise it to
Note that can only be 1 or -1. Specifically, if is even, then and if is odd, then . Hence, if is even, the outcome of our expression is 1, and if is odd, then the outcome is -1.
Our expression can be rewritten as:
Since the algebraic identity of the expression has not changed, we can still say if is even, then and if is odd, .
Therefore, we have proved the original statement that when is even and when is odd.
Ready to Get Started?
Join Thousands of Users Today
Start your free trial now and experience the difference. No credit card required.