Limit of Sum: Understanding the Equation and Correcting Common Mistakes

  • Thread starter Thread starter Steve Turchin
  • Start date Start date
  • Tags Tags
    Limit Sum
Steve Turchin
Messages
11
Reaction score
0

Homework Statement


## lim_{n \rightarrow \infty}{\frac{1}{n^2} \sum_{k=1}^{n} ke^{\frac{k}{n}}} ##

Homework Equations

The Attempt at a Solution


## lim_{n \rightarrow \infty}{\frac{1}{n^2} \sum_{k=1}^{n} ke^{\frac{k}{n}}} \\
= lim_{n \rightarrow \infty}{\frac{1}{n^2} (1e^{\frac{1}{n}}+2e^{\frac{2}{n}}+3e^{\frac{3}{n}}+\ldots+ne^{\frac{n}{n}})} \\
= lim_{n \rightarrow \infty}{\frac{e^{\frac{1}{n}}}{n^2} +\frac{2e^{\frac{2}{n}}}{n^2} + \ldots + \frac{e}{n} } = 0 ##

I know the limit equals to 1 (Wolfram). Isn't the limit of a sum equals to the sum of the limits? What am I doing wrong?
 
Last edited:
Physics news on Phys.org
It looks like you are saying that since each individual term in the sum goes to zero, the infinite sum of those small terms will also be zero. This is not true.
 
  • Like
Likes Steve Turchin
RUber said:
the infinite sum of those small terms will also be zero. This is not true.
Thank you for the reply. It's a sum of ## n ## terms.

Any tips on how to calculate an exact form of the sum: ## \sum_{k=1}^{n} ke^{\frac{k}{n}} ## ?
 
I would recommend starting with the assumption that the exponential term is on the order of 1.
What is
## \sum_{k=1}^n k ##?
That should get you started in the right direction.
 
  • Like
Likes Steve Turchin
The limit is ##\int_0^1 xe^x \ dx##. Check Rieman sums on Wikipedia to see how it works
 
  • Like
Likes Steve Turchin and RUber
Steve Turchin said:
Thank you for the reply. It's a sum of ## n ## terms.

Any tips on how to calculate an exact form of the sum: ## \sum_{k=1}^{n} ke^{\frac{k}{n}} ## ?

For fixed ##n## this is just the sum ##\sum_{k=1}^n k x^k##, where we substitute ##x = e^{1/n}## at the end. That is a standard sum, and can using Google, for example. However, if you want to get it for yourself you can do it using a bit of calculus. For any ##x## (before the substitution) we have
\sum_{k=1}^n k x^k = \sum_k x \frac{d\, x^k}{dx} = x \frac{d}{dx} \sum_{k=1}^n x^k.
Use the well-known formula for the sum ##\sum_{k=1}^n x^k##, take the derivative of that formula wrt ##x##, then multiply by ##x##. Finally, substitute ##x = e^{1/n}##.
 
  • Like
Likes Steve Turchin
Thread 'Use greedy vertex coloring algorithm to prove the upper bound of χ'
Hi! I am struggling with the exercise I mentioned under "Homework statement". The exercise is about a specific "greedy vertex coloring algorithm". One definition (which matches what my book uses) can be found here: https://people.cs.uchicago.edu/~laci/HANDOUTS/greedycoloring.pdf Here is also a screenshot of the relevant parts of the linked PDF, i.e. the def. of the algorithm: Sadly I don't have much to show as far as a solution attempt goes, as I am stuck on how to proceed. I thought...

Similar threads

Back
Top