# Centroid of an Area via Moment Integrals

The **centroid** of an area can be thought of as the geometric center of that area. The location of the centroid is often denoted with a 'C' with the coordinates being x̄ and ȳ, denoting that they are the average x and y coordinate for the area. If an area was represented as a thin, uniform plate, then the centroid would be the same as the center of mass for this thin plate.

Centroids of areas are useful for a number of situations in the mechanics course sequence, including the analysis of distributed forces, the analysis of bending in beams, the analysis of torsion in shafts, and as an intermediate step in determining moments of inertia.

The location of centroids for a variety of common shapes can simply be looked up in tables, such as the table provided in the right column of this website. However, we will often need to determine the centroid of other shapes and to do this we will generally use one of two methods.

- We can use the
**first moment integral**to determine the centroid location. - We can use the
**method of composite parts**along with centroid tables to determine the centroid location.

On this page we will only discuss the first method, as the method of composite parts is discussed in a later section. The tables used in the method of composite parts however are derived via the first moment integral, so both methods ultimately rely on first moment integrals.

## Finding the Centroid via the First Moment Integral

When we find the centroid of a two dimensional shape, we will be looking for both an x and a y coordinate, represented as x̄ and ȳ respectively. Collectively, this x and y coordinate is the centroid of the shape.

To find the average x coordinate of a shape (x̄) we will essentially break the shape into a large number of very small and equally sized areas, and find the average x coordinate of these areas. To do this sum of an infinite number of very small things we will use integration. Specifically, we will take the **first, rectangular, area moment integral** along the x axis, and then divide that integral by the total area to find the average coordinate. We can do something similar along the y axis to find our ȳ value. Writing all of this out, we have the equations below.

\[C=(\bar{x},\bar{y})\] | |

\[\bar{x}=\frac{\int_{A}(dA*x)}{A}\] | \[\bar{y}=\frac{\int_{A}(dA*y)}{A}\] |

Next let's discuss what the variable dA represents and how we integrate it over the area. The variable dA is the rate of change in area as we move in a particular direction. For x̄ we will be moving along the x axis, and for ȳ we will be moving along the y axis in these integrals.

As we move along the x axis of a shape from its left most point to its right most point, the rate of change of the area at any instant in time will be equal to the height of the shape that point times the rate at which we are moving along the axis (dx). Because the height of the shape will change with position, we do not use any one value, but instead must come up with an equation that describes the height at any given value of x. We will then multiply this dA equation by the variable x (to make it a moment integral), and integrate that equation from the leftmost x position of the shape (x min) to the right most x position of the shape (x max).

To find the y coordinate of the of the centroid, we have a similar process, but because we are moving along the y axis, the value dA is the equation describing the width of the shape times the rate at which we are moving along the y axis (dy). We then take this dA equation and multiply it by y to make it a moment integral. We will integrate this equation from the y position of the bottommost point on the shape (y min) to the y position of the topmost point on the shape (y max).

Using the first moment integral and the equations shown above we can theoretically find the centroid of any shape as long as we can write out equations to describe the height and width at any x or y value respectively. For more complex shapes however, determining these equations and then integrating these equations can become very time consuming. That is why most of the time, engineers will instead use the method of composite parts or computer tools.

## Using Symmetry as a Shortcut

Shape symmetry can provide a shortcut in many centroid calculations. Remember that the centroid coordinate is the average x and y coordinate for all the points in the shape. If the shape has a line of symmetry, that means each point on one side of the line must have an equivalent point on the other side of the line. This means that the average value (aka. the centroid) must lie along any axis of symmetry. If the shape has more than one axis of symmetry, then the centroid must exist at the intersection of the two axes of symmetry.