Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #10050
| From | Bob Hanlon <hanlonr357@gmail.com> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Re: Condition Generation in Integrate |
| Date | 2012-05-12 08:59 +0000 |
| Organization | Steven M. Christensen and Associates, Inc and MathTensor, Inc. |
| Message-ID | <jol8qc$4a8$1@smc.vnet.net> (permalink) |
| References | <201205110413.AAA23678@smc.vnet.net> |
It is just a limiting case
expr1 = Cos[Pi x]^2 Sin[Pi x (m+1)] Sin[Pi x (n+1)];
expr2 = Integrate[expr1, {x, 0, 1}];
expr3 = Simplify[Limit[expr2, m -> n+2], Element[n, Integers]]
1/8
expr4 = expr1 /. m -> n+2;
expr5 = Simplify[Integrate[expr4, {x, 0, 1}], Element[n, Integers]]
1/8
Bob Hanlon
Sent from my iPhone
On May 11, 2012, at 12:13 AM, Michael Musheghian <michael.musheghian@gmail.com> wrote:
> 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 case s (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.
>
Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread
Re: Condition Generation in Integrate Bob Hanlon <hanlonr357@gmail.com> - 2012-05-12 08:59 +0000
csiph-web