Difference equation, ypn guess problem

In summary, To solve the given difference equation, first find the homogenous solution using the characteristic equation and then find the particular solution by guessing a polynomial of the same degree as the right hand side of the equation. Adjust the coefficients if necessary to account for any terms already present in the homogenous solution.
  • #1
toofle
20
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
  • #2
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
 

1. What is a difference equation?

A difference equation is a mathematical equation that describes the relationship between the current value and the previous value of a sequence or function. It is used to model systems that change over time.

2. What is the difference between a difference equation and a differential equation?

Both difference equations and differential equations are used to describe the behavior of mathematical models. The main difference is that a difference equation deals with discrete values while a differential equation deals with continuous values.

3. What is the ypn guess problem in difference equations?

The ypn guess problem refers to the process of estimating the value of y at a certain time step in a difference equation. This can be challenging because the value of y depends on the previous values and the initial conditions of the system.

4. How do you solve the ypn guess problem?

To solve the ypn guess problem, you can use various methods such as substitution, iteration, or using known values to find the unknown value. It is also important to check the validity of the solution by plugging it back into the original difference equation.

5. What are some real-world applications of difference equations?

Difference equations have many applications in various fields such as economics, physics, and biology. They are used to model population growth, chemical reactions, and stock market trends, among others. In engineering, difference equations are also used in control systems to predict and control the behavior of systems over time.

Similar threads

  • Calculus and Beyond Homework Help
Replies
1
Views
1K
  • Calculus and Beyond Homework Help
Replies
3
Views
566
  • Calculus and Beyond Homework Help
Replies
6
Views
380
  • Calculus and Beyond Homework Help
Replies
6
Views
754
  • Calculus and Beyond Homework Help
Replies
6
Views
931
  • Calculus and Beyond Homework Help
Replies
4
Views
1K
Replies
12
Views
368
  • Calculus and Beyond Homework Help
Replies
7
Views
699
  • Calculus and Beyond Homework Help
Replies
2
Views
1K
  • Calculus and Beyond Homework Help
Replies
4
Views
934
Back
Top