P n = k = 0 ∏ n − 1 ( 1 − 2 sin ( n 2 k π ) )
Find the minimal value of P n , where n is a positive integer.
If you come to the conclusion that no minimum is attained, enter 666 as your answer.
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.
P n
= k = 0 ∏ n − 1 ( 1 − 2 sin ( n 2 k π ) )
= k = 0 ∏ n − 1 ( 1 − i exp ( n − 2 k i π ) + i exp ( n 2 k π ) )
= i n k = 0 ∏ n − 1 ( − i − exp ( n − 2 k i π ) + exp ( n 2 k π ) )
= i n exp ( − ( n − 1 ) i π ) k = 0 ∏ n − 1 ( − i exp ( n 2 k π ) − 1 + exp ( n 4 k π ) )
= i n exp ( − ( n − 1 ) i π ) k = 0 ∏ n − 1 ( exp ( n 2 k π ) − exp ( 6 i π ) ) ( exp ( n 2 k π ) − exp ( 6 5 i π ) )
= i n exp ( − ( n − 1 ) i π ) k = 0 ∏ n − 1 ( exp ( 6 i π ) − exp ( n 2 k π ) ) ( exp ( 6 5 i π ) − exp ( n 2 k π ) )
= i n ( − 1 ) n − 1 ( exp ( 6 n i π ) − 1 ) ( exp ( 6 5 n i π ) − 1 )
= − ( − i ) n ( exp ( n i π ) − exp ( 6 n i π ) − exp ( 6 5 n i π ) + 1 )
= − ( − i ) n ( ( − 1 ) n − exp ( 6 n i π ) − exp ( 6 5 n i π ) + 1 )
= − i n ( 1 − exp ( 6 7 n i π ) − exp ( 6 1 1 n i π ) + ( − 1 ) n )
= − i n ( 1 − 2 cos ( 3 2 n π ) exp ( 6 9 n i π ) + ( − 1 ) n )
= − i n ( 1 − 2 ( − i ) n cos ( 3 2 n π ) + ( − 1 ) n )
Thus the function is shown to be periodic, with a period of 1 2 .
Trying all the 12 cases gives minimum − 3 .
Formulas used:
k = 0 ∏ n − 1 ( z − exp ( n 2 k i π ) ) = z n − 1
exp ( a i ) + exp ( b i ) = 2 cos ( 2 a − b ) exp ( 2 a i + b i )
Log in to reply
Wow, this looks quite complex (upvote)! Thank you! I get -4 when I make n a multiple of 12 in your formula...is there a sign error hidden somewhere?
Log in to reply
Yes, and I fixed it.
Log in to reply
@Kenny Lau – There is still a discrepancy between our formulas for odd n . I believe the answer for n = 3 should be -2, for example.
Log in to reply
@Otto Bretscher – I hope it is alright now. I always make stupid careless mistakes.
+1 Did the same way. The product can also be written as P n 2 = k = 0 ∏ n − 1 ( cos ( n 2 k π ) cos ( n 6 k π ) ) Can we find a way to evaluate it through this route?
Log in to reply
The two products are not equal! (Square root can only be positive)
Log in to reply
@Kenny Lau – Oh yeah, sorry. I mean,
P n = k = 0 ∏ n − 1 ( 1 − 2 sin ( n 2 k π ) )
= k = 0 ∏ n − 1 ( 1 − 2 sin ( n 2 ( n − 1 − k ) π ) )
= k = 0 ∏ n − 1 ( 1 + 2 sin ( n 2 k π ) )
⟹ P n 2 = k = 0 ∏ n − 1 ( 1 − 4 sin 2 ( n 2 k π ) )
= k = 0 ∏ n − 1 ( 4 cos 2 ( n 2 k π ) − 3 )
⟹ P n 2 = k = 0 ∏ n − 1 ( cos ( n 2 k π ) cos ( n 6 k π ) )
Log in to reply
@Ishan Singh – Do we need to worry about the denominator being zero?
Log in to reply
@Otto Bretscher – We can take limit since it will be an indeterminate form (For m zeroes in the denominator, there will be m zeroes in the numerator)
Log in to reply
@Ishan Singh – Limit with respect to what variable?
Log in to reply
@Otto Bretscher – Sorry, I guess the above transformation is valid only if n is not a multiple of 4
Log in to reply
@Ishan Singh – But multiples of 4 give us the solution... so, you may have to look for a different approach.
@Ishan Singh – You can just use the formula 2 cos θ = exp ( i θ ) + exp ( − i θ ) .
Log in to reply
@Kenny Lau – I know that, but I was hoping to calculate the more general product k = 0 ∏ n − 1 cos ( n r k π ) , where r is a positive integer and then put values for r . If we simplify it using complex numbers, in the end we'd have to solve k = 0 ∏ n − 1 ( w 2 r + 1 ) where w 2 n = 1 Any insights?
Log in to reply
@Ishan Singh – Still the same method as is shown in my solution. ( ω 2 k + 1 ) = ( ω k + i ) ( ω k − i ) = ( − i − ω k ) ( i − ω k ) = ( ( − i ) k − 1 ) ( i k − 1 ) = 1 − ( − i ) k − i k + 1 = 2 − 2 ( − 1 ) k cos ( k π / 2 )
Log in to reply
@Kenny Lau – How is ( − i − ω k ) ( i − ω k ) = ( ( − i ) k − 1 ) ( i k − 1 ) ? Also note that r = n
Log in to reply
@Ishan Singh – Oops, I meant that ( − i − ω k ) ( i − ω k ) = ( ( − i ) n − 1 ) ( i n − 1 ) . This is the first formula that I gave in my solution.
Log in to reply
@Kenny Lau – I think you misread my question. The product is k = 0 ∏ n − 1 ( exp ( i n r k π ) + 1 )
Log in to reply
@Ishan Singh – ∏ 2 cos ( k π / n )
= ∏ ( exp ( k i π / n ) + exp ( − k i π / n ) )
= ∏ exp ( − k i π / n ) ( exp ( 2 k i π / n ) + 1 )
= ( ∏ exp ( − k i π / n ) ) ( − 1 ) n ( ( − 1 ) n − 1 )
= exp ( − ( n + 1 ) i π / 2 ) ( − 1 ) n ( ( − 1 ) n − 1 )
= ( − i ) n + 1 ( 1 − ( − 1 ) n )
I am writing the general solution now. This is just an example of how I would do it.
Log in to reply
@Kenny Lau – Yeah, that's my point, it doesn't seem to work in the general case. Anyway, eagerly waiting for your general solution.
Log in to reply
@Ishan Singh – So:
∏ ( 2 cos ( n r k π ) )
= ∏ ( exp ( n r k i π ) + exp ( n − r k i π ) )
= ∏ exp ( n − r k i π ) ( exp ( n 2 r k i π ) + 1 )
= exp ( 2 − r ( n + 1 ) i π ) ∏ ( exp ( n 2 r k i π ) + 1 )
= exp ( 2 − r ( n + 1 ) i π ) ∏ m = 0 ∏ r ( exp ( n 2 k i π ) − exp ( 2 ( 2 m + 1 ) i π ) )
= exp ( 2 − r ( n + 1 ) i π ) ( − 1 ) n r ∏ m = 0 ∏ r − 1 ( exp ( 2 ( 2 m + 1 ) i π ) − exp ( n 2 k i π ) )
= exp ( 2 − r ( n + 1 ) i π ) ( − 1 ) n r m = 0 ∏ r − 1 ( exp ( 2 ( 2 m + 1 ) n i π ) − 1 )
Looks like I have disappointed you, haven't I. At least I have eliminated k .
Log in to reply
@Kenny Lau – Looks good. I'll inform if I get anything. Nice talking to you. Night.
@Kenny Lau – Btw, there's a typo. It should be exp ( r ( 2 m + 1 ) n i π ) instead of exp ( 2 ( 2 m + 1 ) n i π ) in the last and second last line.
Problem Loading...
Note Loading...
Set Loading...
1 − 2 sin ( n 2 k π ) = 2 ( cos ( n 2 k π + 2 π ) − cos ( 3 2 π ) ) = − 4 sin ( n k π + 1 2 7 π ) sin ( n k π − 1 2 π ) According to the formula discussed here , the product is P n = 4 ( − 1 ) n + 1 sin ( 1 2 7 n π ) sin ( 1 2 n π )
P n attains a minimum of − 3 when n is divisible by 4 but not by 12.