🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.math.symbolic
Article #6

Definite Integerals in SMP (Int[Sin[x]/x,{x,-Inf,Inf}])

#6
From: McIsaac K
Date: Thu, 14 Nov 1985 05:06
60 lines
2478 bytes
The indefinite integral of Sin[x]/x does not have a closed form in
terms of elementry functions.  As there is no general technique for
solving definite integerals with out finding the indefinite integeral
the SMP integrator can't evaluate Int[Sin[x]/x,{x,0,Inf}].  The
definite integral from 0 to z is the special function Si[z] (known to
SMP as Sini[z]).

The SMP library file XInt contains subsitutions to evaluate many
definite integerals listed in the common texts (still needs extending)
(see example below). This is like a table lookup. I suppose this is how
MACSYMA does it. To make this file really powerfull requires the
addition of code to write definite integrals in a canonical form, ie
some replacements like

Int[$a,{$x,0,-$end}] -> Int[S[$a,$x->-$x],{$x,0,$end}]
Int[$a,{$x,$start,$end}] -> Int[$a,{$x,0,$start}] + Int[$a,{$x,0,$end}]

etc.

SMP 1.5.0
Thu Nov 14 12:39:21 1985


#I[1]::  <XInt;/*Table of definite integrals*/

#I[2]::  <XSym;/* Include symmetry of Sin*/

#I[3]::  _Int[Sys] : 0;

#I[4]::  Int[$a,{$x,0,-$end}] :: Int[S[$a,$x->-$x],{$x,0,$end}];

#I[5]::  Int[$a,{$x,$start_=~P[$start=0],$end}] ::   \
	 		Int[$a,{$x,0,$start}] + Int[$a,{$x,0,$end}];

#I[6]::  Int[Sin[a x]/x,{x,0,Inf}]

	 Pi (-(0 > a) + (a > 0))
#O[6]:   -----------------------
		    2

#I[7]::  Int[Sin[a x]/x,{x,0,-Inf}]

	 Pi (-(0 > a) + (a > 0))
#O[7]:   -----------------------
		    2

#I[8]::  Int[Sin[a x]/x,{x,-Inf,Inf}]

#O[8]:   Pi (-(0 > a) + (a > 0))

#I[9]::  <end>

--------------------------------------------------------------------------------

Kevin McIsaac			ACSnet:	playboy@wacsvax
Dept. Physics			UUCP:	seismo!munnari!wacsvax.oz!playboy
Uni. of Western Australia          	decvax!mulga!wacsvax.oz!playboy
Nedlands, 6009
AUSTRALIA 			ARPA:	munnari!wacsvax.oz!playboy@seismo.arpa
					decvax!mulga!wacsvax.oz!playboy@Berkeley
Technical Details
Message-ID: <245@wacsvax.OZ>
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!bonnie!akgua!gatech!seismo!munnari!basser!wacsvax!playboy

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.3 alpha 4/15/85; site wacsvax.OZ
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!bonnie!akgua!gatech!seismo!munnari!basser!wacsvax!playboy
From: playboy@wacsvax.OZ (McIsaac K)
Newsgroups: net.math.symbolic
Subject: Definite Integerals in SMP (Int[Sin[x]/x,{x,-Inf,Inf}])
Message-ID: <245@wacsvax.OZ>
Date: Thu, 14-Nov-85 00:06:00 EST
Article-I.D.: wacsvax.245
Posted: Thu Nov 14 00:06:00 1985
Date-Received: Thu, 12-Dec-85 06:55:36 EST
Organization: Comp Sci, Uni. Western Australia
Lines: 60