Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ugly result for exponential integral #12145

Open
orlitzky opened this issue Dec 12, 2011 · 2 comments
Open

Ugly result for exponential integral #12145

orlitzky opened this issue Dec 12, 2011 · 2 comments

Comments

@orlitzky
Copy link
Contributor

As reported in this sage-support thread:

http://groups.google.com/group/sage-support/browse_thread/thread/793c2bdb3db1f02c

We expect,

sage: integral( x / (exp(x) - 1) , (x,0,oo))
pi^2/6

but get,

sage: integral( x / (exp(x) - 1) , (x,0,oo))
-1/6*pi^2 + limit(-1/2*x^2 + x*log(-e^x + 1) + polylog(2, e^x), x, +Infinity)

The above might not be incorrect, but it is not very useful either.

CC: @kcrisman

Component: calculus

Issue created by migration from https://trac.sagemath.org/ticket/12145

@orlitzky
Copy link
Contributor Author

comment:2

Same result from Maxima 5.27:

(%i1) display2d: false;

(%o1) false
(%i2) f: x/(%e^x - 1);

(%o2) x/(%e^x-1)
(%i3) integrate(f, x, 0, inf);

(%o3) 'limit(li[2](%e^x)+x*log(1-%e^x)-x^2/2,x,inf,minus)-%pi^2/6

@jdemeyer jdemeyer modified the milestones: sage-5.11, sage-5.12 Aug 13, 2013
@sagetrac-vbraun-spam sagetrac-vbraun-spam mannequin modified the milestones: sage-6.1, sage-6.2 Jan 30, 2014
@sagetrac-vbraun-spam sagetrac-vbraun-spam mannequin modified the milestones: sage-6.2, sage-6.3 May 6, 2014
@sagetrac-vbraun-spam sagetrac-vbraun-spam mannequin modified the milestones: sage-6.3, sage-6.4 Aug 10, 2014
@mforets
Copy link
Mannequin

mforets mannequin commented Apr 9, 2017

comment:7

more tests:

sage: giac('integrate(x / (exp(x) - 1), x, 0, inf)')
pi^2/6
sage: integrate(x / (exp(x) - 1), x, 0, oo, algorithm='sympy')
integrate(x/(e^x - 1), x, 0, +Infinity)

i think this is another reason to make more user friendly the functionality that is offered through giac; stay tuned at the giac interface wiki.

@mkoeppe mkoeppe removed this from the sage-6.4 milestone Dec 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants