Difference equation, ypn guess problem

Click For Summary
SUMMARY

The discussion focuses on solving the difference equation y[n+2] - 3y[n+1] + 2y[n] = 4n*2^n with initial conditions y0=0 and y1=1. The homogeneous solution is derived from the characteristic equation r^2 - 3r + 2 = 0, yielding roots r1=1 and r2=2, leading to the complementary function yhn = C1*1^n + C2*2^n. The challenge lies in finding the particular solution, where the participant suggests using a polynomial of the same degree as the non-homogeneous term, specifically ypn = bn(2^n), to account for the overlap with the complementary function.

PREREQUISITES
  • Understanding of difference equations
  • Familiarity with characteristic equations
  • Knowledge of homogeneous and particular solutions
  • Experience with polynomial functions and their degrees
NEXT STEPS
  • Study the method of undetermined coefficients for particular solutions
  • Learn about the impact of overlapping terms in complementary and particular solutions
  • Explore advanced topics in difference equations, such as non-homogeneous solutions
  • Review examples of solving difference equations with exponential and polynomial terms
USEFUL FOR

Students and educators in mathematics, particularly those studying difference equations, as well as anyone looking to deepen their understanding of solving non-homogeneous linear difference equations.

toofle
Messages
20
Reaction score
0

Homework Statement


Solve the difference equation

Homework Equations


y[n+2]-3y[n+1]+2y[n]==4n*2^n, n>=0
y0=0,y1=1



The Attempt at a Solution


1. Homogenous solution:
Characteristic equation => r^2-3r+2==0 <=> r1=1,r2=2 => yhn = C1*1^n+C2*2^n

2. Particular solution:
ypn = ?
I tried different things but everything comes out wrong.

I guess(what is the right word?) witha polynomial of the same degree as the right hand side of the equation how is it when 2^n is in both yhn and righthand side of the equation?
 
Physics news on Phys.org
Try ypn = bn(2^n). b is a constant to be found

Notice in the complimentary function, (2^n) is multiplied by just a constant, this is different to the form of the particular solution as the RHS contains a non-zero first degree polynomial multiplying (2^n).

But let's say for example your complementary function included a term cn(2^n) and the RHS = 4n(2^n) then for the particular solution we would try: Bn^2(2^n) so a 2nd degree polynomial multiplying 2^n
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
Replies
6
Views
2K
Replies
12
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
7
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K