You may find this one interesting:
http://stackoverflow.com/questions/7743774/proper-way-to-simplify-integral-result-in-mathematica-given-integer-constraints/7754414#7754414
Regards,
Leonid
On Tue, Dec 13, 2011 at 1:44 PM, Sasa B <
neprihv...@gmail.com> wrote:
> Hello all good people, a have one problem, probably not with mathematica
> but with mathematics :)
> I'm writing a code where I need to calculate integrals of quadruple
> trigonometric series (not sure if quadruple is correct term, i mean the
> series of series of series of series:)
> Here is simple example with sine function. Problem is that solution should
> be represented with a lot of conditions (i.e. if n==m==p==q then..., and so
> on), but it seems that mathematica can not handle it.
>
> Integrate[
> Sin[n*\[Pi]*y]*Sin[m*\[Pi]*y]*Sin[p*\[Pi]*y]*Sin[q*\[Pi]*y], {y, 0,
> 1}, Assumptions -> {{n, m, p, q} \[Element] Integers, {n, m, p, q} >
> 0}, GenerateConditions -> True]
>
> It would be great to hear yours thoughts on this.
>
> All the best,
> Aleksandar
>