1 Introduction

The instability of certain bridges is still an unsolved problem. Classical mathematical theories such as [5] turned out to be too poor to describe the complex behavior of bridges, especially under the solicitation of strong and prolonged winds. Together with some colleagues, in [2, 4, 11, 12], we have shown that most of the commonly adopted mathematical models fail and we could exhibit a phenomenon of self-excited oscillations in some semilinear fourth-order ODE’s. Moreover, this phenomenon is also visible in some fourth-order PDE’s arising from elasticity. We refer to [9] for a survey of the existing theories and for some historical events concerning the failure of bridges.

This paper may be seen as a first simplified attempt to validate a proposal for a new design; further steps will be performed in future works [1, 14], and the final purpose is to suggest a new three-dimensional design for stiffening trusses to be put under the roadway of a bridge. In fact, our suggestion can be adapted to any structure having an horizontal plate to be sustained and to any kind of planking or scaffolding. In this paper, we merely consider a two-dimensional design. Mathematically speaking, the problem consists in strengthening a plate \(\varOmega \subset \mathbb{R }^2\) with some trusses, identified here with a planar line \(\gamma \subset \varOmega \). The truss is chosen to be the union of polygons \(P\) fitting side to side. The only regular polygons satisfying this property are equilateral triangles, squares and regular hexagons. Since most of the existing planar trusses are the union of isosceles right triangles (half-squares cut along the diagonal), we also consider these shapes. We will show that regular hexagons have better performances from several different points of view.

Assuming that the surface \(X\) of the plate and the length \(L\) of the stiffening truss is given in advance, we first determine the number and the size of the polygons needed to cover the plate \(\varOmega \). It turns out that the hexagonal covering has smallest segment of trusses (sides of the polygon), therefore being more resistant to moments of applied loads; recall that, for a given force, the moment is proportional to the distance from the fulcrum. Then, we measure distances from uncovered points. As far as the minimal distance is involved, the four considered shapes perform equivalently; on the one hand, this shows that symmetry plays an important role, and on the other hand, this claims a deeper analysis of the distances which should also take into account distance from all the points of the boundary. We introduce the average polar moment of inertia, a function of the \(L^2\)-norm of distances from the boundary. We prove that hexagonal trusses perform better also from this point of view since they minimize this value among the considered classes of polygons.

A further point of view comes from elasticity. We consider each polygon of the stiffening truss to be a simply supported elastic plate. Then, according to the linear theory of elasticity by von Kármán [21] (see also [16]), we can compute the elastic energy of the plate when it is subject to a constant load. This gives a measure of the static performances of each polygon. With the already computed optimal number of polygons, we are able to determine the total elastic energy of the plate \(\varOmega \). It turns out that, again, hexagonal trusses perform better since they minimize the stored elastic energy.

Fig. 1
figure 1

Optimal shape for stiffening trusses

Hence, our results suggest to cover plates as in Fig. 1. This pattern may be repeated a number of times according to the given constraints (length and width of the plate).

This paper is organized as follows. In the next section, we describe in detail how to compute the parameters used to measure the performances of polygonal stiffening trusses and we state our main results. The results are stated by comparing the same parameter within the four classes of polygons, whereas in Sect. 3, the proofs are given by computing all the parameters for each considered polygon. Special mention deserves the result about the elastic performance, Theorem 4 stated in the next section. Due to the lack of explicit solutions, a full theoretical proof of this result is out of reach, and therefore, we take advantage of some numerics; this procedure is described in detail in Sect. 4. Finally, in Sect. 5, we draw some conclusions, summarizing and discussing all the results obtained.

2 Performances of polygonal stiffening trusses

We wish to reinforce a plate \(\varOmega \) of area \(X\) (computed in square meters, \(|\varOmega |=X\ m^2\)) with a truss \(\gamma \subset \varOmega \) of total length \(L\) (computed in meters, \(|\gamma |=L\ m\)). Here, \(\gamma \) is sought as a line in the plane that consists of a finite number of segments representing the sides of isosceles right triangles or equilateral triangles or squares or regular hexagons. We denote, respectively, by \(\varTheta ,\, T,\, S,\, H\) these four classes of polygons, and we assume that the stiffening truss gives rise to a design of several polygons all from the same class and all fitting side to side. By this, we mean that the intersection between the closure of two polygons is either empty or one side or one vertex, see Fig. 2.

Fig. 2
figure 2

Polygonal shapes for stiffening trusses

The model we have in mind is the roadway of a bridge, and therefore, the plate is a long and thin rectangle and \(L\) is very large when compared to \(|\partial \varOmega |, L\gg |\partial \varOmega |\), so that one may neglect the contribution of \(\partial \varOmega \). To be slightly more precise, in real bridges, one has \(L\approx 100|\partial \varOmega |\), and therefore, the percentage of mistake is around 1%. This gives a reliable feeling on the behavior of plates reinforced with polygonal trusses.

We cover this plate with many small identical polygons \(P\) having one of the above described shapes and fitting side to side. The surface \(X\) of the plate and the length \(L\) of the truss determine both the number \(N(P)\) of polygons \(P\) needed to cover the plate and their size. In our setting, the number \(N(P)\) of polygons needs not be an integer, and this depends on \(X\) and \(L\); for instance, in the last picture of Fig. 2, one sees that some hexagons are not complete, and they are cut by the boundary \(\partial \varOmega \). In other words, after tiling the plate \(\varOmega \) with identical polygons, \(N(P)\) counts how many tiles have been used, and this number includes also parts of incomplete tiles. The size of \(P\) is determined by the maximal length \(\ell _\mathrm{max}(P)\) of one side of the polygon \(P\): For right triangles \(\varTheta \), the maximal length measures the hypothenuse, while for regular polygons in \(T\cup P\cup H\), the maximal length is the length of a side.

With a simple computation we obtain the following.

Theorem 1

Let \(\varOmega \subset \mathbb{R }^2\) be a planar plate of area \(|\varOmega |=X\) strengthened with a truss \(\gamma \subset \varOmega \) of total length \(|\gamma |=L\). Assume that \(\gamma \) is the union of closed polygonal lines whose interior are all equal polygons \(P\) belonging to one of the above families, \(P\in T\cup S\cup H\cup \varTheta \). Assume that \(P\) has the sizes determined by \(X\) and \(L\). Then, the maximal length \(\ell _\mathrm{max}(P)\) of one side of each polygon is given by

\(P\)

\(\varTheta \)

\(T\)

\(S\)

\(H\)

\(\ell _\mathrm{max}(P)\)

\(2(1+\sqrt{2})\approx 4.83\)

\(2\sqrt{3}\approx 3.46\)

\(2\)

\(\frac{2\sqrt{3}}{3}\approx 1.15\)

The quantities in this table should be multiplied by \(X/L\).

Moreover, for any such shape, the number \(N(P)\) of polygons needed to cover \(\varOmega \) is given by

\(P\)

\(\varTheta \)

\(T\)

\(S\)

\(H\)

\(N(P)\)

\((3-2\sqrt{2} )\, \frac{L^2}{X}\)

\(\frac{\sqrt{3}}{9}\, \frac{L^2}{X}\)

\(\frac{1}{4}\, \frac{L^2}{X}\)

\(\frac{\sqrt{3} }{6}\, \frac{L^2}{X}\)

Since \(X\) represents a surface (computed in square meters) and \(L\) represents a length (computed in meters), also the ratio \(X/L\) is computed in meters and this number should be multiplied by \(\ell _\mathrm{max}(P)\) in order to get the length of the maximal side when \(|\varOmega |=X\) and \(|\gamma |=L\). Theorem 1 shows that a truss composed of hexagons has the minimal length of each segment truss. This gives better performances to the truss because shorter segments improve the performance to load solicitations due to a smaller moment of the force acting on it.

Once the sizes are determined, we introduce several further parameters in order to measure the performance of the truss. For any point \(M\in P\), we consider the distance function from \(M\) to the boundary \(\partial P\) and we denote it by \(d(M,\partial P)\); we emphasize that this function is, in fact, the minimal distance from a point to the truss:

$$\begin{aligned} d(M,\partial P)=\min _{A\in \partial P}d(M,A)=\min _{A\in \gamma }d(M,A). \end{aligned}$$

Then, we define the inradius \(I(P)\) as the radius of the largest disk contained in \(P\); this represents the maximal distance from the truss to a point of \(P\) and is analytically defined by

$$\begin{aligned} I(P)=\max _{M\in P}d(M,\partial P)=\Vert d(\cdot ,\partial P)\Vert _{L^\infty (P)}. \end{aligned}$$

This number is a further parameter characterizing the polygon \(P\): The larger is \(I(P)\), the weaker is the stiffening truss. We also consider the average distance \(\overline{d}(P)\) from points of \(P\) to trusses which can be defined by

$$\begin{aligned} \overline{d}(P)=\frac{1}{|P|}\int \limits _{P}d(M,\partial P)\, \mathrm{d}M=\frac{1}{|P|}\Vert d(\cdot ,\partial P)\Vert _{L^1(P)}. \end{aligned}$$

Moreover, the variance of the distance to \(\gamma \) is given by

$$\begin{aligned} V(P)=\int \limits _\varOmega \Big (d(M,\gamma )-\overline{d}(P)\Big )^2\, \mathrm{d}M \end{aligned}$$
(1)

and measures how heterogeneous is the distance function from the truss \(\gamma \). The larger is \(V(P)\), the weaker appears the structure since it has larger gaps between “weak” and “strong” points of the plate. By weak point, we mean a point \(M\in \varOmega \) being far away from the truss: If we put a concentrated load at \(M\), the plate \(\varOmega \) will be deformed more than if we put the same load at some point on the truss, the latter being a strong point. The variance \(V(P)\) measures how far is \(\varOmega \) from a uniformly stiffened plate: In the limit case \(V(P)=0\) (which is physically impossible, this would mean that \(\gamma \equiv \varOmega \)!), a concentrated load in any point of \(\varOmega \) leads to the same deformation. In fact, for the four above considered shapes, these three parameters are identical.

Theorem 2

Let \(\varOmega \) and \(\gamma \) be as in Theorem 1 and assume that \(P\) has the sizes determined by Theorem 1. Let \(I(P),\, \overline{d}(P),\, V(P)\) be as just defined. Then, for any such shape \(P\), we have

$$\begin{aligned} I(P)=\frac{X}{L} ,\qquad \overline{d}(P)=\frac{1}{3}\, \frac{X}{L} ,\qquad V(P)=\frac{1}{18}\, \frac{X^3}{L^2}. \end{aligned}$$

Theorem 2 may appear surprising; none of the four considered shapes performs better than the others, at least from a first analysis of the distance to the boundary. We do not know how general this result can be, which other shapes enjoy this property. For sure, it does not hold for rectangles (see Sect. 5.1) and, presumably, for any irregular polygon. Most probably, it merely holds for circumscribed domains that fit side to side.

Fig. 3
figure 3

A point having the same minimal distance from two different boundaries

Since from the minimal distance point of view, the four polygonal shapes are completely equivalent, and we introduce a further parameter going deeper into distances from the boundary; it does not only take into account the minimal distance from \(M\in P\) to \(\partial P\) but also the distance from \(M\) to any point in \(\partial P\). In Fig. 3, the point \(M\) has the same (minimal) distance from the boundaries of the large white rectangle \(R\) and the small gray rectangle \(r\). However, by the maximum principle applied to the problem (3) below, if a load \(f\) is put in \(M\), then the simply supported plate \(r\) will be deformed less than the plate \(R\). So, for every point \(M\in P\), we consider the polar moment of inertia of \(\partial P\) with respect to \(M\) by

$$\begin{aligned} \delta (M)=\frac{1}{|\partial P|}\left( \int \limits _{\partial P}d(M,A)^2\, \mathrm{d}A\right) ^{1/2} \end{aligned}$$

and then we define the average polar moment of inertia of the polygon \(P\) by

$$\begin{aligned} \Delta (P)=\frac{1}{|P|}\int \limits _{P}\frac{1}{|\partial P|^2}\int \limits _{\partial P}d(M,A)^2\, \mathrm{d}A\, \mathrm{d}M=\frac{1}{|P|}\Vert \delta \Vert _{L^2(P)}^{2}. \end{aligned}$$
(2)

In Sect. 5.2, we explain the meaning of this new measure for performances of trusses. Here, we state the following.

Theorem 3

Let \(\varOmega \) and \(\gamma \) be as in Theorem 1 and assume that \(P\) has the sizes determined by Theorem 1. Then, for any such shape \(P\), the average polar moment of inertia \(\Delta (P)\) is given by

\(P\)

\(\varTheta \)

\(T\)

\(S\)

\(H\)

\(\Delta (P)\)

\(\frac{1}{3}\approx 0.333\)

\(\frac{\sqrt{3} }{6}\approx 0.289\)

\(\frac{1}{4}=0.25\)

\(\frac{5\sqrt{3} }{36}\approx 0.241\)

The quantities in this table should be multiplied by \(X/L\) and their unit of measures are meters.

We believe that any \(L^p\)-norm (for \(1\le p<\infty \)) would give the same qualitative answer. More precisely, for any such \(p\), one could consider the mean value of the \(p\)th power of the distance

$$\begin{aligned} \frac{1}{|P|}\int \limits _{P}\frac{1}{|\partial P|^p}\int \limits _{\partial P}d(M,A)^p\, \mathrm{d}A\, \mathrm{d}M \end{aligned}$$

and, presumably, obtain a result similar to Theorem 3 with hexagons having the best performance.

Finally, we study the different trusses from the point of view of elasticity. For small vertical displacements, the elastic performances of simply supported plates can be computed by using the linear theory by von Kármán [21], see also [10, 13], for a modern approach and for further historical references. Adopting this theory, the vertical deformation \(u\) of a simply supported planar elastic plate \(\varOmega \subset \mathbb{R }^2\) subject to an external force (load) \(f\in L^2(\varOmega )\) is described by the following equation:

$$\begin{aligned} \left\{ \begin{array}{ll} \Delta ^2 u=f &{}\quad \text{ in }\,\varOmega \\ u=\Delta u=0 &{}\quad \text{ on }\,\partial \varOmega . \end{array}\right. \end{aligned}$$
(3)

Note that (3) may be written as a system of two second-order equations:

$$\begin{aligned} \left\{ \begin{array}{ll} -\Delta v=f &{}\quad \text{ in }\,\varOmega \\ v=0 &{}\quad \text{ on }\,\partial \varOmega , \end{array}\right. \qquad \qquad \left\{ \begin{array}{ll} -\Delta u=v &{}\quad \text{ in }\,\varOmega \\ u=0 &{}\quad \text{ on }\,\partial \varOmega . \end{array}\right. \end{aligned}$$
(4)

It is well-known that (3) admits a unique solution \(\overline{u}\in \mathcal{H }{:=}H^2\cap H_0^1(\varOmega )\) which may also be obtained as the unique minimizer of the convex functional

$$\begin{aligned} J(u)=\int \limits _\varOmega \left( \frac{|\Delta u|^2}{2}-f\, u\right) \qquad u\in \mathcal{H }. \end{aligned}$$

Then, the elastic energy of the deformed plate under the solicitation \(f\) is given by

$$\begin{aligned} {\mathcal{E }}_f(\varOmega )=-2\min _{u\in \mathcal{H }}J(u)=-2J(\overline{u})=\int \limits _\varOmega |\Delta \overline{u}|^2 \end{aligned}$$

where the last equality is obtained by multiplying (3) by \(\overline{u}\) and integrating by parts over \(\varOmega \).

Of particular interest is the situation when \(f\equiv 1\) (constant load). This gives a reliable measure of the elastic energy storing capacity of the plate per unit load. In this situation, the elastic energy is homogeneous of degree \(6\) under dilations:

$$\begin{aligned} {\mathcal{E }}(\alpha \varOmega )=\alpha ^6{\mathcal{E }}(\varOmega )\qquad \forall \alpha >0. \end{aligned}$$
(5)

Moreover, in view of (4), when \(f\equiv 1\), the elastic energy becomes

$$\begin{aligned} {\mathcal{E }}(\varOmega )=\int \limits _\varOmega |\Delta \overline{u}|^2=\int \limits _\varOmega \overline{v}^2 \end{aligned}$$
(6)

, where \(\overline{v}\in H_0^1(\varOmega )\) is the unique solution to the torsion problem

$$\begin{aligned} \left\{ \begin{array}{ll} -\Delta v=1 &{}\quad \text{ in }\,\varOmega \\ v=0 &{}\quad \text{ on }\,\partial \varOmega . \end{array}\right. \end{aligned}$$
(7)

Except for some particular shapes, Eq. (7) is not explicitly solvable. However, with the help of some numerics, we obtain the following.

Theorem 4

(Partially numerical results) Let \(\varOmega \) and \(\gamma \) be as in Theorem 1 and assume that \(P\) has the sizes determined by Theorem 1. Then, for any such shape \(P\), the total elastic energy of the plate \(\varOmega \) under the action of a unitary load is given by

\(P\)

\(\varTheta \)

\(T\)

\(S\)

\(H\)

\({\mathcal{E }}(P)\)

\(\approx 0.034\)

\(\frac{9}{280}\approx 0.032\)

\(\approx 0.027\)

\(\approx 0.024\)

The quantities in this table should be multiplied by \(X^5/L^4\).

Hence, also from this point of view, regular hexagons perform better than the other shapes.

3 Proof of Theorems 1–2–3

For each of the four shapes \(P\) considered, we fix the length of one side and we determine several characteristic parameters:

  • their perimeter \(|\partial P|\);

  • their area \(|P|\);

  • their inradius \(I(P)\) (the maximal distance from a point in \(P\) and the boundary \(\partial P\));

  • the number \(N(P)\) of polygons \(P\) needed to cover a plate \(\varOmega \) with area \(X\) (computed in square meters, \(|\varOmega |=X\, m^2\)) and with total length of the truss \(L\) (computed in meters, \(|\gamma |=L\, m\));

  • the average distance of their points from the boundary \(\overline{d}(P)\);

  • the size of the \(N(P)\) polygons, in particular \(\ell _\mathrm{max}(P)\);

  • the variance of the distance \(V(P)\) as defined in (1);

  • the average polar moment of inertia \(\Delta (P)\) as defined in (2).

These parameters enable us to compute the performances of the trusses having the shape considered. In order to determine \(N(P)\) and the size of \(P\), we need to solve the following equation:

$$\begin{aligned} N(P)=\frac{X}{|P|}=\frac{2L}{|\partial P|}. \end{aligned}$$
(8)

The factor \(2\) in the right-hand side of (8) is needed since each side of any polygon \(P\) is also the side of an adjacent polygon, so the contribution of each polygon to the truss \(\gamma \) is \(|\partial P|/2\).

Another parameter requiring some work is the average distance \(\overline{d}\). Since the distance function to \(\partial P\) is the simplest example of web function (see [8]), we may use the piercing function defined in [6] and compute \(\overline{d}\) according to [7, Lemma 4]. Given an arbitrary convex planar domain \(K\), for a.e. \(y\in \partial K\), the outer unit normal is well defined and will be denoted by \(n_y\). For all \(x\in K\), let \(d(x,\partial K)\) denote its distance from the boundary \(\partial K\) and define its projection on the boundary \(\Pi (x)\in \partial K\) such that \(|x-\Pi (x)|=d(x,\partial K)\); note that \(\Pi (x)\) is uniquely determined for a.e. \(x\in K\). The piercing function is defined as

$$\begin{aligned} \lambda _K(y):=\sup \{k\ge 0\, :\, \Pi (y-kn_y)=y\}\qquad \text{ for } \text{ a.e. }\,y\in \partial K. \end{aligned}$$
(9)

We clearly have \(0\le \lambda _K(y)\le I(K)\) on \(\partial K\). Moreover, the function \(\lambda _K\) is Lipschitz continuous on \(\partial K\), whereas \(\Pi \) is Lipschitz continuous on \({\overline{K}}\).

A relatively simple way to compute integrals of functions of the distance \(d_P\) over a convex polygon \(P\) is given in [7, Lemma 4] which states the following.

Lemma 5

Let \(P\) be a convex polygon of inradius \(I(P)\), and let \(g:[0,I(P)]\rightarrow \mathbb{R }\) be a Lipschitz continuous function such that \(g(0)=0\). Then,

$$\begin{aligned} \int \limits _{\partial P}g(\lambda _P(y))\, \mathrm{d}y=\int \limits _{P} g^{\prime }\Big (d(x,\partial P)\Big )\, \mathrm{d}x. \end{aligned}$$

In particular, by taking \(g(s)=s^q\), we have

$$\begin{aligned} \int \limits _P d(x,\partial P)^{q-1}\, \mathrm{d}x=\frac{1}{q}\int \limits _{\partial P}\lambda _P(y)^q\, \mathrm{d}y. \end{aligned}$$
(10)

For the computation of the integrals of the distance, we make use of (10) with \(q=2\) and \(q=3\). To this end, we need to clarify how to determine \(\lambda _P\); this is quite simple since our polygons are all circumscribed to some disk; more involved is the general case, see [6]. Put one of the sides of the polygon on a segment \(\Sigma \) of equal length on the \(x\) axis in the \((x,y)\)-plane so that \(P\) lies in the half-space \(y>0\). Construct the inner bisecting lines of the two vertices of \(P\) at the endpoints of \(\Sigma \) and stop them when they intersect. We obtain a triangle having the side \(\Sigma \) on the \(x\) axis and the remaining two sides being the graph of a piecewise affine function defined on \(\Sigma \). This is the graph of \(\lambda _P\) for the points belonging to the segment \(\Sigma \).

Concerning the variance of the distance within each polygon \(P\), we will proceed as follows:

$$\begin{aligned} \int \limits _{P}d(x,\partial P)^2\, \mathrm{d}x-2\overline{d}(P)\int \limits _{P}d(x,\partial P)\, \mathrm{d}x+|P|\, \overline{d}(P)^2=\int \limits _{P}d(x,\partial P)^2\, \mathrm{d}x-|P|\, \overline{d}(P)^2;\nonumber \\ \end{aligned}$$
(11)

then, recalling the definition in (1) and the number of polygons in (8), we obtain the total variance as

$$\begin{aligned} V(P)=N(P)\left( \int \limits _Pd(x,\partial P)^2\, \mathrm{d}x-|P|\, \overline{d}(P)^2\right) \!. \end{aligned}$$
(12)

Finally, for the average polar moment of inertia

$$\begin{aligned} \Delta (P)=\frac{1}{|P|}\int \limits _P\frac{1}{|\partial P|^2}\int \limits _{\partial P}d(M,A)^2\, \mathrm{d}A\, \mathrm{d}M= \frac{1}{|P|\cdot |\partial P|^2}\int \limits _P\int \limits _{\partial P}d(M,A)^2\, \mathrm{d}A\, \mathrm{d}M \end{aligned}$$

we will simplify computations by exploiting the symmetry properties of each polygon \(P\). We are now ready to determine the characteristic values of the considered convex polygons.

3.1 Isosceles right triangles

Consider an isosceles right triangle \(\varTheta _\ell \) whose hypothenuse has length \(2\ell \). Then,

$$\begin{aligned} |\partial \varTheta _\ell |=2(1+\sqrt{2})\ell ,\quad |\varTheta _\ell |=\ell ^2 ,\quad I(\varTheta _\ell )=(\sqrt{2} -1)\, \ell . \end{aligned}$$
(13)

Hence, by using (8), we obtain

$$\begin{aligned} N(\varTheta _\ell )=\frac{X}{\ell ^2}=\frac{L}{(1+\sqrt{2})\ell }\ \Longrightarrow \ \ell =(1+\sqrt{2})\, \frac{X}{L}\ \Longrightarrow \ N(\varTheta _\ell )=(3-2\sqrt{2} )\, \frac{L^2}{X}.\nonumber \\ \end{aligned}$$
(14)

In the plane \((x,y)\), put first the hypothenuse \(h\) on the axis \(y=0\) with \(-\ell <x<\ell \) so that \(\varTheta _\ell \) lies in the half-plane \(y>0\). For any \(x\in (-\ell ,\ell )\), we have

$$\begin{aligned} \lambda _{\varTheta _\ell }(x)=\min \left\{ (\sqrt{2} - 1)(\ell - x),(\sqrt{2} - 1)(\ell + x) \right\} \!. \end{aligned}$$

For symmetry reasons, we only need to compute the contribution of \(\lambda _{\varTheta _\ell }\) on the interval \((0,\ell )\) and to multiply it by 2 since there are 2 identical right triangles that compose the lower part of \(\varTheta _\ell \), see the first picture in Fig. 4. This gives

$$\begin{aligned} \int \limits _h \lambda _{\varTheta _\ell }(x)^2\, \mathrm{d}x=2(\sqrt{2} - 1)^2\int \limits _0^\ell (\ell - x)^2\, \mathrm{d}x=\frac{2(\sqrt{2} - 1)^2}{3}\, \ell ^{3}. \end{aligned}$$
(15)
Fig. 4
figure 4

Contributions of the piercing function in \(\varTheta _\ell \)

Then, put one of the legs on the axis \(y=0\) with \(0<x<\sqrt{2}\ell \) so that \(\varTheta _\ell \) lies in the half-plane \(y>0\), see the second picture in Fig. 4. In view of \(\tan \frac{\pi }{8} = \sqrt{2} -1\), for any \(x\in (0,\sqrt{2}\ell )\), we have

$$\begin{aligned} \lambda _{\varTheta _\ell }(x)=\min \left\{ (\sqrt{2} - 1)x,\sqrt{2} \ell - x \right\} \!. \end{aligned}$$

Since we have 2 legs \(c_1\) and \(c_2\), we double the contribution of \(\lambda _{\varTheta _\ell }\) on the interval \((0,\sqrt{2}\ell )\). This gives

$$\begin{aligned} \int \limits _{c_1\cup c_2}\lambda _{\varTheta _\ell }(x)^2\, \mathrm{d}x=2\left\{ (\sqrt{2} - 1)^2\int \limits _0^\ell x^2\, \mathrm{d}x+ \int \limits _\ell ^{\sqrt{2}\ell }(\sqrt{2} \ell - x)^2\, \mathrm{d}x\right\} =\frac{2\sqrt{2}(\sqrt{2}-1)^2}{3}\, \ell ^{3}.\nonumber \\ \end{aligned}$$
(16)

By adding (15)–(16) and by using (10) with \(q=2\), we obtain

$$\begin{aligned} \int \limits _{\varTheta _\ell }d(M,\partial \varTheta _\ell )\, \mathrm{d}M=\frac{\sqrt{2}-1}{3}\, \ell ^{3}. \end{aligned}$$

With the value of \(\ell \) determined in (14), we can compute, in terms of \(X\) and \(L\), the maximal and the average distance of points inside \(\varTheta _\ell \) from the boundary \(\partial \varTheta _\ell \):

$$\begin{aligned} I(\varTheta _\ell )=\frac{X}{L} ,\qquad \overline{d}(\varTheta _\ell )=\frac{1}{|\varTheta _\ell |} \int \limits _{\varTheta _\ell }d(M,\partial \varTheta _\ell )\, \mathrm{d}M=\frac{\sqrt{2}-1}{3}\, \ell =\frac{1}{3}\, \frac{X}{L}. \end{aligned}$$
(17)

Let us now compute the variance of the distance within each triangle. By using (10) with \(q=3\) and by arguing as above, we get

$$\begin{aligned} \int \limits _{\varTheta _\ell }d(M,\partial \varTheta _\ell )^2\, \mathrm{d}M&= \frac{2}{3} (\sqrt{2} - 1)^3\int \limits _0^\ell (\ell - x)^3\, \mathrm{d}x\\&\quad +\frac{2}{3} \left\{ (\sqrt{2} - 1)^3\int \limits _0^\ell x^3\, \mathrm{d}x+\int \limits _\ell ^{\sqrt{2}\ell }(\sqrt{2} \ell - x)^3\, \mathrm{d}x\right\} \\&= \frac{3-2\sqrt{2}}{6}\, \ell ^{4}. \end{aligned}$$

Hence, by (17) and (11),

$$\begin{aligned} \int \limits _{\varTheta _\ell }\Big (d(M,\partial \varTheta _\ell )-\overline{d}(\varTheta _\ell )\Big )^2\, \mathrm{d}M= \frac{3-2\sqrt{2}}{6}\, \ell ^4-\frac{3-2\sqrt{2}}{9}\, \ell ^4=\frac{3-2\sqrt{2}}{18}\, \ell ^{4}. \end{aligned}$$

By using the number of triangles and their optimal side length determined in (14), by (12), we find

$$\begin{aligned} V(\varTheta )=\frac{1}{18}\, \frac{X^3}{L^2}. \end{aligned}$$

Let now \(\varTheta _\ell \) be the isosceles right triangle delimited by the lines \(y=0,\, x=0,\, y=\sqrt{2} \ell -x\). Then, the three sides of \(\varTheta _\ell \) have the parametric representations

$$\begin{aligned} r_1(t)=(t,0) ,\quad r_2(t)=(0,t) ,\quad r_3(t)=(t,\lambda -t) ,\qquad (0\le t\le \lambda ) \end{aligned}$$

where we have set \(\lambda =\sqrt{2} \, \ell \). For all \(M(x,y)\in T_\ell \), we have

$$\begin{aligned} \int \limits _{\partial \varTheta _\ell }d(M,\sigma )^2\, \mathrm{d}\sigma =\sum _{i=1}^3\int \limits _{0}^{\lambda }d(M,r_i(t))^2\, \mathrm{d}t \end{aligned}$$

and for symmetry reasons, we have

$$\begin{aligned} \Delta (\varTheta _\ell )&= \frac{1}{|\varTheta _\ell |\cdot |\partial \varTheta _\ell |^2}\int \limits _{\varTheta _\ell }\int \limits _{\partial \varTheta _\ell }d(M,A)^2\, \mathrm{d}A\, \mathrm{d}M \nonumber \\&= \frac{1}{4(1+\sqrt{2} )^2\, \ell ^4}\int \limits _{\varTheta _\ell }\int \limits _{0}^{\lambda }[2d(M,r_1(t))^2+d(M,r_3(t))]\, \mathrm{d}t\, \mathrm{d}M , \end{aligned}$$
(18)

where we used (13). Note first that

$$\begin{aligned} \int \limits _{0}^{\lambda }d(M,r_1(t))^2\, \mathrm{d}t=\int \limits _{0}^{\lambda }[(t-x)^2+y^2]\, \mathrm{d}t=\frac{1}{3}\, \lambda ^3+\lambda (x^2+y^2)-\lambda ^2x. \end{aligned}$$

This quantity has to be integrated over \(\varTheta _\ell \):

$$\begin{aligned}&\int \limits _{\varTheta _\ell }\left[ \frac{1}{3}\, \lambda ^3+\lambda (x^2+y^2)-\lambda ^2x\right] dydx \nonumber \\&\quad =\frac{1}{3}\, \lambda ^3\, |\varTheta _\ell |+\lambda \int \limits _{0}^{\lambda }\int \limits _0^{\lambda -x}[x^2+y^2-\lambda x]\, \mathrm{d}y\, \mathrm{d}x=\frac{\lambda ^5}{6}=\frac{2\sqrt{2} }{3}\, \ell ^{5}. \end{aligned}$$
(19)

Then, we rotate \(\varTheta _\ell \) in order to have the hypothenuse \(r_3\) coinciding with the segment \([-\ell ,\ell ]\times \{0\}\) and with \(\varTheta _\ell \) being contained in the half-plane \(y>0\); we compute

$$\begin{aligned} \int \limits _{r_3}d(M,\sigma )^2\, \mathrm{d}\sigma =\frac{2}{3}\, \ell ^3+2\ell (x^2+y^2). \end{aligned}$$

This quantity has to be integrated over \(\varTheta _\ell \), and by symmetry reasons, we obtain

$$\begin{aligned}&\int \limits _{\varTheta _\ell }\left[ \frac{2}{3}\, \ell ^3+2\ell (x^2+y^2)\right] dydx \nonumber \\&\quad =\frac{2}{3}\, \ell ^3\, |\varTheta _\ell |+4\ell \int \limits _{0}^{\ell }\int \limits _0^{\ell -x}[x^2+y^2]\, \mathrm{d}y\, \mathrm{d}x=\frac{4}{3}\, \ell ^{5}. \end{aligned}$$
(20)

By inserting (19)–(20) into (18), we obtain

$$\begin{aligned} \Delta (\varTheta _\ell )=\frac{1}{4(1+\sqrt{2} )^2\, \ell ^4}\left( \frac{4\sqrt{2} }{3}\, \ell ^5+\frac{4}{3}\, \ell ^5\right) =\frac{\ell }{3(\sqrt{2} +1)}=\frac{1}{3}\, \frac{X}{L} \end{aligned}$$

where we used (14).

3.2 Equilateral triangles

Consider an equilateral triangle \(T_\ell \) whose sides have length \(\ell \). Then,

$$\begin{aligned} |\partial T_\ell |=3\ell ,\quad |T_\ell |=\frac{\sqrt{3}}{4}\, \ell ^2 ,\quad I(T_\ell )=\frac{\sqrt{3}}{6}\, \ell . \end{aligned}$$

Hence, by using (8), we obtain

$$\begin{aligned} N(T_\ell )=\frac{4X}{\sqrt{3}\ell ^2}=\frac{2L}{3\ell }\ \Longrightarrow \ \ell =2\sqrt{3}\, \frac{X}{L}\ \Longrightarrow \ N(T_\ell )=\frac{\sqrt{3}}{9}\, \frac{L^2}{X}. \end{aligned}$$
(21)

In the plane \((x,y)\), put one side of \(T_\ell \) on the axis \(y=0\) with \(-\frac{\ell }{2}<x<\frac{\ell }{2}\) so that \(T_\ell \) lies in the half-plane \(y>0\). For any \(x\in (-\frac{\ell }{2},\frac{\ell }{2})\), we have

$$\begin{aligned} \lambda _{T_\ell }(x)=\min \left\{ \frac{1}{\sqrt{3}} \Big (\frac{\ell }{2} - x\Big ),\frac{1}{\sqrt{3}} \Big (\frac{\ell }{2} + x\Big ) \right\} \!. \end{aligned}$$

For symmetry reasons, we only need to compute the contribution of \(\lambda _{T_\ell }\) on the interval \((0,\ell /2)\) and to multiply it by 6 since there are 6 identical right triangles that compose \(T_\ell \). Hence, by using (10) with \(q=2\), we obtain

$$\begin{aligned} \int \limits _{T_\ell }d(M,\partial T_\ell )\, \mathrm{d}M=\int \limits _0^{\ell /2}\Big (\frac{\ell }{2} - x\Big )^2\, \mathrm{d}x=\frac{1}{24} \, \ell ^3 . \end{aligned}$$

With the value of \(\ell \) determined in (21), we can compute, in terms of \(X\) and \(L\), the maximal and the average distance of points inside \(T_\ell \) from the boundary \(\partial T_\ell \):

$$\begin{aligned} I(T_\ell )=\frac{X}{L} ,\qquad \overline{d}(T_\ell )=\frac{1}{|T_\ell |}\int \limits _{T_\ell }d(M,\partial T_\ell )\, \mathrm{d}M=\frac{\sqrt{3}}{18}\, \ell =\frac{1}{3}\, \frac{X}{L}. \end{aligned}$$
(22)

Let us now compute the variance of the distance within each triangle. By using (10) with \(q=3\) and by arguing as above, we get

$$\begin{aligned} \int \limits _{T_\ell }d(M,\partial T_\ell )^2\, \mathrm{d}M=\frac{1}{3} \int \limits _{\partial T_\ell }\lambda _{T_\ell }(y)^3\, \mathrm{d}y=\frac{2\sqrt{3}}{9}\int \limits _0^{\ell /2}\Big (\frac{\ell }{2} - x\Big )^3\, \mathrm{d}x =\frac{\sqrt{3}}{288}\, \ell ^{4}. \end{aligned}$$

Hence, by (22) and (11),

$$\begin{aligned} \int \limits _{T_\ell }\Big (d(M,\partial T_\ell )-\overline{d}(T_\ell )\Big )^2\, \mathrm{d}M=\frac{\sqrt{3}}{288}\, \ell ^4-\frac{\sqrt{3}}{432}\, \ell ^4=\frac{\sqrt{3}}{864}\, \ell ^{4}. \end{aligned}$$

By using the number of triangles and their optimal side length determined in (21), by (12), we find

$$\begin{aligned} V(T)=\frac{1}{18}\, \frac{X^3}{L^2}. \end{aligned}$$

Let now \(T_\ell \) be the equilateral triangle delimited by the lines \(y=0\), \(y=\sqrt{3} (x+\frac{\ell }{2} )\), and \(y=\sqrt{3} (\frac{\ell }{2}-x)\). Then, the basis of \(T_\ell \) has the parametric representation

$$\begin{aligned} r_1(t)=\left( t-\frac{\ell }{2},0\right) \qquad (0\le t\le \ell ) \end{aligned}$$

while the remaining two sides have parametric representations \(r_i=r_i(t)\) for \(i=2,3\) and \(0\le t\le \ell \). For all \(M(x,y)\in T_\ell \), we have

$$\begin{aligned} \int \limits _{\partial T_\ell }d(M,\sigma )^2\, \mathrm{d}\sigma =\sum _{i=1}^3\int \limits _{0}^{\ell }d(M,r_i(t))^2\, \mathrm{d}t \end{aligned}$$

and, for symmetry reasons, we have

$$\begin{aligned} \Delta (T_\ell )=\frac{1}{|T_\ell |\cdot |\partial T_\ell |^2}\int \limits _{T_\ell }\int \limits _{\partial T_\ell }d(M,A)^2\, \mathrm{d}A\, \mathrm{d}M =\frac{4\sqrt{3} }{9\, \ell ^4}\int \limits _{T_\ell }\int \limits _{0}^{\ell }d(M,r_1(t))^2\, \mathrm{d}t\, \mathrm{d}M , \end{aligned}$$
(23)

the number \(\frac{4\sqrt{3} }{9\, \ell ^4}\) being obtained by multiplying by \(3\) the inverse of the measures.

For simplicity, we put \(\lambda =\ell /2\); then, since the integrand is even,

$$\begin{aligned} \int \limits _{0}^{\ell }d(M,r_1(t))^2\, \mathrm{d}t=2\int \limits _{0}^{\lambda }[t^2+x^2+y^2]\, \mathrm{d}t=\frac{2}{3}\, \lambda ^3+2\lambda (x^2+y^2). \end{aligned}$$

This quantity has to be integrated over \(T_\ell \); by symmetry, we may only integrate over half of \(T_\ell \), the part in the half-plane \(x>0\):

$$\begin{aligned}&\int \limits _{T_\ell }\left[ \frac{2}{3}\, \lambda ^3+2\lambda (x^2+y^2)\right] \mathrm{d}y\, \mathrm{d}x\\&\quad =\frac{2}{3}\, \lambda ^3\, |T_\ell |+4\lambda \int \limits _{0}^{\lambda }\int \limits _0^{\sqrt{3}(\lambda -x)}[x^2+y^2]\, \mathrm{d}y\, \mathrm{d}x =\frac{\sqrt{3} }{16}\, \ell ^{5}. \end{aligned}$$

By inserting this into (23) and recalling (21), we obtain

$$\begin{aligned} \Delta (T_\ell )=\frac{1}{12}\, \ell =\frac{\sqrt{3} }{6}\, \frac{X}{L}\approx 0.289\, \frac{X}{L}. \end{aligned}$$

3.3 Squares

Consider a square \(S_\ell \) whose sides have length \(\ell \). Then,

$$\begin{aligned} |\partial S_\ell |=4\ell ,\quad |S_\ell |=\ell ^2 ,\quad I(S_\ell )=\frac{\ell }{2}. \end{aligned}$$

Hence, by using (8), we obtain

$$\begin{aligned} N(S_\ell )=\frac{X}{\ell ^2}=\frac{L}{2\ell }\ \Longrightarrow \ \ell =2\, \frac{X}{L}\ \Longrightarrow \ N(S_\ell )=\frac{1}{4}\, \frac{L^2}{X}. \end{aligned}$$
(24)

In the plane \((x,y)\) assume that \(S_\ell =(0,\ell )^2\); then, for any \(x\in (0,\ell )\), we have

$$\begin{aligned} \lambda _{S_\ell }(x)=\min \left\{ x,\ell -x\right\} \!. \end{aligned}$$

For symmetry reasons, we only need to compute the contribution of \(\lambda _{S_\ell }\) on the interval \((0,\ell /2)\) and to multiply it by 8 since there are 8 identical right triangles that compose \(S_\ell \). Hence, by using (10) with \(q=2\), we obtain

$$\begin{aligned} \int \limits _{S_\ell }d(M,\partial S_\ell )\, \mathrm{d}M=4\int \limits _0^{\ell /2}x^2\, \mathrm{d}x=\frac{1}{6}\, \ell ^{3}. \end{aligned}$$

With the value of \(\ell \) determined in (24), we can compute, in terms of \(X\) and \(L\), the maximal and the average distance of points inside \(S_\ell \) from the boundary \(\partial S_\ell \):

$$\begin{aligned} I(S_\ell )=\frac{X}{L} ,\qquad \overline{d}(S_\ell )=\frac{1}{|S_\ell |}\int \limits _{S_\ell }d(M,\partial S_\ell )\, \mathrm{d}M=\frac{1}{6}\, \ell =\frac{1}{3}\, \frac{X}{L} . \end{aligned}$$
(25)

Let us now compute the variance of the distance within each square. By using (10) with \(q=3\) and by arguing as above, we get

$$\begin{aligned} \int \limits _{S_\ell }d(M,\partial S_\ell )^2\, \mathrm{d}M=\frac{1}{3} \int \limits _{\partial S_\ell }\lambda _{S_\ell }(y)^3\, \mathrm{d}y=\frac{8}{3}\int \limits _0^{\ell /2}x^3\, \mathrm{d}x =\frac{1}{24}\, \ell ^{4}. \end{aligned}$$

Hence, by (25) and (11),

$$\begin{aligned} \int \limits _{S_\ell }\Big (d(M,\partial S_\ell )-\overline{d}(S_\ell )\Big )^2\, \mathrm{d}M=\frac{1}{24}\, \ell ^4-\frac{1}{36}\, \ell ^4=\frac{1}{72}\, \ell ^{4}. \end{aligned}$$

By using the number of triangles and their optimal side length determined in (21), by (12), we find

$$\begin{aligned} V(S)=\frac{1}{18}\, \frac{X^3}{L^2}. \end{aligned}$$

Consider again \(S_\ell =(0,\ell )^2\), and let \(r_i=r_i(t)\) be the parametric representations of the 4 sides of \(S_\ell \) with \(t\in (0,\ell )\). For all \(M(x,y)\in S_\ell \), we have

$$\begin{aligned} \int \limits _{\partial S_\ell }d(M,\sigma )^2\, \mathrm{d}\sigma =\sum _{i=1}^4\int \limits _{0}^{\ell }d(M,r_i(t))^2\, \mathrm{d}t, \end{aligned}$$

and for symmetry reasons, we have

$$\begin{aligned} \Delta (S_\ell )=\frac{1}{|S_\ell |\cdot |\partial S_\ell |^2}\int \limits _{S_\ell }\int \limits _{\partial S_\ell }d(M,A)^2\, \mathrm{d}A\, \mathrm{d}M =\frac{1}{4\, \ell ^4}\int \limits _{S_\ell }\int \limits _{0}^{\ell }d(M,r_1(t))^2\, \mathrm{d}t\, \mathrm{d}M ,\qquad \end{aligned}$$
(26)

the number \(\frac{1}{4\, \ell ^4}\) being obtained by multiplying by \(4\) the inverse of the measures \(\frac{1}{16\, \ell ^4}\).

With no loss of generality, we may take \(r_1(t)=(t,0)\) for \(0\le t\le \ell \) so that

$$\begin{aligned} \int \limits _{0}^{\ell }d(M,r_1(t))^2\, \mathrm{d}t =\int \limits _{0}^{\ell }[(t-x)^2+y^2]\, \mathrm{d}t=\ell y^2+\ell x^2-\ell ^2 x+\frac{\ell ^3}{3}. \end{aligned}$$

This quantity has to be integrated over \(S_\ell \):

$$\begin{aligned} \int \limits _{S_\ell }\left[ \ell y^2+\ell x^2-\ell ^2 x+\frac{\ell ^3}{3}\right] \, \mathrm{d}x\, \mathrm{d}y = \frac{\ell ^5}{2}. \end{aligned}$$

By replacing into (26) and by recalling (24), we then obtain

$$\begin{aligned} \Delta (S_\ell )=\frac{\ell }{8}=\frac{1}{4} \, \frac{X}{L}. \end{aligned}$$

3.4 Hexagons

Consider a regular hexagon \(H_\ell \) whose sides have length \(\ell \). Then,

$$\begin{aligned} |\partial H_\ell |=6\ell ,\quad |H_\ell |=\frac{3\sqrt{3}}{2}\, \ell ^2 ,\quad I(H_\ell )=\frac{\sqrt{3}}{2}\, \ell . \end{aligned}$$

Hence, by using (8), we obtain

$$\begin{aligned} N(H_\ell )=\frac{2X}{3\sqrt{3}\ell ^2}=\frac{L}{3\ell }\ \Longrightarrow \ \ell =\frac{2\sqrt{3}}{3}\, \frac{X}{L}\ \Longrightarrow \ N(H_\ell )=\frac{\sqrt{3}}{6}\, \frac{L^2}{X}. \end{aligned}$$
(27)

In the plane \((x,y)\), put one side of \(H_\ell \) on the axis \(y=0\) with \(-\frac{\ell }{2}<x<\frac{\ell }{2}\) so that \(H_\ell \) lies in the half-plane \(y>0\). For any \(x\in (-\frac{\ell }{2},\frac{\ell }{2})\), we have

$$\begin{aligned} \lambda _{H_\ell }(x)=\min \left\{ \sqrt{3} \Big (\frac{\ell }{2} - x\Big ),\sqrt{3} \Big (\frac{\ell }{2} + x\Big ) \right\} \!. \end{aligned}$$

For symmetry reasons, we only need to compute the contribution of \(\lambda _{H_\ell }\) on the interval \((0,\ell /2)\) and to multiply it by 12 since there are 12 identical right triangles that compose \(H_\ell \). Hence, by using (10) with \(q=2\), we obtain

$$\begin{aligned} \int \limits _{H_\ell }d(M,\partial H_\ell )\, \mathrm{d}M=18\int \limits _0^{\ell /2}\Big (\frac{\ell }{2} - x\Big )^2\, \mathrm{d}x=\frac{3}{4} \, \ell ^{3}. \end{aligned}$$

With the value of \(\ell \) determined in (27), we can compute, in terms of \(X\) and \(L\), the maximal and the average distance of points inside \(H_\ell \) from the boundary \(\partial H_\ell \):

$$\begin{aligned} I(H_\ell )=\frac{X}{L} ,\qquad \overline{d}(H_\ell )=\frac{1}{|H_\ell |}\int \limits _{H_\ell }d(M,\partial H_\ell )\, \mathrm{d}M=\frac{\sqrt{3}}{6}\, \ell =\frac{1}{3}\, \frac{X}{L}. \end{aligned}$$
(28)

Let us now compute the variance of the distance within each hexagon. By using (10) with \(q=3\) and by arguing as above, we get

$$\begin{aligned} \int \limits _{H_\ell }d(M,\partial H_\ell )^2\, \mathrm{d}M=\frac{1}{3} \int \limits _{\partial H_\ell }\lambda _{H_\ell }(y)^3\, \mathrm{d}y=12\sqrt{3} \int \limits _0^{\ell /2}\Big (\frac{\ell }{2} - x\Big )^3\, \mathrm{d}x =\frac{3\sqrt{3} }{16}\, \ell ^{4}. \end{aligned}$$

Hence, by (28) and (11),

$$\begin{aligned} \int \limits _{H_\ell }\Big (d(M,\partial H_\ell )-\overline{d}(H_\ell )\Big )^2\, \mathrm{d}M=\frac{3\sqrt{3} }{16}\, \ell ^4-\frac{\sqrt{3} }{8}\, \ell ^4=\frac{\sqrt{3} }{16}\, \ell ^{4}. \end{aligned}$$

By using the number of triangles and their optimal side length determined in (21), by (12), we find

$$\begin{aligned} V(S)=\frac{1}{18}\, \frac{X^3}{L^2}. \end{aligned}$$

Consider again the regular hexagon \(H_\ell \) lying entirely in the half-plane \(y>0\) and having one side coinciding with the segment

$$\begin{aligned} r_1(t)=\left( t-\frac{\ell }{2},0\right) \!,\qquad (0\le t\le \ell ); \end{aligned}$$

the remaining 5 sides have parametric representations \(r_i=r_i(t)\) for all \(i=2,3,4,5,6\) and for \(0\le t\le \ell \). For all \(M(x,y)\in H_\ell \), we have

$$\begin{aligned} \int \limits _{\partial H_\ell }d(M,\sigma )^2\, \mathrm{d}\sigma =\sum _{i=1}^6\int \limits _{0}^{\ell }d(M,r_i(t))^2\, \mathrm{d}t \end{aligned}$$

and, for symmetry reasons, we have

$$\begin{aligned} \Delta (H_\ell )=\frac{1}{|H_\ell |\cdot |\partial H_\ell |^2}\int \limits _{H_\ell }\int \limits _{\partial H_\ell }d(M,A)^2\, \mathrm{d}A\, \mathrm{d}M =\frac{\sqrt{3} }{27\, \ell ^4}\int \limits _{H_\ell }\int \limits _{0}^{\ell }d(M,r_1(t))^2\, \mathrm{d}t\, \mathrm{d}M ,\qquad \end{aligned}$$
(29)

the number \(\frac{\sqrt{3} }{27\, \ell ^4}\) being obtained by multiplying by \(6\) the inverse of the measures. For simplicity, we put \(\lambda =\ell /2\); then, since the integrand is even,

$$\begin{aligned} \int \limits _{0}^{\ell }d(M,r_1(t))^2\, \mathrm{d}t=2\int \limits _{0}^{\lambda }[t^2+x^2+y^2]\, \mathrm{d}t=\frac{2}{3}\, \lambda ^3+2\lambda (x^2+y^2). \end{aligned}$$

This quantity has to be integrated over \(H_\ell \); by symmetry, we may only integrate over half of \(H_\ell \), the part in the half-plane \(x>0\):

$$\begin{aligned}&\!\!\int \limits _{H_\ell }\left[ \frac{2}{3}\, \lambda ^3+2\lambda (x^2+y^2)\right] dydx\\&\!\!\quad =\frac{2}{3}\, \lambda ^3\, |H_\ell |+4\lambda \int \limits _{0}^{\lambda }\int \limits _0^{2\sqrt{3}\lambda }[x^2+y^2]\, \mathrm{d}y\, \mathrm{d}x +4\lambda \int \limits _\lambda ^{2\lambda }\int \limits _{\sqrt{3}(x-\lambda )}^{\sqrt{3}(3\lambda -x)}[x^2+y^2]\, \mathrm{d}y\, \mathrm{d}x=\frac{15\sqrt{3} }{8}\, \ell ^{5}. \end{aligned}$$

By inserting this into (29) and recalling (27), we obtain

$$\begin{aligned} \Delta (H_\ell )=\frac{5}{24}\, \ell =\frac{5\sqrt{3} }{36}\, \frac{X}{L}\approx 0.241\, \frac{X}{L}. \end{aligned}$$

4 Elastic energy of polygons: numerical results and proof of Theorem 4

This section is divided into several subsections. In Sect. 4.1, we make a by hand computation of the value of \({\mathcal{E }}(T)\); this may be used to evaluate the precision of our numerical results. In Sect. 4.2, we give a theoretical proof (no numerics at all!) that regular hexagons perform better than equilateral triangles. In Sect. 4.3, we explain our numerical procedure and we give the numerical results obtained for the four shapes \(\varTheta \cup T\cup S\cup H\).

4.1 Exact value for equilateral triangles

Consider the equilateral triangle \(T\) in the \((x,y)\)-plane delimited by the three lines

$$\begin{aligned} y=0 ,\quad y=\sqrt{3} (1-x) ,\quad y=\sqrt{3}(1+x) , \end{aligned}$$

so that its sides have length \(2\). When \(\varOmega =T\), it is well-known that the solution to the torsion problem (7) may be obtained by multiplying the equations representing the three sides:

$$\begin{aligned} \overline{v}(x,y)=\frac{1}{4\sqrt{3}}(y^3-2\sqrt{3} \, y^2-3\, x^2y+3\, y). \end{aligned}$$

Then, according to (6) and by exploiting the symmetry properties of \(T\) and \(\overline{v}\), we have

$$\begin{aligned} {\mathcal{E }}(T)=\int \limits _T\overline{v}^2=2\int \limits _0^1\int \limits _0^{\sqrt{3} (1-x)}\overline{v}(x,y)\, \mathrm{d}y\, \mathrm{d}x=\frac{\sqrt{3}}{280}. \end{aligned}$$

By (21), we know that the optimal side of the equilateral triangle \(T_\ell \) is \(\ell =2\sqrt{3}\, \frac{X}{L}\). By recalling (5), we then obtain

$$\begin{aligned} {\mathcal{E }}(T_\ell )={\mathcal{E }}\left( \sqrt{3}\, \frac{X}{L}\, T\right) =\left( \sqrt{3}\, \frac{X}{L}\right) ^6{\mathcal{E }}(T)=\frac{27\sqrt{3}}{280}\, \frac{X^6}{L^6}\approx 0.167 \, \frac{X^6}{L^6}. \end{aligned}$$

Finally, since by (21) we have \(N(T_\ell )=\frac{\sqrt{3}}{9}\, \frac{L^2}{X}\), we infer that the total elastic energy \({\mathcal{E }}(T)\) is given by

$$\begin{aligned} {\mathcal{E }}(T)=\frac{9}{280}\, \frac{X^5}{L^4}\approx 0.032\, \frac{X^5}{L^4}. \end{aligned}$$
(30)

4.2 Theoretical proof that regular hexagons perform better than equilateral triangles

If \(\varOmega =D_R\), the disk of radius \(R\) centered at the origin, then (7) admits the unique solution

$$\begin{aligned} \overline{v}(x,y)=\frac{R^2-x^2-y^2}{4} \end{aligned}$$

and the elastic energy (6) is easily computed to be

$$\begin{aligned} {\mathcal{E }}(B_R)=\frac{\pi }{48}\, R^{6}. \end{aligned}$$

Now take a regular hexagon \(H_\ell \) having sides of length \(\ell \). Then, the inscribed disk has radius \(\rho _1=\frac{\sqrt{3}}{2}\ell \), and by the maximum principle for (7),

$$\begin{aligned} {\mathcal{E }}(H_\ell )>{\mathcal{E }}(D_{\rho _1})=\frac{9\pi }{1024}\, \ell ^{6}. \end{aligned}$$

Consider now the disk having the same measure as \(H_\ell \); its radius \(\rho _2\) satisfies \(\pi \rho _2^2=\frac{3\sqrt{3}}{2}\ell ^2\). By Talenti’s comparison principle [19, Theorem 1] and by classical results in symmetrization theory, we have

$$\begin{aligned} {\mathcal{E }}(H_\ell )<{\mathcal{E }}(D_{\rho _2})=\frac{27\sqrt{3}}{128\pi ^2}\, \ell ^{6}. \end{aligned}$$

By taking into account the optimal length \(\ell \) and the needed number of hexagons \(N(H_\ell )\) found in (27), we infer that the total elastic energy \({\mathcal{E }}(H)\) satisfies the bounds

$$\begin{aligned} 0.0189\, \frac{X^5}{L^4}\approx \frac{\pi \sqrt{3}}{288}\, \frac{X^5}{L^4}<{\mathcal{E }}(H)<\frac{1}{4\pi ^2}\, \frac{X^5}{L^4}\approx 0.0253\, \frac{X^5}{L^4}. \end{aligned}$$
(31)

This gives a purely theoretical proof that \({\mathcal{E }}(H)<{\mathcal{E }}(T)\), see (30).

4.3 Numerical values for right triangles, squares and hexagons

If \(\varOmega =S_\ell =(0,\ell )^2\subset \mathbb{R }^2\) (a square with sides of length \(\ell \) in the \((x,y)\)-plane), then, by separating variables, one may find the “explicit” solution to (7):

$$\begin{aligned} \overline{v}(x,y)&= -\frac{x^2}{2}+\ell ^2\sum _{n=1}^\infty \frac{1-(-1)^n}{n\pi \sinh (n\pi )}\, \sinh \left( \frac{n\pi x}{\ell }\right) \, \sin \left( \frac{n\pi y}{\ell }\right) \\&+\,\,\ell ^2\sum _{n=1}^\infty \frac{2(-1)^n-2-n^2\pi ^2(-1)^n}{n^3\pi ^3\sinh (n\pi )}\, \sin \left( \frac{n\pi x}{\ell }\right) \,\\&\times \left[ \sinh \left( \frac{n\pi (\ell -y)}{\ell }\right) +\sinh \left( \frac{n\pi y}{\ell }\right) \right] \!. \end{aligned}$$

But, of course, the exact value of \(\int _{S_\ell }\overline{v}^2\) cannot be computed by hand. In general, the torsion problem on polygons is widely studied from several points of view [17, 18]. However, for right triangles and hexagons, the explicit solution to (7) is not known and we may only proceed numerically.

We used the PDE Toolbox of Matlab in order to have an approximation \(v_0\) of the solution \(\overline{v}\) to (7). Once the plot of \(v_0\) was performed, we exported both the vectors containing the values of \(v_0\) in the nodes of the mesh and the mesh itself. With an ad hoc program, we computed the squared \(L^2\)-norm of \(v_0\): we exploited the fact that \(v_0^2\) is a polynomial of degree \(2\) on each triangle of the mesh, and therefore, its norm may be computed by taking the average of its values in the three midpoints of the sides of the triangle. We tested the numerical results in two different ways. First, we tried them in the case of equilateral triangles and disks where the solution to (7) is explicitly known, see Sects. 4.1 and 4.2. Second, we selected finer meshes to check whether the results were “stable.” In the below table, we quote the results so obtained for a right triangle \(\varTheta _{\sqrt{2}}\) having hypothenuse of length \(2\sqrt{2}\), for a square \(S_1\) having side of length \(1\) and for an hexagon \(H_1\) having side of length \(1\).

\(P\)

\(\varTheta _{\sqrt{2}}\)

\(S_1\)

\(H_1\)

\({\mathcal{E }}(P)\)

0.0079

0.0017

0.0348

These numbers have to be scaled according to the sizes found in Theorem 1, see (14)–(24)–(27); we obtain

$$\begin{aligned} {\mathcal{E }}(\varTheta _\ell )\approx 0.1955\, \frac{X^6}{L^6}\qquad {\mathcal{E }}(S_\ell )\approx 0.1088\, \frac{X^6}{L^6} \qquad {\mathcal{E }}(H_\ell )\approx 0.0825\, \frac{X^6}{L^6}. \end{aligned}$$

In turn, these numbers have to be multiplied, respectively, by \(N(\varTheta _\ell )\)\(N(S_\ell )\)\(N(H_\ell )\), see again (14)–(24)–(27); in such a way, we obtain the values appearing in the Table in Theorem 4. In particular, we obtain \({\mathcal{E }}(H)\approx 0.024\, \frac{X^5}{L^4}\), which should be compared with (31).

5 Further remarks and conclusions

5.1 Performances of rectangles

Consider a rectangle \(R_\ell \) whose sides have length \(\ell \) and \(\gamma \ell \) with \(\gamma >1\). Then,

$$\begin{aligned} |\partial R_\ell |=2(\gamma +1)\ell ,\quad |R_\ell |=\gamma \ell ^2 ,\quad I(R_\ell )=\frac{\ell }{2}. \end{aligned}$$

Hence, by using (8), we obtain

$$\begin{aligned} N(R_\ell )=\frac{X}{\gamma \ell ^2}=\frac{L}{(\gamma +1)\ell }\ \Longrightarrow \ \ell =\frac{\gamma +1}{\gamma }\, \frac{X}{L}\ \Longrightarrow \ N(R_\ell )=\frac{\gamma }{(\gamma +1)^2}\, \frac{L^2}{X}. \end{aligned}$$
(32)

Hence, \(\ell _\mathrm{max}(R)=(\gamma +1)\frac{X}{L}\); this number should be compared with the values in the second table of Theorem 1. In particular, it appears that \(\ell _\mathrm{max}\) is increasing with respect to the ratio between the two sides, and elongated rectangles have large \(\ell _\mathrm{max}\) and, therefore, bad resistance to the moments of forces; this is the weak point of rectangles.

Since \(R_\ell \) is not circumscribed to a disk, the piercing function is slightly more involved. For a detailed description, we refer to [6]; here, we explain how to proceed by referring to Fig. 5.

Fig. 5
figure 5

Regions for piercing functions in a rectangle

In the plane \((x,y)\), put the short side of \(R_\ell \) on the axis \(y=0\) with \(0<x<\ell \) so that \(R_\ell \) lies in the half-plane \(y>0\). For any \(x\in (0,\ell )\), we have

$$\begin{aligned} \lambda _{R_\ell }(x)=\min \left\{ x,\ell -x\right\} \!. \end{aligned}$$

For symmetry reasons, we only need to compute the contribution of \(\lambda _{R_\ell }\) on the interval \((0,\ell /2)\) and to multiply it by 8 since the 8 identical gray right triangles that compose \(R_\ell \) give the same contribution, see Fig. 5. Moreover, if we put the long side of \(R_\ell \) on the axis \(y=0\), we find the 2 white rectangles in Fig. 5 that give the same constant contribution in terms of the piercing function, \(\lambda _R(x)=\frac{\ell }{2}\). Summarizing, by using (10) with \(q=2\), we obtain

$$\begin{aligned} \int \limits _{R_\ell }d(M,\partial R_\ell )\, \mathrm{d}M=4\int \limits _0^{\ell /2}x^2\, \mathrm{d}x+\int \limits _0^{(\gamma -1)\ell }\frac{\ell ^2}{4}\, \mathrm{d}x=\frac{3\gamma -1}{12}\, \ell ^{3}. \end{aligned}$$

With the value of \(\ell \) determined in (32), we compute, in terms of \(X\) and \(L\), the maximal and the average distance of points inside \(R_\ell \) from the boundary \(\partial R_\ell \):

$$\begin{aligned} I(R_\ell )&= \frac{\gamma +1}{2\gamma }\, \frac{X}{L} ,\qquad \overline{d}(R_\ell )=\frac{1}{|R_\ell |}\int \limits _{R_\ell }d(M,\partial R_\ell )\, \mathrm{d}M =\frac{3\gamma -1}{12\gamma }\,\nonumber \\ \ell&= \frac{(3\gamma -1)(\gamma +1)}{12\gamma ^2}\, \frac{X}{L}. \end{aligned}$$
(33)

Let us now compute the variance of the distance within each rectangle. By using (10) with \(q=3\) and by arguing as above, we get

$$\begin{aligned} \int \limits _{R_\ell }d(M,\partial R_\ell )^2\, \mathrm{d}M=\frac{1}{3} \int \limits _{\partial R_\ell }\lambda _{R_\ell }(y)^3\, \mathrm{d}y=\frac{8}{3}\int \limits _0^{\ell /2}x^3\, \mathrm{d}x+ \frac{2}{3} \int \limits _0^{(\gamma -1)\ell } \frac{\ell ^3}{8}\, \mathrm{d}x=\frac{2\gamma -1}{24}\, \ell ^{4}. \end{aligned}$$

Hence, by (33) and (11),

$$\begin{aligned} \int \limits _{R_\ell }\Big (d(M,\partial R_\ell )-\overline{d}(R_\ell )\Big )^2\, \mathrm{d}M=\frac{3\gamma ^2-1}{144\gamma }\, \ell ^{4}. \end{aligned}$$

Finally, by using the number of rectangles and their optimal side length determined in (32), by (12), we find

$$\begin{aligned} V(R)=\frac{(\gamma +1)^2(3\gamma ^2-1)}{144\gamma ^4}\, \frac{X^3}{L^2}. \end{aligned}$$

Concerning the average polar moment of inertia, by repeating the above computations, we find

$$\begin{aligned} \Delta (R)=\frac{4\gamma ^3-\gamma ^2+2\gamma +1}{12(\gamma +1)^2}\, \ell =\frac{4\gamma ^3-\gamma ^2+2\gamma +1}{12\gamma (\gamma +1)}\, \frac{X}{L}; \end{aligned}$$

we see that, again, \(\Delta (R)\) is increasing with respect to the ratio \(\gamma \) between the two sides, yielding worse performances.

5.2 What is the average polar moment of inertia

Take the disk \(D\) of radius 1 and center at the origin \(O\). Then, the polar moment of inertia of \(\partial D\) with respect to \(O\) is \(\delta (O)=1/\sqrt{2\pi }\). Take now a point on the boundary, for instance \(A(1,0)\). Then, the polar moment of inertia of \(\partial D\) with respect to \(A\) may be computed as

$$\begin{aligned} \delta (A)=\frac{1}{2\pi }\left( \int \limits _0^{2\pi }[(1-\cos (t))^2+\sin ^2(t)]\, \mathrm{d}t\right) ^{1/2}=\frac{1}{\sqrt{\pi }}>\frac{1}{\sqrt{2\pi }}=\delta (O). \end{aligned}$$

Hence, \(A\in \partial D\) has mean distance from \(\partial D\) larger than the mean distance from the center \(O\) to \(\partial D\).

Take a square \(S\) having sides of length \(1\). Then, there are 8 half-sides of \(S\) that have squared distance \(t^2+\frac{1}{4} \) from its barycenter \(B\) for \(t\in [0,\frac{1}{2} ]\); hence, the polar moment of inertia of \(\partial S\) with respect to \(B\) is given by

$$\begin{aligned} \delta (B)=\frac{1}{4}\left( 8\int \limits _0^{1/2}\left[ t^2+\frac{1}{4} \right] \, \mathrm{d}t\right) ^{1/2}=\frac{\sqrt{3} }{6}. \end{aligned}$$

If we consider a vertex \(V\), then the points on the 2 two adjacent sides of \(S\) have a squared distance \(t^2\) from \(V\) for \(t\in [0,1]\), while the points on the two opposite sides of \(S\) have a squared distance \(t^2+1\) from \(V\) for \(t\in [0,1]\). Summarizing the polar moment of inertia of \(\partial S\) with respect to \(V\) is

$$\begin{aligned} \delta (V)=\frac{1}{4}\left( \int \limits _0^1(4t^2+2)\, \mathrm{d}t\right) ^{1/2}=\frac{\sqrt{30}}{12}>\frac{\sqrt{3} }{6}=\delta (B). \end{aligned}$$

Again, the polar moment of inertia of \(\partial S\) with respect to \(V\in \partial S\) is larger than the polar moment of inertia with respect to the barycenter \(B\).

These two examples highlight the role of the polar moment of inertia. It evaluates how homogeneous are distances from the boundary to points of the polygon: The barycenter of the polygon yields a smaller value since its distances from the boundary are “almost constant,” while points close to the boundary yield a larger value since they are far away from other parts of the boundary. Hence, the polar moment of inertia should be seen as a “measure of homogeneity” explaining how different can be the action of the same load put in different points of the plate. But the purpose of \(\Delta (P)\) is not to analyze the competition between different points of the same polygon; since it is the average of this homogeneity measure, it appears suitable for comparing performances between different shapes. Basically, it gives an average of the homogeneity between different points; by comparing this average for different shapes, one has an additional parameter measuring the performances. Larger values of \(\Delta (P)\) give worse performances as can be easily understood by noticing the homogeneity with respect to dilations: \(\Delta (\alpha P)=\alpha \Delta (P)\) for all \(\alpha >0\), and of course, \(\alpha P\) is weaker than \(P\) if \(\alpha >1\).

5.3 Concluding remarks

We introduced several parameters in order to measure the performances of polygonal stiffening trusses for a given plate \(\varOmega \). It appears that hexagonal trusses perform better under different points of view. First of all, they have the least largest sides among the polygons considered, see Theorem 1: This means that each segment of the truss is more resistant to the moments of forces due to applied loads. In particular, in order to solve the dilemma between economy and stiffness (see [15]), one could use thinner trusses segments in case of hexagonal shapes. Second, we proved that the minimal distance to the boundary and its variance are the same for all the shapes considered, see Theorem 2. This suggested to introduce a new parameter measuring the effect of distances from the boundary, what we called average polar moment of inertia, see the description in Sect. 5.2. Also for this parameter, the best performances are obtained by hexagonal trusses, see Theorem 3. Finally, we measured numerically the stored elastic energy for the shapes under observation; Theorem 4 states that hexagonal trusses store the least energy.

Although the first project of a suspension bridge is due to the Italian engineer Verantius around 1615, see [20] and [15, p. 16], the first suspension bridges were built only about two centuries later in Great Britain. Samuel Brown (1776–1852) was an early pioneer of suspension bridge design and construction. He is best known for the Union Bridge of 1820, the first vehicular suspension bridge in Britain. According to [3],

The invention of the suspension bridges by Sir Samuel Brown sprung from the sight of a spider’s web hanging across the path of the inventor, observed on a morning’s walk, when his mind was occupied with the idea of bridging the Tweed.

The results obtained in this paper suggest that

when thinking about how to strengthen a suspension bridge, one should observe a bee hive.

figure a