Find the number of solutions to the equation: cos n x − sin n x = 1 in the range 0 ≤ x < 2 π , where n ranges through all positive integers.
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.
damn i thought 2pi was included in the interval but nice one!!
Is this IMO Problem ? If it is then can you tell us what year the problem was posted?
C
o
s
n
X
−
S
i
n
n
X
=
1
.
∴
i
f
C
o
s
n
X
,
S
i
n
n
X
h
a
s
i
r
r
a
t
i
o
n
a
l
c
o
m
p
o
n
e
n
t
,
C
o
s
n
X
,
S
i
n
n
X
m
u
s
t
b
e
o
f
t
h
e
t
y
p
e
,
a
±
p
m
a
n
d
b
±
p
m
,
a
,
b
=
0
.
There is no X that satisfies this.......(X=45, a=b=0).
L
e
t
C
o
s
n
X
,
a
n
d
S
i
n
n
X
be pure fractions. They must have a common denominator and still
C
o
s
n
X
−
S
i
n
n
X
=
1
.
T
h
e
r
e
i
s
n
o
s
u
c
h
X
.
S
o
t
h
e
o
n
l
y
p
o
s
s
i
b
i
l
i
t
y
i
s
C
o
s
n
X
=
0
o
r
1
w
i
t
h
S
i
n
n
X
=
−
1
o
r
0
.
C
o
s
n
X
=
0
a
n
d
S
i
n
n
X
=
−
1
,
w
h
e
n
X
=
2
7
0
f
o
r
a
l
l
o
d
d
n
.
C
o
s
n
X
=
1
a
n
d
S
i
n
n
X
=
0
,
w
h
e
n
X
=
0
O
R
X
=
1
8
0
f
o
r
a
l
l
e
v
e
n
n
.
Three solutions for X=0, X=180, X= 270.
Problem Loading...
Note Loading...
Set Loading...
First consider n ≥ 2 .
Note that cos n x − sin n x ≤ ∣ cos n x − sin n x ∣ Now we apply the 'trick' that is the triangle inequality ; that is, for any reals a , b , ∣ a + b ∣ < ∣ a ∣ + ∣ b ∣ . Then: ∣ cos n x − sin n x ∣ ≤ ∣ cos n x ∣ + ∣ − sin n x ∣ = ∣ cos n x ∣ + ∣ sin n x ∣ ≤ cos 2 x + sin 2 x = 1 Therefore sin 2 x = ∣ sin n x ∣ , cos 2 x = ∣ cos n x ∣ .
From this we find the solutions 0 , π , 2 3 π .
In the case of n = 1 , we have cos x − sin x = 1 , and applying the R method we find that sin ( x − 4 π ) = − 2 1 , giving the solutions 0 , 2 3 π .
Therefore there are 3 unique solutions in total.