Assumptions in fancy-notation integrals

• To: mathgroup at smc.vnet.net
• Subject: [mg44332] Assumptions in fancy-notation integrals
• From: "Curt Fischer" <crf3 at po.cwru.edu>
• Date: Wed, 5 Nov 2003 10:01:25 -0500 (EST)
• Sender: owner-wri-mathgroup at wolfram.com

```Dear Group,

I know I can do Integrate[stuff[x],{x,0,y},Assumptions->otherstuff] to
specify, for instance, that a certain parameter in my system is a positive
real.

Can I incorporate Assumptions into an Integral entered with the escape code
[esc]dintt[esc]?  For example:

In[32]:=
stuff[x_]:=2 x

In[33]:=
Integrate[k stuff[x],{x,0,1},Assumptions\[Rule]Re[k]>0]
Out[33]=
k

The above evaluates fine, although for this toy example there is no meaning
or benefit from making the Assumptions.  But below things don't work.  Is
there a fix?

In[33]:=
\!\(\((\[Integral]\_0\%1 k\ stuff[x] \[DifferentialD]x)\),
Assumptions \[Rule] Re[k] > 0\)
\!\(\*
RowBox[{\(Syntax::"tsntxi"\), \(\(:\)\(\ \)\), "\<\"\\\"\\!\\(\\(\\((\\(\
\[Integral]\\_0\\%1\\) \\(\\(k\\(\\(stuff[x]\\)\\) \\(\\(\[DifferentialD] \
x\\)\\)\\)\\))\\)\\), \\(\\(Assumptions \[Rule] \\(\\(\\(\\(Re[k]\\)\\) > \
0\\)\\)\\)\\)\\)\\\" is incomplete; more input is needed.\\!\\(\\\"\\\"\\) \
\\!\\(\\*ButtonBox[\\\"More\[Ellipsis]\\\",
\\\", ButtonFrame->None, ButtonData:>\\\"General::tsntxi\\\"]\\)\"\>"}]\)
\!\(\*
StyleBox[
ErrorBox[\(\((\[Integral]\_0\%1 k  stuff[x] \[DifferentialD]x)\),
Assumptions \[Rule] Re[k] > 0\)],
ShowStringCharacters->True]\)

--
Curt Fischer

```

• Prev by Date: Re: Plot&2backgroundcolors
• Next by Date: Where to reply to...
• Previous by thread: Re: exporting a list of functions for use in a C function
• Next by thread: Re: Assumptions in fancy-notation integrals