# Second moment of area

The second moment of area, or second area moment, or quadratic moment of area and also known as the area moment of inertia, is a geometrical property of an area which reflects how its points are distributed with regard to an arbitrary axis. The second moment of area is typically denoted with either an $I$ (for an axis that lies in the plane of the area) or with a $J$ (for an axis perpendicular to the plane). In both cases, it is calculated with a multiple integral over the object in question. Its dimension is L (length) to the fourth power. Its unit of dimension, when working with the International System of Units, is meters to the fourth power, m$^4$, or inches to the fourth power, in$^4$, when working in the Imperial System of Units or the US customary system.
In structural engineering, the second moment of area of a beam is an important property used in the calculation of the beam's deflection and the calculation of stress caused by a moment applied to the beam. In order to maximize the second moment of area, a large fraction of the cross-sectional area of an I-beam is located at the maximum possible distance from the centroid of the I-beam's cross-section. The planar second moment of area provides insight into a beam's resistance to bending due to an applied moment, force, or distributed load perpendicular to its neutral axis, as a function of its shape. The polar second moment of area provides insight into a beam's resistance to torsional deflection, due to an applied moment parallel to its cross-section, as a function of its shape.
Different disciplines use the term moment of inertia (MOI) to refer to different moments. It may refer to either of the planar second moments of area (often I$_x$=∬$_R$y$^2$dA{\textstyle I_{x}=\iint _{R}y^{2}\, dA} or I$_y$=∬$_R$x$^2$dA, {\textstyle I_{y}=\iint _{R}x^{2}\, dA, } with respect to some reference plane), or the polar second moment of area (I=∬$_R$r$^2$dA{\textstyle I=\iint _{R}r^{2}\, dA}, where r is the distance to some reference axis). In each case the integral is over all the infinitesimal elements of area, dA, in some two-dimensional cross-section. In physics, moment of inertia is strictly the second moment of mass with respect to distance from an axis: I=∫$_Q$r$^2$dm{\textstyle I=\int _{Q}r^{2}dm}, where r is the distance to some potential rotation axis, and the integral is over all the infinitesimal elements of mass, dm, in a three-dimensional space occupied by an object Q. The MOI, in this sense, is the analog of mass for rotational problems. In engineering (especially mechanical and civil), moment of inertia commonly refers to the second moment of the area.

## Definition

The second moment of area for an arbitrary shape R with respect to an arbitrary axis $BB'$ ($BB'$ axis is not drawn in the adjacent image; is an axis coplanar with x and y axes and is perpendicular to the line segment $\rho$) is defined as $J_{BB'}=\iint _{R}{\rho }^{2}\,dA$ where
* $dA$ is the infinitesimal area element, and
* $\rho$ is the distance from the $BB'$ axis.
For example, when the desired reference axis is the x-axis, the second moment of area $I_{xx}$ (often denoted as $I_{x}$) can be computed in Cartesian coordinates as
$I_{x}=\iint _{R}y^{2}\,dx\,dy$
The second moment of the area is crucial in Euler–Bernoulli theory of slender beams.

### Product moment of area

More generally, the product moment of area is defined as $I_{xy}=\iint _{R}yx\,dx\,dy$

## Parallel axis theorem

It is sometimes necessary to calculate the second moment of area of a shape with respect to an $x'$ axis different to the centroidal axis of the shape. However, it is often easier to derive the second moment of area with respect to its centroidal axis, $x$, and use the parallel axis theorem to derive the second moment of area with respect to the $x'$ axis. The parallel axis theorem states $I_{x'}=I_{x}+Ad^{2}$ where
* $A$ is the area of the shape, and
* $d$ is the perpendicular distance between the $x$ and $x'$ axes.
A similar statement can be made about a $y'$ axis and the parallel centroidal $y$ axis. Or, in general, any centroidal $B$ axis and a parallel $B'$ axis.

## Perpendicular axis theorem

For the simplicity of calculation, it is often desired to define the polar moment of area (with respect to a perpendicular axis) in terms of two area moments of inertia (both with respect to in-plane axes). The simplest case relates $J_{z}$ to $I_{x}$ and $I_{y}$.
$J_{z}=\iint _{R}\rho ^{2}\,dA=\iint _{R}\left(x^{2}+y^{2}\right)dA=\iint _{R}x^{2}\,dA+\iint _{R}y^{2}\,dA=I_{x}+I_{y}$
This relationship relies on the Pythagorean theorem which relates $x$ and $y$ to $\rho$ and on the linearity of integration.

## Composite shapes

For more complex areas, it is often easier to divide the area into a series of "simpler" shapes. The second moment of area for the entire shape is the sum of the second moment of areas of all of its parts about a common axis. This can include shapes that are "missing" (i.e. holes, hollow shapes, etc.), in which case the second moment of area of the "missing" areas are subtracted, rather than added. In other words, the second moment of area of "missing" parts are considered negative for the method of composite shapes.

## Examples

See list of second moments of area for other shapes.

### Rectangle with centroid at the origin

Consider a rectangle with base $b$ and height $h$ whose centroid is located at the origin. $I_{x}$ represents the second moment of area with respect to the x-axis; $I_{y}$ represents the second moment of area with respect to the y-axis; $J_{z}$ represents the polar moment of inertia with respect to the z-axis.
${\begin{aligned}I_{x}&=\iint _{R}y^{2}\,dA=\int _{-{\frac {b}{2}}}^{\frac {b}{2}}\int _{-{\frac {h}{2}}}^{\frac {h}{2}}y^{2}\,dy\,dx=\int _{-{\frac {b}{2}}}^{\frac {b}{2}}{\frac {1}{3}}{\frac {h^{3}}{4}}\,dx={\frac {bh^{3}}{12}}\\I_{y}&=\iint _{R}x^{2}\,dA=\int _{-{\frac {b}{2}}}^{\frac {b}{2}}\int _{-{\frac {h}{2}}}^{\frac {h}{2}}x^{2}\,dy\,dx=\int _{-{\frac {b}{2}}}^{\frac {b}{2}}hx^{2}\,dx={\frac {b^{3}h}{12}}\end{aligned}}$
Using the perpendicular axis theorem we get the value of $J_{z}$.
$J_{z}=I_{x}+I_{y}={\frac {bh^{3}}{12}}+{\frac {hb^{3}}{12}}={\frac {bh}{12}}\left(b^{2}+h^{2}\right)$

### Annulus centered at origin

Consider an annulus whose center is at the origin, outside radius is $r_{2}$, and inside radius is $r_{1}$. Because of the symmetry of the annulus, the centroid also lies at the origin. We can determine the polar moment of inertia, $J_{z}$, about the $z$ axis by the method of composite shapes. This polar moment of inertia is equivalent to the polar moment of inertia of a circle with radius $r_{2}$ minus the polar moment of inertia of a circle with radius $r_{1}$, both centered at the origin. First, let us derive the polar moment of inertia of a circle with radius $r$ with respect to the origin. In this case, it is easier to directly calculate $J_{z}$ as we already have $r^{2}$, which has both an $x$ and $y$ component. Instead of obtaining the second moment of area from Cartesian coordinates as done in the previous section, we shall calculate $I_{x}$ and $J_{z}$ directly using polar coordinates.
${\begin{aligned}I_{x,{\text{circle}}}&=\iint _{R}y^{2}\,dA=\iint _{R}\left(r\sin {\theta }\right)^{2}\,dA=\int _{0}^{2\pi }\int _{0}^{r}\left(r\sin {\theta }\right)^{2}\left(r\,dr\,d\theta \right)\\&=\int _{0}^{2\pi }\int _{0}^{r}r^{3}\sin ^{2}{\theta }\,dr\,d\theta =\int _{0}^{2\pi }{\frac {r^{4}\sin ^{2}{\theta }}{4}}\,d\theta ={\frac {\pi }{4}}r^{4}\\J_{z,{\text{circle}}}&=\iint _{R}r^{2}\,dA=\int _{0}^{2\pi }\int _{0}^{r}r^{2}\left(r\,dr\,d\theta \right)=\int _{0}^{2\pi }\int _{0}^{r}r^{3}\,dr\,d\theta \\&=\int _{0}^{2\pi }{\frac {r^{4}}{4}}\,d\theta ={\frac {\pi }{2}}r^{4}\end{aligned}}$
Now, the polar moment of inertia about the $z$ axis for an annulus is simply, as stated above, the difference of the second moments of area of a circle with radius $r_{2}$ and a circle with radius $r_{1}$.
$J_{z}=J_{z,r_{2}}-J_{z,r_{1}}={\frac {\pi }{2}}r_{2}^{4}-{\frac {\pi }{2}}r_{1}^{4}={\frac {\pi }{2}}\left(r_{2}^{4}-r_{1}^{4}\right)$
Alternatively, we could change the limits on the $dr$ integral the first time around to reflect the fact that there is a hole. This would be done like this.
${\begin{aligned}J_{z}&=\iint _{R}r^{2}\,dA=\int _{0}^{2\pi }\int _{r_{1}}^{r_{2}}r^{2}\left(r\,dr\,d\theta \right)=\int _{0}^{2\pi }\int _{r_{1}}^{r_{2}}r^{3}\,dr\,d\theta \\&=\int _{0}^{2\pi }\left[{\frac {r_{2}^{4}}{4}}-{\frac {r_{1}^{4}}{4}}\right]\,d\theta ={\frac {\pi }{2}}\left(r_{2}^{4}-r_{1}^{4}\right)\end{aligned}}$

### Any polygon

The second moment of area about the origin for any simple polygon on the XY-plane can be computed in general by summing contributions from each segment of the polygon after dividing the area into a set of triangles. This formula is related to the shoelace formula and can be considered a special case of Green's theorem.
A polygon is assumed to have $n$ vertices, numbered in counter-clockwise fashion. If polygon vertices are numbered clockwise, returned values will be negative, but absolute values will be correct.
${\begin{aligned}I_{y}&={\frac {1}{12}}\sum _{i=1}^{n}\left(x_{i}y_{i+1}-x_{i+1}y_{i}\right)\left(x_{i}^{2}+x_{i}x_{i+1}+x_{i+1}^{2}\right)\\I_{x}&={\frac {1}{12}}\sum _{i=1}^{n}\left(x_{i}y_{i+1}-x_{i+1}y_{i}\right)\left(y_{i}^{2}+y_{i}y_{i+1}+y_{i+1}^{2}\right)\\I_{xy}&={\frac {1}{24}}\sum _{i=1}^{n}\left(x_{i}y_{i+1}-x_{i+1}y_{i}\right)\left(x_{i}y_{i+1}+2x_{i}y_{i}+2x_{i+1}y_{i+1}+x_{i+1}y_{i}\right)\end{aligned}}$
where $x_{i},y_{i}$ are the coordinates of the $i$-th polygon vertex, for $1\leq i\leq n$. Also, $x_{n+1},y_{n+1}$ are assumed to be equal to the coordinates of the first vertex, i.e., $x_{n+1}=x_{1}$ and $y_{n+1}=y_{1}$.