The following two functions 

f(u)=-u/2+min_symbolic(0,u) + min_symbolic(u,2*u) and 
g(u)=-u/2+min_symbolic(u, 3*u)

are mathematically equivalent, but the following symbolic integrals give 
different results.

<code>

F(x)=integral(f(u)*u*exp(x*u),u,-1,1) 
FF(y)=F(y)

G(x)=integral(g(u)*u*exp(x*u),u,-1,1)
GG(y)=G(y)

</code>

Now (FF-GG)(y).simplify_full() should give 0, but I am getting 4/y^3 
instead.

This behaviour changed at some point in the past (breaking existing code). 
This issue occurs with Sage 9.3 (running in CoCalc with Software 
Environment Ubuntu 20.4). With Sage 8.3 (running in CoCalc with SE Ubuntu 
18.04 @ 2018-08-27) the issue doesn't occur.


-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/601f3b18-b3ff-4531-8833-b0af4cf99637n%40googlegroups.com.

Reply via email to