From [1, p. 487, 14e]
Asked: Find the centroid of the first-quadrant area bounded by 0 and and 0.
Integrate first?
The integral would have to be split up into the light and dark areas since the lower boundary of integration is 0 in the light region and in the dark region.
So integrate first!
The boundaries of integration will be
After integration over , the remaining region of integration over will be a line segment:
For :
For :
where is constant in the integration;
Hence .
For :
Hence .