1
$\begingroup$

Mathemtaica correctly computes the following definite integral:

Integrate[(q Log[q]^3)/(1 - q), {q, 0, 1}]    
(* Out: 6 - \[Pi]^4/15*)

But, when I change the denominator a little bit:

Integrate[(q Log[q]^3)/(-1 + q), {q, 0, 1}]    
(* Out: 0*)

The output is idetically zero, which is obviously incorrect. Why? (I am using Mathematica 12.1.)

$\endgroup$
6
  • 3
    $\begingroup$ Mathematica 12.2 : !Mathematica graphics $\endgroup$
    – Nasser
    Feb 6, 2021 at 15:22
  • 1
    $\begingroup$ This worked in 11.3 and 12.1; did you try this on a fresh kernel? $\endgroup$ Feb 6, 2021 at 15:24
  • 2
    $\begingroup$ I have also verified the results that @Nasser provided in the previous comment. My version is 12.0.0 for Linux x86 (64-bit) $\endgroup$
    – user49048
    Feb 6, 2021 at 15:55
  • $\begingroup$ BTSI? (Bug That Squished Itself) $\endgroup$ Feb 6, 2021 at 16:23
  • $\begingroup$ Works for Version 12.1 on Windows $\endgroup$ Feb 6, 2021 at 19:34

0

Browse other questions tagged or ask your own question.