MathGroup Archive 2000

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

Search the Archive

Re: collect derivatives

  • To: mathgroup at
  • Subject: [mg23350] Re: collect derivatives
  • From: Eckhard Hennig <hennig at>
  • Date: Thu, 4 May 2000 02:59:17 -0400 (EDT)
  • Organization: ITWM
  • References: <8eg6bb$>
  • Sender: owner-wri-mathgroup at

Robert schrieb in Nachricht <8eg6bb$h2f at>...
>is there a way to use "collect[]" to collect all terms with a specific
>derivative, e.g. to produce something like
>z''[x] u[x] + z'[x] (u'[x]+u[x]) + z[x]

Yes, you can use Collect as follows:

Collect[yourexpr, z[x] | Derivative[_][z][x]]

-- Eckhard

Dr.-Ing. Eckhard Hennig        mailto:hennig at
Institut fuer Techno- und Wirtschaftsmathematik e.V. (ITWM)
Erwin-Schroedinger-Strasse,  67663 Kaiserslautern,  Germany
  Voice: +49-(0)631-205-3126    Fax: +49-(0)631-205-4139

     ITWM - Makers of Analog Insydes for Mathematica

  • Prev by Date: A bug in SameQ
  • Next by Date: Re: avoid spurious vertical segment in step function plot
  • Previous by thread: Re: collect derivatives
  • Next by thread: Re: Parallel Toolkit