1 | initial version |

Maxima 5.21.1 gives -1/x-gamma_incomplete(0,-x)-gamma_incomplete(-1,-x) for integrate(diff((exp(x) - 1)/x, x), x) which is correct from what I can tell (agrees numerically with the original expression and has the same derivative).

The result isn't as simple as it could be because the integration algorithm is phrased in more general terms, such that the integrand you specified is a special case of some general form. Often that's the most effective way to calculate integrals, since you can cover a lot of special cases with one general form.

2 | No.2 Revision |

Maxima 5.21.1 ~~gives -1/x-gamma_incomplete(0,-x)-gamma_incomplete(-1,-x) for ~~gives

```
-1/x-gamma\_incomplete(0,-x)-gamma\_incomplete(-1,-x)
```

for

`integrate(diff((exp(x) - 1)/x, x), `~~x) ~~x)

which is correct from what I can tell (agrees ~~numerically ~~numerically
with the original expression and has the same derivative).

The result isn't as simple as it could be because the integration algorithm is phrased in more general terms, such that the integrand you specified is a special case of some general form. Often that's the most effective way to calculate integrals, since you can cover a lot of special cases with one general form.

Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.