Michael was preparing a New Year firework at the point ( 2 0 1 7 , 1 ) on the Cartesian plane. He accidentally fired it, such that for each n th step it flied straightly to a reflected point about the line y = tan ( ( 2 n ) ∘ ) x + 2 0 1 6 . The firework then exploded after 3 6 5 th step.
Where is the point of explosion? If your answer is ( x a , y a ) , evaluate ⌊ x a + y a ⌋ .
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.
Happy New Years
Edit: The whole thing can be reduced to
x
3
6
5
=
r
C
o
s
(
θ
3
6
5
)
y
3
6
5
=
r
S
i
n
(
θ
3
6
5
)
+
2
0
1
6
where r = ( 2 0 1 7 ) 2 + ( 2 0 1 6 − 1 ) 2
and n = 3 6 5 for θ 3 6 5 , where
θ n = 3 6 0 2 π ( 3 4 ( 2 n − ( − 1 ) n ) + ( − 1 ) n 2 π 3 6 0 A r c T a n ( 0 − 2 0 1 7 2 0 1 6 − 1 ) )
Wow! That is one neat solution you have here. :)
Happy New Year!
Log in to reply
Most of the work going into this problem is coming up with that angle 4 4 ° . But as a mental picture, consider that since we're "reflecting" the original point to image points, then even with an arbitrary number and positions of "mirrors", the final point is still going to be a linear function of the position of the original point. In this problem, it's 4 4 ° − θ 0 , where
4 4 = M o d ( 3 4 ( 2 3 6 5 − ( − 1 ) 3 6 5 , 3 6 0 ) .
Imagine you're looking at reflections of yourself in a maze of mirrors. When you move your hand, you see your hand moving by the same amount in your reflections, don't you?
Log in to reply
Yes. That pretty much reminds me of the following image...
or the famous Escher drawing...
I love how diverse and versatile science is. :)
Problem Loading...
Note Loading...
Set Loading...
Step I. Analyzing Pattern
Before approaching the problem, consider the symmetry equation y = tan ( ( 2 n ) ∘ ) x . Let P n denote the initial angle with respect to the horizontal axis and D n denote the reflection by the line of the equation. For each time the point is reflected, it arrives toward the point on the circumference, which does not change the displacement between the origin and the final point. Since the firework travels twice the shortest distance d between the initial point and the line of symmetry, the change in angle is 2 D n + 1 . In that case, the resulting angle is the difference between P n and 2 D n + 1 , which is presented as the following harmonic sequence P n + 1 = − P n + 2 D n + 1 for n ≥ 0 . Because the line of symmetry depends on the slope tan ( ( 2 n ) ∘ ) , D n = 2 n , which implies that P n + 1 = − P n + 2 ⋅ 2 n + 1 = − P n + 2 n + 2 Since the firework exploded after odd number of steps, the second step is to determine P n + ( 2 k + 1 ) , where we treat n = 0 and 2 k + 1 to be the odd number for positive integer k . Evaluating P n + ( 2 k + 1 ) , we have P n + ( 2 k + 1 ) = − P n + 2 k + 2 D n + ( 2 k + 1 ) = − ( P n − 2 n + 2 + 2 n + 3 − ⋯ + 2 n + 2 k + 1 ) + 2 n + ( 2 k + 1 ) + 1 = − P n + 2 n + 2 − 2 n + 3 + ⋯ − 2 n + 2 k + 1 + 2 n + 2 k + 2 Setting n = 0 and 2 k + 1 = 3 6 5 (which implies that k = 1 8 2 ), P 3 6 5 = − P 0 + 2 2 − 2 3 + 2 4 − 2 5 + ⋯ − 2 3 6 5 + 2 3 6 6 = − P 0 + ( 2 2 + 2 4 + ⋯ + 2 3 6 4 + 2 3 6 6 ) − ( 2 3 + 2 5 + ⋯ + 2 3 6 3 + 2 3 6 5 ) = − P 0 + 4 ( 1 + 2 2 + 2 4 + ⋯ + 2 3 6 2 ) − 8 ( 1 + 2 2 + 2 4 + ⋯ + 2 3 6 0 + 2 3 6 2 ) + 2 3 6 6 = − P 0 − 4 ( 1 + 2 2 + 2 4 + ⋯ + 2 3 6 0 + 2 3 6 2 ) + 2 3 6 6
Step II. Modular Arithmetic
Considering the bounds of angle measurement (between 0 ∘ and 3 6 0 ∘ ), we evaluate the numerical expression in m o d 3 6 0 . That is, we want to simplify P = ( − 4 ( 1 + 2 2 + 2 4 + ⋯ + 2 3 6 0 + 2 3 6 2 ) + 2 3 6 6 ) m o d 3 6 0 Since 3 6 0 = 2 3 ⋅ 3 2 ⋅ 5 , evaluate P in m o d 2 3 and m o d 3 2 ⋅ 5 separately. Clearly, P ≡ − 4 ( 1 + 4 + 0 + 0 + ⋯ + 0 ) + 0 m o d 2 3 ≡ − 2 0 ≡ 4 m o d 2 3 For m o d 3 2 ⋅ 5 , since a lcd ( φ ( 9 ) , φ ( 5 ) ) = a 1 2 ≡ 1 m o d 3 2 ⋅ 5 where a is a prime factor relatively prime to 3 2 ⋅ 5 , notice that for nonnegative integer k 2 1 2 k + 2 1 2 k + 2 + 2 1 2 k + 4 + 2 1 2 k + 6 + 2 1 2 k + 8 + 2 1 2 k + 1 0 ≡ 2 1 2 k ( 1 + 2 2 + 2 4 + ⋯ + 2 1 0 ) m o d 3 2 ⋅ 5 ≡ 1 + 2 2 + 2 4 + ⋯ + 2 1 0 m o d 3 2 ⋅ 5 ≡ 1 + 4 + 4 2 + 4 3 + 4 4 + 4 5 m o d 3 2 ⋅ 5 ≡ ( 1 + 4 + 4 2 ) + 4 3 ( 1 + 4 + 4 2 ) m o d 3 2 ⋅ 5 ≡ ( 1 + 4 3 ) ( 1 + 4 + 4 2 ) m o d 3 2 ⋅ 5 ≡ 6 5 ⋅ 2 1 m o d 3 2 ⋅ 5 ≡ 1 5 ⋅ 9 1 m o d 3 2 ⋅ 5 ≡ 1 5 m o d 3 2 ⋅ 5 Since there are 6 consecutive terms of even exponents in the sum, there are ⌊ 1 2 3 6 2 + 2 ⌋ = 3 0 sums of the same form and { 1 2 3 6 2 + 2 } ⋅ 6 = 2 extra terms left, namely 2 3 6 0 ≡ 1 m o d 3 2 ⋅ 5 and 2 3 6 2 ≡ 2 2 m o d 3 2 ⋅ 5 , − 4 ( 1 + 2 2 + ⋯ + 2 3 6 0 + 2 3 6 2 ) + 2 3 6 6 ≡ − 4 ( 3 0 ( 1 + 2 2 + 2 4 + 2 6 + 2 8 + 2 1 0 ) + 1 + 2 2 ) + 2 6 m o d 3 2 ⋅ 5 ≡ − 4 ( 3 0 ( 1 5 ) + 5 ) + 1 9 m o d 3 2 ⋅ 5 ≡ 2 5 + 1 9 m o d 3 2 ⋅ 5 ≡ 4 4 m o d 3 2 ⋅ 5 So we have P P ≡ 4 m o d 2 3 ≡ 4 4 m o d 3 2 ⋅ 5 which is easy to see that P ≡ 4 4 m o d 3 6 0 . This shows that we evaluate P 3 6 5 = − P 0 + 4 4
Step III: Answer the Question
Because the given point is shifted by 2 0 1 6 units down, we have ( 2 0 1 7 , − 2 0 1 5 ) . In polar form, r = ( 2 0 1 7 ) 2 + ( − 2 0 1 5 ) 2 and θ = arctan ( − 2 0 1 7 2 0 1 5 ) ∘ Then, P 3 6 5 = ( − arctan ( − 2 0 1 7 2 0 1 5 ) + 4 4 ) ∘ = ( arctan ( 2 0 1 7 2 0 1 5 ) + 4 4 ) ∘ Thus, if x a y a = r cos ( P 3 6 5 ) = r sin ( P 3 6 5 ) + 2 0 1 6 the answer is ⌊ x a + y a ⌋ = 4 9 1 7
Note: You can simply substitute the whole angle displacement into the expression without having to apply modular arithmetic. This still gives the same result.