Computing $intlimits_0^infty x left lfloorfrac1xright rfloor , dx$

Clash Royale CLAN TAG#URR8PPP
up vote
5
down vote
favorite
This is an integral I computed but can't find the result online or on wolfram. So here's a proof sketch, please indulge this sanity check:
$$int_0^infty x left lfloorfrac1xright rfloor dx = int_0^1 x left lfloorfrac1xright rfloor dx$$
$$= sum_n=1^infty int_1/(n+1)^1/n nx dx =sum_n=1^inftyfrac n2 left(frac1n^2 - frac1(n+1)^2right) $$
$$=
sum_n=1^inftyfrac n2 left(frac2n+1n^2(n+1)^2right)$$
$$= sum_n=1^inftyfrac1(n+1)^2 + frac12 sum_n=1^infty frac1n(n+1)^2$$
$$= fracpi^26 -1 + frac12left(sum_n=1^infty frac1n - frac1n+1 - frac1(n+1)^2right)$$
$$=fracpi^26 -1 + frac12left(sum_n=1^infty frac1n - frac1n+1right) -frac12left(sum_n=1^inftyfrac1(n+1)^2right)$$
$$= left(fracpi^26 -1right) + left(frac12cdot 1right) - frac12left(fracpi^26 -1right)$$
$$= fracpi^212.$$
Basically, I used the Basel sum several times, and the fifth line follows from a partial sum decomposition. The seventh follows from the known result for the Basel sum, as well as the fact that the first series in the 6th line telescopes.
I hope this is all correct.
calculus real-analysis integration analysis proof-verification
add a comment |Â
up vote
5
down vote
favorite
This is an integral I computed but can't find the result online or on wolfram. So here's a proof sketch, please indulge this sanity check:
$$int_0^infty x left lfloorfrac1xright rfloor dx = int_0^1 x left lfloorfrac1xright rfloor dx$$
$$= sum_n=1^infty int_1/(n+1)^1/n nx dx =sum_n=1^inftyfrac n2 left(frac1n^2 - frac1(n+1)^2right) $$
$$=
sum_n=1^inftyfrac n2 left(frac2n+1n^2(n+1)^2right)$$
$$= sum_n=1^inftyfrac1(n+1)^2 + frac12 sum_n=1^infty frac1n(n+1)^2$$
$$= fracpi^26 -1 + frac12left(sum_n=1^infty frac1n - frac1n+1 - frac1(n+1)^2right)$$
$$=fracpi^26 -1 + frac12left(sum_n=1^infty frac1n - frac1n+1right) -frac12left(sum_n=1^inftyfrac1(n+1)^2right)$$
$$= left(fracpi^26 -1right) + left(frac12cdot 1right) - frac12left(fracpi^26 -1right)$$
$$= fracpi^212.$$
Basically, I used the Basel sum several times, and the fifth line follows from a partial sum decomposition. The seventh follows from the known result for the Basel sum, as well as the fact that the first series in the 6th line telescopes.
I hope this is all correct.
calculus real-analysis integration analysis proof-verification
@XanderHenderson For $x>1$, floor of $frac1x$ is $0$
â Y. Forman
Dec 28 '17 at 3:34
@XanderHenderson What you wrote is certainly not true, because you forgot the $x$ term. However, what Y. Forman says is correct, and I should've been more explicit there.
â David Bowman
Dec 28 '17 at 3:37
1
Oi... derp. Sorry for being dyslexic. I missed the $x$.
â Xander Henderson
Dec 28 '17 at 3:39
15
$$int_0^1 x lfloor 1/x rfloor dx = int_1^infty frac1t lfloor t rfloor fracdtt^2= sum_n=1^infty int_n^infty t^-3dt = sum_n=1^infty fracn^-22 = fraczeta(2)2$$
â reuns
Dec 28 '17 at 3:43
1
@reuns Nice, better post it as answer!
â samjoe
Dec 28 '17 at 4:40
add a comment |Â
up vote
5
down vote
favorite
up vote
5
down vote
favorite
This is an integral I computed but can't find the result online or on wolfram. So here's a proof sketch, please indulge this sanity check:
$$int_0^infty x left lfloorfrac1xright rfloor dx = int_0^1 x left lfloorfrac1xright rfloor dx$$
$$= sum_n=1^infty int_1/(n+1)^1/n nx dx =sum_n=1^inftyfrac n2 left(frac1n^2 - frac1(n+1)^2right) $$
$$=
sum_n=1^inftyfrac n2 left(frac2n+1n^2(n+1)^2right)$$
$$= sum_n=1^inftyfrac1(n+1)^2 + frac12 sum_n=1^infty frac1n(n+1)^2$$
$$= fracpi^26 -1 + frac12left(sum_n=1^infty frac1n - frac1n+1 - frac1(n+1)^2right)$$
$$=fracpi^26 -1 + frac12left(sum_n=1^infty frac1n - frac1n+1right) -frac12left(sum_n=1^inftyfrac1(n+1)^2right)$$
$$= left(fracpi^26 -1right) + left(frac12cdot 1right) - frac12left(fracpi^26 -1right)$$
$$= fracpi^212.$$
Basically, I used the Basel sum several times, and the fifth line follows from a partial sum decomposition. The seventh follows from the known result for the Basel sum, as well as the fact that the first series in the 6th line telescopes.
I hope this is all correct.
calculus real-analysis integration analysis proof-verification
This is an integral I computed but can't find the result online or on wolfram. So here's a proof sketch, please indulge this sanity check:
$$int_0^infty x left lfloorfrac1xright rfloor dx = int_0^1 x left lfloorfrac1xright rfloor dx$$
$$= sum_n=1^infty int_1/(n+1)^1/n nx dx =sum_n=1^inftyfrac n2 left(frac1n^2 - frac1(n+1)^2right) $$
$$=
sum_n=1^inftyfrac n2 left(frac2n+1n^2(n+1)^2right)$$
$$= sum_n=1^inftyfrac1(n+1)^2 + frac12 sum_n=1^infty frac1n(n+1)^2$$
$$= fracpi^26 -1 + frac12left(sum_n=1^infty frac1n - frac1n+1 - frac1(n+1)^2right)$$
$$=fracpi^26 -1 + frac12left(sum_n=1^infty frac1n - frac1n+1right) -frac12left(sum_n=1^inftyfrac1(n+1)^2right)$$
$$= left(fracpi^26 -1right) + left(frac12cdot 1right) - frac12left(fracpi^26 -1right)$$
$$= fracpi^212.$$
Basically, I used the Basel sum several times, and the fifth line follows from a partial sum decomposition. The seventh follows from the known result for the Basel sum, as well as the fact that the first series in the 6th line telescopes.
I hope this is all correct.
calculus real-analysis integration analysis proof-verification
calculus real-analysis integration analysis proof-verification
edited Dec 28 '17 at 6:01
David G. Stork
8,15821232
8,15821232
asked Dec 28 '17 at 3:30
David Bowman
4,2021924
4,2021924
@XanderHenderson For $x>1$, floor of $frac1x$ is $0$
â Y. Forman
Dec 28 '17 at 3:34
@XanderHenderson What you wrote is certainly not true, because you forgot the $x$ term. However, what Y. Forman says is correct, and I should've been more explicit there.
â David Bowman
Dec 28 '17 at 3:37
1
Oi... derp. Sorry for being dyslexic. I missed the $x$.
â Xander Henderson
Dec 28 '17 at 3:39
15
$$int_0^1 x lfloor 1/x rfloor dx = int_1^infty frac1t lfloor t rfloor fracdtt^2= sum_n=1^infty int_n^infty t^-3dt = sum_n=1^infty fracn^-22 = fraczeta(2)2$$
â reuns
Dec 28 '17 at 3:43
1
@reuns Nice, better post it as answer!
â samjoe
Dec 28 '17 at 4:40
add a comment |Â
@XanderHenderson For $x>1$, floor of $frac1x$ is $0$
â Y. Forman
Dec 28 '17 at 3:34
@XanderHenderson What you wrote is certainly not true, because you forgot the $x$ term. However, what Y. Forman says is correct, and I should've been more explicit there.
â David Bowman
Dec 28 '17 at 3:37
1
Oi... derp. Sorry for being dyslexic. I missed the $x$.
â Xander Henderson
Dec 28 '17 at 3:39
15
$$int_0^1 x lfloor 1/x rfloor dx = int_1^infty frac1t lfloor t rfloor fracdtt^2= sum_n=1^infty int_n^infty t^-3dt = sum_n=1^infty fracn^-22 = fraczeta(2)2$$
â reuns
Dec 28 '17 at 3:43
1
@reuns Nice, better post it as answer!
â samjoe
Dec 28 '17 at 4:40
@XanderHenderson For $x>1$, floor of $frac1x$ is $0$
â Y. Forman
Dec 28 '17 at 3:34
@XanderHenderson For $x>1$, floor of $frac1x$ is $0$
â Y. Forman
Dec 28 '17 at 3:34
@XanderHenderson What you wrote is certainly not true, because you forgot the $x$ term. However, what Y. Forman says is correct, and I should've been more explicit there.
â David Bowman
Dec 28 '17 at 3:37
@XanderHenderson What you wrote is certainly not true, because you forgot the $x$ term. However, what Y. Forman says is correct, and I should've been more explicit there.
â David Bowman
Dec 28 '17 at 3:37
1
1
Oi... derp. Sorry for being dyslexic. I missed the $x$.
â Xander Henderson
Dec 28 '17 at 3:39
Oi... derp. Sorry for being dyslexic. I missed the $x$.
â Xander Henderson
Dec 28 '17 at 3:39
15
15
$$int_0^1 x lfloor 1/x rfloor dx = int_1^infty frac1t lfloor t rfloor fracdtt^2= sum_n=1^infty int_n^infty t^-3dt = sum_n=1^infty fracn^-22 = fraczeta(2)2$$
â reuns
Dec 28 '17 at 3:43
$$int_0^1 x lfloor 1/x rfloor dx = int_1^infty frac1t lfloor t rfloor fracdtt^2= sum_n=1^infty int_n^infty t^-3dt = sum_n=1^infty fracn^-22 = fraczeta(2)2$$
â reuns
Dec 28 '17 at 3:43
1
1
@reuns Nice, better post it as answer!
â samjoe
Dec 28 '17 at 4:40
@reuns Nice, better post it as answer!
â samjoe
Dec 28 '17 at 4:40
add a comment |Â
2 Answers
2
active
oldest
votes
up vote
1
down vote
accepted
Use
$$nleft(frac1n^2-frac1(n+1)^2right)=frac nn^2-fracn+1-1(n+1)^2=frac1n-frac1n+1+frac1(n+1)^2.$$
The first two terms do telescope and the Basel series remains.
@stressedout: of course, but much simpler. And also simpler than yours, which is also essentially the OP's.
â Yves Daoust
Sep 5 at 6:28
@stressedout: your solution isn't different, just longer. A one-liner is simpler.
â Yves Daoust
Sep 5 at 6:38
add a comment |Â
up vote
0
down vote
Alternatively, one may follow the same line of thought and use summation by parts formula to calculate the infinite sum. Similarly,
$$int_0^+infty xlfloor frac1xrfloor dx =sum_n=1^inftyfracn2left(frac1n^2-frac1(n+1)^2right)=-frac12sum_n=1^inftyf_n(g_n+1-g_n)$$
where $f_n = n$ and $g_n = 1/n^2$. Now, summation by parts for the last expression gives:
$$-frac12sum_n=1^inftyf_n(g_n+1-g_n) = -frac12left( lim_ntoinftyfracn(n+1)^2 -1 -sum_n=2^inftyfrac1n^2right)$$
But it is well-known that
$$sum_n=1^inftyfrac1n^2=fracpi^26$$
Hence,
$$-frac12sum_n=1^inftyf_n(g_n+1-g_n) = -frac12left( lim_ntoinftyfracn(n+1)^2 -1 - (fracpi^26-1)right) = fracpi^212$$
add a comment |Â
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
accepted
Use
$$nleft(frac1n^2-frac1(n+1)^2right)=frac nn^2-fracn+1-1(n+1)^2=frac1n-frac1n+1+frac1(n+1)^2.$$
The first two terms do telescope and the Basel series remains.
@stressedout: of course, but much simpler. And also simpler than yours, which is also essentially the OP's.
â Yves Daoust
Sep 5 at 6:28
@stressedout: your solution isn't different, just longer. A one-liner is simpler.
â Yves Daoust
Sep 5 at 6:38
add a comment |Â
up vote
1
down vote
accepted
Use
$$nleft(frac1n^2-frac1(n+1)^2right)=frac nn^2-fracn+1-1(n+1)^2=frac1n-frac1n+1+frac1(n+1)^2.$$
The first two terms do telescope and the Basel series remains.
@stressedout: of course, but much simpler. And also simpler than yours, which is also essentially the OP's.
â Yves Daoust
Sep 5 at 6:28
@stressedout: your solution isn't different, just longer. A one-liner is simpler.
â Yves Daoust
Sep 5 at 6:38
add a comment |Â
up vote
1
down vote
accepted
up vote
1
down vote
accepted
Use
$$nleft(frac1n^2-frac1(n+1)^2right)=frac nn^2-fracn+1-1(n+1)^2=frac1n-frac1n+1+frac1(n+1)^2.$$
The first two terms do telescope and the Basel series remains.
Use
$$nleft(frac1n^2-frac1(n+1)^2right)=frac nn^2-fracn+1-1(n+1)^2=frac1n-frac1n+1+frac1(n+1)^2.$$
The first two terms do telescope and the Basel series remains.
answered Sep 5 at 6:11
Yves Daoust
115k666209
115k666209
@stressedout: of course, but much simpler. And also simpler than yours, which is also essentially the OP's.
â Yves Daoust
Sep 5 at 6:28
@stressedout: your solution isn't different, just longer. A one-liner is simpler.
â Yves Daoust
Sep 5 at 6:38
add a comment |Â
@stressedout: of course, but much simpler. And also simpler than yours, which is also essentially the OP's.
â Yves Daoust
Sep 5 at 6:28
@stressedout: your solution isn't different, just longer. A one-liner is simpler.
â Yves Daoust
Sep 5 at 6:38
@stressedout: of course, but much simpler. And also simpler than yours, which is also essentially the OP's.
â Yves Daoust
Sep 5 at 6:28
@stressedout: of course, but much simpler. And also simpler than yours, which is also essentially the OP's.
â Yves Daoust
Sep 5 at 6:28
@stressedout: your solution isn't different, just longer. A one-liner is simpler.
â Yves Daoust
Sep 5 at 6:38
@stressedout: your solution isn't different, just longer. A one-liner is simpler.
â Yves Daoust
Sep 5 at 6:38
add a comment |Â
up vote
0
down vote
Alternatively, one may follow the same line of thought and use summation by parts formula to calculate the infinite sum. Similarly,
$$int_0^+infty xlfloor frac1xrfloor dx =sum_n=1^inftyfracn2left(frac1n^2-frac1(n+1)^2right)=-frac12sum_n=1^inftyf_n(g_n+1-g_n)$$
where $f_n = n$ and $g_n = 1/n^2$. Now, summation by parts for the last expression gives:
$$-frac12sum_n=1^inftyf_n(g_n+1-g_n) = -frac12left( lim_ntoinftyfracn(n+1)^2 -1 -sum_n=2^inftyfrac1n^2right)$$
But it is well-known that
$$sum_n=1^inftyfrac1n^2=fracpi^26$$
Hence,
$$-frac12sum_n=1^inftyf_n(g_n+1-g_n) = -frac12left( lim_ntoinftyfracn(n+1)^2 -1 - (fracpi^26-1)right) = fracpi^212$$
add a comment |Â
up vote
0
down vote
Alternatively, one may follow the same line of thought and use summation by parts formula to calculate the infinite sum. Similarly,
$$int_0^+infty xlfloor frac1xrfloor dx =sum_n=1^inftyfracn2left(frac1n^2-frac1(n+1)^2right)=-frac12sum_n=1^inftyf_n(g_n+1-g_n)$$
where $f_n = n$ and $g_n = 1/n^2$. Now, summation by parts for the last expression gives:
$$-frac12sum_n=1^inftyf_n(g_n+1-g_n) = -frac12left( lim_ntoinftyfracn(n+1)^2 -1 -sum_n=2^inftyfrac1n^2right)$$
But it is well-known that
$$sum_n=1^inftyfrac1n^2=fracpi^26$$
Hence,
$$-frac12sum_n=1^inftyf_n(g_n+1-g_n) = -frac12left( lim_ntoinftyfracn(n+1)^2 -1 - (fracpi^26-1)right) = fracpi^212$$
add a comment |Â
up vote
0
down vote
up vote
0
down vote
Alternatively, one may follow the same line of thought and use summation by parts formula to calculate the infinite sum. Similarly,
$$int_0^+infty xlfloor frac1xrfloor dx =sum_n=1^inftyfracn2left(frac1n^2-frac1(n+1)^2right)=-frac12sum_n=1^inftyf_n(g_n+1-g_n)$$
where $f_n = n$ and $g_n = 1/n^2$. Now, summation by parts for the last expression gives:
$$-frac12sum_n=1^inftyf_n(g_n+1-g_n) = -frac12left( lim_ntoinftyfracn(n+1)^2 -1 -sum_n=2^inftyfrac1n^2right)$$
But it is well-known that
$$sum_n=1^inftyfrac1n^2=fracpi^26$$
Hence,
$$-frac12sum_n=1^inftyf_n(g_n+1-g_n) = -frac12left( lim_ntoinftyfracn(n+1)^2 -1 - (fracpi^26-1)right) = fracpi^212$$
Alternatively, one may follow the same line of thought and use summation by parts formula to calculate the infinite sum. Similarly,
$$int_0^+infty xlfloor frac1xrfloor dx =sum_n=1^inftyfracn2left(frac1n^2-frac1(n+1)^2right)=-frac12sum_n=1^inftyf_n(g_n+1-g_n)$$
where $f_n = n$ and $g_n = 1/n^2$. Now, summation by parts for the last expression gives:
$$-frac12sum_n=1^inftyf_n(g_n+1-g_n) = -frac12left( lim_ntoinftyfracn(n+1)^2 -1 -sum_n=2^inftyfrac1n^2right)$$
But it is well-known that
$$sum_n=1^inftyfrac1n^2=fracpi^26$$
Hence,
$$-frac12sum_n=1^inftyf_n(g_n+1-g_n) = -frac12left( lim_ntoinftyfracn(n+1)^2 -1 - (fracpi^26-1)right) = fracpi^212$$
edited Sep 5 at 6:05
answered Sep 5 at 5:57
stressed out
3,6301431
3,6301431
add a comment |Â
add a comment |Â
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
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2582606%2fcomputing-int-limits-0-infty-x-left-lfloor-frac1x-right-rfloor-dx%23new-answer', 'question_page');
);
Post as a guest
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
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
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
@XanderHenderson For $x>1$, floor of $frac1x$ is $0$
â Y. Forman
Dec 28 '17 at 3:34
@XanderHenderson What you wrote is certainly not true, because you forgot the $x$ term. However, what Y. Forman says is correct, and I should've been more explicit there.
â David Bowman
Dec 28 '17 at 3:37
1
Oi... derp. Sorry for being dyslexic. I missed the $x$.
â Xander Henderson
Dec 28 '17 at 3:39
15
$$int_0^1 x lfloor 1/x rfloor dx = int_1^infty frac1t lfloor t rfloor fracdtt^2= sum_n=1^infty int_n^infty t^-3dt = sum_n=1^infty fracn^-22 = fraczeta(2)2$$
â reuns
Dec 28 '17 at 3:43
1
@reuns Nice, better post it as answer!
â samjoe
Dec 28 '17 at 4:40