       Re: Baffling change to partial derivative in version 5.1

• To: mathgroup at smc.vnet.net
• Subject: [mg61581] Re: Baffling change to partial derivative in version 5.1
• From: Jean-Marc Gulliet <jeanmarc.gulliet at gmail.com>
• Date: Sun, 23 Oct 2005 05:45:46 -0400 (EDT)
• Organization: The Open University, Milton Keynes, UK
• References: <djcgvr\$6n9\$1@smc.vnet.net>
• Sender: owner-wri-mathgroup at wolfram.com

```Steven HANCOCK wrote:
> Please, can anyone explain (or even just reproduce) the following behaviour?
>
>
> In:=
> \$Version
>
> Out=
> 5.1 for Microsoft Windows (October 25, 2004)
>
> In:=
> \$ReleaseNumber
>
> Out=
> 0
>
> In:=
> D[x y, t, NonConstants->{x}]
>
> Out=
> y D[x, t, NonConstants -> {x}]
>
> In:=
> D[x y, time, NonConstants->{x}]
>
> Out=
> 0
>
>
> Merely changing the spelling of the variable from t to time does not
> return zero in version 4.2.
>                              Thanks, Steve.
>
Hi Steve,

I have the same weird behavior with Mathematica 5.2 on Windows XP. If we
try to differentiate w.r.t. time1, time42, timtim, for instance, we
still get 0. However, if we differentiate w.r.t. to tim or timetime,
that works. Nevertheless, a variable called times yields 0 when a
variable call Times yields the correct expression (see examples below).

In:=
D[x*y, time, NonConstants -> {x}]

Out=
0

In:=
D[x*y, time1, NonConstants -> {x}]

Out=
0

In:=
D[x*y, time42, NonConstants -> {x}]

Out=
0

In:=
D[x*y, timetim, NonConstants -> {x}]

Out=
0

In:=
D[x*y, tim, NonConstants -> {x}]

Out=
y*D[x, tim, NonConstants -> {x}]

In:=
D[x*y, timetime, NonConstants -> {x}]

Out=
y*D[x, timetime, NonConstants -> {x}]

In:=
D[x*y, timetime, NonConstants -> {x}]

Out=
y*D[x, timetime, NonConstants -> {x}]

In:=
D[x*y, Times, NonConstants -> {x}]

Out=
y*D[x, Times, NonConstants -> {x}]

In:=
D[x*y, times, NonConstants -> {x}]

Out=
0

In:=
\$Version

Out=
"5.2 for Microsoft Windows (June 20, 2005)"

Best regards,
/J.M.

```

• Prev by Date: Re: precision of a measurement (documentation related question)
• Next by Date: Re: precision of a measurement (documentation related question)
• Previous by thread: Re: Baffling change to partial derivative in version 5.1
• Next by thread: Re: Baffling change to partial derivative in version 5.1