Integrate with Assumption that a parameter is Integer?

Integrate with Assumption that a parameter is Integer?

Post by AES » Sun, 03 Apr 2005 15:33:43


I'd like to evaluate a bunch of integrals where the outcome of the
integration will contain factors like Exp[I 2 Pi q], and tell Mathematica that
the symbol q is an integer, i.e.

Integrate[ --integrand --, {--limits--}, Assumption->{q is an integer}]

How can I do this? The symbol q appears in the limits, not the
integrand, if that matters.
 
 
 

Integrate with Assumption that a parameter is Integer?

Post by Chris Chia » Mon, 04 Apr 2005 18:56:50

you are looking for the Element command and the Integers domain:
Element[q,Integers]




--
Chris Chiasson
Kettering University
Mechanical Engineering
Graduate Student
1 810 265 3161

 
 
 

Integrate with Assumption that a parameter is Integer?

Post by meznari » Mon, 04 Apr 2005 19:08:58

You can specify that it is an integer by
Assumption->{Element[q, Integers]}

Sebastjan
 
 
 

Integrate with Assumption that a parameter is Integer?

Post by jano » Wed, 06 Apr 2005 16:42:48

Still, this does not help, if I want to prove that the Legendre
polynomials are orthogonal.

Janos TOTH
Dept Math Anal
Budapest Univ Technol Econ
XXXX@XXXXX.COM