bug in D, Maple V to Maple 8 (6.8.02)

Paul E.S. Wormer

Here follows a transcript of a Maple 6 session on a PC:

My question is: what is wrong with the last statement?

Robert Israel(7.8.02)

It’s a bug, and still present in Maple 8. A work-around is

Bill Whiten (8.8.02)

D[n] refers to nth argument, not nth derivative e.g.:

Stanley J Houghton (9.8.02)

It looks to me like a bug arising from

Surely, by definition, it should deliver the result (D[1](f)@g)*D[2](g) when f is a function of one variable (as with exp in your case).

In addition, I see that the same error arises when the variables are explicitly shown in