Updates:
Blockedon: -sympy:2010
Comment #3 on issue 2277 by asmeu...@gmail.com: integrate(3 + exp(1/x**2),
x) doesn't return successful parts.
http://code.google.com/p/sympy/issues/detail?id=2277
This is a bad example, because this actually does have an answer
In [17]: integrate(3 + exp(1/x**2), x)
Out[17]:
1
──
2
x ___ ⎛ⅈ⎞
x⋅ℯ + 3⋅x + ⅈ⋅╲╱ π ⋅erf⎜─⎟
⎝x⎠
In [18]: integrate(3 + exp(1/x**2), x).diff(x)
Out[18]:
1
──
2
x
ℯ + 3
Anyway, Risch's ability to pull out integrals is rather limited. For
example:
In [26]: integrate(3 + x**x, x)
Out[26]:
⌠
⎮ ⎛ x ⎞
⎮ ⎝x + 3⎠ dx
⌡
but
In [33]: integrate(exp(x) + 1/log(x), x, risch=True)
Out[33]:
⌠
x ⎮ 1
ℯ + ⎮ ────── dx
⎮ log(x)
⌡
Basically, it only works if it happens to compute some part of the integral
before it finds the rest to be nonelementary, which is relatively rare
(even in this second case, it only happens because it happens to integrate
with respect to the exponential before the logarithm).
So there is still a lot of work that can be done here.
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
You received this message because you are subscribed to the Google Groups
"sympy-issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to sympy-issues+unsubscr...@googlegroups.com.
To post to this group, send email to sympy-issues@googlegroups.com.
Visit this group at http://groups.google.com/group/sympy-issues.
For more options, visit https://groups.google.com/groups/opt_out.