Solution
Solution 1
We know by De Moivre's Theorem that (cost+isint)n=cosnt+isinnt for all real numbers t and all integers n. So, we'd like to somehow convert our given expression into a form from which we can apply De Moivre's Theorem.
Recall the trigonometric identities cos(2π−u)=sinu and sin(2π−u)=cosu hold for all real u. If our original equation holds for all t, it must certainly hold for t=2π−u. Thus, the question is equivalent to asking for how many positive integers n≤1000 we have that (sin(2π−u)+icos(2π−u))n=sinn(2π−u)+icosn(2π−u) holds for all real u.
(sin(2π−u)+icos(2π−u))n=(cosu+isinu)n=cosnu+isinnu. We know that two complex numbers are equal if and only if both their real part and imaginary part are equal. Thus, we need to find all n such that cosnu=sinn(2π−u) and sinnu=cosn(2π−u) hold for all real u.
sinx=cosy if and only if either x+y=2π+2π⋅k or x−y=2π+2π⋅k for some integer k. So from the equality of the real parts we need either nu+n(2π−u)=2π+2π⋅k, in which case n=1+4k, or we need −nu+n(2π−u)=2π+2π⋅k, in which case n will depend on u and so the equation will not hold for all real values of u. Checking n=1+4k in the equation for the imaginary parts, we see that it works there as well, so exactly those values of n congruent to 1(mod4) work. There are 250 of them in the given range.
Solution 2
This problem begs us to use the familiar identity eit=cos(t)+isin(t). Notice, sin(t)+icos(t)=i(cos(t)−isin(t))=ie−it since sin(−t)=−sin(t). Using this, (sin(t)+icos(t))n=sin(nt)+icos(nt) is recast as (ie−it)n=ie−itn. Hence we must have in=i⇒in−1=1⇒n≡1mod4. Thus since 1000 is a multiple of 4 exactly one quarter of the residues are congruent to 1 hence we have 250.
Solution 3
We can rewrite sin(t) as cos(2π−t) and cos(t) as sin(2π−t). This means that sint+icost=ei(2π−t)=eite2πi. This theorem also tells us that e2πi=i, so sint+icost=eiti. By the same line of reasoning, we have sinnt+icosnt=einti.
For the statement in the question to be true, we must have (eiti)n=einti. The left hand side simplifies to eintin. We cancel the denominators and find that the only thing that needs to be true is that in=i. This is true if n≡1(mod4), and there are 250 such numbers between 1 and 1000. Solution by Zeroman
Solution 4
We are using degrees in this solution instead of radians. I just process stuff better that way.
We can see that the LHS is cis(n(90∘−t)), and the RHS is cis(90∘−nt) So, n(90−t)≡90−ntmod360 Expanding and canceling the nt terms, we will get 90n≡90mod360. Canceling gets n≡1mod4, and thus there are 250 values of n.
-AlexLikeMath
Solution 5(CHEAP)
Let t=0. Then, we have in=i which means n≡1(mod4). Thus, the answer is 250.
Solution 6
We factor out in from (sint+icost)n=in(cos(t)−isint)=in(cos(nt)−isinnt). We know the final expression must be the same as sinnt+icosnt so we must have in(cos(nt)−isinnt)=sinnt+icosnt in which testing yields n≡1(mod4) is the only mod that works, so we have a total of 1000⋅41=250 integers n that work.
Solution 7
Note that this looks like de Moivre's except switched around. Using de Moivre's as motivation we try to convert the given expression into de Moivre's. Note that sint=cos(90−t) and cost=sin(90−t). So we rewrite the expression and setting it equal to the given expression in the problem, we get cos(90−nt)+isin(90−nt)=cos(90n−nt)+isin(90n−nt). Now we can just look at the imaginary parts. Doing so and simplifying, we see that 1+4k=n. From this we see that n≡1(mod4). So there are 250 solutions.
~coolmath_2018
Solution 8
(sinθ+icosθ)n=in(cosθ−isinθ)n
Hence the required condition is just in=i which is true for exactly 1 in 4 consecutive numbers. Thus 250