Solve Inhomogeneous Linear Diff Eq: Zizi’s Question @ Yahoo Answers

Click For Summary
SUMMARY

The discussion focuses on solving the inhomogeneous linear difference equation defined as $$u_{n}=6u_{n-1}-25u_{n-2}+\frac{32}{9}3^n$$ with initial conditions $$u_0=6$$ and $$u_1=46$$. The solution involves finding the homogeneous part using the characteristic equation $$r^2-6r+25=0$$, yielding roots $$r=3\pm4i$$. The general solution is derived as $$u_n=5^n(4\cos(nA)+7\sin(nA))+2\cdot3^n$$, where $$A=\sin^{-1}\left(\frac{4}{5}\right)$$.

PREREQUISITES
  • Understanding of linear difference equations
  • Familiarity with characteristic equations and roots
  • Knowledge of superposition principle in solutions
  • Basic trigonometric identities and inverse functions
NEXT STEPS
  • Study the method of solving linear difference equations
  • Learn about the application of the quadratic formula in characteristic equations
  • Explore the concept of superposition in differential equations
  • Investigate the use of trigonometric functions in solutions of difference equations
USEFUL FOR

Mathematicians, students studying difference equations, educators teaching advanced algebra, and anyone interested in solving linear recurrence relations.

MarkFL
Gold Member
MHB
Messages
13,284
Reaction score
12
Here is the question:

Recurrence relation math/question?

Hi

Please check my attempt at solving the problem:

http://oi39.tinypic.com/2cfwfm1.jpg

Would appreciate any help with the questions I have written in red, thanks

I have posted a link there to this thread so the OP can view my work.
 
Physics news on Phys.org
Hello zizi,

We are given the linear difference equation:

$$u_{n}=6u_{n-1}-25u_{n-2}+\frac{32}{9}3^n$$ where $$u_0=6,\,u_1=46$$

and we are told to define $$A=\sin^{-1}\left(\frac{4}{5} \right)$$ and we are allowed to express the solution in terms of $A$.

We first want to solve the associated homogeneous equation:

$$u_{n}-6u_{n-1}+25u_{n-2}=0$$

The characteristic equation is:

$$r^2-6r+25=0$$

Application of the quadratic formula yields the characteristic roots:

$$r=3\pm4i$$

Expressing the roots in polar form, we find:

$$r=5e^{\pm Ai}$$

And so the homogenous solution is given by:

$$h_n=c_15^n\cos(nA)+c_25^n\sin(nA)$$

Now, we may assume there is a particular solution of the form:

$$p_n=c_33^n$$

We may substitute this solution into the difference equation to determine the value of the parameter $c_3$:

$$c_33^n-6c_33^{n-1}+25c_33^{n-2}=\frac{32}{9}3^n$$

Multiply through by 9 and factor the left side:

$$c_3\left(9\cdot3^n-18\cdot3^{n}+25\cdot3^{n} \right)=32\cdot3^n$$

Divide through by $3^n$:

$$c_3\left(9-18+25 \right)=32$$

$$16c_3=32$$

$$c_3=2$$

And so we find the particular solution is:

$$p_n=2\cdot3^n$$

Thus, by superposition, we find the general solution to the difference equation is given by:

$$u_n=h_n+p_n=c_15^n\cos(nA)+c_25^n\sin(nA)+2\cdot3^n=5^n\left(c_1\cos(nA)+c_2\sin(nA) \right)+2\cdot3^n$$

Now we may use the initial values to determine the values of the two parameters.

$$u_0=5^0\left(c_1\cos(0\cdot A)+c_2\sin(0\cdot A) \right)+2\cdot3^0=c_1+2=6\implies c_1=4$$

$$u_1=5^1\left(c_1\cos(A)+c_2\sin(A) \right)+2\cdot3^1=3c_1+4c_2+6=46\implies c_2=7$$

Hence, the solution satisfying all given conditions is:

$$u_n=5^n\left(4\cos(nA)+7\sin(nA) \right)+2\cdot3^n$$
 

Similar threads

Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
1
Views
2K
Replies
1
Views
2K
Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
1
Views
4K