Can you find a non-recursive formula for y(n) with 4th order coefficients?

  • Thread starter Thread starter flying2000
  • Start date Start date
  • Tags Tags
    Formula
Click For Summary
A non-recursive formula for y(n) can be derived from the given recursive relationship, where y(n) is defined for specific initial conditions. The initial values are y(1) = 1, y(2) = 1, y(3) = 0, and y(4) = 0. To find a general solution, the characteristic equation t^4 = 1 + t can be solved, yielding four roots. By applying the initial conditions to the general solution of the form At^n, a non-recursive formula can be established. Further exploration of the first few terms and inductive proof may assist in confirming the derived formula.
flying2000
Messages
40
Reaction score
0
How to get a non-recursive formula for y(n):

y(n)=1 (n=1 or 2)
y(n)=0 (n=3 or 4)
y(n)=(y(n-4) + y(n-3))/2


Any hints apprecaited..
 
Mathematics news on Phys.org
write down the first few terms, guess an answer and prove it inductively, that'd be my guess.

or work backwards from y(n) repeatedly subs'ing in and see what works.
 
I have already wrote down previous 20 items, still can't find the relationship

I have already wrote down previous 20 items, still can't find the relationship


matt grime said:
write down the first few terms, guess an answer and prove it inductively, that'd be my guess.

or work backwards from y(n) repeatedly subs'ing in and see what works.
 
Ok, I suppose a 4th order is going a little too far to ask you to spot it...

however, it is linear and homogeneous, so the general solution is of the form At^n for some constants t and A, t satisfies

t^n = t^{n-4}+t^{n-3}

or

t^4=1+t,

solve that, to get 4 solutions, and then apply the 4 initial conditions.
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
806
  • · Replies 12 ·
Replies
12
Views
2K
  • · Replies 17 ·
Replies
17
Views
1K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K