---
title: "Exact Evaluation of Cosine Sum for 15th Roots of Unity"
organization: "NityaDhi Digital Mathematics Lab (Asa Edtech Private Limited)"
url: "https://www.nityadhi.com/problems/hard-c11-w1-04-de-moivre-cosine-orbit-sum"
board: "JEE Foundation"
grade: "Class 11"
published_at: "2026-11-24T12:45:00+05:30"
---

# Exact Evaluation of Cosine Sum for 15th Roots of Unity

Let $\alpha = \frac{2\pi}{15}$. Find the exact value of:
$$A = \cos\alpha + \cos 2\alpha + \cos 4\alpha + \cos 8\alpha$$

## Textbook Solution

Let $\zeta = e^{i\alpha} = \cos\frac{2\pi}{15} + i\sin\frac{2\pi}{15}$ be a primitive $15$-th root of unity. Since $\zeta^{15} = 1$ and $\zeta \neq 1$, we have:
$$\sum_{k=0}^{14} \zeta^k = 0 \implies \sum_{k=1}^{14} \cos(k\alpha) = -1$$
Partition the indices $\{1, 2, \dots, 14\}$ into subsets based on symmetry $\cos((15-k)\alpha) = \cos(k\alpha)$ and common divisors with $15$:
1. The set $S_1 = \{1, 2, 4, 8\}$ gives $\sum_{k \in S_1} \cos(k\alpha) = A$.
2. Its mirror set $S_2 = \{14, 13, 11, 7\} = \{15-1, 15-2, 15-4, 15-8\}$ also gives $\sum_{k \in S_2} \cos(k\alpha) = A$.
3. Multiples of $3$: $S_3 = \{3, 6, 9, 12\}$. Since $3\alpha = \frac{2\pi}{5}$, we get:
$$\cos\frac{2\pi}{5} + \cos\frac{4\pi}{5} + \cos\frac{6\pi}{5} + \cos\frac{8\pi}{5} = \left(\sum_{m=0}^{4} \cos\frac{2m\pi}{5}\right) - 1 = 0 - 1 = -1$$
4. Multiples of $5$: $S_4 = \{5, 10\}$. Since $5\alpha = \frac{2\pi}{3}$, we get:
$$\cos\frac{2\pi}{3} + \cos\frac{4\pi}{3} = -\frac{1}{2} - \frac{1}{2} = -1$$
Note that $S_1, S_2, S_3, S_4$ are pairwise disjoint and their union is $\{1, 2, \dots, 14\}$. Summing all four groups:
$$A + A + (-1) + (-1) = -1 \implies 2A - 2 = -1 \implies A = \frac{1}{2}$$

## Vedic Shortcut

**NityaDhi Gauss-Period / Orbit Shortcut:** Whenever angles are $\frac{2k\pi}{n}$, check if the multipliers $\{1, 2, 4, 8\}$ form a doubling orbit modulo $n$ ($2^4 = 16 \equiv 1 \pmod{15}$). Because all coprime residues $\{1,2,4,7,8,11,13,14\}$ split into just two conjugate orbits $\{1,2,4,8\}$ and $\{-1,-2,-4,-8\}$, their combined cosine sum is $2A$, while the non-coprime sums come straight from the $5$-th and $3$-rd roots of unity ($\sum_{k=1}^{4} \cos\frac{2k\pi}{5} = -1$ and $\sum_{k=1}^{2}\cos\frac{2k\pi}{3} = -1$). Instant $A = \frac{1}{2}$!

## Common Mistakes

1. **Expanding $\cos(2\theta)$ and $\cos(4\theta)$ into polynomials:** Converting to a degree-8 polynomial in $\cos\alpha$ creates massive algebraic clutter and almost always leads to sign mistakes.
2. **Double-counting $k=0$ or $k=15$:** Remember $\sum_{k=0}^{14} \cos(k\alpha) = 0$, so the sum from $k=1$ to $14$ is $-1$, not $0$.