First time here? Check out the FAQ!

Ask Your Question

Revision history [back]

click to hide/show revision 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.

click to hide/show revision 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.