Adding $n-1$ first terms of a sequence











up vote
1
down vote

favorite












Let's define a real - valued sequence:
$$a_k = kp^k,$$
where $p in mathbb{R}$ and $p in (0,1]$.

I would like to find the sum of first $n-1$ terms of $a_k$, that is
$$sum_{k=1}^{n-1} kp^k.$$
How can I do it?










share|cite|improve this question


















  • 2




    Let $S $ denote the sum you want. Consider $S-Sp $ and use geometric sum formula.
    – AnyAD
    Nov 20 at 12:39















up vote
1
down vote

favorite












Let's define a real - valued sequence:
$$a_k = kp^k,$$
where $p in mathbb{R}$ and $p in (0,1]$.

I would like to find the sum of first $n-1$ terms of $a_k$, that is
$$sum_{k=1}^{n-1} kp^k.$$
How can I do it?










share|cite|improve this question


















  • 2




    Let $S $ denote the sum you want. Consider $S-Sp $ and use geometric sum formula.
    – AnyAD
    Nov 20 at 12:39













up vote
1
down vote

favorite









up vote
1
down vote

favorite











Let's define a real - valued sequence:
$$a_k = kp^k,$$
where $p in mathbb{R}$ and $p in (0,1]$.

I would like to find the sum of first $n-1$ terms of $a_k$, that is
$$sum_{k=1}^{n-1} kp^k.$$
How can I do it?










share|cite|improve this question













Let's define a real - valued sequence:
$$a_k = kp^k,$$
where $p in mathbb{R}$ and $p in (0,1]$.

I would like to find the sum of first $n-1$ terms of $a_k$, that is
$$sum_{k=1}^{n-1} kp^k.$$
How can I do it?







real-analysis sequences-and-series






share|cite|improve this question













share|cite|improve this question











share|cite|improve this question




share|cite|improve this question










asked Nov 20 at 12:30









Hendrra

1,025416




1,025416








  • 2




    Let $S $ denote the sum you want. Consider $S-Sp $ and use geometric sum formula.
    – AnyAD
    Nov 20 at 12:39














  • 2




    Let $S $ denote the sum you want. Consider $S-Sp $ and use geometric sum formula.
    – AnyAD
    Nov 20 at 12:39








2




2




Let $S $ denote the sum you want. Consider $S-Sp $ and use geometric sum formula.
– AnyAD
Nov 20 at 12:39




Let $S $ denote the sum you want. Consider $S-Sp $ and use geometric sum formula.
– AnyAD
Nov 20 at 12:39










2 Answers
2






active

oldest

votes

















up vote
5
down vote



accepted










Hint:



You probably know that $$sum_{k=0}^{n-1} x^k=frac{1-x^n}{1-x}tag{1}$$ Can you manipulate this sum to get $$sum_{k=1}^{n-1} kx^k$$ ? Try playing around with differentiation.





Edit for completion:



Differentiating both sides of $(1)$ yields $$sum_{k=1}^{n-1}kx^{k-1}=frac{(n-1)x^{n+1}-nx^n+x}{x(1-x)^2}tag{2}$$ (the series starts at $k=1$, because the first term is $0$) multiplying $(2)$ by $x$ yields the desired sum $$sum_{k=1}^{n-1}kx^{k}=frac{(n-1)x^{n+1}-nx^n+x}{(1-x)^2}tag{3}$$






share|cite|improve this answer























  • Thank you! I knew that I can use differentiation is series but I didn't realize that finite sums are much more simpler and the same technique works :)
    – Hendrra
    Nov 20 at 13:28


















up vote
1
down vote













Well, this is what you use if you don't know anything about differentiation -_-





Let $$S=p+2p^2+3p^3+cdots+(n-1)p^{n-1}.$$



Then $$Sp=p^2+2p^3+cdots+(n-2)p^{n-1}+(n-1)p^{n}$$



By subtracting the 1st equation with the 2nd equation we get



$$S(1-p)=p+p^2+p^3+cdots+p^{n-1}-(n-1)p^n=frac{1-p^n}{1-p}-1-(n-1)p^n$$






share|cite|improve this answer























  • The expression for $S(1-p)$ is not right, it should be $$frac{1-p^n}{1-p}-1-(n-1)p^n$$ You need to subtract $1$, since $$frac{1-p^n}{1-p}=color{red}{1}+p+p^2+ldots+p^{n-1}$$
    – cansomeonehelpmeout
    Nov 26 at 10:25










  • Oh yeah thank you
    – Vee Hua Zhi
    Nov 27 at 4:42











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',
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%2f3006257%2fadding-n-1-first-terms-of-a-sequence%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








up vote
5
down vote



accepted










Hint:



You probably know that $$sum_{k=0}^{n-1} x^k=frac{1-x^n}{1-x}tag{1}$$ Can you manipulate this sum to get $$sum_{k=1}^{n-1} kx^k$$ ? Try playing around with differentiation.





Edit for completion:



Differentiating both sides of $(1)$ yields $$sum_{k=1}^{n-1}kx^{k-1}=frac{(n-1)x^{n+1}-nx^n+x}{x(1-x)^2}tag{2}$$ (the series starts at $k=1$, because the first term is $0$) multiplying $(2)$ by $x$ yields the desired sum $$sum_{k=1}^{n-1}kx^{k}=frac{(n-1)x^{n+1}-nx^n+x}{(1-x)^2}tag{3}$$






share|cite|improve this answer























  • Thank you! I knew that I can use differentiation is series but I didn't realize that finite sums are much more simpler and the same technique works :)
    – Hendrra
    Nov 20 at 13:28















up vote
5
down vote



accepted










Hint:



You probably know that $$sum_{k=0}^{n-1} x^k=frac{1-x^n}{1-x}tag{1}$$ Can you manipulate this sum to get $$sum_{k=1}^{n-1} kx^k$$ ? Try playing around with differentiation.





Edit for completion:



Differentiating both sides of $(1)$ yields $$sum_{k=1}^{n-1}kx^{k-1}=frac{(n-1)x^{n+1}-nx^n+x}{x(1-x)^2}tag{2}$$ (the series starts at $k=1$, because the first term is $0$) multiplying $(2)$ by $x$ yields the desired sum $$sum_{k=1}^{n-1}kx^{k}=frac{(n-1)x^{n+1}-nx^n+x}{(1-x)^2}tag{3}$$






share|cite|improve this answer























  • Thank you! I knew that I can use differentiation is series but I didn't realize that finite sums are much more simpler and the same technique works :)
    – Hendrra
    Nov 20 at 13:28













up vote
5
down vote



accepted







up vote
5
down vote



accepted






Hint:



You probably know that $$sum_{k=0}^{n-1} x^k=frac{1-x^n}{1-x}tag{1}$$ Can you manipulate this sum to get $$sum_{k=1}^{n-1} kx^k$$ ? Try playing around with differentiation.





Edit for completion:



Differentiating both sides of $(1)$ yields $$sum_{k=1}^{n-1}kx^{k-1}=frac{(n-1)x^{n+1}-nx^n+x}{x(1-x)^2}tag{2}$$ (the series starts at $k=1$, because the first term is $0$) multiplying $(2)$ by $x$ yields the desired sum $$sum_{k=1}^{n-1}kx^{k}=frac{(n-1)x^{n+1}-nx^n+x}{(1-x)^2}tag{3}$$






share|cite|improve this answer














Hint:



You probably know that $$sum_{k=0}^{n-1} x^k=frac{1-x^n}{1-x}tag{1}$$ Can you manipulate this sum to get $$sum_{k=1}^{n-1} kx^k$$ ? Try playing around with differentiation.





Edit for completion:



Differentiating both sides of $(1)$ yields $$sum_{k=1}^{n-1}kx^{k-1}=frac{(n-1)x^{n+1}-nx^n+x}{x(1-x)^2}tag{2}$$ (the series starts at $k=1$, because the first term is $0$) multiplying $(2)$ by $x$ yields the desired sum $$sum_{k=1}^{n-1}kx^{k}=frac{(n-1)x^{n+1}-nx^n+x}{(1-x)^2}tag{3}$$







share|cite|improve this answer














share|cite|improve this answer



share|cite|improve this answer








edited Nov 21 at 16:50

























answered Nov 20 at 12:34









cansomeonehelpmeout

6,5313834




6,5313834












  • Thank you! I knew that I can use differentiation is series but I didn't realize that finite sums are much more simpler and the same technique works :)
    – Hendrra
    Nov 20 at 13:28


















  • Thank you! I knew that I can use differentiation is series but I didn't realize that finite sums are much more simpler and the same technique works :)
    – Hendrra
    Nov 20 at 13:28
















Thank you! I knew that I can use differentiation is series but I didn't realize that finite sums are much more simpler and the same technique works :)
– Hendrra
Nov 20 at 13:28




Thank you! I knew that I can use differentiation is series but I didn't realize that finite sums are much more simpler and the same technique works :)
– Hendrra
Nov 20 at 13:28










up vote
1
down vote













Well, this is what you use if you don't know anything about differentiation -_-





Let $$S=p+2p^2+3p^3+cdots+(n-1)p^{n-1}.$$



Then $$Sp=p^2+2p^3+cdots+(n-2)p^{n-1}+(n-1)p^{n}$$



By subtracting the 1st equation with the 2nd equation we get



$$S(1-p)=p+p^2+p^3+cdots+p^{n-1}-(n-1)p^n=frac{1-p^n}{1-p}-1-(n-1)p^n$$






share|cite|improve this answer























  • The expression for $S(1-p)$ is not right, it should be $$frac{1-p^n}{1-p}-1-(n-1)p^n$$ You need to subtract $1$, since $$frac{1-p^n}{1-p}=color{red}{1}+p+p^2+ldots+p^{n-1}$$
    – cansomeonehelpmeout
    Nov 26 at 10:25










  • Oh yeah thank you
    – Vee Hua Zhi
    Nov 27 at 4:42















up vote
1
down vote













Well, this is what you use if you don't know anything about differentiation -_-





Let $$S=p+2p^2+3p^3+cdots+(n-1)p^{n-1}.$$



Then $$Sp=p^2+2p^3+cdots+(n-2)p^{n-1}+(n-1)p^{n}$$



By subtracting the 1st equation with the 2nd equation we get



$$S(1-p)=p+p^2+p^3+cdots+p^{n-1}-(n-1)p^n=frac{1-p^n}{1-p}-1-(n-1)p^n$$






share|cite|improve this answer























  • The expression for $S(1-p)$ is not right, it should be $$frac{1-p^n}{1-p}-1-(n-1)p^n$$ You need to subtract $1$, since $$frac{1-p^n}{1-p}=color{red}{1}+p+p^2+ldots+p^{n-1}$$
    – cansomeonehelpmeout
    Nov 26 at 10:25










  • Oh yeah thank you
    – Vee Hua Zhi
    Nov 27 at 4:42













up vote
1
down vote










up vote
1
down vote









Well, this is what you use if you don't know anything about differentiation -_-





Let $$S=p+2p^2+3p^3+cdots+(n-1)p^{n-1}.$$



Then $$Sp=p^2+2p^3+cdots+(n-2)p^{n-1}+(n-1)p^{n}$$



By subtracting the 1st equation with the 2nd equation we get



$$S(1-p)=p+p^2+p^3+cdots+p^{n-1}-(n-1)p^n=frac{1-p^n}{1-p}-1-(n-1)p^n$$






share|cite|improve this answer














Well, this is what you use if you don't know anything about differentiation -_-





Let $$S=p+2p^2+3p^3+cdots+(n-1)p^{n-1}.$$



Then $$Sp=p^2+2p^3+cdots+(n-2)p^{n-1}+(n-1)p^{n}$$



By subtracting the 1st equation with the 2nd equation we get



$$S(1-p)=p+p^2+p^3+cdots+p^{n-1}-(n-1)p^n=frac{1-p^n}{1-p}-1-(n-1)p^n$$







share|cite|improve this answer














share|cite|improve this answer



share|cite|improve this answer








edited Nov 27 at 4:43

























answered Nov 20 at 12:45









Vee Hua Zhi

772124




772124












  • The expression for $S(1-p)$ is not right, it should be $$frac{1-p^n}{1-p}-1-(n-1)p^n$$ You need to subtract $1$, since $$frac{1-p^n}{1-p}=color{red}{1}+p+p^2+ldots+p^{n-1}$$
    – cansomeonehelpmeout
    Nov 26 at 10:25










  • Oh yeah thank you
    – Vee Hua Zhi
    Nov 27 at 4:42


















  • The expression for $S(1-p)$ is not right, it should be $$frac{1-p^n}{1-p}-1-(n-1)p^n$$ You need to subtract $1$, since $$frac{1-p^n}{1-p}=color{red}{1}+p+p^2+ldots+p^{n-1}$$
    – cansomeonehelpmeout
    Nov 26 at 10:25










  • Oh yeah thank you
    – Vee Hua Zhi
    Nov 27 at 4:42
















The expression for $S(1-p)$ is not right, it should be $$frac{1-p^n}{1-p}-1-(n-1)p^n$$ You need to subtract $1$, since $$frac{1-p^n}{1-p}=color{red}{1}+p+p^2+ldots+p^{n-1}$$
– cansomeonehelpmeout
Nov 26 at 10:25




The expression for $S(1-p)$ is not right, it should be $$frac{1-p^n}{1-p}-1-(n-1)p^n$$ You need to subtract $1$, since $$frac{1-p^n}{1-p}=color{red}{1}+p+p^2+ldots+p^{n-1}$$
– cansomeonehelpmeout
Nov 26 at 10:25












Oh yeah thank you
– Vee Hua Zhi
Nov 27 at 4:42




Oh yeah thank you
– Vee Hua Zhi
Nov 27 at 4:42


















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%2f3006257%2fadding-n-1-first-terms-of-a-sequence%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

Berounka

Different font size/position of beamer's navigation symbols template's content depending on regular/plain...

Sphinx de Gizeh