What is $int lfloor x^n rfloor dx$ where $n$ is any real number?












-4














I've been trying to figure out a general rule for integrating functions of the form $lfloor x^n rfloor$. I don't have any ideas other than trying some kind of clever substitution but I have no idea what that would look like.



I know because of some theorems that $int lfloor x^n rfloor dx = x * lfloor x^n rfloor + f(lfloor x^n rfloor) + c$ but I don't know what $f$ actually looks like or whether or not $f$ has a closed form. I just know that's the form the result will look like.










share|cite|improve this question
























  • Just to clarify: $x$ is any real? or $n$ is any real? Typically, $x$ is used for reals, while $n$ is used for integers.
    – JavaMan
    Nov 29 '18 at 3:30










  • @JavaMan $x$ is a variable.
    – The Great Duck
    Nov 29 '18 at 3:31










  • That doesn't answer my question. So $n$ is a fixed real number? Or is $n$ a fixed integer? And $x$ is a variable, but presumably it is a real number?
    – JavaMan
    Nov 29 '18 at 3:33










  • @JavaMan we're integrating a function. I would believe the correct specification is that $x$ is neither? And if I said $n$ is a real number then $n$ is a real number. My choice of letter shouldn't matter to you.
    – The Great Duck
    Nov 29 '18 at 3:39






  • 1




    So, you want $int_{}lfloor x^nrfloor dx$ for given integer/real $n$ ? Or $int_{}lfloor x^nrfloor dn$ for given integer/real $x$?
    – Jimmy R.
    Nov 29 '18 at 3:43
















-4














I've been trying to figure out a general rule for integrating functions of the form $lfloor x^n rfloor$. I don't have any ideas other than trying some kind of clever substitution but I have no idea what that would look like.



I know because of some theorems that $int lfloor x^n rfloor dx = x * lfloor x^n rfloor + f(lfloor x^n rfloor) + c$ but I don't know what $f$ actually looks like or whether or not $f$ has a closed form. I just know that's the form the result will look like.










share|cite|improve this question
























  • Just to clarify: $x$ is any real? or $n$ is any real? Typically, $x$ is used for reals, while $n$ is used for integers.
    – JavaMan
    Nov 29 '18 at 3:30










  • @JavaMan $x$ is a variable.
    – The Great Duck
    Nov 29 '18 at 3:31










  • That doesn't answer my question. So $n$ is a fixed real number? Or is $n$ a fixed integer? And $x$ is a variable, but presumably it is a real number?
    – JavaMan
    Nov 29 '18 at 3:33










  • @JavaMan we're integrating a function. I would believe the correct specification is that $x$ is neither? And if I said $n$ is a real number then $n$ is a real number. My choice of letter shouldn't matter to you.
    – The Great Duck
    Nov 29 '18 at 3:39






  • 1




    So, you want $int_{}lfloor x^nrfloor dx$ for given integer/real $n$ ? Or $int_{}lfloor x^nrfloor dn$ for given integer/real $x$?
    – Jimmy R.
    Nov 29 '18 at 3:43














-4












-4








-4







I've been trying to figure out a general rule for integrating functions of the form $lfloor x^n rfloor$. I don't have any ideas other than trying some kind of clever substitution but I have no idea what that would look like.



I know because of some theorems that $int lfloor x^n rfloor dx = x * lfloor x^n rfloor + f(lfloor x^n rfloor) + c$ but I don't know what $f$ actually looks like or whether or not $f$ has a closed form. I just know that's the form the result will look like.










share|cite|improve this question















I've been trying to figure out a general rule for integrating functions of the form $lfloor x^n rfloor$. I don't have any ideas other than trying some kind of clever substitution but I have no idea what that would look like.



I know because of some theorems that $int lfloor x^n rfloor dx = x * lfloor x^n rfloor + f(lfloor x^n rfloor) + c$ but I don't know what $f$ actually looks like or whether or not $f$ has a closed form. I just know that's the form the result will look like.







integration floor-function






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Nov 30 '18 at 3:46







The Great Duck

















asked Nov 29 '18 at 3:29









The Great DuckThe Great Duck

18032047




18032047












  • Just to clarify: $x$ is any real? or $n$ is any real? Typically, $x$ is used for reals, while $n$ is used for integers.
    – JavaMan
    Nov 29 '18 at 3:30










  • @JavaMan $x$ is a variable.
    – The Great Duck
    Nov 29 '18 at 3:31










  • That doesn't answer my question. So $n$ is a fixed real number? Or is $n$ a fixed integer? And $x$ is a variable, but presumably it is a real number?
    – JavaMan
    Nov 29 '18 at 3:33










  • @JavaMan we're integrating a function. I would believe the correct specification is that $x$ is neither? And if I said $n$ is a real number then $n$ is a real number. My choice of letter shouldn't matter to you.
    – The Great Duck
    Nov 29 '18 at 3:39






  • 1




    So, you want $int_{}lfloor x^nrfloor dx$ for given integer/real $n$ ? Or $int_{}lfloor x^nrfloor dn$ for given integer/real $x$?
    – Jimmy R.
    Nov 29 '18 at 3:43


















  • Just to clarify: $x$ is any real? or $n$ is any real? Typically, $x$ is used for reals, while $n$ is used for integers.
    – JavaMan
    Nov 29 '18 at 3:30










  • @JavaMan $x$ is a variable.
    – The Great Duck
    Nov 29 '18 at 3:31










  • That doesn't answer my question. So $n$ is a fixed real number? Or is $n$ a fixed integer? And $x$ is a variable, but presumably it is a real number?
    – JavaMan
    Nov 29 '18 at 3:33










  • @JavaMan we're integrating a function. I would believe the correct specification is that $x$ is neither? And if I said $n$ is a real number then $n$ is a real number. My choice of letter shouldn't matter to you.
    – The Great Duck
    Nov 29 '18 at 3:39






  • 1




    So, you want $int_{}lfloor x^nrfloor dx$ for given integer/real $n$ ? Or $int_{}lfloor x^nrfloor dn$ for given integer/real $x$?
    – Jimmy R.
    Nov 29 '18 at 3:43
















Just to clarify: $x$ is any real? or $n$ is any real? Typically, $x$ is used for reals, while $n$ is used for integers.
– JavaMan
Nov 29 '18 at 3:30




Just to clarify: $x$ is any real? or $n$ is any real? Typically, $x$ is used for reals, while $n$ is used for integers.
– JavaMan
Nov 29 '18 at 3:30












@JavaMan $x$ is a variable.
– The Great Duck
Nov 29 '18 at 3:31




@JavaMan $x$ is a variable.
– The Great Duck
Nov 29 '18 at 3:31












That doesn't answer my question. So $n$ is a fixed real number? Or is $n$ a fixed integer? And $x$ is a variable, but presumably it is a real number?
– JavaMan
Nov 29 '18 at 3:33




That doesn't answer my question. So $n$ is a fixed real number? Or is $n$ a fixed integer? And $x$ is a variable, but presumably it is a real number?
– JavaMan
Nov 29 '18 at 3:33












@JavaMan we're integrating a function. I would believe the correct specification is that $x$ is neither? And if I said $n$ is a real number then $n$ is a real number. My choice of letter shouldn't matter to you.
– The Great Duck
Nov 29 '18 at 3:39




@JavaMan we're integrating a function. I would believe the correct specification is that $x$ is neither? And if I said $n$ is a real number then $n$ is a real number. My choice of letter shouldn't matter to you.
– The Great Duck
Nov 29 '18 at 3:39




1




1




So, you want $int_{}lfloor x^nrfloor dx$ for given integer/real $n$ ? Or $int_{}lfloor x^nrfloor dn$ for given integer/real $x$?
– Jimmy R.
Nov 29 '18 at 3:43




So, you want $int_{}lfloor x^nrfloor dx$ for given integer/real $n$ ? Or $int_{}lfloor x^nrfloor dn$ for given integer/real $x$?
– Jimmy R.
Nov 29 '18 at 3:43










1 Answer
1






active

oldest

votes


















0














You have to find the regions where
$k le x^n lt k+1$
for each integer $k$.
These are
$k^{1/n} le x lt (k+1)^{1/n}$.



Then replace the integral
with a sum over these regions.



In particular,
I don't see how you
can get an indefinite integral -
you have to integrate over an actual region.



(added later)



If
$I(a, b)
=int_a^b lfloor x^n rfloor dx
$
,
then,
without worrying about
possible leftover intervals
at the beginning at end,
$I(a, b)
=sum_{k =lfloor a^{1/n} rfloor}^{lfloor b^{1/n} rfloor}int_{k}^{k+1} k^n dx
=sum_{k =lfloor a^{1/n} rfloor}^{lfloor b^{1/n} rfloor} k^n
$
.



This is a first attempt.
There are problems
at the ends of the intervals,
but this is enough for me now.






share|cite|improve this answer























  • Can you elaborate on that last sentence?
    – The Great Duck
    Nov 29 '18 at 5:32










  • So what is the final function? Does it have no closed form?
    – The Great Duck
    Nov 30 '18 at 3:22











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%2f3018122%2fwhat-is-int-lfloor-xn-rfloor-dx-where-n-is-any-real-number%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









0














You have to find the regions where
$k le x^n lt k+1$
for each integer $k$.
These are
$k^{1/n} le x lt (k+1)^{1/n}$.



Then replace the integral
with a sum over these regions.



In particular,
I don't see how you
can get an indefinite integral -
you have to integrate over an actual region.



(added later)



If
$I(a, b)
=int_a^b lfloor x^n rfloor dx
$
,
then,
without worrying about
possible leftover intervals
at the beginning at end,
$I(a, b)
=sum_{k =lfloor a^{1/n} rfloor}^{lfloor b^{1/n} rfloor}int_{k}^{k+1} k^n dx
=sum_{k =lfloor a^{1/n} rfloor}^{lfloor b^{1/n} rfloor} k^n
$
.



This is a first attempt.
There are problems
at the ends of the intervals,
but this is enough for me now.






share|cite|improve this answer























  • Can you elaborate on that last sentence?
    – The Great Duck
    Nov 29 '18 at 5:32










  • So what is the final function? Does it have no closed form?
    – The Great Duck
    Nov 30 '18 at 3:22
















0














You have to find the regions where
$k le x^n lt k+1$
for each integer $k$.
These are
$k^{1/n} le x lt (k+1)^{1/n}$.



Then replace the integral
with a sum over these regions.



In particular,
I don't see how you
can get an indefinite integral -
you have to integrate over an actual region.



(added later)



If
$I(a, b)
=int_a^b lfloor x^n rfloor dx
$
,
then,
without worrying about
possible leftover intervals
at the beginning at end,
$I(a, b)
=sum_{k =lfloor a^{1/n} rfloor}^{lfloor b^{1/n} rfloor}int_{k}^{k+1} k^n dx
=sum_{k =lfloor a^{1/n} rfloor}^{lfloor b^{1/n} rfloor} k^n
$
.



This is a first attempt.
There are problems
at the ends of the intervals,
but this is enough for me now.






share|cite|improve this answer























  • Can you elaborate on that last sentence?
    – The Great Duck
    Nov 29 '18 at 5:32










  • So what is the final function? Does it have no closed form?
    – The Great Duck
    Nov 30 '18 at 3:22














0












0








0






You have to find the regions where
$k le x^n lt k+1$
for each integer $k$.
These are
$k^{1/n} le x lt (k+1)^{1/n}$.



Then replace the integral
with a sum over these regions.



In particular,
I don't see how you
can get an indefinite integral -
you have to integrate over an actual region.



(added later)



If
$I(a, b)
=int_a^b lfloor x^n rfloor dx
$
,
then,
without worrying about
possible leftover intervals
at the beginning at end,
$I(a, b)
=sum_{k =lfloor a^{1/n} rfloor}^{lfloor b^{1/n} rfloor}int_{k}^{k+1} k^n dx
=sum_{k =lfloor a^{1/n} rfloor}^{lfloor b^{1/n} rfloor} k^n
$
.



This is a first attempt.
There are problems
at the ends of the intervals,
but this is enough for me now.






share|cite|improve this answer














You have to find the regions where
$k le x^n lt k+1$
for each integer $k$.
These are
$k^{1/n} le x lt (k+1)^{1/n}$.



Then replace the integral
with a sum over these regions.



In particular,
I don't see how you
can get an indefinite integral -
you have to integrate over an actual region.



(added later)



If
$I(a, b)
=int_a^b lfloor x^n rfloor dx
$
,
then,
without worrying about
possible leftover intervals
at the beginning at end,
$I(a, b)
=sum_{k =lfloor a^{1/n} rfloor}^{lfloor b^{1/n} rfloor}int_{k}^{k+1} k^n dx
=sum_{k =lfloor a^{1/n} rfloor}^{lfloor b^{1/n} rfloor} k^n
$
.



This is a first attempt.
There are problems
at the ends of the intervals,
but this is enough for me now.







share|cite|improve this answer














share|cite|improve this answer



share|cite|improve this answer








edited Nov 29 '18 at 5:56

























answered Nov 29 '18 at 5:28









marty cohenmarty cohen

72.8k549128




72.8k549128












  • Can you elaborate on that last sentence?
    – The Great Duck
    Nov 29 '18 at 5:32










  • So what is the final function? Does it have no closed form?
    – The Great Duck
    Nov 30 '18 at 3:22


















  • Can you elaborate on that last sentence?
    – The Great Duck
    Nov 29 '18 at 5:32










  • So what is the final function? Does it have no closed form?
    – The Great Duck
    Nov 30 '18 at 3:22
















Can you elaborate on that last sentence?
– The Great Duck
Nov 29 '18 at 5:32




Can you elaborate on that last sentence?
– The Great Duck
Nov 29 '18 at 5:32












So what is the final function? Does it have no closed form?
– The Great Duck
Nov 30 '18 at 3:22




So what is the final function? Does it have no closed form?
– The Great Duck
Nov 30 '18 at 3:22


















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.





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.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3018122%2fwhat-is-int-lfloor-xn-rfloor-dx-where-n-is-any-real-number%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

Quarter-circle Tiles

build a pushdown automaton that recognizes the reverse language of a given pushdown automaton?

Mont Emei