Message Boards Message Boards

0
|
5560 Views
|
1 Reply
|
0 Total Likes
View groups...
Share
Share this post:

Simplify negative powers of ComplexInfinity?

Posted 9 years ago

Hello!

When using Mathematica 9, I encounter the following problem:

Assuming[p == -1, ComplexInfinity^p]<BR>
Infinity::indet: Indeterminate expression ComplexInfinity^p encountered. >>

but

ComplexInfinity^(-1)<BR>
0

Is there any way I can tell Mathematica to evaluate ComplexInfinity^p as 0 when assuming p<0? The same problem also arises in FullSimplify, for example when considering the generalized mean of 0 and 2,

FullSimplify[(0^p + 2^p)^(1/p), p < 0]<BR>
Indeterminate

Any suggestions would be much appreciated.

POSTED BY: Å Brännström

What about taking a limit?

In[9]:= FullSimplify[(x^p + 2^p)^(1/p), p < 0]
Out[9]= (2 x)/(2 + x)

In[10]:= Limit[FullSimplify[(x^p + 2^p)^(1/p), p < 0], x -> 0]
Out[10]= 0
POSTED BY: Udo Krause
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