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

Click For Summary
SUMMARY

The discussion focuses on deriving a nonrecursive formula for the recurrence relation defined by a_n = (n+1)a_{n-1} with a_0 = 2. The correct nonrecursive formula is established as a_n = 2(n+1)!. The participants emphasize the importance of iterative substitution to arrive at the correct formula, highlighting the need to adjust the (n+1) term appropriately during the substitution process. The use of MS-Excel was mentioned for verifying the results, but discrepancies arose due to incorrect substitutions in the iterative process.

PREREQUISITES
  • Understanding of recurrence relations
  • Familiarity with factorial notation
  • Basic knowledge of iterative methods
  • Proficiency in using MS-Excel for calculations
NEXT STEPS
  • Study the concept of factorials and their properties
  • Learn about iterative methods in solving recurrence relations
  • Explore advanced topics in combinatorial mathematics
  • Practice using MS-Excel for mathematical modeling and verification
USEFUL FOR

Students and educators in mathematics, particularly those focusing on combinatorics and recurrence relations, as well as anyone interested in algorithmic problem-solving techniques.

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.

a_n = (n+1)a_{n-1}
a_0 = 2

The Attempt at a Solution


a_n = (n+1)a_{n-1}
a_n = (n+1)(n+1)a_{n-2} = (n+1)^{2}a_{n-2}
a_n = (n+1)(n+1)(n+1)a_{n-3} = (n+1)^{3}a_{n-3}
a_n = (n+1)^{n}a_{n-n}
a_n = 2(n+1)^{n}

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:
a_n = (n+1)a_{n-1}
a_0 = 2

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:
 
a_n = (n+1)a_{n-1}

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

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

Which is the same as
\frac{a_{n+1}}{n+1} = a_{n}


\frac{a_{n+2}}{{(n+1)}^2} = a_{n}


\frac{a_{n+3}}{{(n+1)}^3} = a_{n}

No no no … :frown:

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

Then … be careful!

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

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

a_1= (1+1)a_0= 2a_0
a_2= (2+1)a_1= 3a_1= 3(2)a_0
a_3= (3+1)a_2= 4a_2= 4(3)(2)a_0
a_4= (4+1)a_3= 5a_3= 5(4)(3)(2)a_0

Anything come to mind?
 
a_n = 2(n+1)!
...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 a_n = (n+1)a_{n-1}, then replace a_{n-1} with a_{n-1} = (n+1)a_{n-2}, then replace a_{n-2} with a_{n-2} = (n+1)a_{n-3}, and so on, until I get to a_{n-n} = a_0, 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 (n+1)^n.

Thank you for your help :)
 

Similar threads

Replies
8
Views
3K
Replies
8
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 51 ·
2
Replies
51
Views
5K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 13 ·
Replies
13
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 5 ·
Replies
5
Views
1K
Replies
12
Views
2K