What is the limit of xn in this arithmetic mean sequence?

  • Context: MHB 
  • Thread starter Thread starter aruwin
  • Start date Start date
  • Tags Tags
    Notation
Click For Summary

Discussion Overview

The discussion revolves around the generalization of a sequence defined by the arithmetic mean of its two preceding terms, specifically focusing on finding the nth term and the limit as n approaches infinity. The inquiry includes both theoretical aspects and mathematical reasoning related to recurrence relations.

Discussion Character

  • Technical explanation
  • Mathematical reasoning
  • Exploratory

Main Points Raised

  • Some participants present the sequence defined as \(x_n = \frac{x_{n-1} + x_{n-2}}{2}\) and derive terms based on initial values a and b.
  • One participant identifies a pattern in the numerators and denominators of the sequence terms but struggles to generalize it.
  • Another participant proposes a solution using a recurrence relation and derives a general formula for \(x_n\) involving constants A and B.
  • There is a discussion about the limit of the sequence, with one participant suggesting that the term \(B^n\) diverges, while another clarifies that the limit converges to \(\frac{a+2b}{3}\) as \(n\) approaches infinity.
  • Some participants express uncertainty about the behavior of the term \(\left(-\frac{1}{2}\right)^n\) as \(n\) increases, leading to a conclusion that it converges to zero.

Areas of Agreement / Disagreement

Participants generally agree on the formulation of the nth term and the limit of the sequence, although there is some initial uncertainty regarding the behavior of the alternating term in the limit calculation. The final limit appears to be accepted as \(\frac{a+2b}{3}\), but earlier discussions reflect some confusion.

Contextual Notes

The discussion includes assumptions about the convergence of the sequence and the behavior of the terms as \(n\) approaches infinity, which may depend on the specific values of a and b. The derivation of the general formula relies on solving a recurrence relation, which may have additional implications not fully explored in the discussion.

aruwin
Messages
204
Reaction score
0
I have a problem on how to generalize this sequence.
Problem:
In sequence a,b,x1,x2,...xn,...,each term is equals to the arithmetic mean of its two preceding numbers.Using a and b, find:

1.xn

2.lim(n->∞) xn

My working:

x1 = (a+b)/2, x2=(b+x1)/2
x3 = (x2+x1)/2...

Ok, so I did the same thing as above until x5 and substituted all that are needed to be substituted with a and b.And here's what I get:

(a+b)/2,(a+3b)/4,(3a+5b)/8,(5a+11b)/16,(11a+21b)/32+...I realize a pattern here. Obviously, the denominator is just increasing by 2n. I see a pattern in the numerator too,but it's hard to generalize it using n.I realize that the value of the second a is equals to the value of the previous b and the value of the third a is equals to the second b and it goes on.
You see it too,don't you?When the first term has b in the numerator,then the second term has a, and when the 2nd term has 3b in the numerator, the 3rd term has 3a and so on...now we just have to generalize that,don't we?
 
Last edited:
Physics news on Phys.org
aruwin said:
I have a problem on how to generalize this sequence.
Problem:
In sequence a,b,x1,x2,...xn,...,each term is equals to the arithmetic mean of its two preceding numbers.Using a and b, find:

1.xn

2.lim(n->∞) xn

My working:

x1 = (a+b)/2, x2=(b+x1)/2
x3 = (x2+x1)/2...

Ok, so I did the same thing as above until x5 and substituted all that are needed to be substituted with a and b.And here's what I get:

(a+b)/2,(a+3b)/4,(3a+5b)/8,(5a+11b)/16,(11a+21b)/32+...I realize a pattern here. Obviously, the denominator is just increasing by 2n. I see a pattern in the numerator too,but it's hard to generalize it using n.I realize that the value of the second a is equals to the value of the previous b and the value of the third a is equals to the second b and it goes on.
You see it too,don't you?When the first term has b in the numerator,then the second term has a, and when the 2nd term has 3b in the numerator, the 3rd term has 3a and so on...now we just have to generalize that,don't we?

Hi arwin, :)

I am not sure whether you will be able to write the general pattern of the sequence through looking at the first few terms. However, the general formula could be found out by solving a recurrence relation. The nth term of the sequence is given by the recurrence relation,

\[x_n=\frac{x_{n-1}+x_{n-2}}{2}\]

This is a recurrence relation of the second order and could be solved by the substituting, \(x_{n}=r^{n}\mbox{ where }n>2\). Then, the characteristic polynomial would be,

\[r^n=\frac{r^{n-1}+r^{n-2}}{2}\]

\[\Rightarrow 2r^2=r+1\]

\[\Rightarrow r=1,\,-\frac{1}{2}\]

Therefore the general solution would be,

\[x_n=A+B\left(-\frac{1}{2}\right)^n\mbox{ where A and B are constants.}\]

Using, \(\displaystyle x_3=\frac{3a+5b}{8},\,x_{4}=\frac{5a+11b}{16}\) you can get,

\[A=\frac{a+2b}{3}\mbox{ and }B=\frac{b-a}{3}\]

\[\therefore x_n=\frac{a+2b}{3}+\frac{b-a}{3}\left(-\frac{1}{2}\right)^n\mbox{ where }n>2\]

By substituting \(n=1\mbox{ and }2\) in the above equation we get, \(\displaystyle x_{1}=\frac{a+b}{2}\mbox{ and }x_{2}=\frac{a+3b}{4}\) which is the first term and the second term of the sequence. Therefore the formula is also valid for \(n=1\mbox{ and }n=2\).

\[\therefore x_n=\frac{a+2b}{3}+\frac{b-a}{3}\left(-\frac{1}{2}\right)^n\mbox{ where }n\in\mathbb{Z}^+\]

Kind Regards,
Sudharaka.
 
Last edited:
Thanks!You're so smart! I got it now :) Just one more thing, what about the limit? Since A+B^n, looks like it has no limit because it becomes infinity. What to do?
 
Last edited:
aruwin said:
Thanks!You're so smart! I got it now :) Just one more thing, what about the limit? Since A+B^n, looks like it has no limit because it becomes infinity. What to do?

You are welcome. :)

\[x_n=\frac{a+2b}{3}+\frac{b-a}{3}\left(-\frac{1}{2}\right)^n\]

\[\Rightarrow\lim_{n\rightarrow\infty}x_{n}=\frac{a+2b}{3}+\frac{b-a}{3}\lim_{n\rightarrow\infty}\left(-\frac{1}{2}\right)^n\]

So do you know what happens to \(\displaystyle\left(-\frac{1}{2}\right)^n\mbox{ when }n\rightarrow\infty\) ?
 
Sudharaka said:
You are welcome. :)

\[x_n=\frac{a+2b}{3}+\frac{b-a}{3}\left(-\frac{1}{2}\right)^n\]

\[\Rightarrow\lim_{n\rightarrow\infty}x_{n}=\frac{a+2b}{3}+\frac{b-a}{3}\lim_{n\rightarrow\infty}\left(-\frac{1}{2}\right)^n\]

So do you know what happens to \(\displaystyle\left(-\frac{1}{2}\right)^n\mbox{ when }n\rightarrow\infty\) ?

OK,I got it!Since the numbers turn out to be positive and negative alternately, it would be 0! So only the left side is left, and the limit will be (a+2b)/3. Correct?
 
Last edited:
aruwin said:
OK,I got it!Since the numbers turn out to be positive and negative alternately, it would be 0! So only the left side is left, and the limit will be (a+2b)/3. Correct?

Indeed. \(\left(-\frac{1}{2}\right)^n\) is an alternating sequence which converges to zero.

\[\therefore\lim_{n\rightarrow\infty}x_{n}=\frac{a+2b}{3}\]
 

Similar threads

  • · Replies 24 ·
Replies
24
Views
6K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
Replies
4
Views
4K
Replies
6
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 23 ·
Replies
23
Views
16K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 15 ·
Replies
15
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K