Re: Integrating over a Minimum
- To: mathgroup at smc.vnet.net
- Subject: [mg32969] Re: Integrating over a Minimum
- From: Steve Luttrell <luttrell at signal.qinetiq.com>
- Date: Fri, 22 Feb 2002 01:48:52 -0500 (EST)
- References: <a526ik$264$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Use the Calculus`Integration` package. Here is how your example would be
done:
<< Calculus`Integration`
Integrate[Min[x, y], {x, 0, 1}, {y, 0, 1}]
which gives the result 1/3
Steve Luttrell
Moritz Meyer-ter-Vehn <meyerter at pool.uni-mannheim.de> wrote in
news:a526ik$264$1 at smc.vnet.net:
> Hi,
>
> I want to integrate piecewise linear functions over a highdimensional
> space. The ranges where the function is linear are given by linear
> inequality constraints.
>
> Example: Integrate[Min[x,y],{y,0,1},{x,0,1}]
> (of course that is not the one I really want to solve)
>
> I could not get matematica to do this.
>
> Moritz Meyer-ter-Vehn