Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2000
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*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 smc.vnet.net
  • Subject: [mg23280] Re: [mg23259] collect derivatives
  • From: Andrzej Kozlowski <andrzej at platon.c.u-tokyo.ac.jp>
  • Date: Sun, 30 Apr 2000 21:13:32 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

on 00.4.30 11:05 AM, Robert at robert.schuerhuber at gmx.at wrote:

> 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]
> 
> ?
> 
> thanks, robert
> 
> 
Use patterns in Collect, e.g.

In[1]:=
                                                        (_)
Collect[z[x] + u[x] z'[x] + u'[x] z'[x] + u[x] z''[x], z   [x]]

Out[1]=
z[x] + (u[x] + u'[x]) z'[x] + u[x] z''[x]
--
Andrzej Kozlowski
Toyama International University
Toyama, Japan
http://sigma.tuins.ac.jp/




  • Prev by Date: Re: hating DSolve...
  • Next by Date: Re: Problem with Plot and Ticks-function
  • Previous by thread: RE: collect derivatives
  • Next by thread: NURBS ?