Message Boards Message Boards

1
|
837 Views
|
3 Replies
|
3 Total Likes
View groups...
Share
Share this post:

Circumventing discontinuity of complex function fails with different parameters

Posted 4 months ago

Hello Wolfram Community!

The attached notebook shows the discontinuity of the complex function as it should. However, one introduces A Log function using IF- statement to 2 Pi I when arg [z] < 0 to circumvent the discontinuity. While this works well in some cases (as shown in the attached notebook), it does not work when using a different set of parameters (as shown in the attached notebook).

I was wondering if there is a broader and more robust way that encompasses the second plot shown at the end of the attached notebook.

Thank you in advance!

Attachments:
POSTED BY: Hashim Hashim
3 Replies
Posted 4 months ago

Hi!

Thank you for your note. MyLog still works physically for all intents and purposes; in fact it renders accurate data. If any discontinuities left, they are negligibly insignificant.

Thanks!

HH

POSTED BY: Hashim Hashim

Sorry, I meant (-y, x)/(x^2+y^2).

POSTED BY: Gianluca Gorni

Your myLog is discontinuous on the positive real axis:

myLog[z_] := If[Arg[z] < 0, Log[z] + I 2 \[Pi], Log[z]]
FunctionDiscontinuities[myLog[z], z]
ComplexPlot[myLog[z], {z, -1 - I, 1 + I}]

You cannot redefine Log in the complex plane without discontinuities. You may have studied that the vector field (x,-y)/(x^2+y^2) has locally a potential but not globally. It is basically the same thing.

POSTED BY: Gianluca Gorni
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract