MathGroup Archive 2000

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

Search the Archive

Re: collect derivatives

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