Advanced Engineering Mathematics: A Computer Approach, Seventh Edition

To find the coordinates of the centroid of the triangle whose vertices are (x 1 , y 1 , z 1 ), (x 2 , y 2 , z 2 ) and (x 3 , y 3 , z 3 ).
Let A( x 1, y 1, z 1), B( x 2, y 2, z 2), C( x 3, y 3, z 3) denote the vertices of the triangle ABC.
If D denotes the mid-point of BC, then its coordinates are

If G( x, y, z) denotes the centroid of the triangle ABC, then G divides the median AD in the ratio 2 : 1. [From elementary geometry]
?
Similarly,
Hence the centroid is