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

integrate((atan(4*x)-atan(2*x))/x, (x, 0, oo)) is returned unevaluated #17058

Open
oscargus opened this issue Jun 20, 2019 · 1 comment
Open

Comments

@oscargus
Copy link
Contributor

From #14078:

integrate((atan(4*x)-atan(2*x))/x, (x, 0, oo)) is returned unevaluated, its value is pi*log(2)/2

@ethankward
Copy link
Contributor

It can be evaluated if you rewrite as log and expand, but unfortunately it gives the answer as 0:

>>> from sympy import *
>>> from sympy.abc import x
>>> e = (atan(4*x)-atan(2*x))/x
>>> integrate(expand(e.rewrite(log)), (x,0,oo))
0

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

2 participants