[Maxima] Operations on inf

Bowo Prasetyo prazjp at gmail.com
Fri Mar 9 15:48:41 CST 2007


On 10/03/07, Bowo Prasetyo <prazjp at gmail.com> wrote:
Dear all,

On 10/03/07, Alasdair McAndrew <amca01 at gmail.com> wrote:
>
> Here's part of a Maple session involving infinity:
>
> > infinity+infinity;
>                                           infinity
>  > infinity-infinity;
>                                         undefined
> > infinity*infinity;
>                                           infinity
>  > infinity^infinity;
>                                          infinity
> > infinity/infinity;
>                                          undefined
> > 0*infinity;
>                                         undefined
>  > 0^0;
>                                             1
>  > 1^infinity;
>                                             1
> > 1.0^infinity;
>                                              1.
> > 1/infinity;
>                                              0
> > 0.2^infinity;
>                                             0.

And here is when doing above with Mathematica

Infinity + Infinity
                                          Infinity
Infinity - Infinity
                                          Indeterminate
Infinity * Infinity
                                          Infinity
Infinity ^ Infinity
                                          ComplexInfinity   (different to Maple)
Infinity / Infinity
                                          Indeterminate
0 * Infinity
                                          Indeterminate
0 ^ 0
                                          Indeterminate   (different to Maple)
1 ^ Infinity
                                          Indeterminate   (different to Maple)
1.0 ^ Infinity
                                          Indeterminate   (different to Maple)
1 / Infinity
                                          0
0.2 ^ Infinity
                                          0

There are 4 cases different to that of Maple, and Mathematica has
another type of Infinity called ComplexInfinity.

Best regards,
bowo


More information about the Maxima mailing list