2005 AIME II Problem 9

Attempt Problem 9 of the 2005 AIME II below, then check your answer against the professionally curated solution from LIVE by Po-Shen Loh. You can also try the full timed exam, view all 2005 AIME II solutions, or check the answer key.

All problems are used with official legal permission of the Mathematical Association of America (MAA).

9.

For how many positive integers nn less than or equal to 10001000 is (sin⁡t+icos⁡t)n=sin⁡nt+icos⁡nt \begin{aligned} &(\sin t + i \cos t)^n \\ &= \sin nt + i \cos nt \end{aligned} true for all real t?t?
Answer: 250
Concepts:De Moivre’s Theoremcomplex numbertrigonometric identity
Small hint:
Write sin⁡t+icos⁡t=i(cos⁡t−isin⁡t)\sin t + i\cos t = i(\cos t - i\sin t) and sin⁡nt+icos⁡nt\sin nt + i\cos nt =i(cos⁡nt−isin⁡nt)= i(\cos nt - i\sin nt)
Big hint:
By de Moivre the equation reduces to in=i,i^n = i, so nn must be 11 more than a multiple of 44
Solution:
Since sin⁡t+icos⁡t=i(cos⁡t−isin⁡t)\sin t + i\cos t = i(\cos t - i \sin t) and sin⁡nt+icos⁡nt\sin nt + i\cos nt =i(cos⁡nt−isin⁡nt),= i(\cos nt - i\sin nt), de Moivre’s theorem (applied to angle −t-t) gives (sin⁡t+icos⁡t)n=in(cos⁡t−isin⁡t)n=in(cos⁡nt−isin⁡nt). \begin{aligned} &(\sin t + i \cos t)^n \\ &= i^n(\cos t - i\sin t)^n \\ &= i^n(\cos nt - i \sin nt). \end{aligned}
So the equation holds for all real tt exactly when in=i,i^n = i, that is, when n≡1(mod4).n \equiv 1 \pmod 4. The values n=1,5,9,…,997n = 1, 5, 9, \ldots, 997 give exactly 250250 positive integers up to 1000.1000.
LIVE by Po-Shen Loh
Programs

LIVE Classes

Self-Paced Classes

Stars

Scholarship

About Us

Who Is Po-Shen Loh?

Email Contact

Newsletter

Jobs

Become a Star

For a more Thought Full world.

© 2026 Expii, Inc.