Ask Your Question

Weird output for differential of a non-analytic complex function.

asked 2012-04-18 09:38:46 +0200

d3banjan gravatar image

The following code,

f = z*z.conjugate()


z*D[0](conjugate)(z) + conjugate(z)

Now I undestand where the problem might be, $z$ and $z^*$ are usually treated as independent variables thus. But does sage mean by this output?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2012-04-18 10:07:36 +0200

niles gravatar image

updated 2012-04-18 10:09:39 +0200

The capital D is notation for the partial derivative; D[i] means partial derivative with respect to the ith variable of the function (where indexing starts at 0). So D[0](conjugate)(z) means take the partial derivative of the congugate function with respect to variable number 0 (i.e. z), and evaluate that derivative at z.

This notation is not universally loved, but was chosen deliberately after some long discussion. An explanation is given at this blog post. Note also that there is a Trac ticket 6344 which aims to change this notation, but it is now almost two years without an update.

edit flag offensive delete link more


@niles that was a nice answer!! thanks!

d3banjan gravatar imaged3banjan ( 2012-04-19 03:44:44 +0200 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2012-04-18 09:38:46 +0200

Seen: 521 times

Last updated: Apr 18 '12