# [Maxima] Simplifying gamma distributions

Raymond Toy toy.raymond at gmail.com
Tue Apr 3 16:58:18 CDT 2012

On Tue, Apr 3, 2012 at 2:43 PM, Barton Willis <willisb at unk.edu> wrote:

>
>
> > I am trying to simplify:
> >
> > gamma(a+1)/gamma(a) and maxima keeps spitting out gamma(a+1)/gamma
> > (a) but it should equal a.
> >
> > Does anyone know how to simplify this?
>
> On way
>
>    (%i6) gamma(a+1)/gamma(a);
>    (%o6) gamma(a+1)/gamma(a)
>
>   (%i7) minfactorial(makefact(%));
>   (%o7) a
>
> Maybe somebody knows a  more direct way.
>

This is what I usually do.  It would be nice if there were a mingamma
function.  Something like

mingamma(e) := makegamma(minfactorial(makefact(e)));

?

Ray

>
> Barton
> _______________________________________________
> Maxima mailing list
> Maxima at math.utexas.edu
> http://www.math.utexas.edu/mailman/listinfo/maxima
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.math.utexas.edu/pipermail/maxima/attachments/20120403/6cda5ab9/attachment.html>