Nonhomogeneous difference equation question

Click For Summary
SUMMARY

The discussion centers on solving a nonhomogeneous difference equation represented as x(t+2) - 3x(t+1) + 2x(t) = 3*5^t + sin(0.5πt). The user successfully identifies the homogeneous solution with roots 1 and 2 and applies the method of undetermined coefficients to find a particular solution. The proposed form for the particular solution is u(t) = C*3*5^t + D*sin(0.5πt), leading to the determination of C as 1/12. The user seeks assistance in addressing the sine component of the equation.

PREREQUISITES
  • Understanding of nonhomogeneous difference equations
  • Familiarity with the method of undetermined coefficients
  • Knowledge of solving homogeneous equations
  • Basic trigonometric identities and their applications
NEXT STEPS
  • Research the method of undetermined coefficients for difference equations
  • Explore techniques for solving nonhomogeneous linear difference equations
  • Study the application of trigonometric identities in difference equations
  • Learn about the characteristics of discrete-time systems in difference equations
USEFUL FOR

Students and educators in mathematics, particularly those focused on difference equations, as well as anyone involved in discrete-time system analysis.

samoth2
Messages
2
Reaction score
0

Homework Statement


Find the general solution

Homework Equations


x(t+2)-3x(t+1)+2x(t)=3*5^t+sin(0.5πt)

The Attempt at a Solution


I start out by solving the homogeneous equation and end up with the two roots 1 and 2.

Then I try to use the method of undetermined coefficients to find a particular solution.

I guess that the solution is of the following form (I should probably include a cos term as well)

u(t)=C*3*5^t+D*sin(0.5πt)

then

u(t+1)=C*3*5^(t+1)+D*sin(0.5π(t+1))

and

u(t+2)=C*3*5^(t+2)+D*sin(0.5π(t+2))

I then insert these equations into the original equation to get

C*3*5^(t+2)+D*sin(0.5π(t+2))-3*(C*3*5^(t+1)+D*sin(0.5π(t+1)))+2*(C*3*5^t+D*sin(0.5πt))=3*5^t+sin(0.5πt)

move the terms around a bit to get

3*5^t(C*5^2-3*C*5+2*C)+D*sin(0.5π(t+2)-3*D*sin(0.5π(t+1))+2*D*sin(0.5πt)=3*5^5+sin(0.5πt)

From the first part I see that

(C*5^2-3*C*5+2*C)=1

so

C=1/12

I would like to do something similar for the sin part of the expression, but I'm not sure how to handle it.
I tried with sin(0.5π(t+2))=sin(0.5πt+π)=-sin(0.5πt) but then I don't know what to do with sin(0.5(t+1)).

If anyone has any hints, tips or tricks I would be happy.

I hope the equations are understandable otherwise I'll post them as a picture.

Thanks in advance.
 
Physics news on Phys.org
Is this your original equation? It doesn't look like a non-homogeneous ODE to me.
[tex]x(t+2)-3x(t+1)+2x(t)=3(5^t)+sin(0.5πt)[/tex]
I just noticed in your title you call it a "difference equation" and not "differential equation", in which case, i might have misunderstood the problem.
 
I just realized I can do subscripts. The original problem is this:

xt+2-3xt+1+2xt=3(5t)+sin(0.5πt)

Yeah it's a difference equation so we only have discrete moments of time.
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
Replies
4
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
3
Views
1K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
8
Views
1K
  • · Replies 5 ·
Replies
5
Views
3K