Solving Difference Equation: w_n = 2^n w_0 + 2^{n + 1}-1

Click For Summary
The discussion revolves around solving the difference equation w_n = 2^n w_0 + 2^{n + 1} - 1. The user is confused about discrepancies between their derived solution and the answer provided in a textbook. They correctly derive w_n but question the validity of the book's answer, which includes a different constant term. Other participants clarify that the user's solution is valid and point out that the book's formula may contain an error. The conversation emphasizes the importance of verifying solutions and recognizing potential mistakes in published materials.
Benny
Messages
577
Reaction score
0
Hi, I've been working on a difference equation and I just can't get the answer. Can someone checking my working?
<br /> w_{n + 1} = 2w_n + 1<br />
w_1 = 2w_0 + 1
w_2 = 2w_1 + 1 = 2(2w_0 + 1) + 1 = 2^2w_0 + 1 + 2^1
<br /> \Rightarrow w_n = 2^n w_0 + \sum\limits_{i = 0}^{n - 1} {2^i } = 2^n w_0 + \sum\limits_{i = 0}^n {2^i } - 2^n = 2^n w_0 + \frac{{1 - 2^{n + 1} }}{{1 - 2}} - 2^n <br />

<br /> w_n = 2^n w_0 &#039; + 2^{n + 1} - 1 - 2^n = 2^n \left( {w_0 &#039; - 1} \right) + 2^{n + 1} - 1<br />...I have written w_0 with a dash so as to enable me to get a 'nicer' looking answer. It is a little ambiguous but hopefully people understand what I've done. I've simply taken 2^n as a common factor of two of the terms so that I get 2^n multipled by something. In the next line I replace that 'thing' by w_0.

<br /> w_n = 2^n w_0 + 2^{n + 1} - 1<br />

Where I have used a primed w_0 so that I could get an answer which resembles the book's. The book's answer is the same as mine except where I have a negative one, it has a negative two. I don't know where I'm going wrong. Can someone help me out?
 
Last edited:
Physics news on Phys.org
Your answer is incorrect, since your formula predicts w_{0}=2^{0}w_{0}+2-1=w_{0}+1
Similarly w_{1}=2w_{0}+2^{2}-1=2w_{0}+3

You have correctly found:
w_{n}=2^{n}w_{0}+2^{n+1}-1-2^{n}
Rewrite this as follows:
2^{n}w_{0}+2^{n+1}-1-2^{n}=w_{0}2^{n}+2^{n}(2-1)-1=w_{0}2^{n}+2^{n}-1=2^{n}(w_{0}+1)-1
 
Thanks for the help but I still don't understand how the book got w_n = 2^{n + 1} - 2 + 2^n v_0 (I've typed the answer exactly as it is given with the v_0 and not the w_0). Is my corrected answer(the one you included in your reply) somehow equivalent to the book's answer? Or is it possble to get 'different' general solutions depending on the solution procedure?
 
Last edited:
Your book's formula is wrong!

Your difference equation says that w_{1}=2w_{0}+1
but their formula says: w_{1}=2^{2}-2+2w_{0}=2+2w_{0}
 
Last edited:
Hmm...I know that the answers in books are never (rarely) 100% with their answers but since it is so rare for an error to be in there I just assumed that their answer had to be correct. Thanks for clearing that up.
 
Question: A clock's minute hand has length 4 and its hour hand has length 3. What is the distance between the tips at the moment when it is increasing most rapidly?(Putnam Exam Question) Answer: Making assumption that both the hands moves at constant angular velocities, the answer is ## \sqrt{7} .## But don't you think this assumption is somewhat doubtful and wrong?

Similar threads

  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
6
Views
1K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 2 ·
Replies
2
Views
4K
Replies
23
Views
2K