Sequence - inhomogeneous recursion

  • Context: MHB 
  • Thread starter Thread starter goohu
  • Start date Start date
  • Tags Tags
    Recursion Sequence
Click For Summary
SUMMARY

The discussion focuses on solving a specific type of inhomogeneous recurrence relation represented as π‘Žπ‘˜ = A * π‘Ž(π‘˜βˆ’1) βˆ’ B * π‘Ž(π‘˜βˆ’2) with an alternating term. The solution involves substituting π‘Žπ‘˜ with π‘π‘˜ = π‘Žπ‘˜ + c(-1)^k, allowing the elimination of the alternating term by selecting c = 2/5. This transformation simplifies the recurrence relation, enabling the calculation of π‘π‘˜, from which π‘Žπ‘˜ can be derived. The user successfully solved the problem after initially struggling with the characteristic equation, utilizing a web calculator for assistance.

PREREQUISITES
  • Understanding of recurrence relations and their forms
  • Familiarity with characteristic equations in linear algebra
  • Basic knowledge of alternating series and their manipulation
  • Experience with mathematical problem-solving techniques
NEXT STEPS
  • Study inhomogeneous recurrence relations in detail
  • Learn about characteristic equations and their solutions
  • Explore the method of undetermined coefficients for solving recurrences
  • Practice solving alternating series and their transformations
USEFUL FOR

Students of mathematics, particularly those studying discrete mathematics or recurrence relations, as well as educators looking for effective teaching methods for complex problem-solving techniques.

goohu
Messages
53
Reaction score
3
NamnlΓΆs.png


I need some help with this task. My theory book only shows examples of how to solve sequences in the form :

π‘Žπ‘˜ = A * π‘Ž(π‘˜βˆ’1) βˆ’ B * π‘Ž(π‘˜βˆ’2).

But I've no idea how to solve this task because of the alternating term. I've included the Answer (called "Svar") to the task.
 
Physics news on Phys.org
goohu said:
I need some help with this task. My theory book only shows examples of how to solve sequences in the form :

π‘Žπ‘˜ = A * π‘Ž(π‘˜βˆ’1) βˆ’ B * π‘Ž(π‘˜βˆ’2).

But I've no idea how to solve this task because of the alternating term. I've included the Answer (called "Svar") to the task.
One way to do this would be to replace $a_k$ by $b_k = a_k + c(-1)^k$ (where $c$ is a constant to be chosen later). Then $a_k = b_k - c(-1)^k$, and the recurrence equation for $a_k$ becomes $$b_k - c(-1)^k = 3(b_{k-1} - c(-1)^{k-1}) - (b_{k-2} - c(-1)^{k-2}) - 2(-1)^k,$$ $$b_k = 3b_{k-1} - b_{k-2} + (-1)^k(c + 3c + c - 2).$$ Now choose $c$ so that $5c-2=0$ (so $c = \frac25$). That eliminates the awkward $(-1)^k$ term from the $b_k$ equation, which you should now be able to solve. Having found the answer for $b_k$, you then have $a_k = b_k - \frac25(-1)^k$.
 
Thanks, that was a pretty solution! However the calculations got a bit messy while solving the characteristic equation for bk by hand so I went ahead and used a web calculator for it.

I'm going to give it another shot tomorrow solving it by hand.

We are not allowed to use a pocket calculator at the exam plus you lose a lot of credits if you go wrong somewhere in the calculations. That makes me a really angry student.

Edit: Solved the problem now! thanks again for the elegant solution.
 
Last edited:

Similar threads

  • Β· Replies 1 Β·
Replies
1
Views
1K
  • Β· Replies 8 Β·
Replies
8
Views
3K
  • Β· Replies 11 Β·
Replies
11
Views
4K
  • Β· Replies 4 Β·
Replies
4
Views
7K
  • Β· Replies 3 Β·
Replies
3
Views
10K
  • Β· Replies 4 Β·
Replies
4
Views
2K
  • Β· Replies 11 Β·
Replies
11
Views
4K
  • Β· Replies 1 Β·
Replies
1
Views
2K
  • Β· Replies 3 Β·
Replies
3
Views
2K
  • Β· Replies 29 Β·
Replies
29
Views
4K