Sequence with recursive definition?

In summary, the teacher showed that there is a limit to the sequence an+1= \(\frac{a_n}{2}\) + \(\frac{1}{a_n}\) as n approaches infinity, and that this limit is $\sqrt{2}$.
  • #1
skate_nerd
176
0
Sorry to spam my problems all over this forum but series have me struggling somewhat. Last problem on my homework is the sequence an defined recursively by:
a1=1
and
an+1= \(\frac{a_n}{2}\) + \(\frac{1}{a_n}\)

First part was the only part i know how to do. it was to find an for n=1 through 5.
However this next part has me stumped. Assume that:
The limit as n approaches infinity = alpha > 0
Obtain the value alpha by taking the limit of both sides of (1) [(1) is the info given in the beginning].
Now I can already tell this limit is going to \(\sqrt{2}\) because it is kind of hinted to in the later parts of this problem. However I am kind of confused as to how to approach doing this limit of both sides of an+1= \(\frac{a_n}{2}\) + \(\frac{1}{a_n}\) . How would I evaluate this limit when the right side of the equation is in terms of a​n?
 
Physics news on Phys.org
  • #2
One way (though not as directed by the problem) to demonstrate the sequence converges to $\displaystyle \sqrt{2}$ is to observe that if we begin with the function:

$\displaystyle f(x)=x^2-2=0$

which we know has the positive root $\displaystyle \sqrt{2}$ and apply Newton's method:

$\displaystyle f'(x)=2x$

$\displaystyle x_{n+1}=x_n-\frac{x_n^2-2}{2x_n}$

$\displaystyle x_{n+1}=\frac{2x_n^2-x_n^2+2}{2x_n}$

$\displaystyle x_{n+1}=\frac{x_n^2+2}{2x_n}$

$\displaystyle x_{n+1}=\frac{x_n}{2}+\frac{1}{x_n}$

For any positive initial value, the series will converge to the positive root of the defining function.
 
  • #3
skatenerd said:
Sorry to spam my problems all over this forum but series have me struggling somewhat. Last problem on my homework is the sequence an defined recursively by:
a1=1
and
an+1= \(\frac{a_n}{2}\) + \(\frac{1}{a_n}\)

First part was the only part i know how to do. it was to find an for n=1 through 5.
However this next part has me stumped. Assume that:
The limit as n approaches infinity = alpha > 0
Obtain the value alpha by taking the limit of both sides of (1) [(1) is the info given in the beginning].
Now I can already tell this limit is going to \(\sqrt{2}\) because it is kind of hinted to in the later parts of this problem. However I am kind of confused as to how to approach doing this limit of both sides of an+1= \(\frac{a_n}{2}\) + \(\frac{1}{a_n}\) . How would I evaluate this limit when the right side of the equation is in terms of a​n?

If the limit \(\alpha\) exists and is non-zero then:

\[\alpha=(\alpha/2) + (1/\alpha)\]

(arrived at by taking limits of both sides of the recursion relation)

CB
 
  • #4
Oh man thank you to you both. To CaptainBlack, I guess I didn't realize that seeing that if limit of n approaching infinity of an = alpha, then so will the this limit of an+1. Makes sense now! Thanks again.
 
  • #5
skatenerd said:
Sorry to spam my problems all over this forum but series have me struggling somewhat. Last problem on my homework is the sequence an defined recursively by:
a1=1
and
an+1= \(\frac{a_n}{2}\) + \(\frac{1}{a_n}\)

First part was the only part i know how to do. it was to find an for n=1 through 5.
However this next part has me stumped. Assume that:
The limit as n approaches infinity = alpha > 0
Obtain the value alpha by taking the limit of both sides of (1) [(1) is the info given in the beginning].
Now I can already tell this limit is going to \(\sqrt{2}\) because it is kind of hinted to in the later parts of this problem. However I am kind of confused as to how to approach doing this limit of both sides of an+1= \(\frac{a_n}{2}\) + \(\frac{1}{a_n}\) . How would I evaluate this limit when the right side of the equation is in terms of a​n?

The solving procedure for this type of problems is illustrated in...

http://www.mathhelpboards.com/f15/difference-equation-tutorial-draft-part-i-426/

The difference equation can be written as... $\displaystyle \Delta_{n}= a_{n+1}-a_{n}= \frac{1}{a_{n}}- \frac{a_{n}}{2} = f(a_{n})$ (1)

The function f(x) has two 'attractive fixed points' in $x=\pm \sqrt{2}$ and, because for both the fixed points the theorem 4.2 is satisfied, roughly specking any initial value >0 will generate a sequence which tends to $+\sqrt{2}$ and any initial value <0 will generate a sequence which tends to $-\sqrt{2}$. An important detail in the case $a_{0}>0$ is that the sequence for any n>0 is decreasing... Kind regards $\chi$ $\sigma$
 
  • #6
My teacher went over this problem recently and showed that it was a funny way of doing a proof of The Newtonian Method. Seeing as it was something we had never learned about before, I guess it was just a little something our teacher threw into see if we could teach ourselves a concept on our own.
 
  • #7

FAQ: Sequence with recursive definition?

What is a recursive definition?

A recursive definition is a way of defining a sequence or mathematical function in terms of itself. This means that the definition of each term in the sequence depends on the previous terms in the sequence.

How is a sequence defined recursively?

A sequence is defined recursively by providing a starting term or base case, and a recursive rule that determines the next term in the sequence based on the previous terms. Each term in the sequence is defined in terms of the previous terms until the desired number of terms is reached.

What is the purpose of using a recursive definition for a sequence?

Using a recursive definition for a sequence allows for a more concise and elegant way of expressing the relationship between the terms in the sequence. It also allows for the definition of infinite sequences, which cannot be defined using a finite number of terms.

How does a recursive definition differ from an explicit definition?

A recursive definition differs from an explicit definition in that an explicit definition provides a direct formula or expression for each term in the sequence, while a recursive definition defines each term in terms of previous terms in the sequence.

Can all sequences be defined recursively?

No, not all sequences can be defined recursively. Some sequences may not have a clear relationship between the terms or may require a complex recursive rule that is difficult to determine. In these cases, an explicit definition may be more appropriate.

Similar threads

Replies
9
Views
1K
Replies
2
Views
2K
Replies
1
Views
1K
Replies
10
Views
3K
Replies
2
Views
1K
Replies
1
Views
1K
Replies
1
Views
1K
Back
Top