1
$\begingroup$

This is an issue I am having in Mathematica version 13.1.0.0. According to https://functions.wolfram.com/ElementaryFunctions/Power/04/05/02/, the power function should have a branch cut for $x<0$ described by the following formula:

$$\lim_{a\rightarrow +0}(x-\mathbf{i}\,a)^r = e^{-\mathbf{i} \pi r}(-x)^r$$

The issue I am having is that this formula is not reproduced by the Series[] function. Here is the code I am using:

lim1 = Normal@Series[(x - I a)^r, {a, 0, 0}, Assumptions -> x < 0 && a > 0] 

$x^r$

It appears mathematica ignores this formula, and effectively just sets $a=0$. This is not an issue with the Limit[] function, as can be seen with this code:

lim2 = Limit[(x - I a)^r, a -> 0, Direction -> "FromAbove", Assumptions -> x < 0] 

$\mathbf{e}^{-\mathbf{i}\pi r}(-x)^r$

I also compared the two answers numerically for $x=-1$ and $r=1/2$, essentially examining the branch cut of the square root function. Here is that code:

{lim1, lim2, (x - I a)^r} /. {x -> -1, r -> 1/2, a -> 2.^-100} 

$\left\{ \mathbf{i},\; -\mathbf{i},\; 6.12323\times10^{-17} - 1.\;\mathbf{i} \right\}$

So again, using Limit[] seems to agree with the numerical approximation, while Series[] does not. Frustratingly, this is in contrast to another problem posted here. In my other problem, Series[] reproduces the branch cut for PolyLog[] correctly, while Limit[] does not. Because of this, I cannot think of a systematic way to deal with the branch cut for expressions like x^r PolyLog[n,-x], which is what I really need.

$\endgroup$
1
  • $\begingroup$ Wolfram 14.1.0 Kernel for Linux x86 (64-bit) Copyright 1988-2024 Wolfram Research, Inc. In[1]:= lim1 = Normal@ Series[(x - I a)^r, {a, 0, 0}, Assumptions -> x < 0 && a > 0] r (-I Pi + Log[-x]) Out[1]= E `` $\endgroup$ Commented Aug 12, 2024 at 16:57

1 Answer 1

3
$\begingroup$

This appears to have been fixed in v13.2

$Version (* "13.2.0 for Mac OS X x86 (64-bit) (November 18, 2022)" *) Clear["Global`*"] lim1 = Assuming[x < 0 && a > 0, Normal@Series[(x - I a)^r, {a, 0, 0}] // Simplify] (* E^(-I π r) (-x)^r *) 
$\endgroup$

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.