They intersect at (1,1)
Since integrating with respect to x would mean we need to do two separate integrals for everything (from
to l and from
to 2), we could alternatively integrate with respect to y, where
— y is the "top" function and
is the "bottom",
Find the area of the bounded region.
If we change all the x to y in the formula to find
, it will give the y coordinate of the centroid.
Likewise, if we change all the x to y in the formula to find
, it will give the x coordinate of the centroid.