MathGroup Archive 1999

[Date Index] [Thread Index] [Author Index]

Search the Archive

Assumptions in Integrate

  • To: mathgroup at
  • Subject: [mg20562] Assumptions in Integrate
  • From: Julian Aguirre Estibalez <mtpagesj at>
  • Date: Sat, 30 Oct 1999 00:14:09 -0400
  • Organization: Universidad del Pais Vasco/Euskal Herriko Unibertsitatea
  • Sender: owner-wri-mathgroup at

Dear Math Group,

	I find the results of using assumptions in Integrate somewhat
stranege. For instance,

In[21]:= Integrate[Cos[n x], {x, -Pi, Pi}]

Out[21]= 2 Sin[n Pi]

In[22]:= Integrate[Cos[n x], {x, -Pi, Pi}, 
		   Assumptions -> Element[n, Integers]]

2 Sin[Sqrt[n ] Pi]
     Sqrt[n ]

In[23]:= $Version

Out[23]= "4.0 for Power Macintosh (July 20, 1999)"

	I know I can define my own transformation rules, but one would
think that Mathematica should do it directly.

Julian Aguirre			| Voice:  +34 946012659
Departamento de Matematicas	| Fax:    +34 944648500
Universidad del Pais Vasco	| Postal: Aptdo. 644, 48080 Bilbao, Spain
				| email:  mtpagesj at

  • Prev by Date: Re: second y-axis in a graph
  • Next by Date: Re: Want to plot list with modified x-axis.
  • Previous by thread: Postscript output from 3D-graphics problem
  • Next by thread: Re: Assumptions in Integrate