Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2005

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Replace in recursive equations

  • To: mathgroup at
  • Subject: [mg54389] Re: [mg54371] Replace in recursive equations
  • From: Andrzej Kozlowski <akoz at>
  • Date: Sun, 20 Feb 2005 00:07:48 -0500 (EST)
  • References: <>
  • Sender: owner-wri-mathgroup at

On 19 Feb 2005, at 08:32, Skirmantas wrote:

> The last sentence of my previous message about Inverse got somehow
> scrambled. I meant "I have to re-input the output to get the result."
> One more quick question. Suppose I have a recursive equation F[n+1]==a
> F[n]. I want to replace F[n]->FF[n]+Q for _all_ n's. Q is a constant.
> What is the best way to do it? The left side should become FF[n+1]+Q
> and the right a(FF[n]+Q). Any help would be appreciated.

F[n + 1] == a*F[n] /. F[x_] -> FF[x] + Q

Q + FF[n + 1] == a*(Q + FF[n])

Andrzej Kozlowski
Chiba, Japan

  • Prev by Date: Re: How do I get a DSolve'd function
  • Next by Date: RE: computing cumulative sum for list
  • Previous by thread: Replace in recursive equations
  • Next by thread: Re: Replace in recursive equations