Condition Generation in Integrate

*To*: mathgroup at smc.vnet.net*Subject*: [mg126447] Condition Generation in Integrate*From*: Michael Musheghian <michael.musheghian at gmail.com>*Date*: Fri, 11 May 2012 00:13:31 -0400 (EDT)*Delivered-to*: l-mathgroup@mail-archive0.wolfram.com

Greetings! Integrate[ Cos[\[Pi] x]^2*Sin[\[Pi] x (m + 1)]*Sin[\[Pi] x (n + 1)], {x, 0, 1}] When I evaluate this I get an answer, however, there are some special cases (for example, m & n are both integers and m == n+2)in which this integral must yield different result. My question is, why doesn't it take in consideration all cases and doesn't generate conditional expressions? Thank you.

**Follow-Ups**:**Re: Condition Generation in Integrate***From:*Bob Hanlon <hanlonr357@gmail.com>