Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have the following general closed form linear recurrence equation:

$$x_n=r^{n-1}a+\left(\frac{r^{n-1}-1}{r-1}\right)d, \qquad (n=1,2,3,...)$$

and the next stage in the text shows the equation rearranged as:

$$x_n=\left(a+\frac{d}{r-1}\right)r^{n-1}-\frac{d}{r-1}, \qquad (n=1,2,3,...)$$

I am having trouble seeing how the rearrangement has been made and why it is preferred? The first version of the equation is more readable to me, but the latter seems to be the default way it is written and referred to.

Can you help me to understand how the rearrangement has been made and why it would be preferred?


share|cite|improve this question
Which text says the second one is "simpler"? – J. M. Oct 15 '11 at 13:40
In the second form the actual computation is just slightly easier since the same $ d/(r-1)$ term appears twice, we can recycle its computation. – Ragib Zaman Oct 15 '11 at 14:00
up vote 1 down vote accepted

What I think you wanted to say was that you already have the solution to a recurrence relation. Anyway, if you start with


you can then do


and then


which can be regrouped to yield


which is the second bit you have.

As to why the second one is preferred, I've no idea...

share|cite|improve this answer
Thanks for the clear explanation, it has helped a lot! – Aesir Oct 15 '11 at 13:53

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.