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

AI Thread Summary
The discussion revolves around finding the value of n in the identity sin^3x sin 3x = ∑^n_{m=0} C_m cos mx. Participants clarify the correct form of the identity and suggest using trigonometric identities to simplify the expression. The conversation highlights the importance of breaking down sin 3x and sin^3 x into cosine terms to match the sum format. Ultimately, the focus is on expressing the left-hand side in terms of cosines to determine the maximum value of n. The final consensus is that the problem requires identifying the highest cosine term present in the expansion.
  • #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:
 
Physics news on Phys.org
  • #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:

sinx=\frac{e^{ix}-e^{-ix}}{2i},
cosx=\frac{e^{ix}+e^{-ix}}{i},

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

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

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:
\begin{eqnarray}<br /> \sin^kx \sin kx<br /> &amp;=&amp; \left(\frac {e^{ix} - e^{-ix}} {2i} \right)^k \left(\frac {e^{ikx} - e^{-ikx}} {2i} \right) \\<br /> &amp;=&amp; \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}) \\<br /> &amp;=&amp; \frac 1 {(2i)^{k+1}} \sum_{m=0}^k \binom k m (-1)^m (e^{i(2k-2m)x} + e^{-i(2k-2m)x}) \\<br /> &amp;=&amp; \frac 2 {(2i)^{k+1}} \sum_{m=0}^k \binom k m (-1)^m \cos(2k-2m)x \\<br /> &amp;=&amp; (-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)<br /> \end{eqnarray}

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:
\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

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 …

\frac 2 {(2i)^{k+1}} \sum_{m=0}^k \binom k m (-1)^{k-m} \cos2mx
 
  • #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
 
  • #71
Hi!:smile:
I had read the complex numbers chapter from my textbook and i think i now have a basic idea of them. So may i know how ehild has got this relationship:-
sinx=\frac{e^{ix}-e^{-ix}}{2i}
 
  • #72
Hi again! :smile:

Did you find Euler's formula eix = cos x + i sin x in your chapter?
 
  • #73
I like Serena said:
Hi again! :smile:

Did you find Euler's formula eix = cos x + i sin x in your chapter?

No there was no "Euler's formula" in my book. :frown:
 
  • #74
Pranav-Arora said:
No there was no "Euler's formula" in my book. :frown:

That's a problem then, since this identity is the most important one in the entire field of the complex numbers.

Richard Feynman called Euler's formula "our jewel" and "one of the most remarkable, almost astounding, formulas in all of mathematics." :smile:

The formula ehild mentioned follows from this formula.
 
  • #75
I like Serena said:
That's a problem then, since this identity is the most important one in the entire field of the complex numbers.

Richard Feynman called Euler's formula "our jewel" and "one of the most remarkable, almost astounding, formulas in all of mathematics." :smile:

The formula ehild mentioned follows from this formula.

I read it on Wikipedia, i think its not that hard as i thought of. :smile:
 
  • #76
Good! Indeed I never found it hard to understand! :)

Do you see how ehild's formula follows from it?
 
  • #77
I like Serena said:
Good! Indeed I never found it hard to understand! :)

Do you see how ehild's formula follows from it?

I was checking out the ehild's solution, i got confused at one step when ehild multiplied -8 with 2 in the denominator. In the next step there was no minus sign. :confused:
Also how did ehild get -8?:confused:
 
  • #78
Pranav-Arora said:
I was checking out the ehild's solution, i got confused at one step when ehild multiplied -8 with 2 in the denominator. In the next step there was no minus sign. :confused:
Also how did ehild get -8?:confused:

The other thing you need to know about complex numbers is the definition of i:
i2 = -1

So (2i)3 = 23 i2 i = 8 (-1) i = -8i.
 
  • #79
I like Serena said:
The other thing you need to know about complex numbers is the definition of i:
i2 = -1

So (2i)3 = 23 i2 i = 8 (-1) i = -8i.

Oh sorry! I am really a fool to ask this question.:rolleyes:
Now i need to practice more questions on Complex Numbers.
 
  • #80
Well here's a nice (and fundamental) one: :smile:

Can you find the solutions of z3 = 1?
 
  • #81
I like Serena said:
Well here's a nice (and fundamental) one: :smile:

Can you find the solutions of z3 = 1?

Real solutions or complex solutions?
Real solution z=1
Complex Solution=?
 
  • #82
Complex solutions of course. :smile:

To find them substitute z = e and remember that ϕ is an angle with a period of 2π.
 
  • #83
I like Serena said:
Complex solutions of course. :smile:

To find them substitute z = e and remember that ϕ is an angle with a period of 2π.

Do i have to find the angle ϕ?
 
  • #84
Yes.
 
  • #85
Here are my steps:-
(e^{iϕ})^3=1
e^{3iϕ}=e^0
3iϕ=0
ϕ=0

Right..?
 
  • #86
Almost. :)

As I said, you have to take into account that ϕ is an angle with a period of 2π.
It means that there are more solutions than just this one.

So e = ei(ϕ + 2kπ) for any integer k.

Can you repeat what you just did with ei(ϕ + 2kπ)?
 
  • #87
I like Serena said:
Almost. :)

As I said, you have to take into account that ϕ is an angle with a period of 2π.
It means that there are more solutions than just this one.

So e = ei(ϕ + 2kπ) for any integer k.

Can you repeat what you just did with ei(ϕ + 2kπ)?

Ok, i repeat the steps:-
i(ϕ+2kπ)=0
ϕ=-2kπ

Btw, i still didn't get why there are more solutions?
 
  • #88
Pranav-Arora said:
Btw, i still didn't get why there are more solutions?

Aren't you forgetting a power or rather factor of 3 here? ;)
 
  • #89
I like Serena said:
Aren't you forgetting a factor 3 here? ;)

What? :confused:
 
  • #90
Pranav-Arora said:
What? :confused:

Try:
(ei(ϕ + 2kπ))3 = 1

Or rather:
i(3ϕ + 2kπ) = 0
 
  • #91
I like Serena said:
Try:
(ei(ϕ + 2kπ))3 = 1

But i am still getting -2kπ.
 
  • #92
Yeah, I just edited my previous post...
 
  • #93
This time i am getting (-2kπ)/3...
But how do you get i(3ϕ+2kπ)=0?
 
  • #94
Look at it this way:

You already had:
ei(3ϕ) = 1

So:
cos(3ϕ) + i sin(3ϕ) = 1

This means that
cos(3ϕ) = 1 and sin(3ϕ) = 0

Can you solve that?
 
  • #95
And here's another way to look at it:

A complex number is represented as in the following picture.
180px-Euler%27s_formula.svg.png


An exponentiation with a power of 3, means a multiplication of the angle with a factor 3.
If you have an angle of 120 degrees, a factor of 3 will make it fully go round.
 
Last edited:
  • #96
I like Serena said:
Look at it this way:

You already had:
ei(3ϕ) = 1

So:
cos(3ϕ) + i sin(3ϕ) = 1

This means that
cos(3ϕ) = 1 and sin(3ϕ) = 0

Can you solve that?

ϕ=0.
I want to know why you take z=e? :confused:
 
  • #97
Pranav-Arora said:
ϕ=0.

Err... no.

The solution of cos(3ϕ) = 1
is 3ϕ=0 mod 2π,
which comes out as ϕ = 0 mod (2/3)π.

My bad, I thought you already knew this.
But now that I think about it, I recall that you did not know the "mod" notation yet.
So are you aware of the periodicity of the cosine function?
That it has a period 2π?
Pranav-Arora said:
I want to know why you take z=e? :confused:

Actually, I didn't do that quite right.
It should be:
z = r e

Any complex number z has 2 representations:
z = x + i y
z = r e

Are you aware of the first representation?
The second form follows from the first combined with Euler's formula.
 
Last edited:
  • #98
I like Serena said:
Err... no.

The solution of cos(3ϕ) = 1
is 3ϕ=0 mod 2π,
which comes out as ϕ = 0 mod (2/3)π.

My bad, I thought you already knew this.
But now that I think about it, I recall that you did not know the "mod" notation yet.
So are you aware of the periodicity of the cosine function?
That is has a period 2π?

Yes, i know about the periodicity of cosine function which is 2π.:smile:

I like Serena said:
Actually, I didn't do that quite right.
It should be:
z = r e

Any complex number z has 2 representations:
z = x + i y
z = r e

Are you aware of the first representation?
The second form follows from the first combined with Euler's formula.

I know about the first representation. :smile:
But i don't know about the second one. :frown:
 
  • #99
Pranav-Arora said:
Yes, i know about the periodicity of cosine function which is 2π.:smile:

So do you get that cos(3ϕ) = 1 has 3 solutions?


Pranav-Arora said:
I know about the first representation. :smile:
But i don't know about the second one. :frown:

Are you familiar with so called polar coordinates?
That is:
x = r cos(ϕ)
y = r sin(ϕ)
 
  • #100
I like Serena said:
So do you get that cos(3ϕ) = 1 has 3 solutions?
Yep, i found out three solutions using graph. :smile:
Is there any other way to find the number of solutions?

I like Serena said:
Are you familiar with so called polar coordinates?
That is:
x = r cos(ϕ)
y = r sin(ϕ)

No, i don't know about polar coordinates. :frown:
 
Back
Top