1 Introduction

Since Euler’s pioneering work, a lot has been found in relation with buckling. There are multiple works about shells, columns, arches and other structures [1, 2]. For instance, the books of Jerath [3] and Wang et al. [4] provide a really comprehensive summary about solutions to engineering issues of multiple kinds and deliver practical applications too.

Narrowly focusing on the buckling of beams, book [5] by Murawski delivers a detailed study about the theory of elastic stability of continuously axially loaded beams. The dynamic buckling of cracked functionally graded beams in thermal environment is considered by Fu et al. [6] using the Timoshenko theory and the Hamilton Principle. The equations found are solved both analytically and numerically and are evaluated for multiple parameter sets. Both tensile and compressive buckling of beams containing multiple elastic internal sliders with translational springs, therefore inducing shear deformation singularities, are addressed by Tzaros and Mistakidis [7]. Both symmetric and antisymmetric shapes are possible and the switch between these two is identified. Further notable results are provided by Murawski et al. [8, 9] including compressive force exerted by ball-socket joints. Article [10] investigates experimentally, analytically and numerically the static and dynamic stability problem of columns under self-weight. Harvey and Cain [11] account for both geometrical and load imperfections in the buckling studies of columns. Adman and Saidani assess the effect of end-restraints [12] as these can significantly influence the buckling of a member in a given structure. These are modeled by rotational and translational springs. The authors propose a new standard as relevant differences were noted in comparison with the current ones. Work [13] by Vaz and Silva is based on the perturbation method. When there are terminal axial forces, the related set of first-order differential equations with boundary conditions determine a two-point boundary value problem that is solved with the mentioned technique. The finite element method is used by Cai et al. [14]. A mixed complementary energy functional is written and it is shown that the global maximum of the complementary energy is related to a stable equilibrium, while local maxima correspond to unstable configurations. A variational iterational method is used to find the buckling loads of uniform/variable cross-sections in [15] by Coskun and Atay. This method is proven to be effective in solving multiple classes of linear and non-linear differential equations, including boundary value problems as well. Functionally graded non-uniform beams are in the spotlight in [16] by Singh and Li. A new low dimensional mathematical model is presented. The solution method uses the transcendental functions of a uniform column, instead of polynomials. Non-homogeneous columns are replaced by (continuous) systems with constant properties leading to a lower dimensional transcendental eigenvalue problem.

Batista [17] uses a variational principle to find the equilibrium configuration of compressed elastic rods. The related bifurcation diagrams are created with the Jacobi test. In this way, the whole phase plane is assessed to reveal the typical stability regions. Bigoni et al. [18] focus on the stability analysis of equilibrium configurations. A novel phenomenon—namely the elastic tensile buckling of rods, when an internal slider constraint is present—is also addressed. Levyakov and Kuznetsov [19] consider inextensible rods. The second variation of the total potential energy is given using the eigensolutions of a Sturm–Liouville problem. The novelty of the proposed method is the incorporation of isoparametric constraints. Ruta et al. [20] tackle the flexural-torsional buckling of thin-walled hyperelastic beams with arbitrary cross-section. The bifurcation points are found using a static perturbation method. The subsequent study [21] is devoted to dynamic investigations of the issue.

Paper [22] by Harvey et al. is about how a geometrically imperfect beam can buckle. The ideal beam shapes are perturbed with their second-mode eigenshape by means of 3D printing and these specimen are experimentally investigated. Virgin [23] uses additive manufacturing to print beams with high-precision and test the behavior of these. Article [24] by Madah and Amir is about optimization against buckling when initial imperfections are present.

Furthermore, as for the concept of the Green function, the first publication of Green himself [25] dates back to 1828. This book presents the Green theorem, introduces the concept of the Green function and applies it to electrostatic problems, governed by partial differential equations. The Green function for two-point boundary value problems governed by ordinary differential equations (ODE) was established by Bocher [26]. The first book, written by Ince [27], that systematically contains the concept of the Green function came out in 1926. The books of Collatz [28, 29] contain the definition of the Green function for two-point boundary value problems governed by ordinary linear differential equations and clarify their most important properties. In addition a number of Green functions are presented in closed-form. The concept of the Green function considering two-point boundary value problems was generalized for a class of ordinary differential equation systems in [30, 31] by Obadovics. The results of [31] were generalized for degenerated ordinary differential equation systems by Szeidl [32, 33]. Existence proof for some three-point boundary value problems related to third-order nonlinear differential equations is given in paper [34] by Murty and Kumar using Green functions. For some three-point boundary value problems governed by linear ordinary differential equations of order two the corresponding Green functions are presented in the paper of Zhao [35]. The definition of the Green function for three-point boundary value problems with a solution algorithm is detailed in [36] by Szeidl and Kiss. In addition the free vibration issue of pinned-roller supported-pinned beams is solved numerically. Stability problems are, however, not investigated in that paper at all.

There are also recent works which present a solution method that incorporates the Green function for beam buckling. Wolfe [37] presents buckling investigations through multiple theories: global bifurcation theory, direct variational calculus, phase plane analysis and singular perturbation theory. These methods are compared and it is shown how these compliment each other. The bifurcation theory uses the implication of the Green function for a classical compressed column with two supports. Anghel and Mares [38] investigate the buckling of Euler–Bernoulli beams. One of the possible solution methods is rest on an integral equation with the kernel being the Green function. This function is found numerically. Köylüoglu et al. [39] dedicate their study to the stability of columns with material and geometrical uncertainties. The solution is based on integral equations and optimization techniques to set up conservative (practically, lower) bounds to the buckling load when there are two supports. Totry et al. [40] focus on heterogeneous columns, using a direct functional perturbation method on the buckling equation. The analytical solution of eigenvalue functional differential equations is given. The method is compared with the Ritz approximation. Here, the functional derivatives act as Green functions. Khan and Al-Hayani [41] use the Adomian decomposition method together with the Green function technique to solve the non-linear buckling equations of a column. This method is proven to be efficient and, as an advantage, it does not require the use of the perturbation theory. Huang and Li [42] present an efficient method, by using Fredholm integral equations instead of differential equations, that is capable of dealing with the stability of axially graded material columns with variable cross-section and two supports. The proposed method can tackle various classes of non-constant flexural rigidities.

Based on the above literature research, in this article, the buckling problem of compressed beams are solved. The material is linearly elastic, isotropic and the material distribution can change over the cross-section—it is called cross-sectional heterogeneity. The stability equations are given for the selected, say, three-point boundary value problems. Utilizing the definition given in [36], these are then replaced by Fredholm integral equations, whose kernel is obtained from the Green function. Furthermore, a definition of this Green function for three-point boundary value problems with homogeneous boundary conditions is also provided. The Green function itself is also given in closed-form. Numerical solutions of the integral equations are given based on a boundary element technique—algebraic equations are introduced in this way. It is found that the position of the middle support and material distribution have significant effects on the linear buckling loads.

2 Differential equations

2.1 Governing equations

Let us consider three beams, each with three supports as shown in Fig. 1. The (E-weighted) centroidal axis of these beams coincide with axis \(\hat{x}\). The two further mutually perpendicular coordinates are \(\hat{y},\hat{z}\). Along the points of the (E-weighted) centroidal axis, the cross-sectional E-weighted first moment

$$\begin{aligned} Q_{ey}=\int E \hat{z} \mathrm {d}A\equiv 0 \end{aligned}$$
(2.1)

vanishes. The beams have uniform cross-section, symmetric to plane \(\hat{x}\hat{z}\) and are made of linearly elastic, isotropic materials. The modulus of elasticity E satisfies the condition \(E(\hat{y},\hat{z})=E(-\hat{y},\hat{z})\) over the points of the cross-section A, which means that (a) E is an even function of \(\hat{y}\) and (b) it is independent of the coordinate \(\hat{x}\). Thus, we speak about cross-sectional heterogeneity. The length of the beam is L, and the position of the middle support is given by \(\hat{b}\).

Fig. 1
figure 1

The compressed beam models with three supports

Equilibrium problems of beams with cross-sectional heterogeneity—the axial force N is zero—are governed by [43] the ordinary differential equation:

$$\begin{aligned} \frac{\mathrm {d}^{4}\hat{w}}{\mathrm {d}\hat{x}{}^{4}}= \frac{\hat{f}_{z} }{I_{ey}} \end{aligned}$$
(2.2)

where \(\hat{w}(\hat{x})\) is the vertical displacement of the centroidal axis, \(\hat{f}_z(\hat{x})\) is the intensity of the distributed load acting on the centroidal axis and \(I_{ey}\) is

$$\begin{aligned} I_{ey} = \int _{A}E(\hat{y},\hat{z})\hat{z}^{2}\,\mathrm {d}A\,. \end{aligned}$$
(2.3)
Table 1 Boundary- and continuity conditions for the selected support arrangements

If E is constant throughout, i.e., the beam is homogeneous, then

$$\begin{aligned} I_{ey}= IE,\qquad I = \int _{A}\hat{z}^{2}\,\mathrm {d}A \end{aligned}$$
(2.4)

in which I is the moment of inertia to \(\hat{y}\).

It is practical to introduce some dimensionless variables defined by relations

$$\begin{aligned} x=\hat{x}/L,\qquad \xi =\hat{\xi }/L,\qquad w=\hat{w}/L,\\ y=\frac{\mathrm {d}\hat{w}}{\mathrm {d}\hat{x}}= \frac{\mathrm {d}w}{\mathrm {d}x},\qquad {b=\hat{b}/L}\,,\qquad \ell =\left. \frac{\hat{x}}{L}\right| _{\hat{x}=L}=1\,, \end{aligned}$$
(2.5)

where \(\hat{\xi }\) is a coordinate on the axis \(\hat{x}\). Rewriting now equation (2.2) with dimensionless quantities yields

$$\begin{aligned} \frac{\mathrm {d}^{4} w}{\mathrm {d}x^{4}}= f_{z}\,,\qquad f_{z}=\frac{L^{3}\hat{f}_{z}}{I_{ey}}. \end{aligned}$$
(2.6)

This ordinary differential equation (ODE) is associated with the boundary- and continuity conditions presented in Table 1. A fixed support is abbreviated by F, a roller by r and a pin by P—in this way, e.g., FrF is a fixed-roller supported-fixed beam.

Here and now on, a simplified notation for the derivatives is used, that is

$$\begin{aligned} \frac{\mathrm {d}^n w}{\mathrm {d}x^n} = w^{(n)}. \end{aligned}$$
(2.7)

The general solution of the homogeneous differential equation

$$\begin{aligned} w^{(4)} =0 \end{aligned}$$
(2.8a)

is the sum

$$\begin{aligned} w=\sum _{\ell =1}^{4}a_{\ell }w_{\ell }(x)=a_{1}+a_{2}x+a_{3}x^{2}+a_{4}x^{3}\,. \end{aligned}$$
(2.8b)

If the Green function \(G(x,\xi )\) for the boundary value problem determined by ODE (2.6) and the boundary and continuity conditions is known, the solution for the dimensionless deflection w can be given by the integral

$$\begin{aligned} w(x)=\int _{0}^{\ell }G(x,\xi )f_{z}(\xi )\,\mathrm {d}\xi . \end{aligned}$$
(2.9)

2.2 Stability problem

Equilibrium problems of uniform heterogeneous beams subjected to an axial force are governed by the differential equation

$$\begin{aligned} w^{(4)} \pm \mathcal {N}\,w^{(2)}=f_{z},\qquad \mathcal {N}=L^{2}\frac{N}{I_{ey}} \end{aligned}$$
(2.10)

where N is an axial concentrated force and the sign of \(\mathcal {N}\) is positive for compression and is negative for tension. When dealing with the stability issue, the force is compressive and the intensity \(f_{z}\) is zero.

The three support arrangements actually make three eigenvalue problems—with \(\mathcal {N}\) being the eigenvalue—determined by the differential equation

$$\begin{aligned} w^{(4)}= - \mathcal {N}\,w^{(2)} \end{aligned}$$
(2.11)

and the related boundary- and continuity conditions. If \(-\mathcal {N}\,w^{(2)}\) is written for \(f_{z}\) in (2.9) it is found that

$$\begin{aligned}&w(x)=-\mathcal {N}\,\int _{0}^{\ell }G(x,\xi ) \frac{\mathrm {d}^{2}w(\xi )}{\mathrm {d}\xi ^{2}}\,\mathrm {d}\xi \,\,\nonumber \\&\quad =-\mathcal {N}\, \left( \left. G(x,\xi )\frac{\mathrm {d}w(\xi )}{\mathrm {d}\xi } \right| _{\xi =0}^{\ell }- \int _{0}^{\ell }\frac{\partial G(x,\xi )}{\partial \xi } \frac{\mathrm {d}w(\xi )}{\mathrm {d}\xi }\,\mathrm {d}\xi \right) , \end{aligned}$$
(2.12)

where

$$\begin{aligned} {\left. \left[ G(x,\xi )\frac{\mathrm {d}w(\xi )}{\mathrm {d}\xi }\right] \right| _{\xi =0}^{\ell }=0 } \end{aligned}$$
(2.13)

since the Green function should satisfy the boundary conditions. Hence,

$$\begin{aligned} w(x)=\mathcal {N}\int _{0}^{\ell }\frac{\partial G(x,\xi )}{\partial \xi } \frac{\mathrm {d}w(\xi )}{\mathrm {d}\xi }\,\mathrm {d}\xi \,. \end{aligned}$$
(2.14)

Deriving this equation with respect to x yields

$$\begin{aligned} \frac{\mathrm {d}w}{\mathrm {d}x}=\mathcal {N}\int _{0}^{\ell } \frac{\partial ^{2}G(x,\xi )}{\partial x\,\partial \xi } \frac{\mathrm {d}w(\xi )}{\mathrm {d}\xi }\,\mathrm {d}\xi \,. \end{aligned}$$
(2.15)

After introducing new variables:

$$\begin{aligned} \frac{\mathrm {d}w}{\mathrm {d}x}=y,\qquad \frac{\partial ^{2}G(x,\xi )}{\partial x\,\partial \xi }=\mathcal {K}(x,\xi ) \end{aligned}$$
(2.16)

a homogeneous Fredholm integral equation is found:

$$\begin{aligned} y(x)=\mathcal {N}\int _{0}^{\ell }\mathcal {K}(x,\xi )\,y(\xi )\,\mathrm {d}\xi . \end{aligned}$$
(2.17)

In this way, the eigenvalue problems determined by differential equation (2.11) and the homogeneous boundary- and continuity conditions are replaced by eigenvalue problems governed by homogeneous Fredholm integral equations as of [29].

Remark 1

Differential equation (2.11) can be rewritten in the form

$$\begin{aligned} K(w)=\lambda M(w);\qquad K(w)=w^{(4)},\quad M(w)=-w^{(2)},\quad \lambda =\mathcal {N}\,. \end{aligned}$$
(2.18)

The functions u(x), v(x) \(x\in [0,\ell ]\) are comparative functions if (a) they satisfy the boundary and continuity conditions given in Table 1 and (b) are differentiable continuously at least three times if \(x\in [0,b)\) or \(x\in (b,\ell ]\). The exact solution w(x) is obviously a comparative function.

Remark 2

The integrals

$$\begin{aligned} \left( u,v\right) _{K}=\int _{0}^{\ell } u(x)\,K[v(x)]\,\mathrm {d} x\,,\qquad \quad \left( u,v\right) _{M}=\int _{0}^{\ell } u(x)\,M[v(x)]\,\mathrm {d }x \end{aligned}$$
(2.19)

taken on the set of the comparison functions u(x), v(x) are products defined on the differential operators K and M. The eigenvalue problems defined by differential equation (2.11) and the homogeneous boundary and continuity conditions presented in Table 1 are said to be self-adjoint if the products (2.19) are commutative, i.e., it holds that

$$\begin{aligned} \left( u,v\right) _{K}=\left( v,u\right) _{K} \qquad \text {and}\qquad \left( u,v\right) _{M}=\left( v,u\right) _{M}\,. \end{aligned}$$
(2.20)

Conditions (2.20) are called conditions of self-adjointness. The differential operator K(w) is also comparative if the product \(\left( u,v\right) _{K}\) under the corresponding boundary and continuity conditions is commutative. It can be checked by performing partial integrations and taking the corresponding boundary and continuity conditions into account that the differential operator K(w) and the eigenvalue problems mentioned are all self-adjoint.

3 Green function for three-point boundary value problems

3.1 Definition

Let us consider the inhomogeneous ODE

$$\begin{aligned} L[y(x)]=r(x)\,, \end{aligned}$$
(3.1)

where the differential operator of order 2k is defined by the following equation

$$\begin{aligned} L[y(x)]=\sum \limits _{n=0}^{2k}p_{n}(x)y^{(n)}(x) \end{aligned}$$
(3.2)

in which k is a natural number, the functions \(p_{n}(x)\) and r(x) are continuous and \(p_{2k}(x)\ne 0\) if \(x\in [0,\ell ]\) (\(\ell >0)\). Moreover, let b be an inner point in the interval \([0,\ell ]\): \(b=\ell _{1}\), \(\ell -b=\ell _{2}\) and \(\ell _{1}+\ell _{2}=\ell .\)

It is assumed that the inhomogeneous differential equation (3.1) is paired with homogeneous boundary and continuity conditions given by the following equations:

$$\begin{aligned} \begin{aligned} \sum \limits _{n=0}^{2k}\alpha _{nrI}y_{I}^{(n-1)}(0)&=0,\qquad r=1,2,\ldots ,k\\ \sum \limits _{n=0}^{2k}\beta _{nrI}y_{I}^{(n-1)}(b)-\sum \limits _{n=0}^{2k}\beta _{nrII}y_{II}^{(n-1)}(b)&=0, \qquad r=1,2,....,2k\\ \sum \limits _{n=0}^{2k}\gamma _{nrII}y_{II}^{(n-1)}(\ell )&=0, \qquad r=1,2,\ldots ,k. \end{aligned} \end{aligned}$$
(3.3)

The notations \(\square _I\) and \(\square _{II}\) refer successively to the intervals [0, b] and \([b,\ell ]\): \(y_{I}\) and \(y_{II}\) are the solutions to the differential equation in the interval I and II while \(\alpha _{nrI}\), \(\beta _{nrI}\), \(\beta _{nrII}\) and \(\gamma _{nrII}\) are arbitrary constants.

Solution of the three-point boundary value problem (3.1), (3.2) and (3.3) is sought as

$$\begin{aligned} y(x)=\int _{0}^{\ell }G(x,\xi )r(\xi )\mathrm {d}\xi \end{aligned}$$
(3.4)

where the Green function is defined by the following formulas

$$\begin{aligned} G(x,\xi )=\left\{ \begin{array}{ll} G_{1I}(x,\xi ) &{} \text {if}\;\; x,\xi \in [0,b ], \\ G_{2I}(x,\xi ) &{} \text {if}\;\; x\in [b,\ell ]\text { and }\xi \in [0,b ], \\ G_{1II}(x,\xi ) &{} \text {if}\;\; x\in [0,b]\text { and }\xi \in [b,\ell ], \\ G_{2II}(x,\xi ) &{} \text {if}\;\; x,\xi \in [b,\ell ]. \end{array} \right. \end{aligned}$$
(3.5)

and properties [36]:

  1. 1.

    The function \(G_{1I}(x,\xi )\) is a continuous function of x and \(\xi\) if \(0\le x\le \xi \le b\) and \(0\le \xi \le x\le b\). In addition it is 2k times differentiable with respect to x and the derivatives

    $$\begin{aligned} \frac{\partial ^{n}G_{1I}(x,\xi )}{\partial x^{n}}=G_{1I}(x,\xi )^{(n)}(x,\xi )\,,\qquad n=1,2,\ldots ,2k \end{aligned}$$
    (3.6)

    are also continuous functions of x and \(\xi\) in the triangular domains \(0\le x\le \xi \le b\) and \(0\le \xi \le x\le b\).

  2. 2.

    Let \(\xi\) be fixed in [ab]. The function \(G_{1I}(x,\xi )\) and its derivatives

    $$\begin{aligned} G_{1I}^{(n)}(x,\xi )=\frac{\partial ^{n}G_{1I}(x,\xi )}{\partial x^{n}} \,,\qquad n=1,2,\dots ,2k-2 \end{aligned}$$
    (3.7)

    should be continuous for \(x=\xi\):

    $$\begin{aligned}&\lim _{\varepsilon \rightarrow 0}\left[ G_{1I}^{(n)}(\xi +\varepsilon ,\xi )-G_{1I}^{(n)}(\xi -\varepsilon ,\xi )\right] \nonumber \\&\quad =\left[ G_{1I}^{(n)}(\xi +0,\xi )-G_{1I}^{(n)}(\xi -0,\xi )\right] =0\,.\quad n=0,1,2,\ldots 2k-2. \end{aligned}$$
    (3.8a)

    The derivative \(G_{1I}^{(2k-1)}(x,\xi )\) should, however, have a jump if \(x=\xi\):

    $$\begin{aligned}&\lim _{\varepsilon \rightarrow 0}\left[ G_{1I}^{(2k-1)}(\xi +\varepsilon ,\xi )-G_{1I}^{(2k-1)}(\xi -\varepsilon ,\xi )\right] \nonumber \\&\quad =\left[ G_{1I}^{(2k-1)}(\xi +0,\xi )-G_{1I}^{(2k-1)}(\xi -0,\xi )\right] = \frac{1}{p_{2k}(\xi )}\quad . \end{aligned}$$
    (3.8b)

    In contrast to this, \(G_{2I}(x,\xi )\) and its derivatives

    $$\begin{aligned} G_{2I}^{(n)}(x,\xi )=\frac{\partial ^{n}G_{2I}(x,\xi )}{\partial x^{n}} \,,\qquad n=1,2,\dots ,2k \end{aligned}$$
    (3.9)

    are all continuous functions for any \(x\in\) \([b,\ell ]\).

  3. 3.

    Let \(\xi\) be fixed in \([b,\ell ]\). The function \(G_{1II}(x,\xi )\) and its derivatives

    $$\begin{aligned} G_{1II}^{(n)}(x,\xi )=\frac{\partial ^{n}G_{1II}(x,\xi )}{\partial x^{n}} \,,\qquad n=1,2,\dots ,2k \end{aligned}$$
    (3.10)

    are all continuous functions for any x in [0, b].

    Though the function \(G_{2II}(x,\xi )\) and its derivatives

    $$\begin{aligned} G_{2II}^{(n)}(x,\xi )=\frac{\partial ^{n}G_{2II}(x,\xi )}{\partial x^{n}} \,,\qquad n=1,2,\dots ,2k-2 \end{aligned}$$
    (3.11)

    are also continuous for \(x=\xi\):

    $$\begin{aligned}&\lim _{\varepsilon \rightarrow 0}\left[ G_{2II}^{(n)}(\xi +\varepsilon ,\xi )-G_{2II}^{(n)}(\xi -\varepsilon ,\xi )\right] \nonumber \\&\quad =\left[ G_{2II}^{(n)}(\xi +0,\xi )-G_{2II}^{(n)}(\xi -0,\xi )\right] =0\,\quad n=0,1,2,\ldots 2k-2 \end{aligned}$$
    (3.12a)

    the derivative \(G_{2II}^{(2k-1)}(x,\xi )\) should, however, have a jump if \(x=\xi\):

    $$\begin{aligned}&\lim _{\varepsilon \rightarrow 0}\left[ G_{2II}^{(2k-1)}(\xi +\varepsilon ,\xi )-G_{21I}^{(2k-1)}(\xi -\varepsilon ,\xi )\right] \nonumber \\&\quad =\left[ G_{2II}^{(2k-1)}(\xi +0,\xi )-G_{2II}^{(2k-1)}(\xi -0,\xi )\right] = \frac{1}{p_{2k}(\xi )}\quad . \end{aligned}$$
    (3.12b)
  4. 4.

    Let \(\alpha\) be an arbitrary finite but non-zero constant. For a fixed \(\xi \in [0,\ell ]\) the product \(G(x,\xi )\alpha\) as a function of x (\(x\ne \xi\)) should satisfy the homogeneous differential equation

    $$\begin{aligned} M\left[ G(x,\xi )\alpha \right] =0\,. \end{aligned}$$
  5. 5.

    The product \(G(x,\xi )\alpha\) as a function of x should satisfy both the boundary conditions and the continuity conditions

    $$\begin{aligned} \begin{array}{cl} \sum _{n=1}^{2k}\alpha _{nrI}\,G^{(n-1)}(0)=0\,, &{} \qquad r=1,\ldots ,k \\ \sum _{n=1}^{2\kappa }\left( \beta _{nrI}\,G^{(n-1)}(b-0)-\beta _{nrII}\,G^{(n-1)}(b+0)\right) =0 &{} \qquad r=1,\ldots ,2k \\ \sum _{n=1}^{2k}\gamma _{nrII}\,G^{(n-1)}(\ell )=0\,, &{} \qquad r=1,\ldots ,k. \end{array} \end{aligned}$$
    (3.13)

    The above continuity conditions should be satisfied by the function pairs \(G_{1I}(x,\xi )\), \(G_{2I}(x,\xi )\) and \(G_{1II}(x,\xi )\), \(G_{2II}(x,\xi )\) as well.

Remark 3

It can be proven [36] by utilizing the previous definition that integral (3.4) satisfies Eq. (3.3).

Remark 4

If the boundary value problem defined by (3.1) and (3.3) is self-adjoint then the Green function is cross-symmetric [36]:

$$\begin{aligned} G(x,\xi ) = G(\xi ,x). \end{aligned}$$
(3.14)

In what follows, the related Green functions are presented for the three selected support arrangements. The calculations are detailed for FrF beams. As regards FrP, PrP beams, solely the final formulae are given.

3.2 Green function for FrF beams

3.2.1 Calculation of the Green function if \(\xi \in [0,b]\)

\(G_{1I}(x,\xi )\) is given in two parts if \(x\in [0,b]\):

$$\begin{aligned} \begin{aligned} G_{1I}(x,\xi )&=\sum _{m=1}^{4}(a_{mI}(\xi )+b_{mI}(\xi ))w_{m}(x),\qquad x<\xi \\ G_{1I}(x,\xi )&=\sum _{m=1}^{4}(a_{mI}(\xi )-b_{mI}(\xi ))w_{m}(x),\qquad x>\xi \end{aligned} \end{aligned}$$
(3.15)

However, \(G_{2I}(x,\xi )\) is sought in the form

$$\begin{aligned} G_{2I}(x,\xi )=\sum _{m=1}^{4}c_{mI}(\xi )w_{m}(x), \end{aligned}$$
(3.16)

if \(x\in [b,\ell ]\). The coefficients \(a_{mI}(\xi ),b_{mI}(\xi )\) and \(c_{mI}(\xi )\) are unknown functions, \(w_{m}(x)\) is given by (2.8b).

Note that the above representation for \(G_{1I}(x,\xi )\) and \(G_{2I}(x,\xi )\) ensures the fulfillment of Properties 1 and 4 of the definition.

The continuity and discontinuity conditions (3.8) yield

$$\begin{aligned} \sum _{m=1}^{4}b_{mI}(\xi )w_{m}^{(n)}(\xi )=0,\qquad \qquad n=0,1,2 \end{aligned}$$
(3.17a)
$$\begin{aligned} \sum _{m=1}^{4}b_{mI}(\xi )w_{m}^{(3)}(\xi )=-\frac{1}{2}. \end{aligned}$$
(3.17b)

For the FrF beams, equations (3.17a) and (3.17b) assume the form

$$\begin{aligned} \left[ \begin{array} [c]{cccc} 1 &{} \xi &{} \xi ^{2} &{} \xi ^{3}\\ 0 &{} 1 &{} 2\xi &{} 3\xi ^{2}\\ 0 &{} 0 &{} 2 &{} 6\xi \\ 0 &{} 0 &{} 0 &{} 6 \end{array} \right] \left[ \begin{array} [c]{c} b_{1I}\\ b_{2I}\\ b_{3I}\\ b_{4I} \end{array} \right] =\left[ \begin{array} [c]{c} 0\\ 0\\ 0\\ -\frac{1}{2} \end{array} \right] \,. \end{aligned}$$
(3.18)

Hence

$$\begin{aligned} b_{1I}= \frac{\xi ^{3}}{12}, \quad b_{2I}=-\frac{\xi ^{2}}{4}, \quad b_{3I}= \frac{\xi }{4}, \quad b_{4I}= \frac{1}{12}\,. \end{aligned}$$
(3.19)

Remark 5

Note that the determination of \(b_{mI}\) ensures the fulfillment of Property 2 of the Green function. Furthermore, the results obtained for \(b_{mI}\) are independent of the boundary and continuity conditions.

According to Property 5 of the definition, \(G_{1I}(x,\xi )\) and \(G_{2I}(x,\xi )\) should satisfy the boundary and continuity conditions of Table 1. Thus,

  1. (i)

    Boundary conditions at \(x=0\):

    $$\begin{aligned}&a_{1I}w_{1}(0)+a_{2I}w_{2}(0)+a_{3I}w_{3}(0)+a_{4I}w_{4}(0) \nonumber \\&\quad =-b_{1I}w_{1}(0)-b_{2I}w_{2}(0)-b_{3I}w_{3}(0)-b_{4I}w_{4}(0)\,,\qquad \end{aligned}$$
    (3.20a)
    $$\begin{aligned}&a_{1I}w_{1}^{(1)}(0)+a_{2I}w_{2I}^{(1)}(0)+a_{3I}w_{3}^{(1)}(0)+a_{4I} w_{4}^{(1)}(0) \nonumber \\&\quad =-b_{1I}w_{1}^{(1)}(0)-b_{2I}w_{2}^{(1)}(0)-b_{3I}w_{3}^{(1)}(0)-b_{4I} w_{4}^{(1)}(0)\,.\qquad \end{aligned}$$
    (3.20b)
  2. (ii)

    Continuity conditions at \(x=b\):

    $$\begin{aligned}&a_{1I}w_{1}(b)+a_{2I}w_{2}(b)+a_{3I}w_{3}(b)+a_{4I}w_{4}(b) \nonumber \\&\quad =b_{1I}w_{1}(b)+b_{2I}w_{2}(b)+b_{3I}w_{3}(b)+b_{4I}w_{4}(b)\,,\qquad \end{aligned}$$
    (3.20c)
    $$\begin{aligned}&c_{1I}w_{1}(b)+c_{2I}w_{2}(b)+c_{3I}w_{3}(b)+c_{4I}w_{4} (b)=0\,, \end{aligned}$$
    (3.20d)
    $$\begin{aligned}&a_{1I}w_{1}^{(1)}(b)+a_{2I}w_{2I}^{(1)}(b)+a_{3I}w_{3}^{(1)}(b)+a_{4I} w_{4}^{(1)}(b) \nonumber \\&\quad -c_{1I}w_{1}^{(1)}(b)-c_{2I}w_{2}^{(1)}(b)-c_{3I}w_{3}^{(1)}(b)-c_{4I} w_{4}^{(1)}(b) \nonumber \\&\quad =b_{1I}w_{1}^{(1)}(b)+b_{2I}w_{2}^{(1)}(b)+b_{3I}w_{3}^{(1)}(b)+b_{4I} w_{4}^{(1)}(b)\,, \end{aligned}$$
    (3.20e)
    $$\begin{aligned}&a_{1I}w_{1}^{(2)}(b)+a_{2I}w_{2I}^{(2)}(b)+a_{3I}w_{3}^{(2)}(b)+a_{4I} w_{4}^{(2)}(b) \nonumber \\&\quad -c_{1I}w_{1}^{(2)}(b)-c_{2I}w_{2}^{(2)}(b)-c_{3I}w_{3}^{(2)}(b)-c_{4I} w_{4}^{(2)}(b) \nonumber \\&\quad =b_{1I}w_{1}^{(2)}(b)+b_{2I}w_{2}^{(2)}(b)+b_{3I}w_{3}^{(2)}(b)+b_{4I} w_{4}^{(2)}(b)\,. \end{aligned}$$
    (3.20f)
  3. (iii)

    Boundary conditions at \(x=\ell\):

    $$\begin{aligned}&c_{1I}w_{1}(\ell )+c_{2I}w_{2}(\ell )+c_{3I}w_{3}(\ell )+c_{4I}w_{4} (\ell )=0\,, \end{aligned}$$
    (3.20g)
    $$\begin{aligned}&c_{1I}w_{1}^{(1)}(\ell )+c_{2I}w_{2}^{(1)}(\ell )+c_{3I}w_{3}^{(1)}(\ell )+c_{4I}w_{4}^{(1)}(\ell )=0\,. \end{aligned}$$
    (3.20h)

The previous linear equations in identical matrix form are

$$\begin{aligned} \left[ \begin{array} [c]{cccccccc} 1 &{} 0 &{} 0 &{} 0 &{} 0 &{} 0 &{} 0 &{} 0\\ 0 &{} 1 &{} 0 &{} 0 &{} 0 &{} 0 &{} 0 &{} 0\\ 1 &{} b &{} b^{2} &{} b^{3} &{} 0 &{} 0 &{} 0 &{} 0\\ 0 &{} 0 &{} 0 &{} 0 &{} 1 &{} b &{} b^{2} &{} b^{3}\\ 0 &{} 1 &{} 2b &{} 3b^{2} &{} 0 &{} -1 &{} -2b &{} -3b^{2}\\ 0 &{} 0 &{} 2 &{} 6b &{} 0 &{} 0 &{} -2 &{} -6b\\ 0 &{} 0 &{} 0 &{} 0 &{} 1 &{} \ell &{} \ell ^{2} &{} \ell ^{3}\\ 0 &{} 0 &{} 0 &{} 0 &{} 0 &{} 1 &{} 2\ell &{} 3\ell ^{2} \end{array} \right] \left[ \begin{array} [c]{c} a_{1I}\\ a_{2I}\\ a_{3I}\\ a_{4I}\\ c_{1I}\\ c_{2I}\\ c_{3I}\\ c_{4I} \end{array} \right] =\frac{1}{12}\left[ \begin{array} [c]{c} -\xi ^{3}\\ 3\xi ^{2}\\ \xi ^{3}-3\xi ^{2}b+3\xi b^{2}-b^{3}\\ 0\\ -3\xi ^{2}+6\xi b-3b^{2}\\ 6\xi -6b\\ 0\\ 0 \end{array} \right] . \end{aligned}$$
(3.21)

After solving the system, it is found that

$$\begin{aligned} G_{1I} (x,\xi )&= a_{1I}(\xi )\pm b_{1I}(\xi )+\left( a_{2I}(\xi )\pm b_{2I}(\xi )\right) x \nonumber \\&\quad +\left( a_{3I}(\xi )\pm b_{3I}(\xi )\right) x^{2}+ \left( a_{4I}(\xi )\pm b_{4I}(\xi )\right) x^{3} \nonumber \\&\quad =\left( -\frac{1}{12}\xi ^{3}\pm \frac{1}{12}\xi ^{3}\right) +\left( \frac{3\xi ^{2}}{12}\pm \left( -\frac{3\xi ^{2}}{12}\right) \right) x\nonumber \\&\quad +\left( \frac{3\xi }{12\ell b^{2}}\left( -\xi b^{2}+\ell b^{2}+\xi ^{2}b-3b\ell \xi +\ell \xi ^{2}\right) \pm \frac{3\xi }{12}\right) x^{2} \nonumber \\&\quad +\left( -\frac{1}{12\ell b^{3}}\left( 3b\xi ^{3}-3b^{2}\xi ^{2}-3\ell \xi ^{2}b+\ell \xi ^{3}+\ell b^{3}\right) \pm \frac{-1}{12}\right) x^{3}\,. \end{aligned}$$
(3.22a)

As regards \(G_{2I}(x,\xi )\) the result is

$$\begin{aligned}&G_{2I}(x,\xi )=c_{1I}(\xi )+c_{2I}(\xi )x+c_{3I}x^{2}+c_{4I}x^{3} \nonumber \\&\quad =\frac{1}{4\ell b\left( \ell -b\right) }\xi ^{2}\left( \ell -x\right) ^{2}\left( x-b\right) \left( \xi -b\right) \,. \end{aligned}$$
(3.22b)

Remark 6

Assume that \(b=\ell\). Then

$$\begin{aligned}&\left. G_{1I}(x,\xi )\right| _{b=\ell }=\left( -\frac{1}{12}\xi ^{3} \pm \frac{1}{12}\xi ^{3}\right) +\left( \frac{3\xi ^{2}}{12}\pm \left( -\frac{3\xi ^{2}}{12}\right) \right) x\nonumber \\&\quad +\left( \frac{1}{4\ell ^{2}}\left( 2\xi ^{3}-4\xi ^{2}\ell +\xi \ell ^{2}\right) \pm \frac{3\xi }{12}\right) x^{2}+\left( -\frac{1}{12\ell ^{3}}\left( 4\xi ^{3}-6\xi ^{2}\ell +\ell ^{3}\right) \pm \frac{-1}{12}\right) x^{3} \end{aligned}$$
(3.23)

which is the Green function for fixed-fixed beams—see Table 8.1 in [33].

3.2.2 Calculation of the Green function if \(\xi \in [b,\ell ]\).

If \(x\in [b,\ell ]\) then

$$\begin{aligned} \begin{aligned} G_{2II}(x,\xi )&=\sum _{m=1}^{4}(a_{mII}(\xi )+b_{mII}(\xi ))w_{m}(x), \qquad x<\xi \\ G_{2II}(x,\xi )&=\sum _{m=1}^{4}(a_{mII}(\xi )-b_{mII}(\xi ))w_{m}(x), \qquad x>\xi \end{aligned} \end{aligned}$$
(3.24)

however, if \(x\in [0,b]\) then

$$\begin{aligned} G_{1II}(x,\xi )=\sum _{m=1}^{4}c_{mII}(\xi )w_{m}(x), \end{aligned}$$
(3.25)

where the coefficients \(a_{mII}(\xi ),b_{mII}(\xi )\) and \(c_{mII}(\xi )\) are again unknown functions. Continuity and discontinuity conditions (3.12) lead again to equation system (3.18) in which now the coefficients \(b_{mII}(\xi )\), \(m=1,2,3,4\) are the unknowns. Consequently \(b_{mII}(\xi )=b_{mI}(\xi )\). Utilizing again the boundary and continuity conditions given in Table 1, equations can be obtained for the eight remaining unknown coefficients \(a_{mII}(\xi )\) and \(c_{mII}(\xi )\).

  1. (i)

    Boundary conditions at \(x=0\):

    $$\begin{aligned}&c_{1II}w_{1}(0)+c_{2II}w_{2}(0)+c_{3II}w_{3}(0)+c_{4II}w_{4}(0)=0\,. \end{aligned}$$
    (3.26a)
    $$\begin{aligned}&c_{1II}w_{1}^{(1)}(0)+c_{2II}w_{2}^{(1)}(0)+c_{3II}w_{3}^{(1)}(0)+c_{4II} w_{4}^{(1)}(0)=0\,. \end{aligned}$$
    (3.26b)
  2. (ii)

    Continuity conditions at \(x=b\):

    $$\begin{aligned}&c_{1II}w_{1}(b)+c_{2II}w_{2}(b)+c_{3II}w_{3}(b)+c_{4II}w_{4}(b)=0\,, \end{aligned}$$
    (3.26c)
    $$\begin{aligned}&a_{1II}w_{1}(b)+a_{2II}w_{2}(b)+a_{3II}w_{3}(b)+a_{4II}w_{4} (b) \nonumber \\&\quad =-b_{1II}w_{1}(b)-b_{2II}w_{2}(b)-b_{3II}w_{3}(b)-b_{4II}w_{4}(b),\qquad \end{aligned}$$
    (3.26d)
    $$\begin{aligned}&a_{1II}w_{1}^{(1)}(b)+a_{2II}w_{2I}^{(1)}(b)+a_{3II}w_{3}^{(1)}(b)+a_{4II} w_{4}^{(1)}(b) \nonumber \\&\quad -c_{1II}w_{1}^{(1)}(b)-c_{2II}w_{2}^{(1)}(b)-c_{3II}w_{3}^{(1)}(b)-c_{4II} w_{4}^{(1)}(b)\nonumber \\&\quad =-b_{1II}w_{1}^{(1)}(b)-b_{2II}w_{2}^{(1)}(b)-b_{3II}w_{3}^{(1)} (b)-b_{4II}w_{4}^{(1)}(b)\,, \end{aligned}$$
    (3.26e)
    $$\begin{aligned}&a_{1II}w_{1}^{(2)}(b)+a_{2II}w_{2I}^{(2)}(b)+a_{3II}w_{3}^{(2)}(b)+a_{4II} w_{4}^{(2)}(b) \nonumber \\&\quad -c_{1II}w_{1}^{(2)}(b)-c_{2II}w_{2}^{(2)}(b)-c_{3II}w_{3}^{(2)}(b)-c_{4II} w_{4}^{(2)}(b)) \nonumber \\&\quad =-b_{1II}w_{1}^{(2)}(b)-b_{2II}w_{2}^{(2)}(b)-b_{3II}w_{3}^{(2)} (b)-b_{4II}w_{4}^{(2)}(b)\,. \end{aligned}$$
    (3.26f)
  3. (iii)

    Boundary conditions at \(x=\ell\):

    $$\begin{aligned}&a_{1II}w_{1}(\ell )+a_{2II}w_{2}(\ell )+a_{3II}w_{3}(\ell )+a_{4II}w_{4} (\ell ) \nonumber \\&\quad -b_{1II}w_{1}(\ell )-b_{2II}w_{2}(\ell )-b_{3II}w_{3}(\ell )-b_{4II}w_{4} (\ell )=0\,, \end{aligned}$$
    (3.26g)
    $$\begin{aligned}&a_{1II}w_{1}^{(1)}(\ell )+a_{2II}w_{2}^{(1)}(\ell )+a_{3II}w_{3}^{(1)} (\ell )+a_{4II}w_{4}^{(1)}(\ell ) \nonumber \\&\quad -b_{1II}w_{1}^{(1)}(\ell )-b_{2II}w_{2}^{(1)}(\ell )-b_{3II}w_{3}^{(1)} (\ell )-b_{4II}w_{4}^{(1)}(\ell )=0\,.\qquad \end{aligned}$$
    (3.26h)

Since \(c_{1II}=c_{2II}=0\), the final equation system has the following form:

$$\begin{aligned} \left[ \begin{array} [c]{cccccc} 0 &{} 0 &{} 0 &{} 0 &{} b^{2} &{} b^{3}\\ 1 &{} b &{} b^{2} &{} b^{3} &{} 0 &{} 0\\ 0 &{} 1 &{} 2b &{} 3b^{2} &{} -2b &{} -3b^{2}\\ 0 &{} 0 &{} 2 &{} 6b &{} -2 &{} -6b\\ 1 &{} \ell &{} \ell ^{2} &{} \ell ^{3} &{} 0 &{} 0\\ 0 &{} 1 &{} 2\ell &{} 3\ell ^{2} &{} 0 &{} 0 \end{array} \right] \left[ \begin{array} [c]{c} a_{1II}\\ a_{2II}\\ a_{3II}\\ a_{4II}\\ c_{3II}\\ c_{4II} \end{array} \right] =\frac{1}{12}\left[ \begin{array} [c]{c} 0\\ -\xi ^{3}+3b\xi ^{2}-3b^{2}\xi +b^{3}\\ 3\xi ^{2}-6b\xi +3b^{2}\\ -6\xi +6b\\ \xi ^{3}-3\xi ^{2}\ell +3\xi \ell ^{2}-\ell ^{3}\\ -3\xi ^{2}+6\xi \ell -3\ell ^{2} \end{array} \right] \,. \end{aligned}$$
(3.27)

After solving the above equation system, the results for \(G_{1II}(x,\xi )\) and \(G_{2II}(x,\xi )\) are

$$\begin{aligned}&G_{1II}(x,\xi )=c_{3II}(\xi )x^{2}+c_{4II}(\xi )x^{3} \nonumber \\&\quad =\frac{1}{4\ell b\left( \ell -b\right) } x^{2} \left( \ell -\xi \right) ^{2}\left( \xi -b\right) \left( x- b\right) \end{aligned}$$
(3.28a)

and

$$\begin{aligned}&G {}_{2II}(x,\xi ) \nonumber \\&\quad =a_{1I}(\xi )\!\pm \!b_{1I}(\xi )\!+\!\left( a_{2I}(\xi )\!\pm \!b_{2I}(\xi )\right) x\!+\!\left( a_{3I}(\xi )\!\pm \!b_{3I}(\xi )\right) x^{2}\!+\!\left( a_{4I}(\xi )\!\pm \!b_{4I}(\xi )\right) x^{3} \nonumber \\&\quad =-\frac{1}{\mathcal {D}_{1}}\left( -3\ell b^{3}\xi ^{2}+b^{3}\ell ^{3}+b^{3}\xi ^{3}-3\ell ^{3}b^{2}\xi +6b^{2}\xi ^{2}\ell ^{2}-3\ell ^{2}b\xi ^{3}+\ell ^{3}\xi ^{3}\right) \pm \frac{\xi ^{3}}{12} \nonumber \\&\quad +\left( \frac{3}{\mathcal {D}_{1}}(-b^{3}\xi ^{2}+\ell ^{3}b^{2}+2b^{2}\xi ^{3}-3\ell b\xi ^{3}-3b\xi \ell ^{3}+3\xi ^{2}\ell ^{2}b+\xi ^{2}\ell ^{3})\pm \frac{-3\xi ^{2}}{12}\right) x \nonumber \\&\quad +\!\left( -\frac{3}{\mathcal {D}_{1}\ell } \left( b^{3}\xi \ell \!-\!b^{3}\xi ^{2}\!-\!\ell ^{2}b^{3}\!+\! 2\ell ^{3}b^{2}\!+\!b^{2}\xi ^{3}\!-\!3b\xi \ell ^{3}\!+\! 4\xi ^{2}\ell ^{3}\!-\!\xi \ell ^{4}\!-\!2\ell ^{2}\xi ^{3}\right) \pm \frac{3\xi }{12} \right) x^{2} \nonumber \\&\quad +\left( \frac{1}{\mathcal {D}_{1}\ell }\left( 3b\xi ^{3}-3b^{2}\xi ^{2}-9b\xi \ell ^{2}-4\ell \xi ^{3}+6\xi ^{2}\ell ^{2}-\ell b^{3}+6b^{2}\xi \ell -\ell ^{4}+3b\ell ^{3}\right) \pm \frac{-1}{12}\right) x^{3}, \end{aligned}$$
(3.28b)

where

$$\begin{aligned} \mathcal {D}_{1}=12\left( \ell -b\right) ^{3}. \end{aligned}$$
(3.29)

It is emphasised that the definition for the Green function of three-point boundary value problems is a constructive one since the calculations are based on those five properties which constitute the definition.

According to Remark 2, the boundary value problem is self-adjoint. Consequently, the Green function, given by equations (3.5), (3.22) and (3.28), should satisfy symmetry condition (3.14). It can be proven by time consuming paper and pencil calculations that this condition is indeed fulfilled.

Remark 7

Assume that \(b=0\). Then \(G_{2II}(x,\xi )\vert _{b=0}=G_{1I}(x,\xi )\vert _{b=\ell }\) which is the Green function of fixed-fixed beams [33].

Remark 8

The Green function given by equations (3.5), (3.22) and (3.28) is a dimensionless quantity. However, if \(\hat{b}\), L, \(\hat{x}\) and \(\hat{\xi }\) are written for b, \(\ell\), x and \(\xi\) in formulae (3.22) and (3.28), the Green function is obtained for the case when a selected length unit is used. Then the unit of the Green function is the cube of the length unit selected. This conclusion remains valid for the Green functions presented in the forthcoming.

Fig. 2
figure 2

Graphical representation of the Green function for FrF

For the sake of showing the Green function, Fig. 2 depicts its graph if \(L=100\) mm, \(\hat{b}=50\) mm and \(\hat{\xi }=75\) mm. The computed points are given by red diamonds, the function itself is drawn by a continuous line. This notational convention will be applied to the other figures as well.

3.3 FrP beams

Repeating the calculation steps detailed in Subsect. 3.2 for FrP beams, the four corresponding elements for the Green function are

$$\begin{aligned} G_{1I}(x,\xi )&= \left( -\frac{1}{12}\xi ^{3}\pm \frac{1}{12}\xi ^{3}\right) +\left( \frac{3\xi ^{2}}{12}\pm \left( -\frac{3\xi ^{2}}{12}\right) \right) x \nonumber \\&\quad + \left( -\frac{3}{12}\xi \frac{-b^{3}+4\ell b^{2}-12b\ell \xi +2\xi ^{2}b+4\ell \xi ^{2} }{b^{2}\left( b-4\ell \right) }\pm \frac{3\xi }{12}\right) x^{2} \nonumber \\&\quad + \left( \frac{1}{12}\frac{-b^{4}+4\ell b^{3}-6\xi ^{2}b^{2}+8b\xi ^{3} -12b\ell \xi ^{2}+4\xi ^{3}\ell }{b^{3}\left( b-4\ell \right) }\pm \frac{-1}{12}\right) x^{3}, \end{aligned}$$
(3.30a)
$$\begin{aligned}&G_{2I}(x,\xi )=\frac{\xi ^{2}}{2b\left( 4\ell -b\right) \left( \ell -b\right) }\left( \ell -x\right) \left( b-x\right) \left( b-2\ell +x\right) \left( \xi -b\right) \end{aligned}$$
(3.30b)

and

$$\begin{aligned}&G_{1II}(x,\xi )=\frac{x^{2}}{2b\left( 4\ell -b\right) \left( \ell -b\right) }\left( \ell -\xi \right) \left( b-x\right) \left( b-2\ell +\xi \right) \left( \xi -b\right) \,, \end{aligned}$$
(3.31a)
$$\begin{aligned}&G_{2II} (x,\xi ) \nonumber \\&\quad = \frac{-1}{\mathcal {D}_{2}}\left( 4\ell ^{3}\xi ^{3}+4\ell ^{3}b^{3}-6\xi ^{2}\ell b^{3}+18\xi ^{2}\ell ^{2}b^{2}-9b\ell ^{2}\xi ^{3}-12\ell ^{3}b^{2}\xi +\xi ^{3} b^{3}\right) \pm \frac{\xi ^{3}}{12} \nonumber \\&\quad +\left( \frac{3}{\mathcal {D}_{2}}\left( -6b\ell \xi ^{3}+9b\xi ^{2}\ell ^{2}-12b\xi \ell ^{3}+4b^{2}\ell ^{3}+2b^{2}\xi ^{3}-\xi ^{2}b^{3}+4\xi ^{2}\ell ^{3}\right) \pm \frac{-3\xi ^{2}}{12}\right) x \nonumber \\&\quad +\left( \frac{3}{\mathcal {D}_{2}}\left( 9\ell ^{2}b\xi +4\ell \xi ^{3}+2\ell b^{3}-12\xi ^{2}\ell ^{2}-b^{3}\xi +4\xi \ell ^{3}-6b^{2}\ell ^{2}\right) \pm \frac{3\xi }{12}\right) x^{2} \nonumber \\&\quad +\left( -\frac{1}{\mathcal {D}_{2}}\left( 18\ell b\xi +4\xi ^{3}-6b^{2}\xi +b^{3}-12\xi ^{2}\ell -9b\ell ^{2}+4\ell ^{3}\right) \pm \frac{-1}{12}\right) x^{3}, \end{aligned}$$
(3.31b)

where

$$\begin{aligned} \mathcal {D}_{2}=12\left( 4\ell -b\right) \left( \ell -b\right) ^{2}. \end{aligned}$$
(3.32)

The Green function given by Eqs. (3.5), (3.30) and (3.31) for FrP beams satisfies symmetry condition (3.14). Its graph is shown in Fig. 3 if \(L=100\) mm, \(\hat{b}=50\) mm and \(\hat{\xi }=75\) mm.

Fig. 3
figure 3

The Green function for FrP conditions

Remark 9

Substitute \(\ell\) for b in (3.30a). We obtain

$$\begin{aligned}&\left. G_{1I}(x,\xi )\right| _{b=\ell }=\left( -\frac{1}{12}\xi ^{3} \pm \frac{1}{12}\xi ^{3}\right) +\left( \frac{1}{4}\frac{\xi }{\ell }\left( \ell ^{2}+\xi ^{2}-\ell \xi \right) \pm \frac{-3\xi ^{2}}{12}\right) x\nonumber \\&\quad +\left( -\frac{3\xi }{12}\pm \frac{3\xi }{12}\right) x^{2}+\left( -\frac{1}{12\ell ^{3}}\left( \ell ^{3}+\xi ^{3}-3\ell ^{2}\xi \right) \pm \frac{-1}{12}\right) x^{3} \end{aligned}$$
(3.33)

which is the Green function for pinned-fixed beams. For \(\left. G_{2II}(x,\xi )\right| _{b=0}\) we get

$$\begin{aligned}&\left. G_{2II}(x,\xi )\right| _{b=0} =-\frac{\xi ^{3}}{12}\pm \frac{\xi ^{3}}{12}+\left( \frac{3\xi ^{2}}{12}\pm \frac{-3\xi ^{2}}{12}\right) x\nonumber \\&\quad +\left( \frac{1}{4}\frac{\xi }{\ell ^{2}}\left( \xi ^{2}-3\xi \ell +\ell ^{2}\right) \pm \frac{3\xi }{12}\right) x^{2}+\left( -\frac{1}{12}\frac{\xi ^{3}-3\xi ^{2}\ell +\ell ^{3}}{\ell ^{3}}\pm \frac{-1}{12}\right) x^{3} \end{aligned}$$
(3.34)

which is the Green function for fixed-pinned beams [33].

3.4 PrP beams

The equations that constitute the Green function for PrP beams are taken from [36]:

$$\begin{aligned}&G_{1I}(x,\xi ) = \left( -\frac{1}{12}\xi ^{3}\pm \frac{1}{12}\xi ^{3}\right) \nonumber \\&\quad +\left( \frac{1}{12b}\frac{\xi }{\ell }\left( -b^{3}+4\ell b^{2}+b\xi ^{2}-3\ell b\xi +2\ell \xi ^{2}\right) \pm \frac{-3\xi ^{2}}{12}\right) x\nonumber \\&\quad +\left( -\frac{3\xi }{12}\pm \frac{3\xi }{12}\right) x^{2}+\left( -\frac{1}{12b^{2}\ell }\left( -b^{2}\xi +\ell b^{2}-2\ell b\xi +\xi ^{3}\right) \pm \frac{-1}{12}\right) x^{3}, \end{aligned}$$
$$\begin{aligned}&G_{2I}(x,\xi )=\frac{1}{12b\ell \left( \ell -b\right) }\xi \left( x-\ell \right) \left( b-x\right) \left( b+x-2\ell \right) \left( b^{2}-\xi ^{2}\right) \end{aligned}$$
(3.35a)

and

$$\begin{aligned}&G_{1II}(x,\xi )=\frac{1}{12b\ell \left( \ell -b\right) }x\left( \xi -\ell \right) \left( b-\xi \right) \left( b+\xi -2\ell \right) \left( b^{2}-x^{2}\right) \,, \end{aligned}$$
(3.36a)
$$\begin{aligned}&G_{2II}(x,\xi ) \nonumber \\&\quad =-\frac{1}{\mathcal {D}_{3}}\left( -b^{4}\xi +b^{4}\ell +3b^{2}\xi ^{2} \ell -2b^{2}\xi \ell ^{2}-2b\xi ^{3}\ell +\xi ^{3}\ell ^{2}\right) \pm \frac{\xi ^{3} }{12}\nonumber \\&\quad + \left( \frac{1}{\mathcal {D}_{3}}\left( -b^{4}\xi \!+\!b^{4}\ell \!+\!b^{2}\xi ^{3}\!+\! 2b^{2}\ell ^{3}\!-\!4b\xi ^{3}\ell \!+\!6b\xi ^{2}\ell ^{2}\!-\! 8b\xi \ell ^{3}\!+\!3\xi ^{2}\ell ^{3}\right) \!\pm \!\frac{-3\xi ^{2}}{12}\right) x\nonumber \\&\quad +\left( \frac{3\ell }{\mathcal {D}_{3}}\left( -b^{2}\ell +2b\xi \ell +\xi ^{3}-3\xi ^{2}\ell +\xi \ell ^{2}\right) \pm \frac{3\xi }{12}\right) x^{2}\nonumber \\&\quad +\left( -\frac{1}{\mathcal {D}_{3}}\left( -b^{2}\xi +4b\xi \ell -2b\ell ^{2}+\xi ^{3}-3\xi ^{2}\ell +\ell ^{3}\right) \pm \frac{-1}{12}\right) x^{3}, \end{aligned}$$
(3.36b)

where

$$\begin{aligned} \mathcal {D}_{3}=12\ell \left( \ell -b\right) ^{2}. \end{aligned}$$
(3.37)

The Green function (3.5), (3.35) and (3.36) valid for pinned-pinned-pinned beams also satisfies symmetry condition (3.14).

Figure 4 shows the Green function if \(L=100\) mm, \(\hat{b}=50\) mm and \(\hat{\xi }=75\) mm.

Fig. 4
figure 4

The Green function for PrP beams

Remark 10

Substituting \(\ell\) for b in (3.36a) reults in (3.33) which is the Green function for pinned-fixed beams. Setting b to 0 in (3.36b) yields (3.34) which is the Green function for fixed-pinned beams.

4 Stability problem of beams with three supports

4.1 Solution procedures

There are multiple ways to find the critical load. One can solve the eigenvalue problem determined by the homogeneous Fredholm integral equation (2.11) numerically by applying the boundary element technique or one can set up the characteristic equations—these are nonlinear equations for the unknown critical load—which can also be solved numerically. The use of the boundary element technique is preferred primarily hereinafter and the characteristic equation will serve as a possibility to check the results. As regards the boundary element technique, the solution steps are detailed in book [33]—the reader is referred to Subsection 8.15.2. It is noted that the interval [0, 1] was divided into 40 elements and the resulted algebraic eigenvalue problem was solved by using subroutine DGVLRG of the International Mathematical Science Library [44].

The kernel in Eq. (2.11) assumes the following form

$$\begin{aligned} \mathcal {K}(x,\xi )=\left\{ \begin{array} [c]{ll} \mathcal {K}_{1I}(x,\xi ) &{} \text {if}\;\;x,\xi \in [0,b ],\\ \mathcal {K}_{2I}(x,\xi ) &{} \text {if}\;\;x\in [b,\ell ]\text { and }\xi \in [0,b ],\\ \mathcal {K}_{1II}(x,\xi ) &{} \text {if}\;\;x\in [0,b]\text { and }\xi \in [b,\ell ],\\ \mathcal {K}_{2II}(x,\xi ) &{} \text {if}\;\;x,\xi \in [b,\ell ], \end{array} \right. \end{aligned}$$
(4.1a)

where

$$\begin{aligned} \begin{aligned} \mathcal {K}_{1I}(x,\xi )&=\frac{\partial ^{2}G_{1I}(x,\xi )}{\partial x\,\partial \xi },\quad&\mathcal {K}_{2I}(x,\xi )&=\frac{\partial ^{2}G_{2I}(x,\xi )}{\partial x\,\partial \xi }, \\ \mathcal {K}_{1II}(x,\xi )&=\frac{\partial ^{2}G_{1II}(x,\xi )}{\partial x\,\partial \xi },\quad&\mathcal {K}_{2II}(x,\xi )&=\frac{\partial ^{2}G_{2II}(x,\xi )}{\partial x\,\partial \xi }. \end{aligned} \end{aligned}$$
(4.1b)

Accordingly, determination of the kernel \(\mathcal {K }(x,\xi )\) requires the calculation of second derivatives.

4.2 Computational results for FrF beams

To calculate the elements of the kernel function, Eqs. (3.22), (3.28) are recalled, and thus, it is found that

$$\begin{aligned}&\mathcal {K}_{1I}(x,\xi )=\frac{\partial ^{2}G_{1I}(x,\xi )}{\partial x\,\partial \xi } \nonumber \\&\quad =\frac{\xi }{2}\pm \frac{\xi }{2}+\left( \frac{1}{2b^{2}\ell }\left( -2b^{2} \xi +\ell b^{2}+3b\xi ^{2}-6\ell b\xi +3\ell \xi ^{2}\right) \pm \frac{1}{2}\right) x\nonumber \\&\quad +\frac{1}{4b^{3}\ell }\left( 6b^{2}\xi -9b\xi ^{2}+6\ell b\xi -3\ell \xi ^{2}\right) x^{2}, \end{aligned}$$
(4.2a)
$$\begin{aligned}&\mathcal {K}_{2I}(x,\xi )=\frac{\partial ^{2}G_{2I}(x,\xi )}{\partial x\,\partial \xi }=-\frac{1}{4b}\frac{\xi }{\ell \left( \ell -b\right) }\left( 2b-3\xi \right) \left( \ell -x\right) \left( 2b-3x+\ell \right) \end{aligned}$$
(4.2b)
$$\begin{aligned}&\mathcal {K}_{1II}(x,\xi )=\frac{\partial ^{2}G_{1II}(x,\xi )}{\partial x\,\partial \xi }=-\frac{1}{4b}\frac{x}{\ell \left( \ell -b\right) }\left( 2b-3x\right) \left( \ell -\xi \right) \left( 2b-3\xi +\ell \right) \,, \nonumber \\&\mathcal {K}_{2II}(x,\xi ) =\frac{\partial ^{2}G_{2II}(x,\xi )}{\partial x\,\partial \xi } \nonumber \\&\quad =\frac{1}{4\left( \ell -b\right) ^{3}}\left( -2b^{3} \xi +6b^{2}\xi ^{2}-9b\xi ^{2}\ell +6b\xi \ell ^{2}-3b\ell ^{3}+2\xi \ell ^{3}\right) \pm \left( -\frac{\xi }{2}\right) \nonumber \\&\quad +\frac{1}{2\ell \left( \ell -b\right) ^{3}}\left( 2b^{3}\xi -b^{3} \ell -3b^{2}\xi ^{2}+3b\ell ^{3}+6\xi ^{2}\ell ^{2}-8\xi \ell ^{3}+\ell ^{4}\right) x \pm \frac{1}{2}x\nonumber \\&\quad +\frac{3}{4\ell \left( \ell -b\right) ^{3}}\left( \ell -\xi \right) \left( 4\xi \ell -3b\ell -3b\xi +2b^{2}\right) x^{2}\,. \end{aligned}$$
(4.2c)

The kernel function given by (4.1) and (4.2) fulfills the symmetry condition

$$\begin{aligned} \mathcal {K}(x,\xi )=\mathcal {K}(\xi ,x)\,. \end{aligned}$$
(4.3)

Figure 5 shows the kernel function \(\mathcal {K}(\hat{x},\hat{\xi })\) assuming that \(L=100\) mm, \(\hat{b}=50\) mm and \(\hat{\xi }=75\) mm.

Fig. 5
figure 5

The plot of the kernel function \(\mathcal {K}\)

Based on the above, Table 2 is a summary of the computed results. The first column contains the dimensionless parameter b which identifies the location of the middle roller support. For symmetry reasons it is sufficient to consider its value in the interval [0, 0.5].

The second column contains the critical value for the dimensionless compressive force, more precisely, the quantity \(\sqrt{\mathcal {N}_{\text {crit} }\,}/\pi\) against the discrete values of b.

A polynomial of degree five was fitted onto the point pairs taken from the first two columns that is

$$\begin{aligned}&\sqrt{\mathcal {N}(x)\,}/\pi =-34.584\,863\,786\,2x^{5} +23.\,541\,707\,674\,9x^{4}-5.\,871\,904\,397\,86x^{3}\nonumber \\&\quad +1.877\,289\,692\,9x^{2}+1.\,468\,021\,408\,69x+2.\,000\,266\,921\,3\,. \end{aligned}$$
(4.4)

The third column contains the approximations computed using polynomial \(\sqrt{\mathcal {N}(x)\,}/\pi\). Note that the numbers in columns two and three are the same with the accuracy of four to five digits.

Table 2 Critical dimensionless loads for FrF beams

Figure 6 represents the computational results. The discrete points are depicted by diamonds, while the polynomial itself is drawn by a continuous line.

Note that for \(b=0\) the beam behaves as if it were a fixed-fixed beam for which \(\sqrt{\mathcal {N}(x)\,}/\pi =2.00\) is the exact value. It is obvious that the critical force reaches its maximum if \(b=0.5\).

Fig. 6
figure 6

Graphical results for the critical load for FrF beams

Remark 11

It is shown in the Appendix—see Eq. (A.6)—that the characteristic equation for the critical load is

$$\begin{aligned}&2p\left( \sin p\left( b-1\right) +\sin p-\sin bp\right) -\frac{ p^{2}}{2} \left( \cos \left( p-2bp\right) -4\cos p\left( b-1\right) +3\cos p\right) \\&\quad -2bp^{2}\left( \cos p\left( b-1\right) -\cos bp\right) +bp^{3}\left( b-1\right) \sin p=0\,,\qquad p=\sqrt{\mathcal {N}_{\text {crit}} \,}. \end{aligned}$$

This non-linear equation was also solved numerically for \(\sqrt{\mathcal {N}_{\text {crit}}}/\pi =p/\pi\). The solutions obtained are the same with six-digit accuracy as those computed by solving the algebraic eigenvalue problem the Fredholm integral equation (2.17) is reduced to.

4.3 Computational results for FrP beams

To find the kernel, this time, Eqs. (3.30), (3.31) are recalled. With these, it is written that

$$\begin{aligned}&\mathcal {K}_{2I}(x,\xi ) =\frac{\partial ^{2}G_{1I}(x,\xi )}{\partial x\,\partial \xi } \nonumber \\&\quad = \frac{\xi }{2}\pm \frac{\xi }{2}+\left( \frac{1}{ 2b^{2}\left( 4\ell -b\right) }\left( -b^{3}+4\ell b^{2}+6b\xi ^{2}-24\ell b\xi +12\ell \xi ^{2}\right) \pm \frac{1}{2}\right) x\nonumber \\&\quad +\frac{1}{4b^{3}\left( 4\ell -b\right) }\left( 12b^{2}\xi -24b\xi ^{2}+24\ell b\xi -12\ell \xi ^{2}\right) x^{2}, \end{aligned}$$
(4.5a)
$$\begin{aligned}&\mathcal {K}_{2I}(x,\xi )=\frac{\partial ^{2}G_{2I}(x,\xi )}{\partial x\,\partial \xi }=\frac{1}{2b}\xi \frac{3\xi -2b}{\left( 4\ell -b\right) \left( \ell -b\right) }\left( -b^{2}+2b\ell +3x^{2}-6x\ell +2\ell ^{2}\right) , \end{aligned}$$
(4.5b)
$$\begin{aligned}&\mathcal {K}_{1II}(x,\xi )=\frac{\partial ^{2}G_{1II}(x,\xi )}{\partial x\,\partial \xi }=\frac{1}{2b}x\frac{3x-2b}{\left( 4\ell -b\right) \left( \ell -b\right) }\left( -b^{2}+2b\ell +3\xi ^{2}-6\xi \ell +2\ell ^{2}\right) \end{aligned}$$
(4.5c)
$$\begin{aligned}&\mathcal {K}_{2II}(x,\xi ) =\frac{\partial ^{2}G_{2II}(x,\xi )}{\partial x\,\partial \xi } \nonumber \\&\quad = \frac{3}{\mathcal {D}_{2}}\left( -2b^{3}\xi +6b^{2}\xi ^{2}-18b\xi ^{2} \ell +18b\xi \ell ^{2}-12b\ell ^{3}+8\xi \ell ^{3}\right) \pm \left( -\frac{1}{2}\xi \right) \nonumber \\&\qquad +\frac{6}{\mathcal {D}_{2}}\left( -b^{3}+9b\ell ^{2}+12\xi ^{2}\ell -24\xi \ell ^{2}+4\ell ^{3}\right) x\pm \frac{1}{2}x\nonumber \\&\qquad +\frac{3}{\mathcal {D}_{2}}\left( 6b^{2}-18\ell b-12\xi ^{2}+24\ell \xi \right) x^{2}, \end{aligned}$$
(4.5d)

With the kernel in hand, the second and fourth columns in Table 3 contain the values of \(\sqrt{\mathcal {N}_{\text {crit} }\,}/\pi\) as a function of b. Figure 7 represents the computational results. The optimum location for the middle roller support is at \(b\approx 0.635\). The fitting polynomials are given by

$$\begin{aligned}&\sqrt{\mathcal {N}(x)\,}/\pi =-12.160\,778\,587\,9x^{5} +11.647\,140\,173\,6x^{4}-3.044\,332\,634\,71x^{3}\nonumber \\&\quad +1.422\,673\,563\,64x^{2}+1.045\,278\,984\,75x+1.430\,573\,698\,89\qquad b=x\in [0,0.5] \end{aligned}$$
(4.6a)
$$\begin{aligned}&\sqrt{\mathcal {N}(x)\,}/\pi =-94.213\,836\,7676x^{5}+ 347.493\,469\,784x^{4}-493.353\,905\,084x^{3}\nonumber \\&\quad +331.309\,206\,445x^{2}-103.157\,313\,801x+13.918\,751\,036\,8\qquad b=x\in [0.5,1.0] \end{aligned}$$
(4.6b)
Table 3 Numerical results for the critical load when the beam is FrP

If \(b=0\), the beam behaves as if it were fixed-pinned for which \(\sqrt{\mathcal {N}(x)\,}/\pi =1.4303\) is the exact value. However, for \(b=1.0\) the beam behaves as fixed-fixed beam. Then \(\sqrt{\mathcal {N}(x)\,}/\pi =2.000\). Columns 3 and 6 in Table 3 contain the values of the polynomials (4.6). The critical force reaches its maximum if \(b=0.65\).

Fig. 7
figure 7

Critical load in terms of the middle support position for FrP beams

Remark 12

The characteristic equation for FrP beams is given by Eq. (A.7) in the Appendix:

$$\begin{aligned}&bp^{2}\left( 1-b\right) \cos p-p\left( 1-b\right) \sin p+2p\left( 1-b\right) \sin p\left( 1-b\right) \\&\quad -p\left( \cos pb\right) \sin p(1-b)-\cos p+\left( \cos bp\right) \cos p(1-b)=0\,,\qquad p=\sqrt{\mathcal {N}_{\text {crit}} \,}. \end{aligned}$$

Its numerical solutions for \(\sqrt{\mathcal {N}(x)\,} /\pi =p/\pi\) are the same with six digits accuracy as those computed by solving the corresponding algebraic eigenvalue problem that belongs to the Fredholm integral equation (2.17).

4.4 Computational results for PrP beams

Based on Eqs. (3.35), (3.36), the following relations are found:

$$\begin{aligned}&\mathcal {K}_{1I}(x,\xi )=\frac{\partial ^{2}G_{1I}(x,\xi )}{\partial x\,\partial \xi }=\frac{1}{12b\ell }\left( -b^{3}+4\ell b^{2}+3b\xi ^{2}-6\ell b\xi +6\ell \xi ^{2}\right) \pm \left( \frac{-6\xi }{12}\right) \nonumber \\&\quad +\left( -\frac{6}{12}\pm \frac{6}{12}\right) x+\frac{1}{4b^{2}\ell }\left( b^{2}+2\ell b-3\xi ^{2}\right) x^{2}, \end{aligned}$$
(4.7a)
$$\begin{aligned}&\mathcal {K}_{2I}(x,\xi )\!=\!\frac{\partial ^{2}G_{2I}(x,\xi )}{\partial x\,\partial \xi }\!=\! \frac{1}{12b\ell \left( \ell \!-\!b\right) } \left( 3\xi ^{2}\!-\!b^{2}\right) \left( 2b\ell \!+\!3x^{2}\!-\!6x\ell \!+\!2\ell ^{2}\!-\!b^{2}\right) , \end{aligned}$$
(4.7b)
$$\begin{aligned}&\mathcal {K}_{1II}(x,\xi )\!=\!\frac{\partial ^{2}G_{1II}(x,\xi )}{\partial x\,\partial \xi }\!=\! \frac{1}{12b\ell \left( \ell \!-\!b\right) } \left( 3x^{2}\!-\!b^{2}\right) \left( 2b\ell \!+3\xi ^{2}\!-\!6\xi \ell \!+\!2\ell ^{2}\!-\!b^{2}\right) , \end{aligned}$$
(4.7c)
$$\begin{aligned}&\mathcal {K}_{2II}(x,\xi )=\frac{\partial ^{2}G_{2II}(x,\xi )}{\partial x\,\partial \xi } \nonumber \\&\quad =-\frac{1}{12\ell \left( \ell -b\right) ^{2}}\left( b^{4}-3b^{2}\xi ^{2}+12b\xi ^{2}\ell -12b\xi \ell ^{2}+8b\ell ^{3}-6\xi \ell ^{3}\right) \pm \left( \frac{-6\xi }{12}\right) \nonumber \\&\quad +\frac{1}{2\left( \ell -b\right) ^{2}}\left( 3\xi ^{2}-6\xi \ell +\ell ^{2}+2b\ell \right) x\pm \frac{1}{2}x \nonumber \\&\quad -\frac{1}{4\ell \left( \ell -b\right) ^{2}}\left( -b^{2}+4\ell b+3\xi ^{2}-6\ell \xi \right) x^{2}. \end{aligned}$$
(4.7d)

With regard to the computational results, the second column in Table 4 shows the computational results, i.e., the critical values of \(\sqrt{\mathcal {N} \,}/\pi\) for twenty discrete points of \(x=b\). For symmetry reasons, in the same manner as for FrF beams, it is sufficient to consider the results for the first half of the beam only.

Table 4 Critical loads for PrP beams

A polynomial was fitted onto the point pairs in the first two columns.

$$\begin{aligned}&\sqrt{\mathcal {N}(x)\,}/\pi =-25.651\,118\,291\,1x^{5} +18.328\,978\,830\,0x^{4}-4.701\,184\,038\,74x^{3}\nonumber \\&\quad +1.\,395\,339\,14036x^{2}+0.928\,843\,353123x+1.430\,503\,352\,36 \end{aligned}$$
(4.8)

The third column contains the approximations computed using polynomial \(\sqrt{\mathcal {N}(x)\,}/\pi\). Note that the numbers in columns two and three are the same with the accuracy of four to five digits.

Figure 8 represents the computational results: the discrete points are depicted again by diamonds while the polynomial is drawn by a continuous line.

Fig. 8
figure 8

Buckling loads for PrP beams

It is obvious that the critical force reaches its maximum if \(b=0.5\). The PrP beam behaves as if it were a fixed-pinned beam if b tends to zero. Then \(\sqrt{\mathcal {N}_{\text {crit}}\,} /\pi =1.4303\) is the exact result . If \(b=0.5\) the first half of the beam behaves as if it were a pinned-pinned beam for which \(\sqrt{\mathcal {N}_{\text {crit}}\,}/\pi =2.0\).

Remark 13

According to Eq. (A.7) the characteristic equation which provides the eigenvalues, i.e., the critical force has the following form:

$$\begin{aligned} bp\sin x-b^{2}p\sin p-\sin bp\cos bp\sin p+\cos p-\cos p\cos ^{2}bp=0,\qquad p=\sqrt{\mathcal {N}_{\text {crit}}\,} \end{aligned}$$

This non-linear equation for \(p/\pi\). The solutions obtained are the same with five to six digits accuracy as those computed by solving the algebraic eigenvalue problem that belongs to the Fredholm integral equation (2.17).

4.4.1 Example for heterogeneous beam

It is now presented through a simple example how the material heterogeneity can influence the lowest buckling load of PrP beams. For the demonstration, a simple two-layered rectangular section is selected, as shown in Fig. 9. The width is a, the total height is h, while the height of the lower part is \(h_1=kh;~k\in [0;1]\). The typical Young modulus values are noted by \(E_1\) and \(E_2= d E_1;~ d\in \mathbb {R}\).

Fig. 9
figure 9

A multilayered cross-section

To tackle the stability problem, first the relative position of the (E-weighted) centroid \(C_e\) is needed—it is identified by the coordinate \(z_e(k,d)\). It can be found based on the definition of Eq. (2.1). After that, Eq. (2.3) should be utilized. With Eq. (2.10)\(_2\) and the results of Table 4 it is possible to evaluate the critical loads.

In Fig. 10, the N critical loads for a homogeneous (\(d=0\)) cross-section with two supports \(b=10^{-5}\simeq 0\) and a heterogeneous cross-section are compared when \(d=1/3\). Otherwise, the length of the beams are identical. Computational results are given in terms of the support position b and the layer height parameter k. The plotted relationships are non-linear and the variation of the critical loads is absolutely relevant in this aspect.

Fig. 10
figure 10

Results for the lowest buckling load for non-homogeneous section

5 Conclusions

The present paper determines the Green functions for three three-point boundary value problems, namely, for those boundary value problems which describe the mechanical behavior of FrF, FrP and PrP beams with cross-sectional heterogeneity. Making use of the Green functions, the linear stability problem of these beams is transformed into eigenvalues problem governed by the homogeneous Fredholm integral equation:

$$\begin{aligned} y(x)=\int _{0}^{\ell }\mathcal {K}(x,\xi )y(\xi )\mathrm {d}\xi ,\qquad \mathcal {K} (x,\xi )=\frac{\partial ^{2}G(x,\xi )}{\partial x\,\partial \xi },\qquad y(x)=\frac{\mathrm {d}w(x)}{\mathrm {d}x}. \end{aligned}$$

Then the eigenvalue problems are replaced by an algebraic eigenvalue problem using the boundary element technique. Its numerical solution is compared to the solutions obtained by numerically solving the corresponding characteristic equations presented in the Appendix. Polynomial approximations for the critical force with a very good accuracy have also been derived.