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 2000

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

Search the Archive

Re: collect derivatives

  • To: mathgroup at
  • Subject: [mg23305] Re: [mg23259] collect derivatives
  • From: BobHanlon at
  • Date: Mon, 1 May 2000 18:00:07 -0400 (EDT)
  • Sender: owner-wri-mathgroup at

In a message dated 4/29/2000 10:20:20 PM, robert.schuerhuber at writes:

>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]

I believe that this would be case-specific; however, for the example that you 

expr = (z''[x] u[x] + z'[x] (u'[x] + u[x]) + z[x] // Expand);

expr // Simplify

z[x] + u'[x]*z'[x] + u[x]*(z'[x] + z''[x])

expr // FullSimplify

z[x] + (u[x] + u'[x])*z'[x] + u[x]*z''[x]


BobHanlon at

  • Prev by Date: Re: Transparency in 3D Graphics?
  • Next by Date: Re: Parallel Toolkit
  • Previous by thread: Re: Fit with constraints?
  • Next by thread: Re: collect derivatives