# [Maxima] Wrong limits

Giuseppe Jacopo Guidi gipo at darviniano.eu
Sat Nov 3 07:48:13 CDT 2007

```On Fri, Nov 02, 2007 at 12:58:12PM -0400, Stavros Macrakis wrote:

> >...
> > As it happens, tlimit gets your problem right.
> >...
> >
> > On 11/2/07, Paul Smith <phhs80 at gmail.com> wrote:
>
>> > >
>> > > (%i1)
>> > > h:-(k^(k/(k-1))*(2*k-1)*2^(k/(k-1)))/((k-1)*(k*2^((2*k)/(k-1))-2^((2*k)/(k-1))-2*k+1))\$
>> > > (%i2) limit(h,k,1/3,plus);...
>> > > Both limits are wrong: the first one is +oo and the second one is -oo.
>> > > Can one really trust Maxima regarding the calculation of limits?...
>>

Hello "maxima people",
I was reding you since last couple of months; I'm a maxima enthusiast, even if I'm a maxima dummy!
Now back to the topic.

I tried all the operations appeared in this topic, and I reproduced all the expected outputs but one.
I wasn't able to make tlimit treat correctly the limit of h. tlimit only succedes treating h1, as proposed by

Here my session:
(%i1)  h:-(k^(k/(k-1))*(2*k-1)*2^(k/(k-1)))/((k-1)*(k*2^((2*k)/(k-1))-2^((2*k)/(k-1))-2*k+1))\$

(%i2) tlimit(h,k,1/3,plus);
3 sqrt(3)
(%o2)                             -----------
160 sqrt(2)
Do I use tlimit the wrong way?

Thank to all,
Gipo

```