id,summary,reporter,owner,description,type,status,priority,milestone,component,resolution,keywords,cc,work_issues,upstream,reviewer,author,merged,dependencies,stopgaps
11655,A.integrate() has imaginary part for real A,jan,burcin,"{{{
var('a b c x', domain='real')
A = (sin(a) * x^2+sin(b) *x + sin(c)) * exp(-x^2)
Aint = A.integrate(x,-infinity,infinity)
}}}

A.imag() is 0

Aint.imag() is a long expression, which doesn't simplify to 0. This surprising for the user.

A slightly different example, actually a generalization of the one above, just works:
{{{
var('a b c x', domain='real')
B = (a * x^2+b *x + c) * exp(-x^2)
Bint = B.integrate(x,-infinity,infinity)
}}}

Examples can be found here: http://demo.sagenb.org/home/pub/179
",defect,new,major,sage-5.10,symbolics,,,kcrisman,,N/A,,,,,
