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

  • Context: Graduate 
  • Thread starter Thread starter flying2000
  • Start date Start date
  • Tags Tags
    Formula
Click For Summary
SUMMARY

The discussion focuses on deriving a non-recursive formula for the sequence y(n) defined by specific initial conditions and a recursive relationship. The initial values are y(1) = 1, y(2) = 1, y(3) = 0, and y(4) = 0, with the recursive formula y(n) = (y(n-4) + y(n-3))/2 for n > 4. Participants suggest writing down the first few terms, guessing a formula, and proving it inductively. The sequence is identified as linear and homogeneous, leading to the characteristic equation t^4 = 1 + t, which yields four solutions that can be used alongside the initial conditions to find the general solution.

PREREQUISITES
  • Understanding of linear homogeneous recurrence relations
  • Familiarity with characteristic equations in discrete mathematics
  • Knowledge of mathematical induction for proof techniques
  • Basic skills in solving polynomial equations
NEXT STEPS
  • Study linear homogeneous recurrence relations with constant coefficients
  • Learn how to derive and solve characteristic equations
  • Practice mathematical induction for proving formulas
  • Explore generating functions for sequences
USEFUL FOR

Mathematicians, computer scientists, and students studying discrete mathematics or algorithm design who are interested in solving recurrence relations and understanding sequence behavior.

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..
 
Physics 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 2 ·
Replies
2
Views
5K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 65 ·
3
Replies
65
Views
8K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 2 ·
Replies
2
Views
990
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K