Proving E[x]=0 for x=cos(2n*pi/n)

  • Thread starter Thread starter nikki92
  • Start date Start date
Click For Summary

Homework Help Overview

The discussion revolves around proving that the expected value E[x] equals zero for the expression x = cos(2nπ/N). Participants explore the implications of this expression within the context of probability and expectation values.

Discussion Character

  • Exploratory, Conceptual clarification, Mathematical reasoning, Assumption checking

Approaches and Questions Raised

  • Participants discuss the formulation of the expected value and question the assumption that each value of x is equally likely. There is consideration of the symmetry of the cosine function and its implications for the expected value. Some participants suggest sketching the distribution to visualize the symmetry and check the plausibility of the results.

Discussion Status

The discussion is active, with participants offering insights and questioning the correctness of various approaches. There is an acknowledgment of the need to clarify the original problem statement and the impact of the value of N on the expected value calculations.

Contextual Notes

Some participants note that the problem was not strictly homework and express uncertainty about the assumptions made regarding the values of n and N. There is a mention of complications arising when N is small, which affects the calculation of the expected value.

nikki92
Messages
37
Reaction score
0

Homework Statement



x=cos(2n*pi/n)

E[x]=0;

The Attempt at a Solution

 
Last edited:
Physics news on Phys.org
In general: $$E[x]=\sum_{n=0}^N p(x_n)x_n$$

You have: $$x\in \{ x_n:x_n=2\cos \frac{2\pi n}{N}\}$$
I'm guessing from your working that ##p(x_n)=1/N## - i.e. each value is equally likely?
... is that correct? (It helps to write the problem statement out in full.)

You can check your answers by sketching the distribution of x out and looking at the symmetry. The expetation should be sort-of a middle-ish value.

i.e. Looking at the first expectation:$$E[x]=\frac{2}{N}\sum_{n=0}^N \cos \frac{2\pi n}{N}$$ ... the cosine function of n has equal weighting to values on either side of zero - for every value of x that is, say x=a:a>0, there is another value that is x=-a:a>0, so the sum comes to zero.

* You may want to check that this is the case: i.e. what if N is an odd number? What if it is not a multiple of 4?
However, you may be doing this in the limit that N is large.

Thus: ##(E[x])^2=0## also.

$$E[x^2]=\frac{4}{N}\sum_{n=0}^N \cos^2 \frac{2\pi n}{N}$$ ... your answer says that ##E[x^2]=2## ... is that correct?

You can check this out the same way ... ##A\cos^2(\theta)## is evenly distributed about a particular number.
What is that number? Compare with the expression for ##x_n##.
 
There is really no details on the problem as it was not really homework.But I assumed n=1 to N and each were equally likely.

I do not understand your approach.
 
Last edited:
I do not understand your approach.
You have asked if what you have done is correct. This suggests to me that you don't know how to check or that you do not understand the subject.

I am suggesting you sketch a graph of how x and x^2 varies with n and use the symmetry of that graph, along with your understanding of what "expectation value" means, to check to see if your answers are plausible. If the symmetry is easy (it is) then it is easy to tell if you are right or not.

i.e. you have got E[x]=0 - so sketch x vs n and see if x=0 is a plausible average value.

But if you don't understand "expectation value" then that won't make much sense to you: this is part of what I'm trying to find out.


i.e. There is a complication in the formula if N is a small number.

say if ##N=2##
then ##x_1=2\cos(\pi)=0, x_2=2\cos(2\pi)=2\implies E[x]=(x_1+x_2)/2=(0+2)/2=1## ...

It can also make a difference where you start your sum from.
If you start from ##n=1##, then the expectation works out as above, but if you start from ##n=0##:

##E[x]=(x_0+x_1+x_2)/3 = (2+0+2)/3=4/3##

... notice: in both cases: ##(E[x])^2\neq 0##

... I have adjusted my original reply to reflect this BTW.

So: is N a small number or a large number? (see the definition of the expectation value)
Details matter - what is the original problem statement?
 
  • Like
Likes   Reactions: 1 person
Thanks I understand it much better now.
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 19 ·
Replies
19
Views
4K
Replies
2
Views
3K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 25 ·
Replies
25
Views
3K
  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 10 ·
Replies
10
Views
4K
Replies
3
Views
2K
  • · Replies 21 ·
Replies
21
Views
2K