Transforming a summation into an anlytical expression

  • Context: Graduate 
  • Thread starter Thread starter leonardo2887
  • Start date Start date
  • Tags Tags
    Expression Summation
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
5 replies · 3K views
leonardo2887
Messages
3
Reaction score
0
Hello everybody,

I have some problems in finding an analytical expression for this product:

[tex]\sum_{j=0}^{N}(N-j)e^{-ijy}\cdot\sum_{k=0}^{N}(N-k)e^{iky}[/tex].

I have solved the problem for several Ns, applying the Euler rule [itex]2\cos(x) = e^{ix} + e^{-ix}[/itex]


Now, I'm trying to express the product with some function (which would be valid for any N). I found that I can express the product as:

[tex]2\sum_{j=0}^{N}\sum_{k=0}^{N-j}(N-k)(N-j-k)\cos(jy) - \sum_{j=0}^{N}j^2[/tex] which becomes

[tex]2\sum_{j=0}^{N}\sum_{k=0}^{N-j}(N^2 - 2Nk - Nj - jk + k^2)\cos(jy) - \sum_{j=0}^{N}j^2[/tex]

I've found expressions for [itex]\sum j^2 = f(N)[/itex], for [itex]\sum\cos(ky) = f(N,y)[/itex], for [itex]\sum k\cos(ky) = f(N,y)[/itex] and I'm quite sure that I'll find also for [itex]\sum k^2\cos(ky)[/itex].

My question now is, are there some easy ways to develop the mixed terms [itex]\sum_{j=0}^{N}\sum_{k=0}^{N-j}k\cos(jz)[/itex] and [itex]\sum_{j=0}^{N}\sum_{k=0}^{N-j}jk\cos(jz)[/itex].

Or eventually if you think it is easier to find an expression for [tex]\sum_{j=0}^{N}(N-j)e^{-ijy}\cdot\sum_{k=0}^{N}(N-k)e^{iky} = \sum_{j=0}^{N}\sum_{k=0}^{N}(N-j)(N-k)e^{i(k-j)y}[/tex], which would also be a more elegant way to solve the problem.

Thank you in advance for any help and please apologise my bad english/math...

Leonardo
 
Physics news on Phys.org
I am not sur to well understand the wording of the question and what you did.
My joint answer might be to easy :
 

Attachments

  • Series.JPG
    Series.JPG
    10.6 KB · Views: 420
leonardo2887 said:
Hello everybody,

I have some problems in finding an analytical expression for this product:

[tex]\sum_{j=0}^{N}(N-j)e^{-ijy}\cdot\sum_{k=0}^{N}(N-k)e^{iky}[/tex].

I have solved the problem for several Ns, applying the Euler rule [itex]2\cos(x) = e^{ix} + e^{-ix}[/itex]


Now, I'm trying to express the product with some function (which would be valid for any N). I found that I can express the product as:

[tex]2\sum_{j=0}^{N}\sum_{k=0}^{N-j}(N-k)(N-j-k)\cos(jy) - \sum_{j=0}^{N}j^2[/tex] which becomes

[tex]2\sum_{j=0}^{N}\sum_{k=0}^{N-j}(N^2 - 2Nk - Nj - jk + k^2)\cos(jy) - \sum_{j=0}^{N}j^2[/tex]

I've found expressions for [itex]\sum j^2 = f(N)[/itex], for [itex]\sum\cos(ky) = f(N,y)[/itex], for [itex]\sum k\cos(ky) = f(N,y)[/itex] and I'm quite sure that I'll find also for [itex]\sum k^2\cos(ky)[/itex].

My question now is, are there some easy ways to develop the mixed terms [itex]\sum_{j=0}^{N}\sum_{k=0}^{N-j}k\cos(jz)[/itex] and [itex]\sum_{j=0}^{N}\sum_{k=0}^{N-j}jk\cos(jz)[/itex].

Or eventually if you think it is easier to find an expression for [tex]\sum_{j=0}^{N}(N-j)e^{-ijy}\cdot\sum_{k=0}^{N}(N-k)e^{iky} = \sum_{j=0}^{N}\sum_{k=0}^{N}(N-j)(N-k)e^{i(k-j)y}[/tex], which would also be a more elegant way to solve the problem.

Thank you in advance for any help and please apologise my bad english/math...

Leonardo
I would start by replacing j by j'=N-j and k by k'=N-k, also note that sums in both cases go from 1 to N.

Next note that Σkxk = xd/dx(Σxk) = xd/dx(1-xN)/(1-x))
Now evaluate the derivative and substitute e±iy for x in the appropriate expression.
 
Thank you very much, this seems to be the easiest, and also most elegant, solution.

Just the last question, the sum can also go from 0 to N? It should make no difference since for [itex]j = 0, j\cdot e^{ijx} = 0[/itex]
 
Last edited:
leonardo2887 said:
Thank you very much, this seems to be the easiest, and also most elegant, solution.

Just the last question, the sum can also go from 0 to N? It should make no difference since for [itex]j = 0, j\cdot e^{ijx} = 0[/itex]
You are right.
 
Maybe the solution can be useful to somebody:

the expression [tex]f(N,z) =\left(\sum_{j'=0}^{N}j'exp(-ij'z)\right)\left(\sum_{k'=0}^{N}j'exp(ik'z)\right)[/tex] was solved recalling that:
[tex] \sum_{l=0}^Nle^{ly} = \sum_{l=0}^N\frac{\partial e^{ly}}{\partial y} = \frac{\partial{\sum_{l=0}^Ne^{ly}}}{\partial y}[/tex] and that:
[tex] \sum_{l=0}^Ne^{ly} = \frac{\sin\left(\frac{N+1}{2}y\right)} {\sin\left(\frac{y}{2}\right)}e^{\frac{N}{2}y}[/tex]

which leads to a final result of:

[tex] f(N,z) = \frac{N\cos\left((N+1)z\right)-(N+1)\cos(Nz)-N(N+1)\cos{z} + 1 + N(N+1)}{2(\cos{z}-1)^2}[/tex]