Centroid
Centroid
Copyright
c 2013. All Rights Reserved. www.ma.ic.ac.uk/~rn/centroid.pdf
once again, and on denoting the standard basis in R3 by {e1 , e2 , e3 }, we obtain for the three
coordinates of the centroid that
Z N 1 Z
1 1 2 1 X
c ed = (x ed ) (n ed ) = (x ed )2 (ni ed ) , d = 1, 2, 3 .
V P 2 2V i=0 Ai
It remains to compute that
Z
1
(x ed )2 (ni ed ) = ni ed [ 21 (ai + bi ) ed ]2 + [ 12 (bi + ci ) ed ]2 + [ 12 (ci + ai ) ed ]2
Ai 6
1
ni ed [(ai + bi ) ed ]2 + [(bi + ci ) ed ]2 + [(ci + ai ) ed ]2 ,
=
24
where we have observed that the integrand is a quadratic function on Ai , so that the standard
midpoint sampling quadrature formula for triangles yields the integral exactly, see e.g. [1].
References
[1] A. H. Stroud, Approximate calculation of multiple integrals, Prentice-Hall Inc., Englewood
Cliffs, N. J., 1971.