question RE: difference equations

• To: mathgroup at smc.vnet.net
• Subject: [mg26066] question RE: difference equations
• From: John McArthur <john.mcarthur at brasenose.oxford.ac.uk>
• Date: Wed, 22 Nov 2000 01:55:54 -0500 (EST)
• Sender: owner-wri-mathgroup at wolfram.com

```I am a new Mathematica user so apologize for the basic nature of my
question:

I want to set up a system of simultaneous difference equations but am
having trouble with the syntax. Essentially I would like to map the growth
of a system as follows:

y1(t)=y1(t-1) + a*y2(t-1) + b*y3(t-1)... + xx*yn(t-1)
y2(t)=y2(t-1) + c*y1(t-1) + d*y3(t-1)... + yy*yn(t-1)
...
yn(t)=yn(t-1) + x*y1(t-1) + z*y2(t-1)... + zz*y[n-1](t-1)

I know how to set up a univariate recursive equation, but am not clear on
how to set up a multivariate form. My most common error message is one of
"recursion limit reached."  Any suggestions (and possibly advice
on the simplest way to set up a system like the one above) would be
greatly appreciated.

Many thanks,
John McArthur

```

• Prev by Date: Problem with finding angles between points in Cartesian plane
• Next by Date: 3D movement
• Previous by thread: Re: Problem with finding angles between points in Cartesian plane
• Next by thread: Re: question RE: difference equations