Nonhomogeneous recurrence relations

Click For Summary
SUMMARY

The discussion focuses on solving the nonhomogeneous recurrence relation defined by an = 3an−1 − 2an−2 + 3, with initial conditions a0 = a1 = 1. The general solution is identified as A12n + A0, while the challenge lies in determining the particular solution. Participants suggest that since a constant cannot serve as a particular solution due to its inclusion in the homogeneous solution, a linear term of the form an = Cn should be tested instead.

PREREQUISITES
  • Understanding of recurrence relations and their solutions
  • Familiarity with homogeneous and nonhomogeneous equations
  • Basic knowledge of linear algebra concepts
  • Experience with solving differential equations
NEXT STEPS
  • Explore methods for solving nonhomogeneous recurrence relations
  • Study the application of the method of undetermined coefficients
  • Learn about the characteristic equation for linear recurrence relations
  • Investigate the use of generating functions in recurrence relations
USEFUL FOR

Students and educators in mathematics, particularly those studying discrete mathematics or algorithm analysis, as well as anyone interested in solving recurrence relations in computational contexts.

Joe626
Messages
14
Reaction score
0

Homework Statement


Solve the recurrence relation an = 3an−1 −2an−2 +3, a0 = a1 = 1.

Homework Equations


an = general solution + particular solution

The Attempt at a Solution



I started with finding the general solution, which was easy. it ended up being A12n + A0

now I am having trouble solving the particular solution.

since 3 is a constant, we use B as the particular solution this results in:

B = 3B - 2B + 3

which is where i am stuck. If anyone knows how to do this i would be very grateful :)
 
Physics news on Phys.org
Joe626 said:

Homework Statement


Solve the recurrence relation an = 3an−1 −2an−2 +3, a0 = a1 = 1.


Homework Equations


an = general solution + particular solution


The Attempt at a Solution



I started with finding the general solution, which was easy. it ended up being A12n + A0

now I am having trouble solving the particular solution.

since 3 is a constant, we use B as the particular solution this results in:

B = 3B - 2B + 3

which is where i am stuck. If anyone knows how to do this i would be very grateful :)

But a constant is part of the homogeneous solution, so it can't work for the NH. So, similar to what you would do in differential equations, try multiplying by ##n## instead of just a constant. So try ##a_n = Cn## and see if that can work for a particular solution.
 

Similar threads

  • · Replies 11 ·
Replies
11
Views
2K
Replies
6
Views
2K
Replies
6
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 5 ·
Replies
5
Views
2K
Replies
12
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
Replies
3
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K