I'm about 90% certain this is a Mathematica issue, not me making a silly mistake.
I'm trying to evaluate $$L = \lim_{z \to 1} \frac{1-z}{1-z^\ast}.$$
Naively entering
Simplify[
Limit[(1 - z)/(1 - Conjugate[z]), z -> 1]
,
Element[z, Complexes]
]
Mathematica says $ L = 1 $.
However taking $z = x + i (1-x) , \, x \rightarrow 1 $ looks like it gives $L=-i$, while $ z = 1 + i y , \, y \rightarrow 0$ gives $L = -1$. I carefully verified the algebra of these last two in Mathematica. Together they imply the limit does not exist.
What is the issue here?
More interestingly, is there a general approach for troubleshooting where and why such things happen?
Direction->Automatic
? In particular, why would it choose a direction and report that as the answer when the standard notion of a limit says this doesn't exist? [Maybe this should be addended to the original rather than in a comment? Not sure on protocol.] $\endgroup$Limit
will handleConjugate
very well. Probably better to use explicitly real variables e.g.x+/-I*y
. Then specify the path because, as you and others have noted, it matters. To approach from above fixx
at 1 and havey->0
. To approach along the unit circle, from the top, reparametrize asCos[t]+I*Sin[t]
and havet->0
. Etc. $\endgroup$