# 5. Centroid of an Area by Integration

by M. Bourne

## Typical (straight sided) Problem:

In **tilt-slab construction**, we have a concrete wall (with doors and windows cut out) which we need to raise into position. We don't want the wall to crack as we raise it, so we need to know the **center of mass** of the wall. How do we find the center of mass for such an uneven shape?

Tilt-slab construction (aka tilt-wall or tilt-up)

In this section we'll see how to find the centroid of an area with straight sides, then we'll extend the concept to areas with curved sides where we'll use **integration**.

**Moment**

The **moment** of a mass is a measure of its tendency to rotate about a point. Clearly, the greater the mass (and the greater the distance from the point), the greater will be the tendency to rotate.

The moment is defined as:

Moment = mass × distance from a point

### Example 1

In this case, there will be a total moment about O of:

(Clockwise is regarded as positive in this work.)

`M = 2 × 1 − 10 × 3 = -28\ "kgm"`

## Centre of Mass

We now aim to find the **centre of mass** of the system and this will lead to a more general result.

### Example 2

We have 3 masses of 10 kg, 5 kg and 7 kg at 2 m, 2 m and 1 m distance from O as shown.

We wish to replace these masses with one single mass to give an equivalent moment. Where should we place this single mass?

**Centre of Mass (Centroid) for a Thin Plate**

**1) ****Rectangle**:

The centroid is (obviously) going to be exactly in the centre of the plate, at (2, 1).

**2) More ****Complex Shapes**:

We divide the complex shape into rectangles and find `bar(x)` (the *x*-coordinate of the centroid) and `bar(y)` (the *y*-coordinate of the centroid) by taking moments about the *y-* and *x-*coordinates respectively.

Because they are thin plates with a uniform density, we can just calculate moments using the **area.**

### Example 3

Find the centroid of the shape:

In general, we can say:

`bar(x)=("total moments in"\ x"-direction")/"total area"`

`bar(y)=("total moments in"\ y"-direction")/"total area"`

This idea is used more extensively in the next section.

**Centroid for Curved Areas**

Taking the simple case first, we aim to find the centroid for the area defined by a function *f*(*x*), and the vertical lines *x* = *a* and *x* = *b* as indicated in the following figure.

To find the centroid, we use the same basic idea that we were using for the straight-sided case above. The "typical" rectangle indicated is `x` units from the `y`-axis, and it has width `Δx` (which becomes `dx` when we integrate) and height *y* = *f*(*x*).

Generalizing from the above rectangular areas case, we multiply these 3 values (`x`, `f(x)` and `Deltax`, which will give us the area of each thin rectangle times its distance from the `x`-axis), then add them. If we do this for infinitesimally small strips, we get the `x`-coordinates of the centroid using the total moments in the *x*-direction, given by:

`bar(x)="total moments"/"total area"=1/Aint_a^b x\ f(x)\ dx`

And, considering the moments in the *y*-direction about the *x*-axis and re-expressing the function in terms of *y*, we have:

`bar(y)="total moments"/"total area"=1/Aint_c^d y\ f(y)\ dy`

Notice this time the integration is with respect to `y`, and the distance of the "typical" rectangle from the `x`-axis is `y` units. Also note the lower and upper limits of the integral are `c` and `d`, which are on the `y`-axis.

Of course, there may be rectangular portions we need to consider separately. (I've used a different curve for the `bary` case for simplification.)

**Alternate method: **Depending on the function, it may be easier to use the following alternative formula for the *y-*coordinate, which is derived from considering moments in the *x*-direction (Note the "*dx*" in the integral, and the upper and lower limits are along the *x*-axis for this alternate method).

`bar(y)="total moments"/"total area"`

`=1/Aint_a^b f(x)/2 xx f(x) dx`

`=1/Aint_a^b ([f(x)]^2)/2 dx`

This is true since for our thin strip (width `dx`), the centroid will be half the distance from the top to the bottom of the strip.

Another advantage of this second formula is there is no need to re-express the function in terms of *y*.

## Centroids for Areas Bounded by 2 Curves

We extend the simple case given above. The "typical" rectangle indicated has width Δ*x* and height *y*_{2} − *y*_{1}, so the total moments in the *x*-direction over the total area is given by:

`bar(x)="total moments"/"total area"=1/Aint_a^b x\ (y_2-y_1)\ dx`

For the *y* coordinate, we have 2 different ways we can go about it.

**Method 1: **We take moments about the *y*-axis and so we'll need to re-express the expressions *x*_{2} and *x*_{1} as functions of *y.*

`bar(y)="total moments"/"total area"=1/Aint_c^d y\ (x_2-x_1)\ dy`

**Method 2: **We can also keep everything in terms of *x* by extending the "Alternate Method" given above:

`bar(y)="total moments"/"total area"=1/Aint_a^b ([y_2]^2-[y_1]^2)/2 dx`

### Example 4

Find the centroid of the area bounded by *y* = *x*^{3}, *x* = 2 and the *x*-axis.

### Online Algebra Solver

This algebra solver can solve a wide range of math problems. (Please be patient while it loads.)

Go to: Online algebra solver

### Calculus Lessons on DVD

Easy to understand calculus lessons on DVD. See samples before you commit.

More info: Calculus videos

### The IntMath Newsletter

Sign up for the free **IntMath Newsletter**. Get math study tips, information, news and updates each fortnight. Join thousands of satisfied students, teachers and parents!