Context
I would like to show that these 2 functions are identical
f1[a_] = (2/π) Integrate[Cos[t]/(1 -2a Cos[t] + a^2)^(3/2), {t, 0,π},
Assumptions -> {0 < a < 1}] // FullSimplify
corresponding to this integral
$$ \frac{2}{\pi } \int_0^{\pi } \frac{\cos (\theta )}{\left(1-2 a \cos (\theta )+a^2\right)^{3/2}} \, d\theta $$
and
f2[a_] = (4/(π a (1 - a^2)^2))((1 + a^2) *
EllipticE[a^2]-(1 - a^2) EllipticK[a^2])
This does not seem to work:
f2[a]/f1[a] // FullSimplify[#, Assumptions -> {0 < a < 1}] &
Any suggestions?
Series[f2[a] - f1[a], {a, 0, 100}, Assumptions -> {0 < a < 1}]
and# == 0 & /@ (f2[a] - f1[a] /. a -> RandomReal[1, 100, WorkingPrecision -> 20]) // Apply[And]
$\endgroup$