Limit of sum as definite integral
I don't understand why $$displaystyle sum_{k=1}^n dfrac{n}{n^2+kn+k^2} < lim_{nto infty}sum_{k=1}^n dfrac{n}{n^2+kn+k^2}$$
whereas
$$displaystyle sum_{k=0}^{n-1} dfrac{n}{n^2+kn+k^2} > lim_{nto infty}sum_{k=0}^{n-1} dfrac{n}{n^2+kn+k^2} $$
I know that $$lim_{nto infty}sum_{k=1}^{n} dfrac{n}{n^2+kn+k^2}=dfrac{pi}{3sqrt{3}}$$ $$lim_{nto infty}sum_{k=0}^{n-1} dfrac{n}{n^2+kn+k^2}=dfrac{pi}{3sqrt{3}}$$
I saw somewhere on the internet that $$displaystyle dfrac{1}{n}sum_{k=0}^{n-1} fleft(dfrac{k}{n}right) > int_0^1 f(x)dx > dfrac{1}{n}sum_{k=1}^{n} fleft(dfrac{k}{n}right)$$ Why is this true?
integration definite-integrals riemann-sum
add a comment |
I don't understand why $$displaystyle sum_{k=1}^n dfrac{n}{n^2+kn+k^2} < lim_{nto infty}sum_{k=1}^n dfrac{n}{n^2+kn+k^2}$$
whereas
$$displaystyle sum_{k=0}^{n-1} dfrac{n}{n^2+kn+k^2} > lim_{nto infty}sum_{k=0}^{n-1} dfrac{n}{n^2+kn+k^2} $$
I know that $$lim_{nto infty}sum_{k=1}^{n} dfrac{n}{n^2+kn+k^2}=dfrac{pi}{3sqrt{3}}$$ $$lim_{nto infty}sum_{k=0}^{n-1} dfrac{n}{n^2+kn+k^2}=dfrac{pi}{3sqrt{3}}$$
I saw somewhere on the internet that $$displaystyle dfrac{1}{n}sum_{k=0}^{n-1} fleft(dfrac{k}{n}right) > int_0^1 f(x)dx > dfrac{1}{n}sum_{k=1}^{n} fleft(dfrac{k}{n}right)$$ Why is this true?
integration definite-integrals riemann-sum
Your last inequality should be reversed!! See my answer below.
– Robert Z
Dec 12 '18 at 8:34
Refer also to Perfect understanding of Riemann Sums and Understanding Riemann sums.
– gimusi
Dec 12 '18 at 9:11
Also see this answer.
– rtybase
Dec 12 '18 at 9:13
add a comment |
I don't understand why $$displaystyle sum_{k=1}^n dfrac{n}{n^2+kn+k^2} < lim_{nto infty}sum_{k=1}^n dfrac{n}{n^2+kn+k^2}$$
whereas
$$displaystyle sum_{k=0}^{n-1} dfrac{n}{n^2+kn+k^2} > lim_{nto infty}sum_{k=0}^{n-1} dfrac{n}{n^2+kn+k^2} $$
I know that $$lim_{nto infty}sum_{k=1}^{n} dfrac{n}{n^2+kn+k^2}=dfrac{pi}{3sqrt{3}}$$ $$lim_{nto infty}sum_{k=0}^{n-1} dfrac{n}{n^2+kn+k^2}=dfrac{pi}{3sqrt{3}}$$
I saw somewhere on the internet that $$displaystyle dfrac{1}{n}sum_{k=0}^{n-1} fleft(dfrac{k}{n}right) > int_0^1 f(x)dx > dfrac{1}{n}sum_{k=1}^{n} fleft(dfrac{k}{n}right)$$ Why is this true?
integration definite-integrals riemann-sum
I don't understand why $$displaystyle sum_{k=1}^n dfrac{n}{n^2+kn+k^2} < lim_{nto infty}sum_{k=1}^n dfrac{n}{n^2+kn+k^2}$$
whereas
$$displaystyle sum_{k=0}^{n-1} dfrac{n}{n^2+kn+k^2} > lim_{nto infty}sum_{k=0}^{n-1} dfrac{n}{n^2+kn+k^2} $$
I know that $$lim_{nto infty}sum_{k=1}^{n} dfrac{n}{n^2+kn+k^2}=dfrac{pi}{3sqrt{3}}$$ $$lim_{nto infty}sum_{k=0}^{n-1} dfrac{n}{n^2+kn+k^2}=dfrac{pi}{3sqrt{3}}$$
I saw somewhere on the internet that $$displaystyle dfrac{1}{n}sum_{k=0}^{n-1} fleft(dfrac{k}{n}right) > int_0^1 f(x)dx > dfrac{1}{n}sum_{k=1}^{n} fleft(dfrac{k}{n}right)$$ Why is this true?
integration definite-integrals riemann-sum
integration definite-integrals riemann-sum
edited Dec 12 '18 at 9:11
rtybase
10.4k21433
10.4k21433
asked Dec 12 '18 at 7:46
Loop BackLoop Back
28711
28711
Your last inequality should be reversed!! See my answer below.
– Robert Z
Dec 12 '18 at 8:34
Refer also to Perfect understanding of Riemann Sums and Understanding Riemann sums.
– gimusi
Dec 12 '18 at 9:11
Also see this answer.
– rtybase
Dec 12 '18 at 9:13
add a comment |
Your last inequality should be reversed!! See my answer below.
– Robert Z
Dec 12 '18 at 8:34
Refer also to Perfect understanding of Riemann Sums and Understanding Riemann sums.
– gimusi
Dec 12 '18 at 9:11
Also see this answer.
– rtybase
Dec 12 '18 at 9:13
Your last inequality should be reversed!! See my answer below.
– Robert Z
Dec 12 '18 at 8:34
Your last inequality should be reversed!! See my answer below.
– Robert Z
Dec 12 '18 at 8:34
Refer also to Perfect understanding of Riemann Sums and Understanding Riemann sums.
– gimusi
Dec 12 '18 at 9:11
Refer also to Perfect understanding of Riemann Sums and Understanding Riemann sums.
– gimusi
Dec 12 '18 at 9:11
Also see this answer.
– rtybase
Dec 12 '18 at 9:13
Also see this answer.
– rtybase
Dec 12 '18 at 9:13
add a comment |
2 Answers
2
active
oldest
votes
Consider the function
$$f(x)=frac{1}{1+x+x^2}$$
and note that the your inequality holds because $f$ is strictly decreasing.
Indeed for $ngeq 1$, $kgeq 0$, and $xin [frac{k}{n},frac{k+1}{n}],$
$$f(frac{k}{n})> f(x)> f(frac{k+1}{n}).$$
By integrating over the interval $[frac{k}{n},frac{k+1}{n}]$, we get
$$frac{f(frac{k}{n})}{n}=int_{frac{k}{n}}^{frac{k+1}{n}}f(frac{k}{n})dx> int_{frac{k}{n}}^{frac{k+1}{n}}f(x)dx> int_{frac{k}{n}}^{frac{k+1}{n}}f(frac{k+1}{n})dx=frac{f(frac{k+1}{n}) }{n}.$$
Finally we take the sum for $k=0,dots,n-1$,
$$frac{1}{n}sum_{k=0}^{n-1}f(frac{k}{n})>int_0^1 f(x),dx
>frac{1}{n}sum_{k=0}^{n-1}f(frac{k+1}{n}).$$
Note that the last sum on the right is equal to
$$frac{1}{n}sum_{k=1}^{n}f(frac{k}{n})=
frac{1}{n}sum_{k=0}^{n-1}f(frac{k}{n})+frac{f(1)-f(0)}{n}.$$
P.S. Once we have the double inequality, we may conclude that
$$lim_{nto infty}sum_{k=0}^{n-1} dfrac{n}{n^2+kn+k^2}=lim_{nto infty}sum_{k=1}^{n} dfrac{n}{n^2+kn+k^2}=int_0^1frac{dx}{1+x+x^2}=dfrac{pi}{3sqrt{3}}.$$
Taking n=1 last inequality proves to be correct
– Loop Back
Dec 12 '18 at 8:24
Are you talking about my "last inequality" or yours?
– Robert Z
Dec 12 '18 at 8:34
Yes...............
– Loop Back
Dec 12 '18 at 8:39
@LoopBack Yes what?
– Robert Z
Dec 12 '18 at 8:42
My last inequality is correct for n=1
– Loop Back
Dec 12 '18 at 8:43
|
show 10 more comments
In this case $f(x)=frac{1}{1+x+x^2}$ is decreasing on $[0,,1]$, so the leftmost expression is the sum of areas of width-$1/n$ rectangles that overestimate the integral, while the rightmost expression is an analogous underestimation with rectangles.
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
return StackExchange.using("mathjaxEditing", function () {
StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix) {
StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
});
});
}, "mathjax-editing");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "69"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3036371%2flimit-of-sum-as-definite-integral%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
Consider the function
$$f(x)=frac{1}{1+x+x^2}$$
and note that the your inequality holds because $f$ is strictly decreasing.
Indeed for $ngeq 1$, $kgeq 0$, and $xin [frac{k}{n},frac{k+1}{n}],$
$$f(frac{k}{n})> f(x)> f(frac{k+1}{n}).$$
By integrating over the interval $[frac{k}{n},frac{k+1}{n}]$, we get
$$frac{f(frac{k}{n})}{n}=int_{frac{k}{n}}^{frac{k+1}{n}}f(frac{k}{n})dx> int_{frac{k}{n}}^{frac{k+1}{n}}f(x)dx> int_{frac{k}{n}}^{frac{k+1}{n}}f(frac{k+1}{n})dx=frac{f(frac{k+1}{n}) }{n}.$$
Finally we take the sum for $k=0,dots,n-1$,
$$frac{1}{n}sum_{k=0}^{n-1}f(frac{k}{n})>int_0^1 f(x),dx
>frac{1}{n}sum_{k=0}^{n-1}f(frac{k+1}{n}).$$
Note that the last sum on the right is equal to
$$frac{1}{n}sum_{k=1}^{n}f(frac{k}{n})=
frac{1}{n}sum_{k=0}^{n-1}f(frac{k}{n})+frac{f(1)-f(0)}{n}.$$
P.S. Once we have the double inequality, we may conclude that
$$lim_{nto infty}sum_{k=0}^{n-1} dfrac{n}{n^2+kn+k^2}=lim_{nto infty}sum_{k=1}^{n} dfrac{n}{n^2+kn+k^2}=int_0^1frac{dx}{1+x+x^2}=dfrac{pi}{3sqrt{3}}.$$
Taking n=1 last inequality proves to be correct
– Loop Back
Dec 12 '18 at 8:24
Are you talking about my "last inequality" or yours?
– Robert Z
Dec 12 '18 at 8:34
Yes...............
– Loop Back
Dec 12 '18 at 8:39
@LoopBack Yes what?
– Robert Z
Dec 12 '18 at 8:42
My last inequality is correct for n=1
– Loop Back
Dec 12 '18 at 8:43
|
show 10 more comments
Consider the function
$$f(x)=frac{1}{1+x+x^2}$$
and note that the your inequality holds because $f$ is strictly decreasing.
Indeed for $ngeq 1$, $kgeq 0$, and $xin [frac{k}{n},frac{k+1}{n}],$
$$f(frac{k}{n})> f(x)> f(frac{k+1}{n}).$$
By integrating over the interval $[frac{k}{n},frac{k+1}{n}]$, we get
$$frac{f(frac{k}{n})}{n}=int_{frac{k}{n}}^{frac{k+1}{n}}f(frac{k}{n})dx> int_{frac{k}{n}}^{frac{k+1}{n}}f(x)dx> int_{frac{k}{n}}^{frac{k+1}{n}}f(frac{k+1}{n})dx=frac{f(frac{k+1}{n}) }{n}.$$
Finally we take the sum for $k=0,dots,n-1$,
$$frac{1}{n}sum_{k=0}^{n-1}f(frac{k}{n})>int_0^1 f(x),dx
>frac{1}{n}sum_{k=0}^{n-1}f(frac{k+1}{n}).$$
Note that the last sum on the right is equal to
$$frac{1}{n}sum_{k=1}^{n}f(frac{k}{n})=
frac{1}{n}sum_{k=0}^{n-1}f(frac{k}{n})+frac{f(1)-f(0)}{n}.$$
P.S. Once we have the double inequality, we may conclude that
$$lim_{nto infty}sum_{k=0}^{n-1} dfrac{n}{n^2+kn+k^2}=lim_{nto infty}sum_{k=1}^{n} dfrac{n}{n^2+kn+k^2}=int_0^1frac{dx}{1+x+x^2}=dfrac{pi}{3sqrt{3}}.$$
Taking n=1 last inequality proves to be correct
– Loop Back
Dec 12 '18 at 8:24
Are you talking about my "last inequality" or yours?
– Robert Z
Dec 12 '18 at 8:34
Yes...............
– Loop Back
Dec 12 '18 at 8:39
@LoopBack Yes what?
– Robert Z
Dec 12 '18 at 8:42
My last inequality is correct for n=1
– Loop Back
Dec 12 '18 at 8:43
|
show 10 more comments
Consider the function
$$f(x)=frac{1}{1+x+x^2}$$
and note that the your inequality holds because $f$ is strictly decreasing.
Indeed for $ngeq 1$, $kgeq 0$, and $xin [frac{k}{n},frac{k+1}{n}],$
$$f(frac{k}{n})> f(x)> f(frac{k+1}{n}).$$
By integrating over the interval $[frac{k}{n},frac{k+1}{n}]$, we get
$$frac{f(frac{k}{n})}{n}=int_{frac{k}{n}}^{frac{k+1}{n}}f(frac{k}{n})dx> int_{frac{k}{n}}^{frac{k+1}{n}}f(x)dx> int_{frac{k}{n}}^{frac{k+1}{n}}f(frac{k+1}{n})dx=frac{f(frac{k+1}{n}) }{n}.$$
Finally we take the sum for $k=0,dots,n-1$,
$$frac{1}{n}sum_{k=0}^{n-1}f(frac{k}{n})>int_0^1 f(x),dx
>frac{1}{n}sum_{k=0}^{n-1}f(frac{k+1}{n}).$$
Note that the last sum on the right is equal to
$$frac{1}{n}sum_{k=1}^{n}f(frac{k}{n})=
frac{1}{n}sum_{k=0}^{n-1}f(frac{k}{n})+frac{f(1)-f(0)}{n}.$$
P.S. Once we have the double inequality, we may conclude that
$$lim_{nto infty}sum_{k=0}^{n-1} dfrac{n}{n^2+kn+k^2}=lim_{nto infty}sum_{k=1}^{n} dfrac{n}{n^2+kn+k^2}=int_0^1frac{dx}{1+x+x^2}=dfrac{pi}{3sqrt{3}}.$$
Consider the function
$$f(x)=frac{1}{1+x+x^2}$$
and note that the your inequality holds because $f$ is strictly decreasing.
Indeed for $ngeq 1$, $kgeq 0$, and $xin [frac{k}{n},frac{k+1}{n}],$
$$f(frac{k}{n})> f(x)> f(frac{k+1}{n}).$$
By integrating over the interval $[frac{k}{n},frac{k+1}{n}]$, we get
$$frac{f(frac{k}{n})}{n}=int_{frac{k}{n}}^{frac{k+1}{n}}f(frac{k}{n})dx> int_{frac{k}{n}}^{frac{k+1}{n}}f(x)dx> int_{frac{k}{n}}^{frac{k+1}{n}}f(frac{k+1}{n})dx=frac{f(frac{k+1}{n}) }{n}.$$
Finally we take the sum for $k=0,dots,n-1$,
$$frac{1}{n}sum_{k=0}^{n-1}f(frac{k}{n})>int_0^1 f(x),dx
>frac{1}{n}sum_{k=0}^{n-1}f(frac{k+1}{n}).$$
Note that the last sum on the right is equal to
$$frac{1}{n}sum_{k=1}^{n}f(frac{k}{n})=
frac{1}{n}sum_{k=0}^{n-1}f(frac{k}{n})+frac{f(1)-f(0)}{n}.$$
P.S. Once we have the double inequality, we may conclude that
$$lim_{nto infty}sum_{k=0}^{n-1} dfrac{n}{n^2+kn+k^2}=lim_{nto infty}sum_{k=1}^{n} dfrac{n}{n^2+kn+k^2}=int_0^1frac{dx}{1+x+x^2}=dfrac{pi}{3sqrt{3}}.$$
edited Dec 12 '18 at 9:13
answered Dec 12 '18 at 7:56
Robert ZRobert Z
93.8k1061132
93.8k1061132
Taking n=1 last inequality proves to be correct
– Loop Back
Dec 12 '18 at 8:24
Are you talking about my "last inequality" or yours?
– Robert Z
Dec 12 '18 at 8:34
Yes...............
– Loop Back
Dec 12 '18 at 8:39
@LoopBack Yes what?
– Robert Z
Dec 12 '18 at 8:42
My last inequality is correct for n=1
– Loop Back
Dec 12 '18 at 8:43
|
show 10 more comments
Taking n=1 last inequality proves to be correct
– Loop Back
Dec 12 '18 at 8:24
Are you talking about my "last inequality" or yours?
– Robert Z
Dec 12 '18 at 8:34
Yes...............
– Loop Back
Dec 12 '18 at 8:39
@LoopBack Yes what?
– Robert Z
Dec 12 '18 at 8:42
My last inequality is correct for n=1
– Loop Back
Dec 12 '18 at 8:43
Taking n=1 last inequality proves to be correct
– Loop Back
Dec 12 '18 at 8:24
Taking n=1 last inequality proves to be correct
– Loop Back
Dec 12 '18 at 8:24
Are you talking about my "last inequality" or yours?
– Robert Z
Dec 12 '18 at 8:34
Are you talking about my "last inequality" or yours?
– Robert Z
Dec 12 '18 at 8:34
Yes...............
– Loop Back
Dec 12 '18 at 8:39
Yes...............
– Loop Back
Dec 12 '18 at 8:39
@LoopBack Yes what?
– Robert Z
Dec 12 '18 at 8:42
@LoopBack Yes what?
– Robert Z
Dec 12 '18 at 8:42
My last inequality is correct for n=1
– Loop Back
Dec 12 '18 at 8:43
My last inequality is correct for n=1
– Loop Back
Dec 12 '18 at 8:43
|
show 10 more comments
In this case $f(x)=frac{1}{1+x+x^2}$ is decreasing on $[0,,1]$, so the leftmost expression is the sum of areas of width-$1/n$ rectangles that overestimate the integral, while the rightmost expression is an analogous underestimation with rectangles.
add a comment |
In this case $f(x)=frac{1}{1+x+x^2}$ is decreasing on $[0,,1]$, so the leftmost expression is the sum of areas of width-$1/n$ rectangles that overestimate the integral, while the rightmost expression is an analogous underestimation with rectangles.
add a comment |
In this case $f(x)=frac{1}{1+x+x^2}$ is decreasing on $[0,,1]$, so the leftmost expression is the sum of areas of width-$1/n$ rectangles that overestimate the integral, while the rightmost expression is an analogous underestimation with rectangles.
In this case $f(x)=frac{1}{1+x+x^2}$ is decreasing on $[0,,1]$, so the leftmost expression is the sum of areas of width-$1/n$ rectangles that overestimate the integral, while the rightmost expression is an analogous underestimation with rectangles.
answered Dec 12 '18 at 7:57
J.G.J.G.
23.3k22137
23.3k22137
add a comment |
add a comment |
Thanks for contributing an answer to Mathematics Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
Use MathJax to format equations. MathJax reference.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3036371%2flimit-of-sum-as-definite-integral%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Your last inequality should be reversed!! See my answer below.
– Robert Z
Dec 12 '18 at 8:34
Refer also to Perfect understanding of Riemann Sums and Understanding Riemann sums.
– gimusi
Dec 12 '18 at 9:11
Also see this answer.
– rtybase
Dec 12 '18 at 9:13