MathGroup Archive 1997

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

Search the Archive

Re: Assumptions

  • To: mathgroup at smc.vnet.net
  • Subject: [mg9413] Re: Assumptions
  • From: Paul Abbott <paul at physics.uwa.edu.au>
  • Date: Wed, 5 Nov 1997 01:56:30 -0500
  • Organization: University of Western Australia
  • Sender: owner-wri-mathgroup at wolfram.com

Peter Jay Salzman wrote:

> I can't find any examples in the Mathematica help files of
> Assumption->{} being made when you use the 3.0 interface (when you
> actually have an integral sign instead of Integrate[]).
> 
> If I want Mathematica to make assumptions about variables in
> integrating, am i forced to use the Integrate[] command, or is there a
> way of doing this with the integral symbol?

How about the global change

	SetOptions[Integrate, Assumptions -> Re[n] > -1]; 

Then you can use the integral to compute, say,

	Integrate[Exp[-t] t^n, {t, 0, Infinity}]

You can reset the options using 

	SetOptions[Integrate, Assumptions -> {}]; 
	
Cheers,
	Paul
 
____________________________________________________________________ 
Paul Abbott                                   Phone: +61-8-9380-2734
Department of Physics                           Fax: +61-8-9380-1014
The University of Western Australia            Nedlands WA  6907       
mailto:paul at physics.uwa.edu.au  AUSTRALIA                            
http://www.pd.uwa.edu.au/~paul

            God IS a weakly left-handed dice player
____________________________________________________________________


  • Prev by Date: Re: Book recommendation for engineers
  • Next by Date: Re: Integrate[ ] returns If[ ] function; how to say it's True?
  • Previous by thread: Assumptions
  • Next by thread: Coloring a Sphere