MathGroup Archive 2003

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

Search the Archive

Assumptions in fancy-notation integrals


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]\\\",
ButtonStyle->\\\"RefGuideLinkText\
\\\", 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