Re: derivatives and subscripts
- To: mathgroup at smc.vnet.net
- Subject: [mg108747] Re: derivatives and subscripts
- From: Thomas Melehan <tpmelehan at me.com>
- Date: Tue, 30 Mar 2010 05:00:38 -0500 (EST)
Subscripted variables don't behave well.
Use Symbolize[subscripted variable]
Needs[Notation]
On Mar 29, 2010, at 6:20 AM, fizzy wrote:
> I try to use subscripts as much as possible even for defining functions
> of say x,y,z....Note that I use the palette to do this which I can't
> reproduce here....example.....defining the 'x' component of the Electric
> Field which is a function of Cartesian coordinate 'x'......
>
> E subscript Script x [x]
>
>
> where the E subscript comes from the Basic Math palette....and the
> Script x comes from the Special Characters palette.....E is taken from
> the Greek letters....
>
> there is no problem with this until I take the derivative....I get the
> following output...
>
>
> (E subscript Script x) ' [x]......
>
> Prior to version 6 I got what i wanted, namely....
>
> E subscript Script x ' [x] ......
>
>
> .....I tried a rule to get rid of the extra parentheses as well as a
> Format statement....but neither fixed it....I also tried the Notations
> package to Symbolize subscripts but still get the same output.....here
> is how I tried to use a rule....
>
> rule={(E subscript Script x) ' [x] -> E subscript Script x '
> [x]//HoldForm......}
>
> any ideas?
>
> thanks...jerry blimbaum