SAT/ GCSE-Level Recurrence Relation Problem

Click For Summary

Homework Help Overview

The discussion revolves around a recurrence relation problem, specifically finding the first five terms of a sequence defined by u1 = 1, u2 = 3, and un = 2un-1 + un-2. The original poster expresses confusion regarding their calculations and the discrepancy between their results and the provided answers.

Discussion Character

  • Exploratory, Conceptual clarification, Mathematical reasoning

Approaches and Questions Raised

  • The original poster attempts to derive the terms of the sequence but encounters errors in their calculations. They question the substitution process in the recurrence relation. Other participants clarify the correct calculations for u3 and u4, while one participant explains the indexing of the terms.

Discussion Status

The discussion has progressed with some participants providing clarifications on the calculations. The original poster acknowledges the assistance and expresses gratitude, indicating a productive exchange of ideas. However, there is no explicit consensus on the original poster's understanding of the substitution process.

Contextual Notes

The original poster mentions having access to the answers in their textbook, which may influence their approach and expectations. There is also an indication of prior knowledge, as they reference having solved a similar problem correctly before.

odolwa99
Messages
85
Reaction score
0

Homework Statement


Hi! This is my first time on the site. I look forward to working with everyone…but hopefully not too much, assuming I‘m learning things correctly. :P

My question pertains to Recurrence Relations, so here it goes…

Foreword: The textbook I’m using actually supplies the answer to the question, so I already have a point of reference, but my attempt does not match up with the answers. I believe my approach is essentially correct, as it has yielded the correct answers for a similar question beforehand. Answer is: 1, 3, 7, 17, 41

Please note that I am beginning the question from u3, as we already have the values for u1 and u2.


Homework Equations



Q. Find the first five terms of the sequence:

u1 = 1, u2 = 3 and un = 2un-1 + un-2


The Attempt at a Solution



Attempt:

Solve un+1 where un = 3un-1 - un-2
=> 3u(n+1)-1 - u(n+1)-2

Begin by substituting 3 (i.e. u2) for un:
If n = 1 then u3 = 2((3+1) - 1) + ((3+1) -2) => 2(4-1) + (4-2) => 6 + 2
Ans.: u3 = 8... but should be 7!

Proceeding with u3 as 7, not 8...

If n = 2 then u4 = 2((7+1) -1) + ((7+1) -2) => 2(8-1) + (8-2) => 14 + 6
Ans.: u4 = 20... But should be 17!

Note, I am omitting solution of u5 for brevity’s sake.

I‘m sure the answer is staring me in the face, but I just can’t seem to figure it out!
Can anyone help?

Thanks.
 
Last edited:
Physics news on Phys.org
Not too sure what you're going here but let's calculate u_{3} from the recurrence relation.
<br /> u_{3}=2u_{2}+u_{1}=2\times 3+1=7<br />
Working for u_{4}
<br /> u_{4}=2u_{3}+u_{2}=2\times 7+3=17<br />
 
Woah, that was easier than I was making it! Thank you.

One final question though, why is the value of u1 subbed into un-2 and u2 into un-1?
 
you're finding n=3, so n-1=2 and n-2=1.
 
Thank you very much. You've really helped me out!
 
it's why I help here.
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
2K
Replies
4
Views
2K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 5 ·
Replies
5
Views
1K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 10 ·
Replies
10
Views
5K
Replies
14
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 9 ·
Replies
9
Views
5K
  • · Replies 1 ·
Replies
1
Views
2K