When Sigma-summation stops with a decimal value












2














$displaystyle sum_{n=1}^{log_2x}$...



When you have a sum like this, what is the result of $log2_x$ since it may return a decimal/fractional value? Is it truncated, ceiled or floored?



I know I could do:



$displaystyle sum_{n=1}^{lceillog_2xrceil}$ or
$displaystyle sum_{n=1}^{lfloorlog_2xrfloor}$



to make it a whole number(integer) without any fuzz, but I've seen similar notation before without truncation or ceiling. So I havent yet found out what what the value goes to (when this summation stops).










share|cite|improve this question


















  • 1




    Usually this kind of thing is written in asymptotic contexts where the precise rounding rule doesn't change the final outcome.
    – Ian
    Nov 20 '18 at 17:07


















2














$displaystyle sum_{n=1}^{log_2x}$...



When you have a sum like this, what is the result of $log2_x$ since it may return a decimal/fractional value? Is it truncated, ceiled or floored?



I know I could do:



$displaystyle sum_{n=1}^{lceillog_2xrceil}$ or
$displaystyle sum_{n=1}^{lfloorlog_2xrfloor}$



to make it a whole number(integer) without any fuzz, but I've seen similar notation before without truncation or ceiling. So I havent yet found out what what the value goes to (when this summation stops).










share|cite|improve this question


















  • 1




    Usually this kind of thing is written in asymptotic contexts where the precise rounding rule doesn't change the final outcome.
    – Ian
    Nov 20 '18 at 17:07
















2












2








2


1





$displaystyle sum_{n=1}^{log_2x}$...



When you have a sum like this, what is the result of $log2_x$ since it may return a decimal/fractional value? Is it truncated, ceiled or floored?



I know I could do:



$displaystyle sum_{n=1}^{lceillog_2xrceil}$ or
$displaystyle sum_{n=1}^{lfloorlog_2xrfloor}$



to make it a whole number(integer) without any fuzz, but I've seen similar notation before without truncation or ceiling. So I havent yet found out what what the value goes to (when this summation stops).










share|cite|improve this question













$displaystyle sum_{n=1}^{log_2x}$...



When you have a sum like this, what is the result of $log2_x$ since it may return a decimal/fractional value? Is it truncated, ceiled or floored?



I know I could do:



$displaystyle sum_{n=1}^{lceillog_2xrceil}$ or
$displaystyle sum_{n=1}^{lfloorlog_2xrfloor}$



to make it a whole number(integer) without any fuzz, but I've seen similar notation before without truncation or ceiling. So I havent yet found out what what the value goes to (when this summation stops).







summation






share|cite|improve this question













share|cite|improve this question











share|cite|improve this question




share|cite|improve this question










asked Nov 20 '18 at 17:03









Natural Number Guy

408517




408517








  • 1




    Usually this kind of thing is written in asymptotic contexts where the precise rounding rule doesn't change the final outcome.
    – Ian
    Nov 20 '18 at 17:07
















  • 1




    Usually this kind of thing is written in asymptotic contexts where the precise rounding rule doesn't change the final outcome.
    – Ian
    Nov 20 '18 at 17:07










1




1




Usually this kind of thing is written in asymptotic contexts where the precise rounding rule doesn't change the final outcome.
– Ian
Nov 20 '18 at 17:07






Usually this kind of thing is written in asymptotic contexts where the precise rounding rule doesn't change the final outcome.
– Ian
Nov 20 '18 at 17:07












1 Answer
1






active

oldest

votes


















2














The usual convention is that
$$ sum_{n=1}^{N} a_n $$
is the sum of all $a_n$ with indices between the lower and upper limits of summation. Hence
$$ sum_{n=1}^{N} a_n = sum_{1le n le N} a_n = sum_{n=1}^{lfloor N rfloor} a_n = a_1 + a_2 + dotsb + a_{lfloor N rfloor}. $$
That being said, if you are interested in what happens as $N$ goes to infinity (as is often the case), it doesn't really matter which convention you choose.





The following is probably overkill, but the above can actually be justified in a meaningful way via a branch of mathematics called measure theory: a series is a special kind of integral. Indeed, if you know any measure theory, a series is an integral of the form
$$ sum_{n=1}^{N} a_n = int_{[0,N]} a(x) ,mathrm{d}mu(x), $$
where $a : mathbb{R} to mathbb{R}$ (or some other codomain) such that $$ a(x) = begin{cases} a_n & text{if $x = n in mathbb{N}$, and} \ 0 & text{otherwise}, end{cases} $$
and $mu$ is counting measure on $mathbb{N}$. If $N$ is not an integer, then
begin{align}
sum_{n=1}^{N} a_n &= int_{[0,N]} a(x),mathrm{d}mu(x) && text{(by definition)} \
&= int_{[0,lfloor N rfloor]} a(x) , mathrm{d}mu(x) + int_{(lfloor Nrfloor, N]} a(x) ,mathrm{d}mu(x) && text{(additivity of integrals)} \
&= int_{[0,lfloor N rfloor]} a(x) , mathrm{d}mu(x) tag{1}\
&= sum_{n=1}^{lfloor N rfloor} a_n. && text{(definition)}
end{align}

The only mystery here is at (1). Here, we are using the fact that the measure of an interval which contains no integers must be zero. That is,
$$ mu((lfloor N rfloor, N]) = 0. $$
In a measure space, integration over a set of measure zero is always zero. Hence
$$ int_{(lfloor Nrfloor, N]} a(x) ,mathrm{d}mu(x) = 0. $$
In short, the identity above is justified, that is
$$ sum_{n=1}^{N} a_n = sum_{n=1}^{lfloor N rfloor} a_n. $$






share|cite|improve this answer























  • Ok. so if $displaystyle sum_{n=1}^{3.9}1$, would give the result = $1+1+1 = 3$ ?
    – Natural Number Guy
    Nov 20 '18 at 17:16












  • Yes, that is correct.
    – Xander Henderson
    Nov 20 '18 at 17:20











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%2f3006585%2fwhen-sigma-summation-stops-with-a-decimal-value%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









2














The usual convention is that
$$ sum_{n=1}^{N} a_n $$
is the sum of all $a_n$ with indices between the lower and upper limits of summation. Hence
$$ sum_{n=1}^{N} a_n = sum_{1le n le N} a_n = sum_{n=1}^{lfloor N rfloor} a_n = a_1 + a_2 + dotsb + a_{lfloor N rfloor}. $$
That being said, if you are interested in what happens as $N$ goes to infinity (as is often the case), it doesn't really matter which convention you choose.





The following is probably overkill, but the above can actually be justified in a meaningful way via a branch of mathematics called measure theory: a series is a special kind of integral. Indeed, if you know any measure theory, a series is an integral of the form
$$ sum_{n=1}^{N} a_n = int_{[0,N]} a(x) ,mathrm{d}mu(x), $$
where $a : mathbb{R} to mathbb{R}$ (or some other codomain) such that $$ a(x) = begin{cases} a_n & text{if $x = n in mathbb{N}$, and} \ 0 & text{otherwise}, end{cases} $$
and $mu$ is counting measure on $mathbb{N}$. If $N$ is not an integer, then
begin{align}
sum_{n=1}^{N} a_n &= int_{[0,N]} a(x),mathrm{d}mu(x) && text{(by definition)} \
&= int_{[0,lfloor N rfloor]} a(x) , mathrm{d}mu(x) + int_{(lfloor Nrfloor, N]} a(x) ,mathrm{d}mu(x) && text{(additivity of integrals)} \
&= int_{[0,lfloor N rfloor]} a(x) , mathrm{d}mu(x) tag{1}\
&= sum_{n=1}^{lfloor N rfloor} a_n. && text{(definition)}
end{align}

The only mystery here is at (1). Here, we are using the fact that the measure of an interval which contains no integers must be zero. That is,
$$ mu((lfloor N rfloor, N]) = 0. $$
In a measure space, integration over a set of measure zero is always zero. Hence
$$ int_{(lfloor Nrfloor, N]} a(x) ,mathrm{d}mu(x) = 0. $$
In short, the identity above is justified, that is
$$ sum_{n=1}^{N} a_n = sum_{n=1}^{lfloor N rfloor} a_n. $$






share|cite|improve this answer























  • Ok. so if $displaystyle sum_{n=1}^{3.9}1$, would give the result = $1+1+1 = 3$ ?
    – Natural Number Guy
    Nov 20 '18 at 17:16












  • Yes, that is correct.
    – Xander Henderson
    Nov 20 '18 at 17:20
















2














The usual convention is that
$$ sum_{n=1}^{N} a_n $$
is the sum of all $a_n$ with indices between the lower and upper limits of summation. Hence
$$ sum_{n=1}^{N} a_n = sum_{1le n le N} a_n = sum_{n=1}^{lfloor N rfloor} a_n = a_1 + a_2 + dotsb + a_{lfloor N rfloor}. $$
That being said, if you are interested in what happens as $N$ goes to infinity (as is often the case), it doesn't really matter which convention you choose.





The following is probably overkill, but the above can actually be justified in a meaningful way via a branch of mathematics called measure theory: a series is a special kind of integral. Indeed, if you know any measure theory, a series is an integral of the form
$$ sum_{n=1}^{N} a_n = int_{[0,N]} a(x) ,mathrm{d}mu(x), $$
where $a : mathbb{R} to mathbb{R}$ (or some other codomain) such that $$ a(x) = begin{cases} a_n & text{if $x = n in mathbb{N}$, and} \ 0 & text{otherwise}, end{cases} $$
and $mu$ is counting measure on $mathbb{N}$. If $N$ is not an integer, then
begin{align}
sum_{n=1}^{N} a_n &= int_{[0,N]} a(x),mathrm{d}mu(x) && text{(by definition)} \
&= int_{[0,lfloor N rfloor]} a(x) , mathrm{d}mu(x) + int_{(lfloor Nrfloor, N]} a(x) ,mathrm{d}mu(x) && text{(additivity of integrals)} \
&= int_{[0,lfloor N rfloor]} a(x) , mathrm{d}mu(x) tag{1}\
&= sum_{n=1}^{lfloor N rfloor} a_n. && text{(definition)}
end{align}

The only mystery here is at (1). Here, we are using the fact that the measure of an interval which contains no integers must be zero. That is,
$$ mu((lfloor N rfloor, N]) = 0. $$
In a measure space, integration over a set of measure zero is always zero. Hence
$$ int_{(lfloor Nrfloor, N]} a(x) ,mathrm{d}mu(x) = 0. $$
In short, the identity above is justified, that is
$$ sum_{n=1}^{N} a_n = sum_{n=1}^{lfloor N rfloor} a_n. $$






share|cite|improve this answer























  • Ok. so if $displaystyle sum_{n=1}^{3.9}1$, would give the result = $1+1+1 = 3$ ?
    – Natural Number Guy
    Nov 20 '18 at 17:16












  • Yes, that is correct.
    – Xander Henderson
    Nov 20 '18 at 17:20














2












2








2






The usual convention is that
$$ sum_{n=1}^{N} a_n $$
is the sum of all $a_n$ with indices between the lower and upper limits of summation. Hence
$$ sum_{n=1}^{N} a_n = sum_{1le n le N} a_n = sum_{n=1}^{lfloor N rfloor} a_n = a_1 + a_2 + dotsb + a_{lfloor N rfloor}. $$
That being said, if you are interested in what happens as $N$ goes to infinity (as is often the case), it doesn't really matter which convention you choose.





The following is probably overkill, but the above can actually be justified in a meaningful way via a branch of mathematics called measure theory: a series is a special kind of integral. Indeed, if you know any measure theory, a series is an integral of the form
$$ sum_{n=1}^{N} a_n = int_{[0,N]} a(x) ,mathrm{d}mu(x), $$
where $a : mathbb{R} to mathbb{R}$ (or some other codomain) such that $$ a(x) = begin{cases} a_n & text{if $x = n in mathbb{N}$, and} \ 0 & text{otherwise}, end{cases} $$
and $mu$ is counting measure on $mathbb{N}$. If $N$ is not an integer, then
begin{align}
sum_{n=1}^{N} a_n &= int_{[0,N]} a(x),mathrm{d}mu(x) && text{(by definition)} \
&= int_{[0,lfloor N rfloor]} a(x) , mathrm{d}mu(x) + int_{(lfloor Nrfloor, N]} a(x) ,mathrm{d}mu(x) && text{(additivity of integrals)} \
&= int_{[0,lfloor N rfloor]} a(x) , mathrm{d}mu(x) tag{1}\
&= sum_{n=1}^{lfloor N rfloor} a_n. && text{(definition)}
end{align}

The only mystery here is at (1). Here, we are using the fact that the measure of an interval which contains no integers must be zero. That is,
$$ mu((lfloor N rfloor, N]) = 0. $$
In a measure space, integration over a set of measure zero is always zero. Hence
$$ int_{(lfloor Nrfloor, N]} a(x) ,mathrm{d}mu(x) = 0. $$
In short, the identity above is justified, that is
$$ sum_{n=1}^{N} a_n = sum_{n=1}^{lfloor N rfloor} a_n. $$






share|cite|improve this answer














The usual convention is that
$$ sum_{n=1}^{N} a_n $$
is the sum of all $a_n$ with indices between the lower and upper limits of summation. Hence
$$ sum_{n=1}^{N} a_n = sum_{1le n le N} a_n = sum_{n=1}^{lfloor N rfloor} a_n = a_1 + a_2 + dotsb + a_{lfloor N rfloor}. $$
That being said, if you are interested in what happens as $N$ goes to infinity (as is often the case), it doesn't really matter which convention you choose.





The following is probably overkill, but the above can actually be justified in a meaningful way via a branch of mathematics called measure theory: a series is a special kind of integral. Indeed, if you know any measure theory, a series is an integral of the form
$$ sum_{n=1}^{N} a_n = int_{[0,N]} a(x) ,mathrm{d}mu(x), $$
where $a : mathbb{R} to mathbb{R}$ (or some other codomain) such that $$ a(x) = begin{cases} a_n & text{if $x = n in mathbb{N}$, and} \ 0 & text{otherwise}, end{cases} $$
and $mu$ is counting measure on $mathbb{N}$. If $N$ is not an integer, then
begin{align}
sum_{n=1}^{N} a_n &= int_{[0,N]} a(x),mathrm{d}mu(x) && text{(by definition)} \
&= int_{[0,lfloor N rfloor]} a(x) , mathrm{d}mu(x) + int_{(lfloor Nrfloor, N]} a(x) ,mathrm{d}mu(x) && text{(additivity of integrals)} \
&= int_{[0,lfloor N rfloor]} a(x) , mathrm{d}mu(x) tag{1}\
&= sum_{n=1}^{lfloor N rfloor} a_n. && text{(definition)}
end{align}

The only mystery here is at (1). Here, we are using the fact that the measure of an interval which contains no integers must be zero. That is,
$$ mu((lfloor N rfloor, N]) = 0. $$
In a measure space, integration over a set of measure zero is always zero. Hence
$$ int_{(lfloor Nrfloor, N]} a(x) ,mathrm{d}mu(x) = 0. $$
In short, the identity above is justified, that is
$$ sum_{n=1}^{N} a_n = sum_{n=1}^{lfloor N rfloor} a_n. $$







share|cite|improve this answer














share|cite|improve this answer



share|cite|improve this answer








edited Nov 20 '18 at 17:19

























answered Nov 20 '18 at 17:07









Xander Henderson

14.1k103554




14.1k103554












  • Ok. so if $displaystyle sum_{n=1}^{3.9}1$, would give the result = $1+1+1 = 3$ ?
    – Natural Number Guy
    Nov 20 '18 at 17:16












  • Yes, that is correct.
    – Xander Henderson
    Nov 20 '18 at 17:20


















  • Ok. so if $displaystyle sum_{n=1}^{3.9}1$, would give the result = $1+1+1 = 3$ ?
    – Natural Number Guy
    Nov 20 '18 at 17:16












  • Yes, that is correct.
    – Xander Henderson
    Nov 20 '18 at 17:20
















Ok. so if $displaystyle sum_{n=1}^{3.9}1$, would give the result = $1+1+1 = 3$ ?
– Natural Number Guy
Nov 20 '18 at 17:16






Ok. so if $displaystyle sum_{n=1}^{3.9}1$, would give the result = $1+1+1 = 3$ ?
– Natural Number Guy
Nov 20 '18 at 17:16














Yes, that is correct.
– Xander Henderson
Nov 20 '18 at 17:20




Yes, that is correct.
– Xander Henderson
Nov 20 '18 at 17:20


















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%2f3006585%2fwhen-sigma-summation-stops-with-a-decimal-value%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