Counterexample to Riemann sum limit












10












$begingroup$


For convergent Riemann sums of $f in C^1([0,1])$ there is the property:



$$tag{A}lim_{n to + infty} left[, sum_{k=0}^{n} f left( frac{k}{n+1} right) - sum_{k=0}^{n-1} f left( frac{k}{n} right) , right] = int_0^1 f (x) dx$$



Proof using the mean value theorem goes like



$$, sum_{k=0}^{n} f left( frac{k}{n+1} right) - sum_{k=0}^{n-1} f left( frac{k}{n} right) = f left( frac{n}{n+1} right) + sum_{k=0}^{n-1}f'(theta_k)left(frac{k}{n+1} - frac{k}{n} right)$$
and then shows the right side converges to $f(1) - int_0^1 xf'(x) dx = int_0^1f(x)dx.$ So it is very helpful that $f in C^1$.



If we only have $f in C[0,1]$, then equation (A) may not be true, and this was shown by Daniel Fischer using Banach-Steinhaus theorem in this answer. Here a related statement was considered:



$$tag{B}lim_{ntoinfty}left[, sum_{k=0}^{n-1} fleft(frac{k}{n}right) - nint_0^1 f(x),dx, right] = frac{f(0) - f(1)}{2}$$



My question: Can someone please show me a concrete counterexample, i.e., a continuous but not continuously differentiable function where (A) or (B) is false?










share|cite|improve this question











$endgroup$












  • $begingroup$
    It is just an idea. Try to consider a real continuous function of unbounded variation on $[0,1]$, The right-hand side of (A) would be finite, however the left-hand side would be infinite.
    $endgroup$
    – Pavel R.
    Dec 11 '18 at 0:46










  • $begingroup$
    Banach Steinhaus (and the uniform boundedness principle, Baire category theorem, etc.) are constructive and can be unwound to provide counterexamples. Daniel Fischer's argument uses the fact that there are $f_n$ with $|T_n(f_n)|toinfty.$ Banach-Steinhaus is a recipe that computes some coefficients $c_n$ such that the linear combination $f=sum c_nf_n$ is uniformly convergent and satisfies $sup_n|T_n(f)|=infty.$
    $endgroup$
    – Dap
    Jan 24 at 15:20
















10












$begingroup$


For convergent Riemann sums of $f in C^1([0,1])$ there is the property:



$$tag{A}lim_{n to + infty} left[, sum_{k=0}^{n} f left( frac{k}{n+1} right) - sum_{k=0}^{n-1} f left( frac{k}{n} right) , right] = int_0^1 f (x) dx$$



Proof using the mean value theorem goes like



$$, sum_{k=0}^{n} f left( frac{k}{n+1} right) - sum_{k=0}^{n-1} f left( frac{k}{n} right) = f left( frac{n}{n+1} right) + sum_{k=0}^{n-1}f'(theta_k)left(frac{k}{n+1} - frac{k}{n} right)$$
and then shows the right side converges to $f(1) - int_0^1 xf'(x) dx = int_0^1f(x)dx.$ So it is very helpful that $f in C^1$.



If we only have $f in C[0,1]$, then equation (A) may not be true, and this was shown by Daniel Fischer using Banach-Steinhaus theorem in this answer. Here a related statement was considered:



$$tag{B}lim_{ntoinfty}left[, sum_{k=0}^{n-1} fleft(frac{k}{n}right) - nint_0^1 f(x),dx, right] = frac{f(0) - f(1)}{2}$$



My question: Can someone please show me a concrete counterexample, i.e., a continuous but not continuously differentiable function where (A) or (B) is false?










share|cite|improve this question











$endgroup$












  • $begingroup$
    It is just an idea. Try to consider a real continuous function of unbounded variation on $[0,1]$, The right-hand side of (A) would be finite, however the left-hand side would be infinite.
    $endgroup$
    – Pavel R.
    Dec 11 '18 at 0:46










  • $begingroup$
    Banach Steinhaus (and the uniform boundedness principle, Baire category theorem, etc.) are constructive and can be unwound to provide counterexamples. Daniel Fischer's argument uses the fact that there are $f_n$ with $|T_n(f_n)|toinfty.$ Banach-Steinhaus is a recipe that computes some coefficients $c_n$ such that the linear combination $f=sum c_nf_n$ is uniformly convergent and satisfies $sup_n|T_n(f)|=infty.$
    $endgroup$
    – Dap
    Jan 24 at 15:20














10












10








10


2



$begingroup$


For convergent Riemann sums of $f in C^1([0,1])$ there is the property:



$$tag{A}lim_{n to + infty} left[, sum_{k=0}^{n} f left( frac{k}{n+1} right) - sum_{k=0}^{n-1} f left( frac{k}{n} right) , right] = int_0^1 f (x) dx$$



Proof using the mean value theorem goes like



$$, sum_{k=0}^{n} f left( frac{k}{n+1} right) - sum_{k=0}^{n-1} f left( frac{k}{n} right) = f left( frac{n}{n+1} right) + sum_{k=0}^{n-1}f'(theta_k)left(frac{k}{n+1} - frac{k}{n} right)$$
and then shows the right side converges to $f(1) - int_0^1 xf'(x) dx = int_0^1f(x)dx.$ So it is very helpful that $f in C^1$.



If we only have $f in C[0,1]$, then equation (A) may not be true, and this was shown by Daniel Fischer using Banach-Steinhaus theorem in this answer. Here a related statement was considered:



$$tag{B}lim_{ntoinfty}left[, sum_{k=0}^{n-1} fleft(frac{k}{n}right) - nint_0^1 f(x),dx, right] = frac{f(0) - f(1)}{2}$$



My question: Can someone please show me a concrete counterexample, i.e., a continuous but not continuously differentiable function where (A) or (B) is false?










share|cite|improve this question











$endgroup$




For convergent Riemann sums of $f in C^1([0,1])$ there is the property:



$$tag{A}lim_{n to + infty} left[, sum_{k=0}^{n} f left( frac{k}{n+1} right) - sum_{k=0}^{n-1} f left( frac{k}{n} right) , right] = int_0^1 f (x) dx$$



Proof using the mean value theorem goes like



$$, sum_{k=0}^{n} f left( frac{k}{n+1} right) - sum_{k=0}^{n-1} f left( frac{k}{n} right) = f left( frac{n}{n+1} right) + sum_{k=0}^{n-1}f'(theta_k)left(frac{k}{n+1} - frac{k}{n} right)$$
and then shows the right side converges to $f(1) - int_0^1 xf'(x) dx = int_0^1f(x)dx.$ So it is very helpful that $f in C^1$.



If we only have $f in C[0,1]$, then equation (A) may not be true, and this was shown by Daniel Fischer using Banach-Steinhaus theorem in this answer. Here a related statement was considered:



$$tag{B}lim_{ntoinfty}left[, sum_{k=0}^{n-1} fleft(frac{k}{n}right) - nint_0^1 f(x),dx, right] = frac{f(0) - f(1)}{2}$$



My question: Can someone please show me a concrete counterexample, i.e., a continuous but not continuously differentiable function where (A) or (B) is false?







real-analysis examples-counterexamples riemann-integration






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Jan 29 at 15:08









YuiTo Cheng

2,0592637




2,0592637










asked Dec 10 '18 at 21:53









WoodWorkerWoodWorker

470314




470314












  • $begingroup$
    It is just an idea. Try to consider a real continuous function of unbounded variation on $[0,1]$, The right-hand side of (A) would be finite, however the left-hand side would be infinite.
    $endgroup$
    – Pavel R.
    Dec 11 '18 at 0:46










  • $begingroup$
    Banach Steinhaus (and the uniform boundedness principle, Baire category theorem, etc.) are constructive and can be unwound to provide counterexamples. Daniel Fischer's argument uses the fact that there are $f_n$ with $|T_n(f_n)|toinfty.$ Banach-Steinhaus is a recipe that computes some coefficients $c_n$ such that the linear combination $f=sum c_nf_n$ is uniformly convergent and satisfies $sup_n|T_n(f)|=infty.$
    $endgroup$
    – Dap
    Jan 24 at 15:20


















  • $begingroup$
    It is just an idea. Try to consider a real continuous function of unbounded variation on $[0,1]$, The right-hand side of (A) would be finite, however the left-hand side would be infinite.
    $endgroup$
    – Pavel R.
    Dec 11 '18 at 0:46










  • $begingroup$
    Banach Steinhaus (and the uniform boundedness principle, Baire category theorem, etc.) are constructive and can be unwound to provide counterexamples. Daniel Fischer's argument uses the fact that there are $f_n$ with $|T_n(f_n)|toinfty.$ Banach-Steinhaus is a recipe that computes some coefficients $c_n$ such that the linear combination $f=sum c_nf_n$ is uniformly convergent and satisfies $sup_n|T_n(f)|=infty.$
    $endgroup$
    – Dap
    Jan 24 at 15:20
















$begingroup$
It is just an idea. Try to consider a real continuous function of unbounded variation on $[0,1]$, The right-hand side of (A) would be finite, however the left-hand side would be infinite.
$endgroup$
– Pavel R.
Dec 11 '18 at 0:46




$begingroup$
It is just an idea. Try to consider a real continuous function of unbounded variation on $[0,1]$, The right-hand side of (A) would be finite, however the left-hand side would be infinite.
$endgroup$
– Pavel R.
Dec 11 '18 at 0:46












$begingroup$
Banach Steinhaus (and the uniform boundedness principle, Baire category theorem, etc.) are constructive and can be unwound to provide counterexamples. Daniel Fischer's argument uses the fact that there are $f_n$ with $|T_n(f_n)|toinfty.$ Banach-Steinhaus is a recipe that computes some coefficients $c_n$ such that the linear combination $f=sum c_nf_n$ is uniformly convergent and satisfies $sup_n|T_n(f)|=infty.$
$endgroup$
– Dap
Jan 24 at 15:20




$begingroup$
Banach Steinhaus (and the uniform boundedness principle, Baire category theorem, etc.) are constructive and can be unwound to provide counterexamples. Daniel Fischer's argument uses the fact that there are $f_n$ with $|T_n(f_n)|toinfty.$ Banach-Steinhaus is a recipe that computes some coefficients $c_n$ such that the linear combination $f=sum c_nf_n$ is uniformly convergent and satisfies $sup_n|T_n(f)|=infty.$
$endgroup$
– Dap
Jan 24 at 15:20










1 Answer
1






active

oldest

votes


















5





+100







$begingroup$

Consider Weierstrass function
$$
f(x)=sum_{l=1}^infty 2^{-l/2}cos pi 2^l x.
$$

It is nowhere differentiable but is Holder continuous with exponent $1/2$. Also it is an example of a lacunary Fourier series.



Let's show that the expression under the limit sign in (B) is not bounded. The integral in the lhs is zero. For $n=2^m$
$$
sum_{k=0}^{2^m-1}fleft(frac{k}{2^m}right)=
sum_{l=1}^infty 2^{-l/2}sum_{k=0}^{2^m-1}cos pi 2^{l-m} k.
$$

It's straightforward to check, presenting cosine as a sum of imaginary exponents and evaluating the appearing geometric progression, that
$$
sum_{k=0}^{2^m-1}cos pi 2^{l-m} k=
left{
begin{array}{r,l}
2^m,&&m<l,\
0,&&mge l.
end{array}
right.
$$

Therefore
$$
sum_{k=0}^{2^m-1}fleft(frac{k}{2^m}right)=
sum_{l=m+1}^infty 2^{-l/2}2^m=left(1+sqrt{2}right) 2^{m/2}to infty
$$

as $mtoinfty$.






share|cite|improve this answer









$endgroup$













  • $begingroup$
    Thank you, this stumped me?
    $endgroup$
    – WoodWorker
    Jan 31 at 1:38











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
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3034541%2fcounterexample-to-riemann-sum-limit%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









5





+100







$begingroup$

Consider Weierstrass function
$$
f(x)=sum_{l=1}^infty 2^{-l/2}cos pi 2^l x.
$$

It is nowhere differentiable but is Holder continuous with exponent $1/2$. Also it is an example of a lacunary Fourier series.



Let's show that the expression under the limit sign in (B) is not bounded. The integral in the lhs is zero. For $n=2^m$
$$
sum_{k=0}^{2^m-1}fleft(frac{k}{2^m}right)=
sum_{l=1}^infty 2^{-l/2}sum_{k=0}^{2^m-1}cos pi 2^{l-m} k.
$$

It's straightforward to check, presenting cosine as a sum of imaginary exponents and evaluating the appearing geometric progression, that
$$
sum_{k=0}^{2^m-1}cos pi 2^{l-m} k=
left{
begin{array}{r,l}
2^m,&&m<l,\
0,&&mge l.
end{array}
right.
$$

Therefore
$$
sum_{k=0}^{2^m-1}fleft(frac{k}{2^m}right)=
sum_{l=m+1}^infty 2^{-l/2}2^m=left(1+sqrt{2}right) 2^{m/2}to infty
$$

as $mtoinfty$.






share|cite|improve this answer









$endgroup$













  • $begingroup$
    Thank you, this stumped me?
    $endgroup$
    – WoodWorker
    Jan 31 at 1:38
















5





+100







$begingroup$

Consider Weierstrass function
$$
f(x)=sum_{l=1}^infty 2^{-l/2}cos pi 2^l x.
$$

It is nowhere differentiable but is Holder continuous with exponent $1/2$. Also it is an example of a lacunary Fourier series.



Let's show that the expression under the limit sign in (B) is not bounded. The integral in the lhs is zero. For $n=2^m$
$$
sum_{k=0}^{2^m-1}fleft(frac{k}{2^m}right)=
sum_{l=1}^infty 2^{-l/2}sum_{k=0}^{2^m-1}cos pi 2^{l-m} k.
$$

It's straightforward to check, presenting cosine as a sum of imaginary exponents and evaluating the appearing geometric progression, that
$$
sum_{k=0}^{2^m-1}cos pi 2^{l-m} k=
left{
begin{array}{r,l}
2^m,&&m<l,\
0,&&mge l.
end{array}
right.
$$

Therefore
$$
sum_{k=0}^{2^m-1}fleft(frac{k}{2^m}right)=
sum_{l=m+1}^infty 2^{-l/2}2^m=left(1+sqrt{2}right) 2^{m/2}to infty
$$

as $mtoinfty$.






share|cite|improve this answer









$endgroup$













  • $begingroup$
    Thank you, this stumped me?
    $endgroup$
    – WoodWorker
    Jan 31 at 1:38














5





+100







5





+100



5




+100



$begingroup$

Consider Weierstrass function
$$
f(x)=sum_{l=1}^infty 2^{-l/2}cos pi 2^l x.
$$

It is nowhere differentiable but is Holder continuous with exponent $1/2$. Also it is an example of a lacunary Fourier series.



Let's show that the expression under the limit sign in (B) is not bounded. The integral in the lhs is zero. For $n=2^m$
$$
sum_{k=0}^{2^m-1}fleft(frac{k}{2^m}right)=
sum_{l=1}^infty 2^{-l/2}sum_{k=0}^{2^m-1}cos pi 2^{l-m} k.
$$

It's straightforward to check, presenting cosine as a sum of imaginary exponents and evaluating the appearing geometric progression, that
$$
sum_{k=0}^{2^m-1}cos pi 2^{l-m} k=
left{
begin{array}{r,l}
2^m,&&m<l,\
0,&&mge l.
end{array}
right.
$$

Therefore
$$
sum_{k=0}^{2^m-1}fleft(frac{k}{2^m}right)=
sum_{l=m+1}^infty 2^{-l/2}2^m=left(1+sqrt{2}right) 2^{m/2}to infty
$$

as $mtoinfty$.






share|cite|improve this answer









$endgroup$



Consider Weierstrass function
$$
f(x)=sum_{l=1}^infty 2^{-l/2}cos pi 2^l x.
$$

It is nowhere differentiable but is Holder continuous with exponent $1/2$. Also it is an example of a lacunary Fourier series.



Let's show that the expression under the limit sign in (B) is not bounded. The integral in the lhs is zero. For $n=2^m$
$$
sum_{k=0}^{2^m-1}fleft(frac{k}{2^m}right)=
sum_{l=1}^infty 2^{-l/2}sum_{k=0}^{2^m-1}cos pi 2^{l-m} k.
$$

It's straightforward to check, presenting cosine as a sum of imaginary exponents and evaluating the appearing geometric progression, that
$$
sum_{k=0}^{2^m-1}cos pi 2^{l-m} k=
left{
begin{array}{r,l}
2^m,&&m<l,\
0,&&mge l.
end{array}
right.
$$

Therefore
$$
sum_{k=0}^{2^m-1}fleft(frac{k}{2^m}right)=
sum_{l=m+1}^infty 2^{-l/2}2^m=left(1+sqrt{2}right) 2^{m/2}to infty
$$

as $mtoinfty$.







share|cite|improve this answer












share|cite|improve this answer



share|cite|improve this answer










answered Jan 26 at 9:21









AndrewAndrew

9,57211946




9,57211946












  • $begingroup$
    Thank you, this stumped me?
    $endgroup$
    – WoodWorker
    Jan 31 at 1:38


















  • $begingroup$
    Thank you, this stumped me?
    $endgroup$
    – WoodWorker
    Jan 31 at 1:38
















$begingroup$
Thank you, this stumped me?
$endgroup$
– WoodWorker
Jan 31 at 1:38




$begingroup$
Thank you, this stumped me?
$endgroup$
– WoodWorker
Jan 31 at 1:38


















draft saved

draft discarded




















































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.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3034541%2fcounterexample-to-riemann-sum-limit%23new-answer', 'question_page');
}
);

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







Popular posts from this blog

MongoDB - Not Authorized To Execute Command

How to fix TextFormField cause rebuild widget in Flutter

in spring boot 2.1 many test slices are not allowed anymore due to multiple @BootstrapWith