Integral of Fractional Part $int_{0}^{1} { frac{1}{x} }dx$
$begingroup$
Does the integral exist? $displaystyleint_{0}^{1}{frac{1}{x}}dx,quad$ where {x} is the fractional part.
I have broken it into $$displaystyleint_{0}^{1}frac{1}{x}-lfloor frac{1}{x} rfloor dx = lim_{xto 0}-ln{x} -lim_{ntoinfty} H_n+1$$
This looks very close to a negative Euler-Mascheroni const + 1, although $gamma$ is defined as $$lim_{ntoinfty}quad H_n - ln{n}$$
Are $$lim_{xtoinfty}quad ln{x} text{ and } lim_{xto 0}quad -ln{x}$$ interchangeable in these cases? If so, it would seem then the integral would evaluate to $-gamma+1$, as is shown from an area approximation from .001 to 1 on my calculator.
Any help is appreciated, thanks!
definite-integrals improper-integrals fractional-part
$endgroup$
|
show 3 more comments
$begingroup$
Does the integral exist? $displaystyleint_{0}^{1}{frac{1}{x}}dx,quad$ where {x} is the fractional part.
I have broken it into $$displaystyleint_{0}^{1}frac{1}{x}-lfloor frac{1}{x} rfloor dx = lim_{xto 0}-ln{x} -lim_{ntoinfty} H_n+1$$
This looks very close to a negative Euler-Mascheroni const + 1, although $gamma$ is defined as $$lim_{ntoinfty}quad H_n - ln{n}$$
Are $$lim_{xtoinfty}quad ln{x} text{ and } lim_{xto 0}quad -ln{x}$$ interchangeable in these cases? If so, it would seem then the integral would evaluate to $-gamma+1$, as is shown from an area approximation from .001 to 1 on my calculator.
Any help is appreciated, thanks!
definite-integrals improper-integrals fractional-part
$endgroup$
3
$begingroup$
I notice there is no tag for Euler-Mascheroni constant. Perhaps someone would add it?
$endgroup$
– Jasper Braun
Jun 19 '16 at 2:30
3
$begingroup$
$$int_0^1( frac{1}{x}- lfloor frac{1}{x}rfloor )dx = int_1^infty (x- lfloor x rfloor) frac{dx}{x^2} = lim_{n to infty} int_1^n ( x- lfloor x rfloor) frac{dx}{x^2} =lim_{n to infty} ln n - sum_{k=1}^{n-1} int_k^{k+1} frac{k}{x^2} dx = ln n - sum_{k=1}^{n-1} k (frac{1}{k}-frac{1}{k+1}) =lim_{n to infty} ln n - sum_{k=1}^{n-1} frac{1}{k+1} = lim_{n to infty} ln n - H_{n}+1 =1-gamma$$
$endgroup$
– reuns
Jun 19 '16 at 2:39
$begingroup$
@user1952009 you might want to write that as an answer because (1) it looks correct, and (2) it doesn't fit/format well inside of the comment
$endgroup$
– Chill2Macht
Jun 19 '16 at 2:42
$begingroup$
@user1952009 If you insist, although personally I think you are being modest Also it isn't necessarily one line, if you explained each of the 6/7 steps
$endgroup$
– Chill2Macht
Jun 19 '16 at 2:48
$begingroup$
This is also how you see that $$zeta(s) = sum_{n=1}^infty n^{-s} = s int_1^infty lfloor x rfloor x^{-s-1} dx= frac{s}{s-1} - int_1^infty (x-lfloor x rfloor) x^{-s-1} dx = frac{1}{s-1} + gamma + o(1)$$ as $s to 1^+$ ($ sum_{n=1}^infty n^{-s} = s int_1^infty lfloor x rfloor x^{-s-1} dx$ being some sort of integration by parts, see en.wikipedia.org/wiki/Abel%27s_summation_formula )
$endgroup$
– reuns
Jun 19 '16 at 2:49
|
show 3 more comments
$begingroup$
Does the integral exist? $displaystyleint_{0}^{1}{frac{1}{x}}dx,quad$ where {x} is the fractional part.
I have broken it into $$displaystyleint_{0}^{1}frac{1}{x}-lfloor frac{1}{x} rfloor dx = lim_{xto 0}-ln{x} -lim_{ntoinfty} H_n+1$$
This looks very close to a negative Euler-Mascheroni const + 1, although $gamma$ is defined as $$lim_{ntoinfty}quad H_n - ln{n}$$
Are $$lim_{xtoinfty}quad ln{x} text{ and } lim_{xto 0}quad -ln{x}$$ interchangeable in these cases? If so, it would seem then the integral would evaluate to $-gamma+1$, as is shown from an area approximation from .001 to 1 on my calculator.
Any help is appreciated, thanks!
definite-integrals improper-integrals fractional-part
$endgroup$
Does the integral exist? $displaystyleint_{0}^{1}{frac{1}{x}}dx,quad$ where {x} is the fractional part.
I have broken it into $$displaystyleint_{0}^{1}frac{1}{x}-lfloor frac{1}{x} rfloor dx = lim_{xto 0}-ln{x} -lim_{ntoinfty} H_n+1$$
This looks very close to a negative Euler-Mascheroni const + 1, although $gamma$ is defined as $$lim_{ntoinfty}quad H_n - ln{n}$$
Are $$lim_{xtoinfty}quad ln{x} text{ and } lim_{xto 0}quad -ln{x}$$ interchangeable in these cases? If so, it would seem then the integral would evaluate to $-gamma+1$, as is shown from an area approximation from .001 to 1 on my calculator.
Any help is appreciated, thanks!
definite-integrals improper-integrals fractional-part
definite-integrals improper-integrals fractional-part
asked Jun 19 '16 at 2:28
Jasper BraunJasper Braun
385
385
3
$begingroup$
I notice there is no tag for Euler-Mascheroni constant. Perhaps someone would add it?
$endgroup$
– Jasper Braun
Jun 19 '16 at 2:30
3
$begingroup$
$$int_0^1( frac{1}{x}- lfloor frac{1}{x}rfloor )dx = int_1^infty (x- lfloor x rfloor) frac{dx}{x^2} = lim_{n to infty} int_1^n ( x- lfloor x rfloor) frac{dx}{x^2} =lim_{n to infty} ln n - sum_{k=1}^{n-1} int_k^{k+1} frac{k}{x^2} dx = ln n - sum_{k=1}^{n-1} k (frac{1}{k}-frac{1}{k+1}) =lim_{n to infty} ln n - sum_{k=1}^{n-1} frac{1}{k+1} = lim_{n to infty} ln n - H_{n}+1 =1-gamma$$
$endgroup$
– reuns
Jun 19 '16 at 2:39
$begingroup$
@user1952009 you might want to write that as an answer because (1) it looks correct, and (2) it doesn't fit/format well inside of the comment
$endgroup$
– Chill2Macht
Jun 19 '16 at 2:42
$begingroup$
@user1952009 If you insist, although personally I think you are being modest Also it isn't necessarily one line, if you explained each of the 6/7 steps
$endgroup$
– Chill2Macht
Jun 19 '16 at 2:48
$begingroup$
This is also how you see that $$zeta(s) = sum_{n=1}^infty n^{-s} = s int_1^infty lfloor x rfloor x^{-s-1} dx= frac{s}{s-1} - int_1^infty (x-lfloor x rfloor) x^{-s-1} dx = frac{1}{s-1} + gamma + o(1)$$ as $s to 1^+$ ($ sum_{n=1}^infty n^{-s} = s int_1^infty lfloor x rfloor x^{-s-1} dx$ being some sort of integration by parts, see en.wikipedia.org/wiki/Abel%27s_summation_formula )
$endgroup$
– reuns
Jun 19 '16 at 2:49
|
show 3 more comments
3
$begingroup$
I notice there is no tag for Euler-Mascheroni constant. Perhaps someone would add it?
$endgroup$
– Jasper Braun
Jun 19 '16 at 2:30
3
$begingroup$
$$int_0^1( frac{1}{x}- lfloor frac{1}{x}rfloor )dx = int_1^infty (x- lfloor x rfloor) frac{dx}{x^2} = lim_{n to infty} int_1^n ( x- lfloor x rfloor) frac{dx}{x^2} =lim_{n to infty} ln n - sum_{k=1}^{n-1} int_k^{k+1} frac{k}{x^2} dx = ln n - sum_{k=1}^{n-1} k (frac{1}{k}-frac{1}{k+1}) =lim_{n to infty} ln n - sum_{k=1}^{n-1} frac{1}{k+1} = lim_{n to infty} ln n - H_{n}+1 =1-gamma$$
$endgroup$
– reuns
Jun 19 '16 at 2:39
$begingroup$
@user1952009 you might want to write that as an answer because (1) it looks correct, and (2) it doesn't fit/format well inside of the comment
$endgroup$
– Chill2Macht
Jun 19 '16 at 2:42
$begingroup$
@user1952009 If you insist, although personally I think you are being modest Also it isn't necessarily one line, if you explained each of the 6/7 steps
$endgroup$
– Chill2Macht
Jun 19 '16 at 2:48
$begingroup$
This is also how you see that $$zeta(s) = sum_{n=1}^infty n^{-s} = s int_1^infty lfloor x rfloor x^{-s-1} dx= frac{s}{s-1} - int_1^infty (x-lfloor x rfloor) x^{-s-1} dx = frac{1}{s-1} + gamma + o(1)$$ as $s to 1^+$ ($ sum_{n=1}^infty n^{-s} = s int_1^infty lfloor x rfloor x^{-s-1} dx$ being some sort of integration by parts, see en.wikipedia.org/wiki/Abel%27s_summation_formula )
$endgroup$
– reuns
Jun 19 '16 at 2:49
3
3
$begingroup$
I notice there is no tag for Euler-Mascheroni constant. Perhaps someone would add it?
$endgroup$
– Jasper Braun
Jun 19 '16 at 2:30
$begingroup$
I notice there is no tag for Euler-Mascheroni constant. Perhaps someone would add it?
$endgroup$
– Jasper Braun
Jun 19 '16 at 2:30
3
3
$begingroup$
$$int_0^1( frac{1}{x}- lfloor frac{1}{x}rfloor )dx = int_1^infty (x- lfloor x rfloor) frac{dx}{x^2} = lim_{n to infty} int_1^n ( x- lfloor x rfloor) frac{dx}{x^2} =lim_{n to infty} ln n - sum_{k=1}^{n-1} int_k^{k+1} frac{k}{x^2} dx = ln n - sum_{k=1}^{n-1} k (frac{1}{k}-frac{1}{k+1}) =lim_{n to infty} ln n - sum_{k=1}^{n-1} frac{1}{k+1} = lim_{n to infty} ln n - H_{n}+1 =1-gamma$$
$endgroup$
– reuns
Jun 19 '16 at 2:39
$begingroup$
$$int_0^1( frac{1}{x}- lfloor frac{1}{x}rfloor )dx = int_1^infty (x- lfloor x rfloor) frac{dx}{x^2} = lim_{n to infty} int_1^n ( x- lfloor x rfloor) frac{dx}{x^2} =lim_{n to infty} ln n - sum_{k=1}^{n-1} int_k^{k+1} frac{k}{x^2} dx = ln n - sum_{k=1}^{n-1} k (frac{1}{k}-frac{1}{k+1}) =lim_{n to infty} ln n - sum_{k=1}^{n-1} frac{1}{k+1} = lim_{n to infty} ln n - H_{n}+1 =1-gamma$$
$endgroup$
– reuns
Jun 19 '16 at 2:39
$begingroup$
@user1952009 you might want to write that as an answer because (1) it looks correct, and (2) it doesn't fit/format well inside of the comment
$endgroup$
– Chill2Macht
Jun 19 '16 at 2:42
$begingroup$
@user1952009 you might want to write that as an answer because (1) it looks correct, and (2) it doesn't fit/format well inside of the comment
$endgroup$
– Chill2Macht
Jun 19 '16 at 2:42
$begingroup$
@user1952009 If you insist, although personally I think you are being modest Also it isn't necessarily one line, if you explained each of the 6/7 steps
$endgroup$
– Chill2Macht
Jun 19 '16 at 2:48
$begingroup$
@user1952009 If you insist, although personally I think you are being modest Also it isn't necessarily one line, if you explained each of the 6/7 steps
$endgroup$
– Chill2Macht
Jun 19 '16 at 2:48
$begingroup$
This is also how you see that $$zeta(s) = sum_{n=1}^infty n^{-s} = s int_1^infty lfloor x rfloor x^{-s-1} dx= frac{s}{s-1} - int_1^infty (x-lfloor x rfloor) x^{-s-1} dx = frac{1}{s-1} + gamma + o(1)$$ as $s to 1^+$ ($ sum_{n=1}^infty n^{-s} = s int_1^infty lfloor x rfloor x^{-s-1} dx$ being some sort of integration by parts, see en.wikipedia.org/wiki/Abel%27s_summation_formula )
$endgroup$
– reuns
Jun 19 '16 at 2:49
$begingroup$
This is also how you see that $$zeta(s) = sum_{n=1}^infty n^{-s} = s int_1^infty lfloor x rfloor x^{-s-1} dx= frac{s}{s-1} - int_1^infty (x-lfloor x rfloor) x^{-s-1} dx = frac{1}{s-1} + gamma + o(1)$$ as $s to 1^+$ ($ sum_{n=1}^infty n^{-s} = s int_1^infty lfloor x rfloor x^{-s-1} dx$ being some sort of integration by parts, see en.wikipedia.org/wiki/Abel%27s_summation_formula )
$endgroup$
– reuns
Jun 19 '16 at 2:49
|
show 3 more comments
1 Answer
1
active
oldest
votes
$begingroup$
As explained by @user1952009, use the substitution $u = dfrac{1}{x}$, $du = dfrac{-dx}{x^2}$. So
$$int_{0}^{1}{ dfrac{1}{x}} = int_{1}^{infty}dfrac{{u}}{u^2}du = $$
(Now use ${u} = u - lfloor urfloor$)
$$lim_{ntoinfty} text{ }int_{1}^{n}dfrac{u - lfloor urfloor}{u^2}du = lim_{ntoinfty}ln{n}-sum_{k=1}^{n-1}int_{k}^{k+1}dfrac{k}{x^2}dx =$$
$$lim_{ntoinfty}ln{n}-sum_{k=1}^{n-1}dfrac{1}{k+1} = lim_{ntoinfty}ln{n}-H_n+1 = Largeboxed{-gamma + 1}$$
$endgroup$
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%2f1831511%2fintegral-of-fractional-part-int-01-frac1x-dx%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
$begingroup$
As explained by @user1952009, use the substitution $u = dfrac{1}{x}$, $du = dfrac{-dx}{x^2}$. So
$$int_{0}^{1}{ dfrac{1}{x}} = int_{1}^{infty}dfrac{{u}}{u^2}du = $$
(Now use ${u} = u - lfloor urfloor$)
$$lim_{ntoinfty} text{ }int_{1}^{n}dfrac{u - lfloor urfloor}{u^2}du = lim_{ntoinfty}ln{n}-sum_{k=1}^{n-1}int_{k}^{k+1}dfrac{k}{x^2}dx =$$
$$lim_{ntoinfty}ln{n}-sum_{k=1}^{n-1}dfrac{1}{k+1} = lim_{ntoinfty}ln{n}-H_n+1 = Largeboxed{-gamma + 1}$$
$endgroup$
add a comment |
$begingroup$
As explained by @user1952009, use the substitution $u = dfrac{1}{x}$, $du = dfrac{-dx}{x^2}$. So
$$int_{0}^{1}{ dfrac{1}{x}} = int_{1}^{infty}dfrac{{u}}{u^2}du = $$
(Now use ${u} = u - lfloor urfloor$)
$$lim_{ntoinfty} text{ }int_{1}^{n}dfrac{u - lfloor urfloor}{u^2}du = lim_{ntoinfty}ln{n}-sum_{k=1}^{n-1}int_{k}^{k+1}dfrac{k}{x^2}dx =$$
$$lim_{ntoinfty}ln{n}-sum_{k=1}^{n-1}dfrac{1}{k+1} = lim_{ntoinfty}ln{n}-H_n+1 = Largeboxed{-gamma + 1}$$
$endgroup$
add a comment |
$begingroup$
As explained by @user1952009, use the substitution $u = dfrac{1}{x}$, $du = dfrac{-dx}{x^2}$. So
$$int_{0}^{1}{ dfrac{1}{x}} = int_{1}^{infty}dfrac{{u}}{u^2}du = $$
(Now use ${u} = u - lfloor urfloor$)
$$lim_{ntoinfty} text{ }int_{1}^{n}dfrac{u - lfloor urfloor}{u^2}du = lim_{ntoinfty}ln{n}-sum_{k=1}^{n-1}int_{k}^{k+1}dfrac{k}{x^2}dx =$$
$$lim_{ntoinfty}ln{n}-sum_{k=1}^{n-1}dfrac{1}{k+1} = lim_{ntoinfty}ln{n}-H_n+1 = Largeboxed{-gamma + 1}$$
$endgroup$
As explained by @user1952009, use the substitution $u = dfrac{1}{x}$, $du = dfrac{-dx}{x^2}$. So
$$int_{0}^{1}{ dfrac{1}{x}} = int_{1}^{infty}dfrac{{u}}{u^2}du = $$
(Now use ${u} = u - lfloor urfloor$)
$$lim_{ntoinfty} text{ }int_{1}^{n}dfrac{u - lfloor urfloor}{u^2}du = lim_{ntoinfty}ln{n}-sum_{k=1}^{n-1}int_{k}^{k+1}dfrac{k}{x^2}dx =$$
$$lim_{ntoinfty}ln{n}-sum_{k=1}^{n-1}dfrac{1}{k+1} = lim_{ntoinfty}ln{n}-H_n+1 = Largeboxed{-gamma + 1}$$
edited Dec 14 '18 at 9:13
Von Neumann
16.3k72543
16.3k72543
answered Jun 19 '16 at 16:24
Jasper BraunJasper Braun
385
385
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.
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%2f1831511%2fintegral-of-fractional-part-int-01-frac1x-dx%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
3
$begingroup$
I notice there is no tag for Euler-Mascheroni constant. Perhaps someone would add it?
$endgroup$
– Jasper Braun
Jun 19 '16 at 2:30
3
$begingroup$
$$int_0^1( frac{1}{x}- lfloor frac{1}{x}rfloor )dx = int_1^infty (x- lfloor x rfloor) frac{dx}{x^2} = lim_{n to infty} int_1^n ( x- lfloor x rfloor) frac{dx}{x^2} =lim_{n to infty} ln n - sum_{k=1}^{n-1} int_k^{k+1} frac{k}{x^2} dx = ln n - sum_{k=1}^{n-1} k (frac{1}{k}-frac{1}{k+1}) =lim_{n to infty} ln n - sum_{k=1}^{n-1} frac{1}{k+1} = lim_{n to infty} ln n - H_{n}+1 =1-gamma$$
$endgroup$
– reuns
Jun 19 '16 at 2:39
$begingroup$
@user1952009 you might want to write that as an answer because (1) it looks correct, and (2) it doesn't fit/format well inside of the comment
$endgroup$
– Chill2Macht
Jun 19 '16 at 2:42
$begingroup$
@user1952009 If you insist, although personally I think you are being modest Also it isn't necessarily one line, if you explained each of the 6/7 steps
$endgroup$
– Chill2Macht
Jun 19 '16 at 2:48
$begingroup$
This is also how you see that $$zeta(s) = sum_{n=1}^infty n^{-s} = s int_1^infty lfloor x rfloor x^{-s-1} dx= frac{s}{s-1} - int_1^infty (x-lfloor x rfloor) x^{-s-1} dx = frac{1}{s-1} + gamma + o(1)$$ as $s to 1^+$ ($ sum_{n=1}^infty n^{-s} = s int_1^infty lfloor x rfloor x^{-s-1} dx$ being some sort of integration by parts, see en.wikipedia.org/wiki/Abel%27s_summation_formula )
$endgroup$
– reuns
Jun 19 '16 at 2:49