How do I describe the progression $c+ba^{-(n-1)}$? I'm seeking an efficient sum to arbitrary $n$.
$begingroup$
How do I characterise a progression of the form:
$$
c+ba^{-(n-1)}
$$
where integer $n > 0$.
My motivation is that I'm trying to find an efficient sum for this progression, to an arbitrary $n$. (The existing function sums by iterative addition, which is very inefficient for even moderately large $n$.)
From asking earlier I am informed this is not a geometric progression (and hence I can't use the sum formula for a geometric progression).
So, what kind of progression is this, and how do I efficiently sum it, ideally with arithmetic no more complex than exponentiation?
sequences-and-series algorithms
$endgroup$
add a comment |
$begingroup$
How do I characterise a progression of the form:
$$
c+ba^{-(n-1)}
$$
where integer $n > 0$.
My motivation is that I'm trying to find an efficient sum for this progression, to an arbitrary $n$. (The existing function sums by iterative addition, which is very inefficient for even moderately large $n$.)
From asking earlier I am informed this is not a geometric progression (and hence I can't use the sum formula for a geometric progression).
So, what kind of progression is this, and how do I efficiently sum it, ideally with arithmetic no more complex than exponentiation?
sequences-and-series algorithms
$endgroup$
1
$begingroup$
@dmtri, thanks you were faster than my edit :-) The question now uses $n$ in the expression.
$endgroup$
– bignose
Jan 5 at 6:20
1
$begingroup$
Note that $$displaystylesum_1^nBig[c+frac b{a^{k-1}}Big]=sum_1^n c+sum_1^nfrac b{a^{k-1}}=nc+bBig[frac{1-a^{-n}}{1-a^{-1}}Big]$$ where the second term is the sum of a geometric progression.
$endgroup$
– Shubham Johri
Jan 5 at 6:25
$begingroup$
@ShubhamJohri, would you like to put that into an answer? If not, I can do it.
$endgroup$
– bignose
Jan 6 at 1:22
$begingroup$
Sure, there you go
$endgroup$
– Shubham Johri
Jan 6 at 6:23
add a comment |
$begingroup$
How do I characterise a progression of the form:
$$
c+ba^{-(n-1)}
$$
where integer $n > 0$.
My motivation is that I'm trying to find an efficient sum for this progression, to an arbitrary $n$. (The existing function sums by iterative addition, which is very inefficient for even moderately large $n$.)
From asking earlier I am informed this is not a geometric progression (and hence I can't use the sum formula for a geometric progression).
So, what kind of progression is this, and how do I efficiently sum it, ideally with arithmetic no more complex than exponentiation?
sequences-and-series algorithms
$endgroup$
How do I characterise a progression of the form:
$$
c+ba^{-(n-1)}
$$
where integer $n > 0$.
My motivation is that I'm trying to find an efficient sum for this progression, to an arbitrary $n$. (The existing function sums by iterative addition, which is very inefficient for even moderately large $n$.)
From asking earlier I am informed this is not a geometric progression (and hence I can't use the sum formula for a geometric progression).
So, what kind of progression is this, and how do I efficiently sum it, ideally with arithmetic no more complex than exponentiation?
sequences-and-series algorithms
sequences-and-series algorithms
edited Jan 6 at 6:26
Blue
47.7k870151
47.7k870151
asked Jan 5 at 6:15
bignosebignose
1255
1255
1
$begingroup$
@dmtri, thanks you were faster than my edit :-) The question now uses $n$ in the expression.
$endgroup$
– bignose
Jan 5 at 6:20
1
$begingroup$
Note that $$displaystylesum_1^nBig[c+frac b{a^{k-1}}Big]=sum_1^n c+sum_1^nfrac b{a^{k-1}}=nc+bBig[frac{1-a^{-n}}{1-a^{-1}}Big]$$ where the second term is the sum of a geometric progression.
$endgroup$
– Shubham Johri
Jan 5 at 6:25
$begingroup$
@ShubhamJohri, would you like to put that into an answer? If not, I can do it.
$endgroup$
– bignose
Jan 6 at 1:22
$begingroup$
Sure, there you go
$endgroup$
– Shubham Johri
Jan 6 at 6:23
add a comment |
1
$begingroup$
@dmtri, thanks you were faster than my edit :-) The question now uses $n$ in the expression.
$endgroup$
– bignose
Jan 5 at 6:20
1
$begingroup$
Note that $$displaystylesum_1^nBig[c+frac b{a^{k-1}}Big]=sum_1^n c+sum_1^nfrac b{a^{k-1}}=nc+bBig[frac{1-a^{-n}}{1-a^{-1}}Big]$$ where the second term is the sum of a geometric progression.
$endgroup$
– Shubham Johri
Jan 5 at 6:25
$begingroup$
@ShubhamJohri, would you like to put that into an answer? If not, I can do it.
$endgroup$
– bignose
Jan 6 at 1:22
$begingroup$
Sure, there you go
$endgroup$
– Shubham Johri
Jan 6 at 6:23
1
1
$begingroup$
@dmtri, thanks you were faster than my edit :-) The question now uses $n$ in the expression.
$endgroup$
– bignose
Jan 5 at 6:20
$begingroup$
@dmtri, thanks you were faster than my edit :-) The question now uses $n$ in the expression.
$endgroup$
– bignose
Jan 5 at 6:20
1
1
$begingroup$
Note that $$displaystylesum_1^nBig[c+frac b{a^{k-1}}Big]=sum_1^n c+sum_1^nfrac b{a^{k-1}}=nc+bBig[frac{1-a^{-n}}{1-a^{-1}}Big]$$ where the second term is the sum of a geometric progression.
$endgroup$
– Shubham Johri
Jan 5 at 6:25
$begingroup$
Note that $$displaystylesum_1^nBig[c+frac b{a^{k-1}}Big]=sum_1^n c+sum_1^nfrac b{a^{k-1}}=nc+bBig[frac{1-a^{-n}}{1-a^{-1}}Big]$$ where the second term is the sum of a geometric progression.
$endgroup$
– Shubham Johri
Jan 5 at 6:25
$begingroup$
@ShubhamJohri, would you like to put that into an answer? If not, I can do it.
$endgroup$
– bignose
Jan 6 at 1:22
$begingroup$
@ShubhamJohri, would you like to put that into an answer? If not, I can do it.
$endgroup$
– bignose
Jan 6 at 1:22
$begingroup$
Sure, there you go
$endgroup$
– Shubham Johri
Jan 6 at 6:23
$begingroup$
Sure, there you go
$endgroup$
– Shubham Johri
Jan 6 at 6:23
add a comment |
2 Answers
2
active
oldest
votes
$begingroup$
You have
$$u_n = c + frac{b}{a^{n-1}}$$ and you want to find
$$S_n = sum_{k=1}^{n}u_k = sum_{k=1}^{n}left( c + frac{b}{a^{k-1}}right) =cn+bleft(1+frac{1}{a^2}+cdots +frac{1}{a^{n-1}}right) $$
$$ = cn+frac{b}{a^{n-1}}left(frac{a^n-1}{a-1}right).$$
$endgroup$
add a comment |
$begingroup$
Note that $$sum_1^nBig[c+frac b{a^{k-1}}Big]=sum_1^n c+sum_1^nfrac b{a^{k-1}}=nc+bBig[frac{1-a^{-n}}{1-a^{-1}}Big]$$where the second term is the sum of a geometric progression.
$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%2f3062440%2fhow-do-i-describe-the-progression-cba-n-1-im-seeking-an-efficient-sum%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
$begingroup$
You have
$$u_n = c + frac{b}{a^{n-1}}$$ and you want to find
$$S_n = sum_{k=1}^{n}u_k = sum_{k=1}^{n}left( c + frac{b}{a^{k-1}}right) =cn+bleft(1+frac{1}{a^2}+cdots +frac{1}{a^{n-1}}right) $$
$$ = cn+frac{b}{a^{n-1}}left(frac{a^n-1}{a-1}right).$$
$endgroup$
add a comment |
$begingroup$
You have
$$u_n = c + frac{b}{a^{n-1}}$$ and you want to find
$$S_n = sum_{k=1}^{n}u_k = sum_{k=1}^{n}left( c + frac{b}{a^{k-1}}right) =cn+bleft(1+frac{1}{a^2}+cdots +frac{1}{a^{n-1}}right) $$
$$ = cn+frac{b}{a^{n-1}}left(frac{a^n-1}{a-1}right).$$
$endgroup$
add a comment |
$begingroup$
You have
$$u_n = c + frac{b}{a^{n-1}}$$ and you want to find
$$S_n = sum_{k=1}^{n}u_k = sum_{k=1}^{n}left( c + frac{b}{a^{k-1}}right) =cn+bleft(1+frac{1}{a^2}+cdots +frac{1}{a^{n-1}}right) $$
$$ = cn+frac{b}{a^{n-1}}left(frac{a^n-1}{a-1}right).$$
$endgroup$
You have
$$u_n = c + frac{b}{a^{n-1}}$$ and you want to find
$$S_n = sum_{k=1}^{n}u_k = sum_{k=1}^{n}left( c + frac{b}{a^{k-1}}right) =cn+bleft(1+frac{1}{a^2}+cdots +frac{1}{a^{n-1}}right) $$
$$ = cn+frac{b}{a^{n-1}}left(frac{a^n-1}{a-1}right).$$
answered Jan 5 at 6:26
Hello_WorldHello_World
4,15521630
4,15521630
add a comment |
add a comment |
$begingroup$
Note that $$sum_1^nBig[c+frac b{a^{k-1}}Big]=sum_1^n c+sum_1^nfrac b{a^{k-1}}=nc+bBig[frac{1-a^{-n}}{1-a^{-1}}Big]$$where the second term is the sum of a geometric progression.
$endgroup$
add a comment |
$begingroup$
Note that $$sum_1^nBig[c+frac b{a^{k-1}}Big]=sum_1^n c+sum_1^nfrac b{a^{k-1}}=nc+bBig[frac{1-a^{-n}}{1-a^{-1}}Big]$$where the second term is the sum of a geometric progression.
$endgroup$
add a comment |
$begingroup$
Note that $$sum_1^nBig[c+frac b{a^{k-1}}Big]=sum_1^n c+sum_1^nfrac b{a^{k-1}}=nc+bBig[frac{1-a^{-n}}{1-a^{-1}}Big]$$where the second term is the sum of a geometric progression.
$endgroup$
Note that $$sum_1^nBig[c+frac b{a^{k-1}}Big]=sum_1^n c+sum_1^nfrac b{a^{k-1}}=nc+bBig[frac{1-a^{-n}}{1-a^{-1}}Big]$$where the second term is the sum of a geometric progression.
answered Jan 6 at 6:21
Shubham JohriShubham Johri
4,666717
4,666717
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%2f3062440%2fhow-do-i-describe-the-progression-cba-n-1-im-seeking-an-efficient-sum%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$
@dmtri, thanks you were faster than my edit :-) The question now uses $n$ in the expression.
$endgroup$
– bignose
Jan 5 at 6:20
1
$begingroup$
Note that $$displaystylesum_1^nBig[c+frac b{a^{k-1}}Big]=sum_1^n c+sum_1^nfrac b{a^{k-1}}=nc+bBig[frac{1-a^{-n}}{1-a^{-1}}Big]$$ where the second term is the sum of a geometric progression.
$endgroup$
– Shubham Johri
Jan 5 at 6:25
$begingroup$
@ShubhamJohri, would you like to put that into an answer? If not, I can do it.
$endgroup$
– bignose
Jan 6 at 1:22
$begingroup$
Sure, there you go
$endgroup$
– Shubham Johri
Jan 6 at 6:23