Solution by Iteration: Nonrecursive Formula for a_n = 2(n+1)^n

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
7 replies · 5K views
Goldenwind
Messages
145
Reaction score
0
[SOLVED] Recurrence Relations

Homework Statement


I need to express this recursive statement as a nonrecursive formula, using the technique of itteration.

[tex]a_n = (n+1)a_{n-1}[/tex]
[tex]a_0 = 2[/tex]

The Attempt at a Solution


[tex]a_n = (n+1)a_{n-1}[/tex]
[tex]a_n = (n+1)(n+1)a_{n-2} = (n+1)^{2}a_{n-2}[/tex]
[tex]a_n = (n+1)(n+1)(n+1)a_{n-3} = (n+1)^{3}a_{n-3}[/tex]
[tex]a_n = (n+1)^{n}a_{n-n}[/tex]
[tex]a_n = 2(n+1)^{n}[/tex]

I plugged both the recursive formula, and my answer, into MS-Excel, and they don't match up. They work for n = 0,1, but then my answer start getting larger than the recursive one.
 
Physics news on Phys.org
Here's the spreadsheet I'm using to check my answer.

First column is n
Second column is the recursive
Third column is my proposed answer
 

Attachments

Goldenwind said:
[tex]a_n = (n+1)a_{n-1}[/tex]
[tex]a_0 = 2[/tex]

Hi Goldenwind! :smile:

With these recurrence questions, always start by working out what a_n+2 is in terms of a_n.

Then a_n+3.

By then, you should have a good idea of what is happening.

So … what is happening? :smile:
 
[tex]a_n = (n+1)a_{n-1}[/tex]

Which is the same as
[tex]\frac{a_{n+1}}{n+1} = a_{n}[/tex][tex]\frac{a_{n+2}}{{(n+1)}^2} = a_{n}[/tex][tex]\frac{a_{n+3}}{{(n+1)}^3} = a_{n}[/tex]

I still don't see my mistake :(
This is pretty much what I did above, only the other way around >.>
 
Goldenwind said:
[tex]a_n = (n+1)a_{n-1}[/tex]

Which is the same as
[tex]\frac{a_{n+1}}{n+1} = a_{n}[/tex]


[tex]\frac{a_{n+2}}{{(n+1)}^2} = a_{n}[/tex]


[tex]\frac{a_{n+3}}{{(n+1)}^3} = a_{n}[/tex]

No no no … :frown:

First, don't rearrange the formula - it's simplest as it is!

Then … be careful!

You should have [tex]a_{n+2}\,=\,(n+2)a_{n+1}\,=\,(n+2)(n+1)a_n\,.[/tex]

So … the nonrecursive formula is … ? :smile:
 
I always start a problem involving any kind of sequence by working out a few values!

[itex]a_1= (1+1)a_0= 2a_0[/itex]
[itex]a_2= (2+1)a_1= 3a_1= 3(2)a_0[/itex]
[itex]a_3= (3+1)a_2= 4a_2= 4(3)(2)a_0[/itex]
[itex]a_4= (4+1)a_3= 5a_3= 5(4)(3)(2)a_0[/itex]

Anything come to mind?
 
[itex]a_n = 2(n+1)![/itex]
...is what it looks like to me.

However, even if I know the formula, I need to demonstrate that this *is* the formula, via iteration.

As in, I start out with [itex]a_n = (n+1)a_{n-1}[/itex], then replace [itex]a_{n-1}[/itex] with [itex]a_{n-1} = (n+1)a_{n-2}[/itex], then replace [itex]a_{n-2}[/itex] with [itex]a_{n-2} = (n+1)a_{n-3}[/itex], and so on, until I get to [itex]a_{n-n} = a_0[/itex], where I can simply sub in the given base value, as shown above.
 
Yeah, I see my mistake... when I replaced n with n-1, or n-1 with n-2, I didn't change the (n+1) at all. Doing so would lead to the factorial, instead of [itex](n+1)^n[/itex].

Thank you for your help :)