Cosine Last Year, Sine Next Year

Algebra Level 5

If cos ( 2013 x ) \cos (2013 x) is stated in terms of a polynomial of cos ( x ) \cos (x) , the coefficient of cos 2013 ( x ) \cos^{2013} (x) is equals to A 2 B A \cdot 2^B

And if sin ( 2015 x ) \sin (2015 x) is stated in terms of a polynomial of sin ( x ) \sin (x) , the coefficient of sin 2015 ( x ) \sin^{2015} (x) is equals to C 2 D C \cdot 2^D

Where A , B , C , D A, B, C, D are integers, with A A and C C as odd numbers. What is the value of ( A + B ) ( C + D ) (A+B)-(C+D) ?

Details and assumptions :

  • As an explicit example: if cos ( 3 x ) \cos(3x) is stated in terms of a polynomial of cos ( x ) \cos(x) , it would be 4 cos 3 ( x ) 3 cos ( x ) 4 \cos^3 (x) - 3\cos (x)


The answer is 0.

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.

1 solution

Jatin Yadav
Mar 31, 2014

The solution of the problem lies in complex numbers and binomial theorem. Let me show only for cos n x \cos nx and I believe you can do for sin \sin .

By De-Moivre's theorem, we know that ( cos x + i sin x ) n = cos n x + i sin n x (\cos x + i\sin x)^n = \cos nx + i \sin nx , and similarly ( cos x i sin x ) n = cos n x i sin n x (\cos x - i \sin x)^n = \cos nx - i \sin nx

Hence, 2 cos n x = ( cos x + i sin x ) n + ( cos x i sin x ) n 2 \cos nx = (\cos x + i\sin x)^n + (\cos x - i\sin x)^n

Expand it binomially to get:

2 cos n x = 2 2 r n ( n 2 r ) ( i sin x ) 2 r ( cos x ) n 2 r \displaystyle 2 \cos nx = 2 \sum_{2r \leq n} {n \choose 2r} (i \sin x)^{2r} (\cos x)^{n-2r}

cos n x = 2 r n ( 1 ) r ( n 2 r ) ( sin 2 x ) r ( cos x ) n 2 r \displaystyle \Rightarrow \cos nx = \sum_{2r \leq n} (-1)^r {n \choose 2r} (\sin^2 x)^r (\cos x)^{n-2r}

cos n x = 2 r n ( 1 ) r ( n 2 r ) ( 1 cos 2 x ) r ( cos x ) n 2 r \displaystyle \Rightarrow \cos nx = \sum_{2r \leq n} (-1)^r {n \choose 2r} (1 - \cos^2 x)^r (\cos x)^{n-2r} .

Now, as we have to find the coefficient of ( cos x ) n (\cos x)^n , we take only ( 1 ) r ( cos x ) 2 r (-1)^r (\cos x)^{2r} from the binomial expansion of ( 1 cos 2 x ) r (1- \cos^2 x)^r . Note that we can also obtain whole expression, if we consider all terms of its expansion, but that is not needed for this problem.

Hence, we get the coefficient of ( cos x ) n (\cos x)^n as 2 r n ( 1 ) r ( n 2 r ) ( 1 ) r = 2 r n ( n 2 r ) \displaystyle \sum_{2r \leq n} (-1)^{r} {n \choose 2r} (-1)^r = \displaystyle \sum_{2r \leq n} {n \choose 2r}

= 2 n 1 \boxed{2^{n-1}}

In our case it is 2 2013 1 = 2 2012 2^{2013-1} = 2^{2012} .

By similar method you can expand sin n x \sin nx , for odd n n . You get the coefficient of ( sin x ) 2015 (\sin x)^{2015} in sin ( 2015 x ) \sin (2015 x) as 2 2014 -2^{2014}

Hence, A = 1 , B = 2012 , C = 1 , D = 2014 A=1,B=2012,C=-1,D=2014

Thus, A + B C D = 0 A+B - C - D = 0

Nice solution Jatin !

Karthik Kannan - 7 years, 2 months ago

C = -1 should be called an integer rather than a 'number'.

Rajen Kapur - 7 years, 2 months ago

Log in to reply

Well, every integer is a number, even i i is a number!

jatin yadav - 7 years, 2 months ago

Nice solution! Did the same!

Kartik Sharma - 6 years ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...