Splitting a double summation
$begingroup$
I'm trying to figure out double summations.
I was wondering, when trying to simplify them. Can I just follow the same rules as with a standard summation?
I know that I'm allowed to split a summation, like this:
$$sum_{i=1}^{n}(x_{i}+y_{j})=sum_{i=1}^{n}x_{i}+sum_{i=1}^{n}x_{j}$$
But am I allowed to the same with double summations like so?
$$sum_{i=1}^{n}sum_{j=1}^{n}(i-j)=sum_{i=1}^{n}sum_{j=1}^{n}(i)-sum_{i=1}^{n}sum_{j=1}^{n}(j)$$
This would allow me to remove the double summation and turn it into a single one, I believe.
I couldn't find any clear answers anywhere else, so I'm hoping you guys would be able to help me.
Thanks in advance!
statistics summation
$endgroup$
add a comment |
$begingroup$
I'm trying to figure out double summations.
I was wondering, when trying to simplify them. Can I just follow the same rules as with a standard summation?
I know that I'm allowed to split a summation, like this:
$$sum_{i=1}^{n}(x_{i}+y_{j})=sum_{i=1}^{n}x_{i}+sum_{i=1}^{n}x_{j}$$
But am I allowed to the same with double summations like so?
$$sum_{i=1}^{n}sum_{j=1}^{n}(i-j)=sum_{i=1}^{n}sum_{j=1}^{n}(i)-sum_{i=1}^{n}sum_{j=1}^{n}(j)$$
This would allow me to remove the double summation and turn it into a single one, I believe.
I couldn't find any clear answers anywhere else, so I'm hoping you guys would be able to help me.
Thanks in advance!
statistics summation
$endgroup$
1
$begingroup$
Yes. Just split the inner sum first and then the outer sum. But your first formula has typos in it; there cannot be any $x_j$ without a $j$.
$endgroup$
– darij grinberg
Dec 2 '18 at 21:48
$begingroup$
Thanks! Yes I just saw it too, I meant to write $y_{j}$
$endgroup$
– Viperdream
Dec 2 '18 at 21:53
add a comment |
$begingroup$
I'm trying to figure out double summations.
I was wondering, when trying to simplify them. Can I just follow the same rules as with a standard summation?
I know that I'm allowed to split a summation, like this:
$$sum_{i=1}^{n}(x_{i}+y_{j})=sum_{i=1}^{n}x_{i}+sum_{i=1}^{n}x_{j}$$
But am I allowed to the same with double summations like so?
$$sum_{i=1}^{n}sum_{j=1}^{n}(i-j)=sum_{i=1}^{n}sum_{j=1}^{n}(i)-sum_{i=1}^{n}sum_{j=1}^{n}(j)$$
This would allow me to remove the double summation and turn it into a single one, I believe.
I couldn't find any clear answers anywhere else, so I'm hoping you guys would be able to help me.
Thanks in advance!
statistics summation
$endgroup$
I'm trying to figure out double summations.
I was wondering, when trying to simplify them. Can I just follow the same rules as with a standard summation?
I know that I'm allowed to split a summation, like this:
$$sum_{i=1}^{n}(x_{i}+y_{j})=sum_{i=1}^{n}x_{i}+sum_{i=1}^{n}x_{j}$$
But am I allowed to the same with double summations like so?
$$sum_{i=1}^{n}sum_{j=1}^{n}(i-j)=sum_{i=1}^{n}sum_{j=1}^{n}(i)-sum_{i=1}^{n}sum_{j=1}^{n}(j)$$
This would allow me to remove the double summation and turn it into a single one, I believe.
I couldn't find any clear answers anywhere else, so I'm hoping you guys would be able to help me.
Thanks in advance!
statistics summation
statistics summation
asked Dec 2 '18 at 21:43
ViperdreamViperdream
31
31
1
$begingroup$
Yes. Just split the inner sum first and then the outer sum. But your first formula has typos in it; there cannot be any $x_j$ without a $j$.
$endgroup$
– darij grinberg
Dec 2 '18 at 21:48
$begingroup$
Thanks! Yes I just saw it too, I meant to write $y_{j}$
$endgroup$
– Viperdream
Dec 2 '18 at 21:53
add a comment |
1
$begingroup$
Yes. Just split the inner sum first and then the outer sum. But your first formula has typos in it; there cannot be any $x_j$ without a $j$.
$endgroup$
– darij grinberg
Dec 2 '18 at 21:48
$begingroup$
Thanks! Yes I just saw it too, I meant to write $y_{j}$
$endgroup$
– Viperdream
Dec 2 '18 at 21:53
1
1
$begingroup$
Yes. Just split the inner sum first and then the outer sum. But your first formula has typos in it; there cannot be any $x_j$ without a $j$.
$endgroup$
– darij grinberg
Dec 2 '18 at 21:48
$begingroup$
Yes. Just split the inner sum first and then the outer sum. But your first formula has typos in it; there cannot be any $x_j$ without a $j$.
$endgroup$
– darij grinberg
Dec 2 '18 at 21:48
$begingroup$
Thanks! Yes I just saw it too, I meant to write $y_{j}$
$endgroup$
– Viperdream
Dec 2 '18 at 21:53
$begingroup$
Thanks! Yes I just saw it too, I meant to write $y_{j}$
$endgroup$
– Viperdream
Dec 2 '18 at 21:53
add a comment |
1 Answer
1
active
oldest
votes
$begingroup$
First, let's prove that for any sequences $(a_{k})$ and $(b_{k})$ and a positive integer $n$,
$$
sum_{k=1}^{n}left[a_{k}+b_{k}right]=sum_{k=1}^{n}a_{k}+sum_{k=1}^{n}b_{k}.
$$
Under the convention $sum_{k=1}^{0}f_{k}=0$, the statement above is trivially true for $n=0$.
Now, suppose the statement holds for some particular $n=n_{0}-1$ with $n_{0}geq1$.
Then,
$$
sum_{k=1}^{n_{0}}left[a_{k}+b_{k}right]=a_{n_{0}}+b_{n_{0}}+sum_{k=1}^{n_{0}-1}left[a_{k}+b_{k}right]=a_{n_{0}}+b_{n_{0}}+sum_{k=1}^{n_{0}-1}a_{k}+sum_{k=1}^{n_{0}-1}b_{k}=sum_{k=1}^{n_{0}}a_{k}+sum_{k=1}^{n_{0}}b_{k}.
$$
The desired result follows by induction.
Now, you should be able to use the above result to prove that for any sequences $(a_{kell})$ and $(b_{kell})$ and positive integers $n$ and $m$,
$$
sum_{k=1}^{n}sum_{ell=1}^{m}left[a_{kell}+b_{kell}right]=sum_{k=1}^{n}sum_{ell=1}^{m}a_{kell}+sum_{k=1}^{n}sum_{ell=1}^{m}b_{kell}.
$$
$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%2f3023248%2fsplitting-a-double-summation%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$
First, let's prove that for any sequences $(a_{k})$ and $(b_{k})$ and a positive integer $n$,
$$
sum_{k=1}^{n}left[a_{k}+b_{k}right]=sum_{k=1}^{n}a_{k}+sum_{k=1}^{n}b_{k}.
$$
Under the convention $sum_{k=1}^{0}f_{k}=0$, the statement above is trivially true for $n=0$.
Now, suppose the statement holds for some particular $n=n_{0}-1$ with $n_{0}geq1$.
Then,
$$
sum_{k=1}^{n_{0}}left[a_{k}+b_{k}right]=a_{n_{0}}+b_{n_{0}}+sum_{k=1}^{n_{0}-1}left[a_{k}+b_{k}right]=a_{n_{0}}+b_{n_{0}}+sum_{k=1}^{n_{0}-1}a_{k}+sum_{k=1}^{n_{0}-1}b_{k}=sum_{k=1}^{n_{0}}a_{k}+sum_{k=1}^{n_{0}}b_{k}.
$$
The desired result follows by induction.
Now, you should be able to use the above result to prove that for any sequences $(a_{kell})$ and $(b_{kell})$ and positive integers $n$ and $m$,
$$
sum_{k=1}^{n}sum_{ell=1}^{m}left[a_{kell}+b_{kell}right]=sum_{k=1}^{n}sum_{ell=1}^{m}a_{kell}+sum_{k=1}^{n}sum_{ell=1}^{m}b_{kell}.
$$
$endgroup$
add a comment |
$begingroup$
First, let's prove that for any sequences $(a_{k})$ and $(b_{k})$ and a positive integer $n$,
$$
sum_{k=1}^{n}left[a_{k}+b_{k}right]=sum_{k=1}^{n}a_{k}+sum_{k=1}^{n}b_{k}.
$$
Under the convention $sum_{k=1}^{0}f_{k}=0$, the statement above is trivially true for $n=0$.
Now, suppose the statement holds for some particular $n=n_{0}-1$ with $n_{0}geq1$.
Then,
$$
sum_{k=1}^{n_{0}}left[a_{k}+b_{k}right]=a_{n_{0}}+b_{n_{0}}+sum_{k=1}^{n_{0}-1}left[a_{k}+b_{k}right]=a_{n_{0}}+b_{n_{0}}+sum_{k=1}^{n_{0}-1}a_{k}+sum_{k=1}^{n_{0}-1}b_{k}=sum_{k=1}^{n_{0}}a_{k}+sum_{k=1}^{n_{0}}b_{k}.
$$
The desired result follows by induction.
Now, you should be able to use the above result to prove that for any sequences $(a_{kell})$ and $(b_{kell})$ and positive integers $n$ and $m$,
$$
sum_{k=1}^{n}sum_{ell=1}^{m}left[a_{kell}+b_{kell}right]=sum_{k=1}^{n}sum_{ell=1}^{m}a_{kell}+sum_{k=1}^{n}sum_{ell=1}^{m}b_{kell}.
$$
$endgroup$
add a comment |
$begingroup$
First, let's prove that for any sequences $(a_{k})$ and $(b_{k})$ and a positive integer $n$,
$$
sum_{k=1}^{n}left[a_{k}+b_{k}right]=sum_{k=1}^{n}a_{k}+sum_{k=1}^{n}b_{k}.
$$
Under the convention $sum_{k=1}^{0}f_{k}=0$, the statement above is trivially true for $n=0$.
Now, suppose the statement holds for some particular $n=n_{0}-1$ with $n_{0}geq1$.
Then,
$$
sum_{k=1}^{n_{0}}left[a_{k}+b_{k}right]=a_{n_{0}}+b_{n_{0}}+sum_{k=1}^{n_{0}-1}left[a_{k}+b_{k}right]=a_{n_{0}}+b_{n_{0}}+sum_{k=1}^{n_{0}-1}a_{k}+sum_{k=1}^{n_{0}-1}b_{k}=sum_{k=1}^{n_{0}}a_{k}+sum_{k=1}^{n_{0}}b_{k}.
$$
The desired result follows by induction.
Now, you should be able to use the above result to prove that for any sequences $(a_{kell})$ and $(b_{kell})$ and positive integers $n$ and $m$,
$$
sum_{k=1}^{n}sum_{ell=1}^{m}left[a_{kell}+b_{kell}right]=sum_{k=1}^{n}sum_{ell=1}^{m}a_{kell}+sum_{k=1}^{n}sum_{ell=1}^{m}b_{kell}.
$$
$endgroup$
First, let's prove that for any sequences $(a_{k})$ and $(b_{k})$ and a positive integer $n$,
$$
sum_{k=1}^{n}left[a_{k}+b_{k}right]=sum_{k=1}^{n}a_{k}+sum_{k=1}^{n}b_{k}.
$$
Under the convention $sum_{k=1}^{0}f_{k}=0$, the statement above is trivially true for $n=0$.
Now, suppose the statement holds for some particular $n=n_{0}-1$ with $n_{0}geq1$.
Then,
$$
sum_{k=1}^{n_{0}}left[a_{k}+b_{k}right]=a_{n_{0}}+b_{n_{0}}+sum_{k=1}^{n_{0}-1}left[a_{k}+b_{k}right]=a_{n_{0}}+b_{n_{0}}+sum_{k=1}^{n_{0}-1}a_{k}+sum_{k=1}^{n_{0}-1}b_{k}=sum_{k=1}^{n_{0}}a_{k}+sum_{k=1}^{n_{0}}b_{k}.
$$
The desired result follows by induction.
Now, you should be able to use the above result to prove that for any sequences $(a_{kell})$ and $(b_{kell})$ and positive integers $n$ and $m$,
$$
sum_{k=1}^{n}sum_{ell=1}^{m}left[a_{kell}+b_{kell}right]=sum_{k=1}^{n}sum_{ell=1}^{m}a_{kell}+sum_{k=1}^{n}sum_{ell=1}^{m}b_{kell}.
$$
answered Dec 2 '18 at 22:44
parsiadparsiad
17k32353
17k32353
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%2f3023248%2fsplitting-a-double-summation%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
1
$begingroup$
Yes. Just split the inner sum first and then the outer sum. But your first formula has typos in it; there cannot be any $x_j$ without a $j$.
$endgroup$
– darij grinberg
Dec 2 '18 at 21:48
$begingroup$
Thanks! Yes I just saw it too, I meant to write $y_{j}$
$endgroup$
– Viperdream
Dec 2 '18 at 21:53