Keywords

These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

3.1 First Moment

Figure 3.1 shows a set of \(n\) points \(P_i\), \( \{S\}=\{P_1,\,P_2,\ldots ,P_n\}=\{P_i\}_{i=1,2,\ldots ,n}. \) The position vector of a point \(P_i\) relative to an arbitrarily selected reference point \(O\) is \(\mathbf{r }_{P_i}\), where \(\mathbf{r}_{P_i} = \mathbf{r}_{i}\). A scalar \(s_i\) can be associated with \(P_i\) as for example the mass \(m_i\) of a particle situated at \(P_i\). The first moment of a point \(P_i\) with respect to a point \(O\) is the vector \(\mathbf M _i=s_i\,\mathbf{r }_{P_i}\). The scalar \(s_i\) is called the strength of \(P_i\). The strengths of the points \(P_i\) are \(s_i,\, i = 1, 2, \ldots , n\) and are \(n\) scalars, having the same dimension, and associated with one of the points of \(\{S\}\).

Fig. 3.1
figure 1

Set of points and centroid of a set of points

Fig. 3.2
figure 2

Center of mass of a volume\(V\)

The centroid of the set \(\{S\}\) is the point \(C\) with respect to which the sum of the first moments of the points of \(\{S\}\) is equal to zero. The position vector of \(C\) relative to a point \(O\) is \(\mathbf{r }_C\). The position vector of \(P_i\) relative to \(C\) is \(\mathbf{r }_i - \mathbf{r }_C\). The sum of the first moments of the points \(P_i\) with respect to \(C\) is \(\displaystyle \sum _{i=1}^n s_i(\mathbf{r }_i - \mathbf{r }_C)\). If \(C\) is the centroid of \(\{S\}\) then

$$\begin{aligned} \displaystyle \sum _{i=1}^n s_i(\mathbf{r }_i - \mathbf{r }_C)= \sum \limits _{i=1}^n s_i \mathbf{r }_i - \mathbf{r }_C\sum \limits _{i=1}^n s_i = 0. \end{aligned}$$

The position vector \(\mathbf{r }_C\) of the centroid \(C\) is given by

$$\begin{aligned} \mathbf{r }_C = \frac{\displaystyle \sum \limits _{i=1}^n s_i\,\mathbf{r }_i}{\displaystyle \sum \limits _{i=1}^n s_i}. \end{aligned}$$

If \(\sum \nolimits _{i=1}^n s_i = 0\) the centroid is not defined. The centroid \(C\) of a set of points of given strength does not depend on the choice of the reference point \(O\).

3.2 Center of Mass of a Set of Particles

The center of mass of a set of particles \(\{S\}=\{P_1,P_2,\ldots ,P_n\}=\{P_i\}_{i=1,2,\ldots ,n}\) is the centroid of the set of points with \(s_i=m_i,\, i = 1, 2, \ldots , n\), where \(m_i\) is the mass of the particle \(P_i\). The position vector of the center of mass, \(C\), of the system with \(n\) particles is

$$\begin{aligned} \mathbf{r }_C = \frac{\displaystyle \sum \limits _{i=1}^n m_i \,\mathbf{r }_i}{\sum \limits _{i=1}^n m_i} = \frac{\displaystyle \sum \limits _{i=1}^n m_i \,\mathbf{r }_i}{M}, \end{aligned}$$
(3.1)

where \(M\) is the total mass of the system.

3.3 Center of Mass of a Body

The position vector of the center of mass \(C\), Fig. 3.2, of a body of mass \(m\) and volume \(V\) relative to a point \(O\) is

$$\begin{aligned} \mathbf{r }_C = \frac{ \displaystyle \mathop {\int \!\!\int \!\!\int }\limits _{V} \mathbf{r }\,\mathrm{d}m}{ \displaystyle \mathop {\int \!\!\int \!\!\int }\limits _{V} \mathrm{d}m}. \end{aligned}$$
(3.2)

The mass of a differential element of volume \(\mathrm{d}V\) is \( \mathrm{d} m= \rho \, \mathrm{d}V\) where \(\rho \) is the density of a body (mass per unit volume). The orthogonal cartesian coordinates of \(C\) are

$$\begin{aligned} x_C=\frac{\displaystyle \mathop {\int \!\!\int \!\!\int }\limits _{V} x\,\rho \mathrm{d}V}{\displaystyle \mathop {\int \!\!\int \!\!\int }\limits _{V} \rho \mathrm{d}V}, \,\, y_C=\frac{\displaystyle \mathop {\int \!\!\int \!\!\int }\limits _{V} y\,\rho \mathrm{d}V}{\displaystyle \mathop {\int \!\!\int \!\!\int }\limits _{V} \rho \mathrm{d}V}, \,\, z_C=\frac{\displaystyle \mathop {\int \!\!\int \!\!\int }\limits _{V} z\,\rho \mathrm{d}V}{\displaystyle \mathop {\int \!\!\int \!\!\int }\limits _{V} \rho \mathrm{d}V}. \end{aligned}$$
(3.3)

The center of mass of a body is the point at which the total moment of the body’s mass about that point is zero. If the mass density \(\rho \) of the body is the same at all points of the body, the body is uniform and the coordinates of the center of the mass \(C\) are

$$\begin{aligned} x_C=\frac{\displaystyle \mathop {\int \!\!\int \!\!\int }\limits _{V} x\,\mathrm{d}V}{\displaystyle \mathop {\int \!\!\int \!\!\int }\limits _{V} \mathrm{d}V},\,\, y_C=\frac{\displaystyle \mathop {\int \!\!\int \!\!\int }\limits _{V} y\,\mathrm{d}V}{\displaystyle \mathop {\int \!\!\int \!\!\int }\limits _{V} \mathrm{d}V},\,\, z_C=\frac{\displaystyle \mathop {\int \!\!\int \!\!\int }\limits _{V} z\, \mathrm{d}V}{\displaystyle \mathop {\int \!\!\int \!\!\int }\limits _{V} \mathrm{d}V}. \end{aligned}$$
(3.4)

For a uniform curve \(\rho =\rho _I=m/L\) is the mass per unit of length and

$$\begin{aligned} x_C=\frac{\displaystyle \int \limits _L x\,\mathrm{d}l}{\displaystyle \int \limits _L \mathrm{d}l},\,\, y_C=\frac{\displaystyle \int \limits _L y\,\mathrm{d}l}{\displaystyle \int \limits _L \mathrm{d}l},\,\, z_C=\frac{\displaystyle \int \limits _L z\, \mathrm{d}l}{\displaystyle \int \limits _L \mathrm{d}l}, \end{aligned}$$
(3.5)

where \(L\) is the length of the curve. For a uniform surface\(\rho =\rho _s=m/A\) is the mass per unit of area and

$$\begin{aligned} x_C=\frac{\displaystyle \mathop {\int \int }\limits _{A} x\,\mathrm{d}A}{\displaystyle \mathop {\int \int }\limits _{A} \mathrm{d}A},\,\, y_C=\frac{\displaystyle \mathop {\int \int }\limits _{A} y\,\mathrm{d}A}{\displaystyle \mathop {\int \int }\limits _{A} \mathrm{d}A},\,\, z_C=\frac{\displaystyle \mathop {\int \int }\limits _{A} z\, \mathrm{d}A}{\displaystyle \mathop {\int \int }\limits _{A} \mathrm{d}A}, \end{aligned}$$
(3.6)

where \(A\) is the area of the surface.

The method of decomposition is used to locate the center of mass of a composite body:

  1. 1.

    divide the body into a number of simpler body shapes, which may be particles, curves, surfaces, or solids; Holes are considered as pieces with negative size, mass, or volume.

  2. 2.

    locate the coordinates \(x_{C_i},\,y_{C_i},\,z_{C_i}\) of the center of mass of each part of the body;

  3. 3.

    determine the center of mass using the equations

    $$\begin{aligned} x_C=\frac{\displaystyle \sum \limits _{i=1}^n \displaystyle \int _\tau x\, d\tau }{\displaystyle \sum \limits _{i=1}^n\displaystyle \int _\tau \mathrm{d}\tau },\,\, y_C=\frac{\displaystyle \sum \limits _{i=1}^n \displaystyle \int _\tau y\, d\tau }{\displaystyle \sum \limits _{i=1}^n\displaystyle \int _\tau \mathrm{d}\tau },\,\, z_C=\frac{\displaystyle \sum \limits _{i=1}^n \displaystyle \int _\tau z\, d\tau }{\displaystyle \sum \limits _{i=1}^n\displaystyle \int _\tau \mathrm{d}\tau }, \end{aligned}$$
    (3.7)

    where \(\tau \) is a curve, area, or volume. Equation (3.7) can be simplify as

    $$\begin{aligned} x_C=\frac{\displaystyle \sum \limits _{i=1}^n x_{C_i} \, \tau _i}{\displaystyle \sum \limits _{i=1}^n \tau _i},\,\, y_C=\frac{\displaystyle \sum \limits _{i=1}^n y_{C_i} \, \tau _i}{\displaystyle \sum \limits _{i=1}^n \tau _i},\,\, z_C=\frac{\displaystyle \sum \limits _{i=1}^n z_{C_i} \, \tau _i}{\displaystyle \sum \limits _{i=1}^n \tau _i}, \end{aligned}$$
    (3.8)

where \(\tau _i\) is the length, area, or volume of the \(i^\mathrm{th}\) object.

3.4 First Moment of an Area

A planar surface of area\(A\) is shown in Fig. 3.3. The first moment of the area\(A\) about the \(x\)-axis is

$$\begin{aligned} M_x = \mathop {\int \int }\limits _{A} y\; \mathrm{d}A. \end{aligned}$$
(3.9)

The first moment about the \(y\)-axis is

$$\begin{aligned} M_y = \mathop {\int \int }\limits _{A} x\; \mathrm{d}A. \end{aligned}$$
(3.10)

The first moment of area gives information of the shape, size, and orientation of the area. The coordinates \(x_C\) and \(y_C\) of the center of mass of the area \(A\) are calculated with

$$\begin{aligned} x_C&=\frac{\displaystyle \mathop {\int \int }\limits _{A} x\; \mathrm{d}A}{A}=\frac{M_y}{A}, \end{aligned}$$
(3.11)
$$\begin{aligned} y_C&=\frac{\displaystyle \mathop {\int \int }\limits _{A} y\; \mathrm{d}A}{A}=\frac{M_x}{A}. \end{aligned}$$
(3.12)

The location of the center of mass of an area is independent of the reference axes employed. If the axes \(xy\) have their origin at the centroid, \(O \equiv C\), then these axes are called centroidal axes. The first moments about the centroidal axes are zero. The center of mass of an area with one axis of symmetry is located along the axis of symmetry. The axis of symmetry is a centroidal axis and the first moment of area must be zero about the axis of symmetry. If a body has two orthogonal axes of symmetry the centroid is at the intersection of these axes. For surfaces as circles, rectangles, triangles, the center of mass can be determined by inspection.

Fig. 3.3
figure 3

Planar surface of area\(A\)

3.5 Center of Gravity

The center of gravity is a point which locates the resultant weight of a system of particles or body. The sum of moments due to individual particle weight about any point is the same as the moment due to the resultant weight located at the center of gravity. The sum of moments due to the individual particles weights about center of gravity is equal to zero. Similarly, the center of mass is a point which locates the resultant mass of a system of particles or body. The center of gravity of a body is the point at which the total moment of the force of gravity is zero. The coordinates of the center of gravity are

$$\begin{aligned} x_C=\frac{\displaystyle \mathop {\int \!\!\int \!\!\int }\limits _{V} x \rho \, g\, \mathrm{d}V}{\displaystyle \mathop {\int \!\!\int \!\!\int }\limits _{V} \rho \, g\, \mathrm{d}V},\,\, y_C=\frac{\displaystyle \mathop {\int \!\!\int \!\!\int }\limits _{V} y \rho \, g\, \mathrm{d}V}{\displaystyle \mathop {\int \!\!\int \!\!\int }\limits _{V} \rho \, g\, \mathrm{d}V},\,\, z_C=\frac{\displaystyle \mathop {\int \!\!\int \!\!\int }\limits _{V} z \rho \, g\, \mathrm{d}V}{\displaystyle \mathop {\int \!\!\int \!\!\int }\limits _{V} \rho \, g\, \mathrm{d}V}. \end{aligned}$$
(3.13)

If the acceleration of gravity \(g\) is constant throughout the body, then the location of the center of gravity is the same as that of the center of mass. The acceleration of gravity is \(g=9.81\) m/s\(^2\) or \(g=32.2\) ft/s\(^2\).

3.6 Theorems of Guldinus-Pappus

Theorem 1

Consider a planar generating curve and an axis of revolution in the plane of this curve Fig. 3.4. The axis of revolution does not intersect the curve. It can only touch the generating curve. The surface of revolution \(A\) developed by rotating the generating curve about the axis of revolution equals the product of the length of the generating \(L\) curve times the circumference of the circle formed by the centroid of the generating curve \(y_C\) in the process of generating a surface of revolution

$$\begin{aligned} A = 2\,\pi y_C L. \end{aligned}$$
(3.14)
Fig. 3.4
figure 4

Surface of revolution

Fig. 3.5
figure 5

Volume of revolution

Proof

A length element \(dl\)  of the generating curve is considered as shown in Fig. 3.4. For a revolution of the generating curve about axis of revolution, \(x\)-axis, the length element \(dl\) describes the area

$$\begin{aligned} \mathrm{d}A = 2\,\pi y\mathrm{d}l. \end{aligned}$$

For the total surface of revolution developed the area is

$$\begin{aligned} A = 2\,\pi \,\int y\, \mathrm{d}l = 2\,\pi y_C L, \end{aligned}$$

where \(L\) is the length of the curve and \(y_C\) is the centroidal coordinate of the curve. The circumferential length of the circle formed by having the centroid of the curve rotate about the \(x\)-axis is \(2\pi y_C\). The surface of revolution \(A\) is equal to \(2\pi \) times the first moment of the generating curve about the axis of revolution. For a composite generating curve the following formula is used

$$\begin{aligned} A = 2\,\pi \,\left( \sum \limits _{i} L_i y_{C_i}\right) , \end{aligned}$$
(3.15)

where \(y_{C_i}\) is the centroidal coordinate for the \(i^\mathrm{th}\) line segment \(L_i\). The generating curve is composed of simple curves, \(L_i\) and the axis of revolution is the \(x\)-axis.

Theorem 2

A generating planar surface \(A\) and an axis of revolution located in the same plane as the surface is considered in Fig. 3.5. The volume of revolution \(V\) developed by rotating the generating planar surface about the axis of revolution equals the product of the area of the surface times the circumference of the circle formed by the centroid of the surface \(y_C\) in the process of generating the body of revolution

$$\begin{aligned} V = 2\,\pi y_C A. \end{aligned}$$
(3.16)

The axis of revolution does not intersect the generating surface. It can only touch the generating plane surface as a tangent at the boundary.

Proof

The volume generated by rotating an element \(dA\) of the plane surface, \(A\) is shown in Fig. 3.5, about the \(x\)-axis is

$$\begin{aligned} \mathrm{d}V = 2\,\pi y\,\mathrm{d}A. \end{aligned}$$

The volume of the body of revolution formed from \(A\) is

$$\begin{aligned} V = 2\,\pi \,\int \limits _A\, y\,\mathrm{d}A = 2\,\pi y_C\, A. \end{aligned}$$

Thus, the volume \(V\) equals the area of the generating surface \(A\) times the circumferential length of the circle of radius \(y_C\). The volume \(V\) equals \(2\,\pi \) times the first moment of the generating area \(A\) about the axis of revolution.

Fig. 3.6
figure 6

Coordinates of center of mass, \(x_C\) and \(y_C\), and area \(A\)

Fig. 3.7
figure 7

Example 3.1

The areas and center of mass for some practical configurations are shown in Fig. 3.6.

3.7 Examples

Example 3.1

Find the length and the position of the center of mass for the homogeneous curve given by the Cartesian equation \(y= b\,\sqrt{x^a}\) m, where \(a = 3\), \(b = 2\) and \(0 \le x \le 1\) m.

Solution

The differential element of the curve, \(\mathrm{d}l = \sqrt{1+ (\mathrm{d}y/\mathrm{d}x)^2}\), is given in MATLAB by:

figure a

The MATLAB statement int (f, x, a, b) is the definite integral of f with respect to its symbolic variable x from a to b. The length of the homogeneous curve is:

figure b

and the coordinates of the center of mass \(C\) are:

figure c

The numerical values for the length and the centroid are:

figure d

The MATLAB statements for the graphical representation are:

figure e

and the results are depicted in Fig. 3.7.

Example 3.2

A homogeneous circle is given by the Cartesian equation \(x^2+y^2=r^2\), where \(r=1\) m. (a) Find the length of the homogeneous circle. (b) Find the length and the position of the center of mass for the homogeneous semi-circle, \(-1 \le x \le 1\) and \(0 \le y \le 1\). (c) Find the length and the position of the center of mass for the homogeneous quarter-circle, \(0 \le x \le 1\) and \(0 \le y \le 1\).

Solution

(a) The parametric equations for the circle are:

figure f

The differential arc length is calculated in MATLAB with:

figure g

and the result is:

figure h

The length of the circle is given by:

figure i

and the MATLAB result is:

figure j

(b) For the semi-circle the length and the center of mass are:

figure k

The results are:

figure l

(c) For the quarter-circle the length and the center of mass are:

figure m

and the MATLAB results are:

figure n

The MATLAB statements for the semi-circle and the quarter-circle graphical representation are:

figure o

The graphics are depicted in Fig. 3.8.

Example 3.3

A homogeneous quarter-astroid (one cusp) is given by the Cartesian equation \(x^{2/3}+y^{2/3}=a^{2/3}\), where \(a=1\) m and \(0 \le x \le 1\) . Find the length and the position of the center of mass for the homogeneous given curve.

Fig. 3.8
figure 8

Example 3.2

Fig. 3.9
figure 9

Example 3.3

Solution

The parametric equations for the astroid are:

figure p

The differential arc length, \(\mathrm{d}l=\sqrt{(\mathrm{d} x/\mathrm{d}t)^2+(\mathrm{d}y/\mathrm{d}t)^2)}\,\mathrm{d}t\), is calculated in MATLAB with:

figure q

and the result is:

figure r

The length of the quarter-astroid is given by:

figure s

and the MATLAB result is:

figure t

For the quarter-astroid the length and the center of mass are:

figure u

and the MATLAB results are:

figure v

The MATLAB statements for the semi-circle and the quarter-circle graphical representation are:

figure w

The graphics are depicted in Fig. 3.9.

Example 3.4

A homogeneous circular helix is given by the Cartesian equation

$$\begin{aligned} x = a\,\cos \,t;\,\, y = a\,\sin \,t; \,\, \mathrm{and}\,\, z = h\,t, \end{aligned}$$

where \(a=1\) m is the radius of the helix and \(2\,\pi \,h\) is the pitch of the helix, \(h=1\) m. Find the length and the position of the center of mass for the spatial homogeneous helix.

Solution

The differential arc length for the spatial curve is

$$\begin{aligned} \mathrm{d}l=\sqrt{(\mathrm{d}x/\mathrm{d}t)^2+(\mathrm{d}y/\mathrm{d}t)^2+(\mathrm{d}z/\mathrm{d}t)^2}\, \mathrm{d}t \end{aligned}$$

and is calculated in MATLAB with:

figure x

The MATLAB result for the differential arc length is:

figure y

The length of the helix is calculated with:

figure z

and the coordinates of the center of mass are:

figure aa

The numerical results are:

figure ab

The MATLAB statements for the helix graphical representation are:

figure ac

and the graphics are depicted in Fig. 3.10.

Fig. 3.10
figure 10

Example 3.4

Example 3.5

A homogeneous spatial curve is given by the Cartesian equation

$$\begin{aligned} x = ae^{kt}\,\cos \,t \,\, (\mathrm{m}); \,\, y = ae^{kt}\,\sin \,t~~(\mathrm{m});~~\mathrm{and} \,\, z = ae^{kt}~~(\mathrm{m}), \end{aligned}$$

where \(a=2\) and \(k=1\). Find the length and the position of the center of mass for the spatial homogeneous curve for \(t\in [0,\,3]\).

Solution

The differential arc length for the spatial curve is

$$\begin{aligned} \mathrm{d}l=\sqrt{(\mathrm{d}x/\mathrm{d}t)^2+(\mathrm{d}y/\mathrm{d}t)^2+(\mathrm{d}z/\mathrm{d}t)^2}\, \mathrm{d}t \end{aligned}$$

and is calculated in MATLAB with:

figure ad

The MATLAB result for the differential arc length is:

figure ae

The length of the helix is calculated with:

figure af

and the numerical value is L = 66.114 (m). The coordinates of the center of mass are:

figure ag

The numerical values for \(C\) are:

figure ah

The MATLAB statements for the curve graphical representation are:

figure ai

and the graphics are depicted in Fig. 3.11.

Fig. 3.11
figure 11

Example 3.5

Example 3.6

Find the coordinates of the mass center for a homogeneous planar plate located under the line of equation \(y=bx/a\) from \(x=0\) to \(x=a\). For the numerical application select \(a=b=1\) m.

Solution

The differential element of area is \(\mathrm{d}A=\mathrm{d}x\,\mathrm{d}y\) and the area of the figure is

$$\begin{aligned} A&= \displaystyle \int \limits _A \mathrm{d}x\,\mathrm{d}y= \displaystyle \int \limits _0^a \int \limits _0^{bx/a} \mathrm{d}x\,\mathrm{d}y= \displaystyle \int \limits _0^a \mathrm{d}x\,\int \limits _0^{bx/a} \mathrm{d}y \\&= \displaystyle \int \limits _0^a \mathrm{d}x\,\left\{ y \right\} _0^{bx/a} = \displaystyle \int \limits _0^a ({bx/a}) \mathrm{d}x = \left\{ b\, x^2/(2\,a) \right\} _0^a =b\,a/2. \end{aligned}$$

The MATLAB program for the area is given by:

figure aj

The first moment of the area \(A\) about the \(y\) axis is

$$\begin{aligned} M_y&= \displaystyle \int \limits _A x\,\mathrm{d}A= \displaystyle \int \limits _0^a \int \limits _0^{bx/a}x\, \mathrm{d}x\,\mathrm{d}y =\displaystyle \int \limits _0^a x\,\mathrm{d}x\,\int \limits _0^{bx/a} \mathrm{d}y \\&= \displaystyle \int \limits _0^a x\,\mathrm{d}x\,\left\{ y \right\} _0^{bx/a} = \displaystyle \int \limits _0^a x\, ({bx/a}) \mathrm{d}x = \displaystyle \int \limits _0^a {(bx^2/a)} \mathrm{d}x = b\,a^2/3. \end{aligned}$$

The \(x\) coordinate of the mass center is \(x_C=M_y/A=2\,a/3 = 0.667\) m. The MATLAB program for \(x_C\) is :

figure ak

The \(y\) coordinate of the mass center is \(y_C=M_x/A\), where the first moment of the area \(A\) about the \(x\) axis is

$$\begin{aligned} M_x =&\displaystyle \int \limits _A y\,\mathrm{d}A= \displaystyle \int \limits _0^a \int \limits _0^{bx/a}y \, \mathrm{d}x\,\mathrm{d}y= \displaystyle \int \limits _0^a \mathrm{d}x\,\int \limits _0^{bx/a}y \, \mathrm{d}y \\ =&\displaystyle \int \limits _0^a \mathrm{d}x\,\left\{ \frac{y^2}{2} \right\} _0^{bx/a} = \displaystyle \int \limits _0^a \frac{b^2\,x^2}{2\,a^2}\mathrm{d}x = \frac{b^2}{2\,a^2} \displaystyle \int \limits _0^a x^2\, \mathrm{d}x= \frac{b^2\,a}{6}. \end{aligned}$$

The coordinate \(y_C\) is

$$\begin{aligned} y_C=\frac{M_x}{A}=\frac{b}{3}=0.333 \,\, \mathrm{m}. \end{aligned}$$

The MATLAB program for \(y_C\) is :

figure al

The MATLAB statements for the graphical representation are:

figure am

and the graphic is shown in Fig. 3.12.

Example 3.7

Find the coordinates of the mass center for a homogeneous planar plate located under the curve of equation \(y=A\,\sin (kx)\) from \(x=0\) to \(x= 3\,\pi /(4\,k)\). For the numerical application use \( A = 1.5\)  m and \( k = 0.75\) m\(^{-1}\).

Fig. 3.12
figure 12

Example 3.6

Solution

The differential element of area is \(\mathrm{d}A=\mathrm{d}x\,\mathrm{d}y\) and the area of the figure is

$$\begin{aligned} Area&= \displaystyle \int \limits _A \mathrm{d}x\,\mathrm{d}y= \displaystyle \int \limits _0^{3\,\pi /(4\,k)}\, \int \limits _0^{A\sin (k\,x)} \mathrm{d}x\,\mathrm{d}y= \displaystyle \int \limits _0^{3\,\pi /(4\,k)} \mathrm{d}x\,\int \limits _0^{A\,\sin (k\,x)} \mathrm{d}y \\&= \displaystyle \int \limits _0^{3\,\pi /(4\,k)} \mathrm{d}x \left\{ y\right\} _0^{\sin \,x} = \displaystyle \int \limits _0^{3\,\pi /(4\,k)} A\sin (k\,x) \mathrm{d}x. \end{aligned}$$

The MATLAB program for the area is given by:

figure an

and the result is:

figure ao

The first moment of the area about the \(y-\)axis is

$$\begin{aligned} M_y&= \displaystyle \int \limits _A x\,\mathrm{d}A= \displaystyle \int \limits _0^{3\,\pi /(4\,k)} \int \limits _0^{A\,\sin (k\,x)}x\, \mathrm{d}x\,\mathrm{d}y= \displaystyle \int \limits _0^{3\,\pi /(4\,k)} x\,\mathrm{d}x\,\int \limits _0^{A\,\sin (k\,x)} \mathrm{d}y \\&= \displaystyle \int \limits _0^{3\,\pi /(4\,k)} x\,\mathrm{d}x\,\left\{ y \right\} _0^{A\,\sin (k\,x)} = \displaystyle \int \limits _0^{3\,\pi /(4\,k)} {A\,x\,\sin (k\,x)} \mathrm{d}x, \end{aligned}$$

With MATLAB the first moment of the area about the \(y-\)axis is:

figure ap

and the symbolic result is:

figure aq

The \(x\) coordinate of the mass center is \(x_C=M_y/Area\):

figure ar

The first moment of the area \(A\) about the \(x-\)axis is

$$\begin{aligned} M_x&=\displaystyle \int \limits _A y\,\mathrm{d}A= \displaystyle \int \limits _0^{3\,\pi /(4\,k)} \int \limits _0^{A\,\sin (k\,x)}y \, \mathrm{d}x\,\mathrm{d}y= \displaystyle \int \limits _0^{3\,\pi /(4\,k)} \mathrm{d}x\,\int \limits _0^{A\,\sin (k\,x)} y \, \mathrm{d}y \nonumber \\&= \displaystyle \int \limits _0^{3\,\pi /(4\,k)} \mathrm{d}x\,\left\{ \frac{y^2}{2} \right\} _0^{A\,\sin (k\,x)} = \displaystyle \int \limits _0^{3\,\pi /(4\,k)} \frac{A^2\,\sin ^2(k\,x)}{2}\mathrm{d}x. \end{aligned}$$

The first moment of the area about the \(x-\)axis in MATLAB is calculated with:

figure as

and the symbolic result is:

figure at

The \(y\) coordinate of the mass center is \(y_C=M_x/Area\):

figure au

The MATLAB statements for the graphical representation are:

figure av

and the graphic is shown in Fig. 3.13.

Example 3.8

Find the coordinates of the centroid of the region bounded by the curves \(y_1(x) = x/4\) and \(y_2(x) = \sqrt{2\,(x-3)}\), \(x_1 \le x \le x_2\), as shown in Fig. 3.14. All coordinates are in meters.

Fig. 3.13
figure 13

Example 3.7

Fig. 3.14
figure 14

Example 3.8

Solution

The two curves will have two intersection points calculated in MATLAB with:

figure aw

The \(x\) values of the intersection points are:

figure ax

The graphic shown in Fig. 3.14 is plotted with:

figure ay

The area of the region is calculated with:

$$\begin{aligned} A&= \displaystyle \int \limits _A \mathrm{d}x\,\mathrm{d}y= \displaystyle \int \limits _{x_1}^{x_2} \int \limits _{y_1}^{y_2}\mathrm{d}x\,\mathrm{d}y= \displaystyle \int \limits _{x_1}^{x_2} \mathrm{d}x\,\int \limits _{x/4}^{\sqrt{2\,(x-3)}}\mathrm{d}y \\&= \displaystyle \int \limits _{x_1}^{x_2} \left( \sqrt{2\,(x-3)}-x/4 \right) \, \mathrm{d}x. \end{aligned}$$

The command in MATLAB for calculating the area is:

figure az

and the numerical result is:

figure ba

The first moment of the area about the \(y-\)axis is

$$\begin{aligned} M_y&= \displaystyle \int \limits _A x\,\mathrm{d}A= \displaystyle \int \limits _{x_1}^{x_2} \int \limits _{y_1}^{y_2}x\, \mathrm{d}x\,\mathrm{d}y= \displaystyle \int \limits _{x_1}^{x_2} x\,\mathrm{d}x\,\int \limits _{y_1}^{y_2}\mathrm{d}y \\&= \displaystyle \int \limits _{x_1}^{x_2} x\,\mathrm{d}x\,\left\{ y \right\} _{y_1}^{y_2} = \displaystyle \int \limits _{x_1}^{x_2} x\,\left( \sqrt{2\,(x-3)}-x/4 \right) \, \mathrm{d}x. \end{aligned}$$

With MATLAB the first moment of the area about the \(y-\)axis and the \(x\) coordinate of the mass center \(x_C=M_y/A\) are:

figure bb

and the result is:

figure bc

The first moment of the area\(A\) about the \(x-\)axis is

$$\begin{aligned} M_x&= \displaystyle \int \limits _A y\,\mathrm{d}A= \displaystyle \int \limits _{x_1}^{x_2} \int \limits _{y_1}^{y_2}y\, \mathrm{d}x\,\mathrm{d}y= \displaystyle \int \limits _{x_1}^{x_2} \mathrm{d}x\,\int \limits _{y_1}^{y_2}y\,\mathrm{d}y \\&= \displaystyle \int \limits _{x_1}^{x_2} \mathrm{d}x\,\left\{ \frac{y^2}{2} \right\} _{y_1}^{y_2} = \displaystyle \int \limits _{x_1}^{x_2} \frac{1}{2} \, \left[ {2\,(x-3)}-\frac{x^2}{16} \right] \, \mathrm{d}x. \end{aligned}$$

The first moment \(M_x\) and \(y_C\) are calculated in MATLAB with:

figure bd

and the result is:

figure be

Example 3.9

Find the position of the center of mass the region defined by \(OABDEF\) as shown in Fig. 3.15, where \(EF=DB=a=4\) m and \(AB=DE=b=2\) m. The material is homogeneous.

Fig. 3.15
figure 15

Example 3.9

Solution

The region is bounded by the lines of equations \(y_1(x) = 2\,b\) for \(0 \le x \le a\), \(y_2(x) = b\) for \(a < x \le 2\,a\) and the \(x-\)axis. The area of the region is given by

$$\begin{aligned} A&= A_1+A_2= \displaystyle \int \limits _0^a y_1\,\mathrm{d}x+\displaystyle \int \limits _a^{2a} y_2\,\mathrm{d}x= \displaystyle \int \limits _0^a (2\,b)\,\mathrm{d}x+\displaystyle \int \limits _a^{2a} b\,\mathrm{d}x\\&= 2\,b\,a+a\,b=3\,a\,b=24~\mathrm{m}^2. \end{aligned}$$

The first moment of the area about the \(y-\)axis for the composite region is

$$\begin{aligned} M_y = \displaystyle \int \limits _A x\,\mathrm{d}A= \displaystyle \int \limits _0^a x\, y_1\,\mathrm{d}x+\displaystyle \int \limits _a^{2\,a}x\, y_2\,\mathrm{d}x= \displaystyle \int \limits _0^a 2\,bx\,\mathrm{d}x+\displaystyle \int \limits _a^{2\,a}bx\,\mathrm{d}x. \end{aligned}$$

With MATLAB the first moment of the area about the \(y-\)axis and the \(x\) coordinate of the mass center \(x_C=M_y/A\) are:

figure bf

The results are:

figure bg

The first moment of the area about the \(x-\)axis is calculated with the general formula

$$\begin{aligned} M_x =0.5\,\displaystyle \int \limits _{x_1}^{x_2} {y^2(x)} \, \mathrm{d}x, \end{aligned}$$

and for \(A=A_1 +A_2\) it results

$$\begin{aligned} M_x&= M_{x_1}+M_{x_2}= 0.5\,\displaystyle \int \limits _0^a {y_1}^2 \, \mathrm{d}x+ 0.5\,\displaystyle \int \limits _a^{2\,a} {y_2}^2 \, \mathrm{d}x\\&= 0.5\,\displaystyle \int \limits _0^a {(2\,b)}^2 \, \mathrm{d}x+ 0.5\,\displaystyle \int \limits _a^{2\,a} {b}^2 \, \mathrm{d}x. \end{aligned}$$

The first moment \(M_x\) and \(y_C\) are calculated in MATLAB with:

figure bh

and the result are:

figure bi

Example 3.10

Find the volume of the frustum of a cone, shown in Fig. 3.16, where \(h=2\) m is the height, \(R=2\) m is the radius of large base, and \(r=1\) m radius of small base. The material is homogeneous.

Fig. 3.16
figure 16

Example 3.10

Solution

The formula for calculating the volume is:

$$\begin{aligned} V= \pi \, \int \limits _a^b f^2(x) \mathrm{d}x \end{aligned}$$

where \(y=f(x)\) is the generating equation of the planar curve. For the frustum of a cone the generating equation is

$$\begin{aligned} y=f(x)=f = \frac{(R-r)\,x}{h}+r, \end{aligned}$$

and the MATLAB program is;

figure bj

The results are:

figure bk

Example 3.11

Find the volume and surface area of the complete torus of circular cross section of radius \(r=1\) m as shown in Fig. 3.17 where \(b=2\) m.

Fig. 3.17
figure 17

Example 3.11

Solution

The torus is generated by revolving the circular area of radius \(r\) through 360\(^\circ \) about the \(x-\)axis. With the first theorem of Guldinus-Pappus, the surface of revolution is \( S = 2\, \pi \,y_C\, L \), where \(L=2\,\pi \,r\) is the length of generating circle and \( y_C=b\) is the centroid of generating circle

$$\begin{aligned} S=2\, \pi \,b\, 2\,\pi \,r=4\,\pi ^2\,b\,r=78.957~\mathrm{m}^2. \end{aligned}$$

The second theorem of Guldinus-Pappus gives the volume of revolution \(V= 2\, \pi \,y_C A \), where \(A=\pi \,r^2\) is the area of generating circular surface and \( y_C=b\) is the centroid of generating circular surface

$$\begin{aligned} V=2\, \pi \,b\, \pi \,r^2=2\,\pi ^2\,b\,r^2= 39.478~\mathrm{m}^3. \end{aligned}$$

The equation of the generating circle is

$$\begin{aligned} x^2+(y-b)^2-r^2=0. \end{aligned}$$

The volume of the torus can also be calculated with the formula

$$\begin{aligned} V= \pi \, \int \limits _a^b f^2(x) \mathrm{d}x= \pi \, \int \limits _{-r}^r ( f_2^2- f_1^2)\mathrm{d}x, \end{aligned}$$

where

$$\begin{aligned} f_1=b-\sqrt{r^2-x^2} \, \, \mathrm{and} \, \, f_2=b+\sqrt{r^2-x^2}, \end{aligned}$$

and the MATLAB program is:

figure bl

3.8 Problems

  1. 3.1

    Locate the centroid of the uniform wire bent in the shape shown in Fig. 3.18. For the numerical application use \(r=1\) m, \(a=2\) m, and \(b=1.75\) m.

  2. 3.2

    Find the location of the centroid \(C\) of the uniform area shown in Fig. 3.19 where \(a=0.4\) m, \(b=0.8\) m, and \(c=0.6\) m.

  3. 3.3

    Find the location of the centroid of the area shown in Fig. 3.20. For the numerical application use \(r=0.1\) m and \(h=0.2\) m.

  4. 3.4

    Determine the location of the centroid of the uniform area shown in Fig. 3.21. For the numerical application use \(a=0.2\) m, \(b=0.25\) m, and \(c=0.27\) m.

  5. 3.5

    Find the location of the centroid of the uniform area shown in Fig. 3.22. For the numerical application use \(a=0.6\) m, \(b=0.4\) m, and \(c=0.3\) m.

  6. 3.6

    Locate the centroid of the volume shown in Fig. 3.23, where \(r=0.5\) m, and \(h=1.2\) m. The material is homogeneous.

  7. 3.7

    Locate the centroid of the volume shown in Fig. 3.24, where \(r=0.3\) m, and \(h=0.9\) m. The material is homogeneous.

  8. 3.8

    Locate the centroid of the homogeneous volume shown in Fig. 3.25, where \(R=0.6\) m, \(r=0.4\) m, \(a=0.5\) m, and \(b=0.6\) m. The material is homogeneous.

  9. 3.9

    Locate the centroid of the volume shown in Fig. 3.26, where \(R=0.7\) m, \(r=0.4\) m, \(p=0.5\) m, \(a=0.4\) m, and \(b=0.5\) m. The material is homogeneous.

  10. 3.10

    Find the centroid of the volume depicted in Fig. 3.27, where \(r=25\) mm, \(a=200\) m, \(b=100\) mm, and \(t=15\) mm. The material is homogeneous.

  11. 3.11

    Find the centroid of the volume shown in Fig. 3.28, where \(a=200\) mm, \(b=150\) mm, and \(t=30\) mm. The material is homogeneous.

  12. 3.12

    Find the centroid of the volume shown in Fig. 3.29, where \(a=400\) mm, \(b=200\) mm, and \(c=100\) mm. The material is homogeneous.

  13. 3.13

    Find the centroid of the volume shown in Fig. 3.30, where \(a=100\) mm, \(b=125\) mm, \(c=150\) mm, and \(t=25\) mm. The material is homogeneous.

  14. 3.14

    Find the coordinates of the centroid of the region is bounded by the curves \(y = x\) and \(y = \sqrt{x}\) where \(0 \le x \le 1\). All coordinates may be treated as dimensionless.

  15. 3.15

    Determine the coordinates of the centroid of the region is bounded by the curves \(y = x^2\) and \(y = \sqrt{x}\) where \(0 \le x \le 1\). All coordinates may be treated as dimensionless.

Fig. 3.18
figure 18

Problem 3.1

Fig. 3.19
figure 19

Problem 3.2

Fig. 3.20
figure 20

Problem 3.3

Fig. 3.21
figure 21

Problem 3.4

Fig. 3.22
figure 22

Problem 3.5

Fig. 3.23
figure 23

Problem 3.6

Fig. 3.24
figure 24

Problem 3.7

Fig. 3.25
figure 25

Problem 3.8

Fig. 3.26
figure 26

Problem 3.9

Fig. 3.27
figure 27

Problem 3.10

Fig. 3.28
figure 28

Problem 3.11

Fig. 3.29
figure 29

Problem 3.12

Fig. 3.30
figure 30

Problem 3.13

3.9 Programs

3.9.1 Program 3.1

figure bm

3.9.2 Program 3.2

figure bn
figure bo
figure bp

3.9.3 Program 3.3

figure bq
figure br

3.9.4 Program 3.4

figure bs
figure bt
figure bu

3.9.5 Program 3.5

figure bv
figure bw

3.9.6 Program 3.6

figure bx
figure by
figure bz

3.9.7 Program 3.7

figure ca
figure cb
figure cc

3.9.8 Program 3.8

figure cd
figure ce

3.9.9 Program 3.9

figure cf
figure cg
figure ch
figure ci

3.9.10 Program 3.10

figure cj
figure ck

3.9.11 Program 3.11

figure cl
figure cm