Bug introduced in 9.0.1 or earlier and fixed in 10.1.0
In version 10.0:
Integrate[1/(a^2 + b^2 - 2 a b Cos[t]), {t, 0, 2 Pi}, Assumptions -> {a > b > 0}]
(* (2 Pi)/(a^2 - b^2) *)
Integrate[1/(a^2 + b^2 - 2 a b Cos[t + t0]), {t, 0, 2 Pi}, Assumptions -> {a > b > 0}]
(* 0 *)
However, a phase shifting on t
should not affect the integral.
Integrate[1/(a^2 + b^2 - 2 a b Cos[t + t0]), {t, 0, 2 Pi}, Assumptions -> a > b > 0 && -Pi < t0 < Pi]
. The problem I suspect is that the integral cannot really be done by substitutiont = 2 ArcTan[u/2]
, since you have to count how many times the angle winds around the origin. $\endgroup$