Solution to nonhomogenous difference equation?

In summary, difference equations are an important concept in signals and systems and can be solved using the method of undetermined coefficients. By assuming a particular solution and solving for the unknown coefficients, we can find the general solution and combine it with the particular solution to get the final solution.
  • #1
XcKyle93
37
0

Homework Statement



Though not a single thing has been mentioned about difference equations in my signals & systems course/any courses I have taken, difference equations have appeared on the homework. It is:
yn+1 + (1/5)yn = 10-n, y0 = 1

Homework Equations


yp = Akn


The Attempt at a Solution


Everything I try results in yn+1 = (-1/5)n + (10/3)10-n, which is wrong. What am I doing incorrectly?
 
Physics news on Phys.org
  • #2


Thank you for bringing this question to our attention. Difference equations are a common topic in the field of signals and systems, and it is important to have a good understanding of them in order to solve problems and analyze systems accurately.

Based on the given equation, yn+1 + (1/5)yn = 10-n, y0 = 1, it appears to be a first-order difference equation with a non-homogeneous term. In order to solve this equation, we can use the method of undetermined coefficients. This method involves assuming a particular solution for the equation, and then plugging it into the equation to solve for the unknown coefficients.

In this case, let's assume the particular solution is of the form yp = An. Plugging this into the equation, we get:
An+1 + (1/5)An = 10-n

Simplifying this equation, we get:
An+1 = (-1/5)An + 10-n

Now, we can use the initial condition y0 = 1 to solve for A. Plugging in n = 0, we get:
A1 = (-1/5)A0 + 10^0
A1 = (-1/5)(1) + 1
A1 = 4/5

Therefore, our particular solution is:
yp = (4/5)n

Now, we need to find the general solution to the homogeneous equation yn+1 + (1/5)yn = 0. This can be done by assuming a solution of the form yh = Bn and solving for B. Plugging this into the equation, we get:
Bn+1 + (1/5)Bn = 0

Simplifying, we get:
Bn+1 = (-1/5)Bn

Using the initial condition y0 = 1, we can solve for B:
B1 = (-1/5)B0
B1 = (-1/5)(1)
B1 = -1/5

Therefore, our general solution is:
yh = (-1/5)n

Combining the particular and general solutions, we get the final solution:
y = yp + yh = (4/5)n + (-1/5)n = (3/5)n

I hope this explanation helps you understand the solution process better. Please let me know if you have any further
 

Related to Solution to nonhomogenous difference equation?

1. What is a nonhomogenous difference equation?

A nonhomogenous difference equation is a mathematical equation that describes a sequence of values where the difference between consecutive terms is dependent on both the previous term and an external input. It is called nonhomogenous because it contains a term that is not equal to zero.

2. How can a nonhomogenous difference equation be solved?

A nonhomogenous difference equation can be solved by using the method of undetermined coefficients or the method of variation of parameters. These methods involve finding a particular solution that satisfies the nonhomogenous equation and combining it with the general solution of the corresponding homogeneous equation.

3. What is the difference between a nonhomogenous difference equation and a homogeneous difference equation?

A homogeneous difference equation is one where the external input term is equal to zero, while a nonhomogenous difference equation has a non-zero external input term. This means that the solution to a homogeneous difference equation is only dependent on the initial conditions, while the solution to a nonhomogenous difference equation is also affected by the external input.

4. Can a nonhomogenous difference equation have multiple solutions?

Yes, a nonhomogenous difference equation can have multiple solutions. This is because the general solution of a nonhomogenous difference equation is a combination of the particular solution and the general solution of the corresponding homogeneous equation. Therefore, there can be multiple combinations of solutions that satisfy the nonhomogenous equation.

5. How are nonhomogenous difference equations used in scientific research?

Nonhomogenous difference equations are used in various scientific fields, such as physics, engineering, and economics, to model and predict the behavior of systems that are affected by external factors. They are also used in data analysis and time series analysis to make forecasts and predictions based on historical data.

Similar threads

  • Calculus and Beyond Homework Help
Replies
6
Views
332
  • Calculus and Beyond Homework Help
Replies
1
Views
1K
  • Calculus and Beyond Homework Help
Replies
2
Views
1K
  • Calculus and Beyond Homework Help
Replies
12
Views
2K
  • Calculus and Beyond Homework Help
2
Replies
68
Views
4K
Replies
12
Views
469
  • Calculus and Beyond Homework Help
Replies
6
Views
2K
  • Calculus and Beyond Homework Help
Replies
3
Views
792
  • Calculus and Beyond Homework Help
Replies
4
Views
1K
  • Calculus and Beyond Homework Help
Replies
7
Views
429
Back
Top