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 1999

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

Search the Archive

Re: Manipulating differential equations

  • To: mathgroup at
  • Subject: [mg18651] Re: Manipulating differential equations
  • From: Jens-Peer Kuska <kuska at>
  • Date: Thu, 15 Jul 1999 01:45:44 -0400
  • Organization: Universitaet Leipzig
  • References: <7m6jti$>
  • Sender: owner-wri-mathgroup at



dg1 /. Thread[{#,D[#,x],D[#,x,x]} & /@ (c[x]->Exp[-a x])]

Hope that helps

Martin Heimann wrote:
> Dear colleagues,
> I would like to insert test functions into an expression that contains
> differentials:
> dg1 = c''[x] + g c'[x]
> I would like e.g. to replace c[x] by Exp[-a x]:
> dg1/.c[x]->Exp[-a x]
> but this doesn't work; one has to put substitution rules for each of the
> derivatives explicitly. Is there a more elegant way to achieve this?
> Cheers,
> Martin Heimann

  • Prev by Date: Re: Concurrent Curve Fitting...
  • Next by Date: Re: trouble with greek letter output to EPS
  • Previous by thread: Re: Manipulating differential equations
  • Next by thread: Linear Interpolation