Re: Integration of expressions with symbolic limits

• To: mathgroup at smc.vnet.net
• Subject: [mg127432] Re: Integration of expressions with symbolic limits
• From: "Harker, Anthony" <a.harker at ucl.ac.uk>
• Date: Tue, 24 Jul 2012 04:16:18 -0400 (EDT)
• Delivered-to: l-mathgroup@mail-archive0.wolfram.com
• Delivered-to: mathgroup-newout@smc.vnet.net
• Delivered-to: mathgroup-newsend@smc.vnet.net
• References: <20120723235352.0ED466790@smc.vnet.net>

```It's very clear from the error message what has happened. The message says
ERROR: Integrate::ilim: Invalid integration variable or limit(s) in  {0.5,a^2+b^2,a^2+(-b+l)^2}.
So, at some point before trying to do the integral you have assigned the value 0.5 to x. You can clear this by typing
x=.
before calling Integrate[].

In general, avoid assigning values to variables, especially simple ones such as x that you are very likely to want to use again later. Better practice is to use rules to insert values into expressions, as in
Expr/. X->0.5

Tony Harker

]-> -----Original Message-----
]-> From: Rahul Chakraborty [mailto:rahul.6sept at gmail.com]
]-> Sent: 24 July 2012 00:54
]-> To: mathgroup at smc.vnet.net
]-> Subject: Integration of expressions with symbolic limits
]->
]-> Dear Sir,
]->
]->  I would like to know one thing regarding the above subject, if it is possible
]-> in Mathematica to have a symbolic result.
]->
]->  My code is as below
]->
]->  Integrate [a/(2*(x^3/2)*(x-a^2)^1/2),{x,a^2+b^2,a^2+(l-b)^2}]
]->
]->  ERROR: Integrate::ilim: Invalid integration variable or limit(s) in
]-> {0.5,a^2+b^2,a^2+(-b+l)^2}. >>
]->
]->
]->  Regards,
]->
]->    rc
]->

```

• Prev by Date: Re: Integration of expressions with symbolic limits
• Next by Date: StepMonitor problem
• Previous by thread: Re: Integration of expressions with symbolic limits
• Next by thread: Re: Integration of expressions with symbolic limits