Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #11987

Re: Assuming and Integrate

From Murray Eisenberg <murray@math.umass.edu>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: Assuming and Integrate
Date 2012-10-07 05:37 +0000
Message-ID <k4r4en$noo$1@smc.vnet.net> (permalink)
References <20121006055312.C0D5B6908@smc.vnet.net>
Organization Time-Warner Telecom

Show all headers | View raw


How to treat exceptional cases, here m = n an integer, is always an issue with Integrate (and other operations). Here one would hope to see at least a ConditionalExpression for the general situation Element[{n,m}, Integers]. After all, such integrals are so common in Fourier analysis.

Perhaps this should even be reported as a bug to Wolfram Research.

On Oct 6, 2012, at 1:53 AM, hamiltoncycle@gmail.com wrote:

> When I try the line below in Mathematica 8 I get the answer 0 which is what I expect when m and n are different but not when m=n. Can anyone explain how to do this correctly?
>
> Assuming[Element[{n, m}, Integers], Integrate[Sin[n*x]*Sin[m*x], {x, 0, Pi}]]
>
> When m=n we should get Pi/2, as in this case:
>
> Assuming[Element[n, Integers], Integrate[Sin[n*x]*Sin[n*x], {x, 0, Pi}]]
>

---
Murray Eisenberg                                     
murray@math.umass.edu
Mathematics & Statistics Dept.      
Lederle Graduate Research Tower      phone 413 549-1020 (H)
University of Massachusetts                  413 545-2859 (W)
710 North Pleasant Street                      fax   413 545-1801
Amherst, MA 01003-9305





Back to comp.soft-sys.math.mathematica | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Re: Assuming and Integrate Murray Eisenberg <murray@math.umass.edu> - 2012-10-07 05:37 +0000
  Re: Assuming and Integrate Roland Franzius <roland.franzius@uos.de> - 2012-10-08 06:51 +0000
  Re: Assuming and Integrate "Dr. Wolfgang Hintze" <weh@snafu.de> - 2012-10-09 04:44 +0000
  Re: Assuming and Integrate Murray Eisenberg <murray@math.umass.edu> - 2012-10-09 04:47 +0000
    Re: Assuming and Integrate Roland Franzius <roland.franzius@uos.de> - 2012-10-11 06:13 +0000

csiph-web