Bug in derivative of JacobiDN in Maple 5 and Maple 6 (27.4.98)

Robert Michael Sinclair

Maple V R5’s expression for the partial derivative of JacobiDN with respect to its second argument is incorrect (the sign of the first summand is wrong, see below). A workaround is to substitute all occurrences of JacobiDN(u,k) in an expression which is to be differentiated with sqrt(1-k^2*JacobiSN(u,k)^2), and then differentiate.

In the following,

dj(u,k) returns Maple’s incorrect expression for the derivative,

cdj(u,k) returns Maple’s expression but with a minus sign before the first summand inserted by hand,

ndj(u,k,h) approximates the derivative by the standard difference quotient with step h, and

sdj(u,k) returns an expression computed using the workaround suggested above:


See also: Bug in Jacobi elliptic function

It is corrected with Maple 7 (U. Klein)