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

In summary: A)+c_25^n\sin(nA)+2c_33^nIn summary, the problem asks for a recurrence relation for the solution to the linear difference equation with given initial values.
  • #1
MarkFL
Gold Member
MHB
13,288
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.
 
Mathematics news on Phys.org
  • #2
Hello zizi,

We are given the linear difference equation:

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

and we are told to define \(\displaystyle 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:

\(\displaystyle u_{n}-6u_{n-1}+25u_{n-2}=0\)

The characteristic equation is:

\(\displaystyle r^2-6r+25=0\)

Application of the quadratic formula yields the characteristic roots:

\(\displaystyle r=3\pm4i\)

Expressing the roots in polar form, we find:

\(\displaystyle r=5e^{\pm Ai}\)

And so the homogenous solution is given by:

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

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

\(\displaystyle p_n=c_33^n\)

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

\(\displaystyle 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:

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

Divide through by $3^n$:

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

\(\displaystyle 16c_3=32\)

\(\displaystyle c_3=2\)

And so we find the particular solution is:

\(\displaystyle p_n=2\cdot3^n\)

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

\(\displaystyle 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.

\(\displaystyle 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\)

\(\displaystyle 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:

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

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

What is an inhomogeneous linear differential equation?

An inhomogeneous linear differential equation is a type of differential equation where the dependent variable appears as a linear function and the independent variable appears as a polynomial function. The equation is considered inhomogeneous because it has a non-zero constant term, unlike a homogeneous differential equation where the constant term is always zero.

How do you solve an inhomogeneous linear differential equation?

To solve an inhomogeneous linear differential equation, you can use the method of undetermined coefficients or the method of variation of parameters. In the method of undetermined coefficients, you assume a particular solution and solve for the constants. In the method of variation of parameters, you assume the solution to be of the form y = u(x)yp(x), where u(x) is a function to be determined.

What is the importance of solving inhomogeneous linear differential equations?

Inhomogeneous linear differential equations are important in many fields of science, including physics, engineering, and economics. They can be used to model real-world situations and predict future behaviors. For example, in physics, inhomogeneous linear differential equations can be used to model the motion of objects under the influence of external forces.

What are the boundary conditions for solving inhomogeneous linear differential equations?

The boundary conditions for solving inhomogeneous linear differential equations are the initial conditions and the boundary conditions. The initial conditions specify the value of the dependent variable at a specific point, while the boundary conditions specify the behavior of the dependent variable at the boundaries of the domain of the equation.

What are some applications of inhomogeneous linear differential equations?

Inhomogeneous linear differential equations have many applications in various fields. They are used in signal processing to analyze and process signals, in economics to model economic systems, in engineering to model dynamic systems, and in physics to study the behavior of physical systems. They are also used in the design and analysis of control systems.

Similar threads

Replies
1
Views
1K
Replies
1
Views
1K
Replies
4
Views
2K
Replies
1
Views
1K
Replies
1
Views
2K
Replies
4
Views
2K
Replies
1
Views
1K
Replies
1
Views
2K
Back
Top