| New Reply |
a constrained sum |
Share Thread | Thread Tools |
| Jan12-11, 03:52 PM | #1 |
|
|
a constrained sum
suppose i have N non-negative integers x_1, x_2, ,,, x_N
the constraint is that their summation is N now for all the configurations, i.e., all the realizations of x_1, x_2, ,,, x_N i want to find out the average value of \sum_i x_i^2 i guess is on the order of unity, i.e., O(1). i am concerned with the large N limit |
| Jan12-11, 04:40 PM | #2 |
|
Recognitions:
|
The average value will be somewhere between 1 and N. It depends on what sort of distribution functions the x_k have.
|
| Jan14-11, 05:29 PM | #3 |
|
|
First few numbers are (1, 10/3, 60/10).
It could be solved via a recurrence relation by defining M(k,n) as the number of way of summing to k with n terms and S(k,n) as the sum of x_i^2 over all possible ways, so we have [tex]M(k,n) = M(k,n-1) + ... + M(0,n-1)[/tex] [tex]S(k,n) = 0 + S(k,n-1) + 1*M(k-1,n-1) + S(k-1,n-1) + ... + k^2*M(0,n-1) + S(0,n-1)[/tex] with M(k,1)=1, S(k,1)=k^2, e.g. M(2,2)=3, S(2,2)=10, though I don't know the general solution - perhaps generating functions would help? |
| Jan14-11, 09:51 PM | #4 |
|
|
a constrained sumit is actually simple you just need to find the average value of x_1^2 then the average of the sum of the squares is N times of that but the average of x_1^2 is simple to find, just a bit combination |
| Jan15-11, 06:33 AM | #5 |
|
|
Oh I see, then it reduces to
[tex]E[x_1^2] = \frac{1*M(n-1,n-1) + 2^2*M(n-2,n-1) + ... + n^2*M(0,n-1)}{M(n,n-1)+...+M(0,n-1)}[/tex] Did you find an expression for M(k,n)? |
| Jan15-11, 08:18 AM | #6 |
|
|
it is a standard result in combination theory |
| Jan15-11, 08:11 PM | #7 |
|
|
Sorry you've lost me - can you post the details or a link to it please?
|
| Jan15-11, 10:19 PM | #8 |
|
|
|
| Jan16-11, 06:05 AM | #9 |
|
|
|
| Jan16-11, 07:41 AM | #10 |
|
|
i do not find a simple expression of that but i can prove it is convergent, that is what i want |
| New Reply |
| Thread Tools | |
Similar Threads for: a constrained sum
|
||||
| Thread | Forum | Replies | ||
| Constrained extreme problem | Calculus & Beyond Homework | 6 | ||
| Constrained Maximization | Calculus & Beyond Homework | 3 | ||
| constrained extrema | Calculus & Beyond Homework | 3 | ||
| Constrained Least Squares | General Math | 23 | ||
| constrained PDE : 3D -> 1D | Introductory Physics Homework | 1 | ||