Evaluate multivariate integral over a simplex - help

In summary, the conversation discusses the evaluation of an integral over a volume S, which is a n-simplex in \Re^n, with specific parameters x, x_A, x_B, A, and B. The speaker mentions trying to do it analytically and using a multivariate Taylor series, but facing difficulties with interdependence of integration limits. The possibility of approximating the integrand using Monte Carlo method is also mentioned, but the speaker needs high numerical efficiency. The conversation ends with a discussion on how to parameterize the simplex and the challenges in finding a closed-form solution for more than one of the required integrals.
  • #1
winterfors
71
0
I would need to evaluate the integral

[tex]\int\limits_{x\in S}[x+x_A]^TA[x+x_A]\exp\left(-\frac{1}{4}[x+x_B]^TB[x+x_B]\right)dx[/tex]

where
[itex]x[/itex] is a column n-vector
[itex]x_A[/itex] and [itex]x_B[/itex] are column n-vector constants
[itex]A[/itex] and [itex]B[/itex] are [itex]n\times n[/itex] (symmetrical) matrices

taken over the volume [itex]S[/itex], which is a n-simplex* in [itex]\Re^n[/itex].

*A simplex is the convex hull of (volume between) n+1 points in [itex]\Re^n[/itex]. In [itex]\Re^2[/itex] a simplex is a triangle, in [itex]\Re^3[/itex] a tetrahedron, etc. See http://en.wikipedia.org/wiki/SimplexI have tried to do it analytically, but the interdependence of the integration limits in each dimension (since it's over a simplex) make Matematica or Maple fail to evaluate even simple cases such as for n=2.

Approximating the integrand as a multivariate Taylor series makes it easier to integrate, but does not approximate the integrand very well if you truncate the series at a reasonable degree (the number of terms grows exponentially with the degree for a multivariate Taylor expansion)

Monte Carlo approximation isn't really an option, since I need high numerical efficiency in the evaluation, so I'm really at a loss what to to here.Does anyone have an idea?
 
Last edited:
Mathematics news on Phys.org
  • #2
How did you parameterize the simplex?
 
  • #3
The simplex is defined by n+1 points in [itex]\Re^n[/itex]. It can be turned into the volume "under" a standard (n-1)-simplex by a linear coordinate transformation, yielding something like

[tex]
\int\limits_{x_1=0}^{1}
\int\limits_{x_2=0}^{1-x_1} ...
\int\limits_{x_n=0}^{1-\sum\limits_{i=1}^{n-1}x_i}
[x+x_A]^TA[x+x_A]\exp\left(-\frac{1}{4}[x+x_B]^TB[x+x_B]\right)
dx_n ... dx_2 dx_1
[/tex]
 
  • #4
More generally the points can be defined by [tex]x=w_1x_1+\ldots+w_{n+1}x_{n+1}[/tex] where [tex]w_1+\ldots+w_{n+1}=1[/tex] and [tex]0<=w_k<=1[/tex], and this results in a similar integral to the one you wrote.

But there might not be a closed-form solution to more than 1 of the n required integrals anyway.
 

FAQ: Evaluate multivariate integral over a simplex - help

What is a multivariate integral?

A multivariate integral is an integral that involves multiple variables. It is used to calculate the area, volume, or other quantities of a function in more than one dimension.

What is a simplex?

A simplex is a geometric shape that is the simplest form of a convex polytope in n-dimensional space. In simple terms, it is a triangle in two dimensions, a tetrahedron in three dimensions, and a higher-dimensional shape in more than three dimensions.

How do you evaluate a multivariate integral over a simplex?

To evaluate a multivariate integral over a simplex, you can use various techniques such as the Monte Carlo method, the Gaussian quadrature method, or splitting the integral into smaller integrals using the Fubini's theorem. It is important to define the limits of integration and the variables involved in the integral.

Why is evaluating multivariate integrals over a simplex important?

Evaluating multivariate integrals over a simplex is important in various fields of science, including physics, engineering, and economics. It allows us to calculate the volume, area, or other quantities of complex functions in multiple dimensions, which is essential for solving real-world problems and making predictions.

Can software programs be used to evaluate multivariate integrals over a simplex?

Yes, many software programs, such as Mathematica, MATLAB, and Maple, have built-in functions for evaluating multivariate integrals over a simplex. These programs use advanced mathematical algorithms to calculate the integral and provide accurate results.

Similar threads

Back
Top