What is the value of n in the identity sin^3xsin3x=\sum^n_{m=0}{}^nC_mcosmx?

In summary: How can i get rid of the...remaining square and third power?You could try using the cosine formulas for the square and third power, like cos(mx)^3 and cos(mx)^2.
  • #36
tiny-tim said:
I think it's rather good handwriting …

large and clear :approve:

(except I think the "4" should be more angular :wink:) chunky: []

curvey: ()

curly: {}

pointy: <> :smile:

Thanks for appreciating my handwriting. :biggrin:

But are my attempts correct? :smile:
 
Physics news on Phys.org
  • #37
hmm :redface:

i'm reluctant to go through all that and check it …

you seem to have started by making it more complicated

i'd have started by using the basic https://www.physicsforums.com/library.php?do=view_item&itemid=18" to get formulas like

2sinxsin3x = cos(3x - x) - cos(3x + x) = cos2x - cos4x

isn't that simpler? :wink:

try that :smile:
 
Last edited by a moderator:
  • #38
I am correcting my attempts after [tex]\frac{2cos^32x-3cos^22x+1}{4}[/tex] :smile:

[tex]\frac{2cos^32x-3cos^22x+1}{4}[/tex]=[tex]\frac{2(\frac{cos6x+3cos2x}{4})-3(\frac{cos4x+1}{2})+1}{4}[/tex]=[tex]\frac{(\frac{cos6x+3cos2x}{2})-3(\frac{cos4x+1}{2})+1}{4}[/tex]=[tex]\frac{cos6x+3cos2x-3cos4x-1}{8}[/tex]
 
  • #39
tiny-tim said:
hmm :redface:

i'm reluctant to go through all that and check it …

you seem to have started by making it more complicated

i'd have started by using the basic https://www.physicsforums.com/library.php?do=view_item&itemid=18" to get formulas like

2sinxsin3x = cos(3x - x) - cos(3x + x) = cos2x - cos4x

isn't that simpler? :wink:

try that :smile:

Wow! :
I tried that way, it was much simpler. Thank you!
But what should i do next? :confused:

I get:-
[tex]\frac{cos6x+3cos2x-3cos4x-1}{8}[/tex]
 
Last edited by a moderator:
  • #40
Pranav-Arora said:
I tried that way, it was much simpler.

he he :biggrin:

now use a similar formula for sinxcos(something), to use up one more sinx

the use up the final sinx with a coscos formula again :wink:

(oh, and yes i get the same final result as you do! :smile:

and to make sure :rolleyes: I checked it by putting x = 0 and π/2)

btw, have you done complex numbers yet?

if so, try using https://www.physicsforums.com/library.php?do=view_item&itemid=162" to rewrite the answer as a binomial expansion :wink:
 
Last edited by a moderator:
  • #41
tiny-tim said:
he he :biggrin:

now use a similar formula for sinxcos(something), to use up one more sinx

the use up the final sinx with a coscos formula again :wink:

(oh, and yes i get the same final result as you do! :smile:

and to make sure :rolleyes: I checked it by putting x = 0 and π/2)

btw, have you done complex numbers yet?

if so use https://www.physicsforums.com/library.php?do=view_item&itemid=162" to rewrite the answer as a binomial expansion :wink:

Here's no more sine now.:confused:

And i haven't done complex numbers yet. :frown:
 
Last edited by a moderator:
  • #42
Pranav-Arora said:
Here's no more sine now.:confused:

yes there is …

you started with sin3xsin3x = sinx(sinx(sinxsin3x))), and the first step was to expand the sinxsin3x,

so now you use up the middle sinx, and when you've done that you use up the left-hand sinx :wink:
And i haven't done complex numbers yet. :frown:

doesn't matter, you don't need them
 
  • #43
tiny-tim said:
yes there is …

you started with sin3xsin3x = sinx(sinx(sinxsin3x))), and the first step was to expand the sinxsin3x,

so now you use up the middle sinx, and when you've done that you use up the left-hand sinx :wink:


doesn't matter, you don't need them

No, there's no sin x.
I started with (sin2x)(sinxsin3x).
As you said 2sinxsin3x = cos(3x - x) - cos(3x + x) = cos2x - cos4x. I used this same process and at the place of "sinxsin3x" i wrote [itex]\frac{cos2x-cos4x}{2}[/itex]. Then i was left with sin2x. I expanded this left over sin2x, solved the whole equation and got:-
[tex]\frac{cos6x+3cos2x-3cos4x-1}{8}[/tex]
 
  • #44
oh I see!

I thought you hadn't done those extra steps, and you were just repeating the answer you got by your original method, and you were asking how to get there, because you asked "What should I do next?"

you do nothing next, that is the answer, isn't it? :smile:
 
  • #45
tiny-tim said:
oh I see!

I thought you hadn't done those extra steps, and you were just repeating the answer you got by your original method, and you were asking how to get there, because you asked "What should I do next?"

you do nothing next, that is the answer, isn't it? :smile:

No, i still have to find the value of n :smile:
 
Last edited:
  • #46
Nooo …

you have to find the value of n :smile:

which is of course 6 :wink:
 
  • #47
tiny-tim said:
Nooo …

you have to find the value of n :smile:

which is of course 6 :wink:

Yes, i have to find the value of n, but how do you get 6?
 
  • #48
i think you've lost the plot :biggrin:

the original question (with that wrong "n" removed) was …
Pranav-Arora said:
Suppose [tex]sin^3xsin3x=\sum^n_{m=0}C_mcosmx[/tex] is an identity in x, where C0, C1, ...Cn are constants, and Cn [itex]\neq[/itex]0, then what is the value of n?

your answer is (cos6x -3cos4x +3cos2x - 1)/8,

which is ∑ Cmcosmx with C6 = 1/8, C4 = -3/8, C2 = 3/8, C0 = -1/8 :wink:
 
  • #49
tiny-tim said:
your answer is (cos6x -3cos4x +3cos2x - 1)/8,

which is ∑ Cmcosmx with C6 = 1/8, C4 = -3/8, C2 = 3/8, C0 = 1/8 :wink:

I still don't get it...:confused::cry:
 
  • #50
"∑ Cmcosmx" is another way of writing

C0cos0x + C1cosx + C2cos2x + C3cos3x + ...

(with each C being an ordinary number)

do you see that?​
 
  • #51
tiny-tim said:
"∑ Cmcosmx" is another way of writing

C0cos0x + C1cosx + C2cos2x + C3cos3x + ...

(with each C being an ordinary number)

do you see that?​

That i already know..:smile:
But how did you get C6=1/8 and other values :confused:
 
  • #52
I just read it off your answer of (1/8)cos6x -(3/8)cos4x +(3/8)cos2x - (1/8)
 
  • #53
tiny-tim said:
I just read it off your answer of (1/8)cos6x -(3/8)cos4x +(3/8)cos2x - (1/8)

Okay, i understand how you get C6=(1/8). :wink:
But how do you get n=6?? :confused:
 
  • #54
Because the question defines n as being the highest value of m.

The "highest" one is C6 (any C above C6 is zero), so n = 6.
 
  • #55
tiny-tim said:
Because the question defines n as being the highest value of m.

The "highest" one is C6 (any C above C6 is zero), so n = 6.

Okay, but if i wanted to find out the value of C1?
 
  • #56
C1 is the coefficient of cosx, so it's 0.
 
  • #57
tiny-tim said:
Because the question defines n as being the highest value of m.

The "highest" one is C6 (any C above C6 is zero), so n = 6.

Ok thanks..:smile:
You helped me a lot!
Thank you tiny-tim! :wink:
 
  • #58
As an "appendix", here's the alternative result using complex numbers and https://www.physicsforums.com/library.php?do=view_item&itemid=162"

you won't understand it yet, but anyone else following this might be interested …

sin3xsin3x

= sin3x Im(e3ix)

= sin3x Im((cosx + isinx)3)

= Im((cosxsinx + isin2x)3)

= (1/8) Im((sin2x + i(1 - cos2x))3)

= (1/8) Re((isin2x + 1 - cos2x)3)

= (1/8) Re((1 - e2ix)3)

= (1/8) Re(1 - 3e2ix + 3e4ix - e6ix)

= (1/8) (1 - 3cos2x + 3cos4x - cos6x) :smile:

This works for sinkxsinkx for any value of k …

sinkxsinkx = (-1/2k) ∑ kCm cos2mx :biggrin:

(so what's sinkxcoskx, and is there a quicker way of doing it?)
 
Last edited by a moderator:
  • #59
tiny-tim said:
As an "appendix", here's the alternative result using complex numbers and https://www.physicsforums.com/library.php?do=view_item&itemid=162"

you won't understand it yet, but anyone else following this might be interested …

sin3xsin3x

= sin3x Im(e3ix)

= sin3x Im((cosx + isinx)3)

= Im((cosxsinx + isin2x)3)

= (1/8) Im((sin2x + i(1 - cos2x))3)

= (1/8) Re((isin2x + 1 - cos2x)3)

= (1/8) Re((1 - e2ix)3)

= (1/8) Re(1 - 3e2ix + 3e4ix - e6ix)

= (1/8) (1 - 3cos2x + 3cos4x - cos6x) :smile:

This works for sinkxsinkx for any value of k …

sinkxsinkx = (-1/2k) ∑ kCm cos2mx :biggrin:

(so what's sinkxcoskx, and is there a quicker way of doing it?)

I think i would take a look at it again. My teacher may start up with complex numbers after 2 or 3 chapters. I would save this a text file in my computer. :wink:
 
Last edited by a moderator:
  • #60
As another aside, this series is called the Fourier cosine series expansion.
Fourier was a mathematician who found that any function can be expressed as a cosine series of this type, and that the coefficients are unique. :smile:

Many mathematical programmatic tools have this built in, such as Mathematica.
It's also available in WolframAlpha:
http://www.wolframalpha.com/input/?i=FourierCosSeries+sin^3x+sin3x
although I found that you won't be able to get the full expansion here, because WolframAlpha will time out before you'll get there. :(

However, I'm afraid it will be quite a while before you get to learn this, and maybe you will never learn this, depending on what you're going to study exactly.

The application of Fourier analysis is typically in spectral analysis, signal processing, image processing and electronical engineering, where it's used for frequency related analysis and operations.
 
  • #61
Hi, tiny-tim, is not there a sign error in your derivation?

Just to show off my way::wink:

[tex]sinx=\frac{e^{ix}-e^{-ix}}{2i}[/tex],
[tex]cosx=\frac{e^{ix}+e^{-ix}}{i}[/tex],

[tex] sin(x)^3 sin(3x)=(\frac {e^{ix}-e^{-ix}}{2i})^3 \frac{e^{3ix}-e^{-3ix}}{2i}=[/tex]

[tex]=\frac {e^{3ix}-3 e^{ix}+3 e^{-ix}-e^{-3ix}}{-8i}\frac{e^{3ix}-e^{-3ix}}{2i}=[/tex]
[tex]1/16(e^{6ix}-3 e^{4ix}+3 e^{2ix}-1-1+3 e^{-2ix}-3 e^{-4ix}+e^{-6ix})=[/tex]
[tex]1/8(cos(6x)-3cos(4x)+3cos(2x)-1)[/tex]

ehild
 
  • #62
@tiny-tim: Nice improvement on the calculation btw. It's way less work! :smile:

ehild said:
Just to show off my way::wink:

Thank you ehild, this is a nice solution, and shows a couple of things. :smile:

First, I think that Pranav-Arora is very well able to follow this one and do it himself.
It only requires a basic grasp on complex numbers, and beyond that it's just exponentiation rules, which Pranav-Arora's has already practiced quite a bit.

And it also shows that in my humble opinion calculating with sines, cosines and angles is kind of obsolete.
I found that calculating with imaginary e-powers (or vectors in geometric problems) is much easier. :shy:

I'm interested in examples where you would really want to use sines, cosines and angles to do your calculations...
Does any of you have any?
 
  • #63
I like Serena said:
And it also shows that in my humble opinion calculating with sines, cosines and angles is kind of obsolete.
I found that calculating with imaginary e-powers (or vectors in geometric problems) is much easier. :shy:

I'm interested in examples where you would really want to use sines, cosines and angles to do your calculations...
Does any of you have any?
What about determining the height of a tower from the angle of view at a known distance? :wink:

ehild
 
  • #64
ehild said:
What about determining the height of a tower from the angle of view at a known distance? :wink:

ehild

Yes, it's still useful for immediate applications of the definitions of sines, cosines and tangents based on an angle.
What I'm looking for is actually calculating with it.
Usually I convert an angle as soon as I can to a vector, then calculate with it, and possibly convert it back into an angle to present a result.
To me it feels a bit like converting inches to metric before calculating, and converting back to present a result.

And even here...
If you measure an angle, you use a tangent to convert distance to height.
But what you actually measure, is a distance on a measuring device that is marked as an angle, but it might as well be marked as a distance at a specific short distance, or as a tangent ratio.
Multiply by the ratio in distance and you get the height without ever using an angle or the tangent function.
 
Last edited:
  • #65
hi ehild! :wink:

yes that's nice :smile:

and it's certainly shorter for k = 3 :wink: (but not so good for large k)
 
  • #66
Please try to use euler's forumla and u will realize that it is made of some even m (2,4,6).

So n=6
 
Last edited:
  • #67
tiny-tim said:
and it's certainly shorter for k = 3 :wink: (but not so good for large k)

Let's see.

For k is odd we have:
[tex]\begin{eqnarray}
\sin^kx \sin kx
&=& \left(\frac {e^{ix} - e^{-ix}} {2i} \right)^k \left(\frac {e^{ikx} - e^{-ikx}} {2i} \right) \\
&=& \frac 1 {(2i)^{k+1}} \left(\sum_{m=0}^k \binom k m (-1)^m e^{i(k-2m)x} \right) (e^{ikx} - e^{-ikx}) \\
&=& \frac 1 {(2i)^{k+1}} \sum_{m=0}^k \binom k m (-1)^m (e^{i(2k-2m)x} + e^{-i(2k-2m)x}) \\
&=& \frac 2 {(2i)^{k+1}} \sum_{m=0}^k \binom k m (-1)^m \cos(2k-2m)x \\
&=& (-1)^{\frac {k+1} 2} \frac 1 {2^k} \left(\binom k 0 \cos 2kx - \binom k 1 \cos(2k-2)x + \binom k 2 \cos(2k-4)x - ... + \binom k {k-1} \cos 2x - 1 \right)
\end{eqnarray}[/tex]

As you can see, I've also corrected the sign error.
 
Last edited:
  • #68
mmm … let's compare length …

sinkxsinkx = sinkx Im((cosx + isinx)k)

= Im((cosxsinx + isin2x)k)

= (1/2k) Im((±sin2x + i(1 - cos2x))k)

= (1/2k) Im(ik(1 - cos2x ± isin2x)k)

(I lost an i2 here originally :redface:)

= (1/2k) Im(ik(1 - e2ix)k)

= (1/2k) Im(ikkCm (-1m) e2imx)

= (1/2k)(-1)(k-1)/2kCm (-1m) cos2mx for k odd

= (1/2k)(-1)k/2kCm (-1m) sin2mx for k even​

ooh, yes, yours is 2 lines shorter :smile:
I like Serena said:
[tex]\frac 1 {(2i)^{k+1}} \sum_{m=0}^k \binom k m (-1)^m (e^{i(2k-2m)x} + e^{-i(2k-2m)x})[/tex]
[tex]\frac 2 {(2i)^{k+1}} \sum_{m=0}^k \binom k m (-1)^m \cos(2k-2m)x[/tex]

oh, that's how it works! nice! :smile:

(and for k even, there's a sign-change somewhere)

though we can then use kCm = kCk-m to go straight to …

[tex]\frac 2 {(2i)^{k+1}} \sum_{m=0}^k \binom k m (-1)^{k-m} \cos2mx[/tex]
 
  • #69
I just wanted to show this, but you both beat me while I watched Poirot on TV :cry:

ehild
 
Last edited:
  • #70
I like Serena said:
If you measure an angle, you use a tangent to convert distance to height.
But what you actually measure, is a distance on a measuring device that is marked as an angle, but it might as well be marked as a distance at a specific short distance, or as a tangent ratio..

As far as I know the angle of view is measure of the length of an arc between the arms of a compass, when those arms point to the desired directions. And the tangent of that angle is used to get distance or height.

ehild
 
Back
Top