Solving this type of recurrence equation

  • Thread starter Thread starter samuelandjw
  • Start date Start date
  • Tags Tags
    Recurrence Type
AI Thread Summary
The discussion focuses on solving the recurrence equation (1-g_{i+1})P_{i+1}-P_{i}+g_{i-1}P_{i-1}=0 for P_{i} with periodic boundary conditions. It is noted that setting g and P as constant sequences provides a solution, but the original problem involves arbitrary g_i, leading to L simultaneous linear equations. A suggestion is made to consider whether a closed-form symbolic answer is desired rather than a numerical one. The use of z-transforms for linear constant coefficient difference equations is mentioned, although the contributor has not personally applied this method. The discrete Fourier transform is recommended for handling the periodic nature of P_{i} and g_{i}.
samuelandjw
Messages
22
Reaction score
0
Hi,

The problem is to solve
(1-g_{i+1})P_{i+1}-P_{i}+g_{i-1}P_{i-1}=0
for P_{i}
with boundary condition
P_{i}=P_{i+L}, g_{i}=g_{i+L}
Can anyone provide any guide of solving this type of recurence equation?
Thank you!
 
Last edited:
Mathematics news on Phys.org
I don't know of any general methods for solving recurrence relations in several unknown functions.

Since setting g and P to be constant sequences gives a solution to the problem, I suggest that you state additional conditions that g and P must satistfy if having them constant isn't what you are after.
 
Stephen Tashi said:
I don't know of any general methods for solving recurrence relations in several unknown functions.

Since setting g and P to be constant sequences gives a solution to the problem, I suggest that you state additional conditions that g and P must satistfy if having them constant isn't what you are after.

Thanks for your reply.

In my problem, g_i is given and arbitrary, so in general g_i is not a constant sequence.
 
Then, as I interpret the problem, it amounts to solving L simultaneous linear equations with constant coefficients and unknowns P_1,P_2,..P_L.

Are you looking for a closed form symbolic answer instead of a numerical one?

( The wikipedia article on "recurrence relation" says that linear constant coefficient difference equations can be solved with z-transforms. I, myself, have never done that. )
 
Because both \lbrace P_{i}\rbrace and \lbrace g_{i}\rbrace are period with a common period of L, you should use the discrete Fourier transform:

<br /> P_{i} = \frac{1}{\sqrt{L}} \, \sum_{k = 0}^{L - 1}{\tilde{P}_{k} \, \exp{\left(\frac{2 \pi j k \, i}{L}\right)}}<br />
and similarly for g_{i}. Then you will use the convolution theorem for the products.
 
Seemingly by some mathematical coincidence, a hexagon of sides 2,2,7,7, 11, and 11 can be inscribed in a circle of radius 7. The other day I saw a math problem on line, which they said came from a Polish Olympiad, where you compute the length x of the 3rd side which is the same as the radius, so that the sides of length 2,x, and 11 are inscribed on the arc of a semi-circle. The law of cosines applied twice gives the answer for x of exactly 7, but the arithmetic is so complex that the...
Is it possible to arrange six pencils such that each one touches the other five? If so, how? This is an adaption of a Martin Gardner puzzle only I changed it from cigarettes to pencils and left out the clues because PF folks don’t need clues. From the book “My Best Mathematical and Logic Puzzles”. Dover, 1994.
Back
Top