Question: Wrong result in symbolic integration

The following integral is obviously positive, but Maple returns 0:  (Maple 2017)

assume(gamma1>0, gamma2>0 , mu1, 'real', mu2, 'real')'
int( 1/sqrt( Pi^2 * gamma1 * gamma2 * (1+((x-mu1)/gamma1)^2) * (1+((x-mu2)/gamma2)^2) ), x=-infinity..infinity )
                               0

(This is the Bhattacharyya coefficient between two cauchy distributions). Numerical integration works.

 

Please Wait...