MathGroup Archive 2004

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Problem with the Derivative of a Arg-function

ab_def at (Maxim) wrote:

> The short answer is that the derivative of Arg is undefined: Arg is
> not an analytical function. Just consider what happens when you move
> along different directions, for example, from 1 to 1+eps and from 1 to
> 1+I*eps, with real eps.

Yes, you are right.
I think that when Mathematica take numerical derivative, it's ought to
show error message in case of complex argument (without using
ComplexExpand) .

> In[1]:=
> ComplexExpand[(Arg[z + h] - Arg[z])/h, z,
>     TargetFunctions -> Abs] //
>   Limit[#, h -> 0] & // FullSimplify
> Out[1]=
> -Im[z]/Abs[z]^2

It's right for real argument, when Re'=1 or dRe[z]=dz
It common case it should be (-Im[z]*Re'[z]+Re[z]*Im'[z])/Abs[z]^2

Best wishes
Alex Klishko

  • Prev by Date: RE: Combining plots
  • Next by Date: Re: Combining plots
  • Previous by thread: Re: Problem with the Derivative of a Arg-function
  • Next by thread: Re: ANFIS