I want to prove that $$ \int_{0}^{\pi } \sin(n \, x) \, \sin(m \, x) \, \mathrm{d} x=0 $$ for m,n integers and $$ m\neq n$$ My try is:
$Assumptions = m ≠ n
$Assumptions = m ∈ Integers
$Assumptions = n ∈ Integers
Integrate[Sin[m x] Sin[n x], {x, 0, π} ]
But no luck
m, nandx? – b.gates.you.know.what Dec 05 '19 at 11:01m != nis not needed to get a result of0. See https://mathematica.stackexchange.com/questions/174011/how-to-get-a-universal-answer-using-integrate and https://mathematica.stackexchange.com/questions/67080/how-to-code-around-known-mma-special-case-failures – Michael E2 Dec 05 '19 at 11:21