Re: A question of simplification
- To: mathgroup at smc.vnet.net
- Subject: [mg21007] Re: [mg20953] A question of simplification
- From: "David Park" <djmp at earthlink.net>
- Date: Thu, 2 Dec 1999 21:41:20 -0500 (EST)
- Sender: owner-wri-mathgroup at wolfram.com
>In Mathematica, when using partial differentiation, we get >D[c.f[x]]=0.f[x]+c.f'[x], not c.f'[x]. So, when the equation is long, >the result will be very tedious. >How can I simply the result to c.f'[x]? I have tested Simplify and >FullSimplify. It does not work. >Please help me! Thanks! > >Green D[c.f[x], x] % /. {0 ._ -> 0, _.0 -> 0} 0.f[x] + c.f'[x] c.f'[x] Don't forget the space between the 0 and the . in the rule. David Park djmp at earthlink.net http://home.earthlink.net/~djmp/