Abstract
The method known as Galerkin's method, developed in the early twentieth Century for problems in elasticity is still used today, especially for the approximate solution of boundary value problems. In order to apply this method, which is more general and powerful than the Rayleigh-Ritz method, the trial functions used must satisfy all geometric and dynamic boundary conditions accompanying the differential equation. This could be considered a disadvantage of the method. This led with the contributions of H. Leipholz, to the development of the “extended Galerkin's method”. This modification generalized the method to problems where the trial functions do not satisfy some of the conditions, especially dynamic boundary conditions. While the classical Galerkin's method is widely described in the textbooks, the extended Galerkin's method is unfortunately found less frequently. Moreover, with the exception of two reference works, the book of Leipholz and partly an another book of Wunderlich and Pilkey, only the expression is given in all of them. The aim of this paper is two-fold. Firstly, to draw the reader's attention to the extended Galerkin's method, an important and very useful method, in the opinion of the authors of this paper. Secondly, they wish to discuss some important issues, including a critique of the literature. The derivation of the method, its application and related general information will be described with reference to the example of a longitudinally vibrating elastic rod carrying a mass at its free end.
Keywords
Introduction
The classical Galerkin's method (CGM), developed by the Soviet scientist Boris Grigoryevich Galerkin (1871–1945), is a method included in the vast majority of structural dynamics and vibration dynamics textbooks.1–6
The method is an efficient discretization method, mainly used for the approximate solution of boundary value problems and belongs to the class of “weighted residuals” techniques. The method was actually first applied to problems of the Theory of Elasticity by the Soviet mathematician I.G. Bubnov (1873–1919) in 1913 and then generalized by Galerkin in 1915. Thus, the method is also called the Bubnov-Galerkin method in some sources.7,8
The essence of the method is as follows. The first step for the approximate solution of a boundary value problem is to substitute a linear combination of trial functions with initially unknown coefficients to the left of the differential equation of the boundary value problem. The important point here is that the trial functions must satisfy all the boundary conditions in question, that is, they must be of the “comparison function” class.
It is clear that this linear combination does not exactly satisfy the differential equation and when it is substituted, an error, termed the “residual” is introduced. This is what is done in the second step: The integral of the error multiplied by each trial function, i.e., in a sense, by the weighting function, in the corresponding solution domain is set equal to zero to derive as many linear and homogeneous algebraic equations as there are trial functions.
Since we are searching for an approximate solution in a finite dimensional space, we can force the residual to have a zero projection on the chosen basis, that is, the trial functions of this space. 8
By solving this set of equations, the coefficient in front of each trial function in the linear combination is obtained and thus the approximate solution of the problem is established.
The Galerkin's method is more general and powerful than the Rayleigh-Ritz method, which is often used to solve similar problems. It is able to approximately solve non-self adjoint problems, such as non-linear partial differential equations.
The Rayleigh-Ritz procedure and the Galerkin's method are equally effective if the system is self-adjoint, i.e., conservative. For non self-adjoint systems, (that is, non-conservative systems), only the Galerkin's method can be used. 5 The Galerkin's method is more general and is applicable to both conservative and non-conservative systems. 6
The requirement that the trial functions used in the Galerkin's method must be of the “comparison functions” class, that is, they must satisfy all the geometric and dynamic boundary conditions accompanying the differential equation of the boundary value problem, is quite restrictive for the applicability of the method. In the 1960s, modifications to the CGM by Leipholz in particular, 9 have led to what is known in the literature as the “extended Galerkin's method” (EGM) and allows these constraints to be relaxed. For the sake of brevity, we will henceforth refer to this modification as EGM.
In the EGM the dynamic boundary conditions are included in the calculations, just like the differential equation, so that the trial functions are only of the class of “admissible functions”, i.e., they only satisfy the geometric boundary conditions. This is clearly a great advantage. Unfortunately, this method, which has not received the recognition it deserves, in the view of the authors of this paper, is mentioned in only a few textbooks, as far as we can determine.10–17 Although Mura and Koya 11 and Raamachandran 12 call it “Galerkin's method”, it is actually the EGM. Since the number of books that include the Galerkin's method is very large, only a few of them are given in the introduction. It should be noted that here we have listed all the books that we were able to identify.
Furthermore, it should also be noted that there are published papers with EGM in the title.18,19 However, in them, there is an approximate solution of a non-linear differential equation and what is done is on the additional integration over one period of harmonic vibrations, on the averaged and weighted equation of motion, which can yield excellent results for free and forced vibration analysis with typical nonlinear vibration problems.
For the sake of completeness, in the following, we will first try to give a brief summary of the CGM, with our notations, on the example of a fixed-free elastic rod vibrating longitudinally, compiled from the book by Benaroya and Nagurka, pp. 812–813. 5
Classical Galerkin's method
The longitudinal vibration system in Figure 1 has an equation of motion and boundary conditions at both ends.

Axially vibrating bare rod.
An approximate solution
If the approximate solution (3) is substituted into the differential equation (1), the following expression is obtained:
The essence of the Galerkin's method is expressed in the following equations:
The evaluation of the integrals in (5) leads to a set of P second order differential equations for the unknown functions
In the next step, assuming an exponential solution as:
Extraction and implementation of EGM on the example system
To extract and apply the EGM, let us consider the vibration system in Figure 2. We know that the exact solution for the motion of this simple system is available in the literature. 20 This example is chosen to evaluate the precision of the results of the EGM.

Axially vibrating rod with a tip mass.
While the equation of motion (1) and the condition (2a) at the left boundary, i.e.,
The superimposed dots and lines indicate the partial derivatives with respect to time and position.
Let us start with the following equation
10
:
Where
Since
From the equations in (16), we can now reach to the conclusion.
However, before we do, let's take a closer look at the equations. Taking into account (17), it appears that the procedure to be followed is:
To the integral of the left-hand side of the differential equation of motion (1) multiplied by the qth trial function in the region 0÷L, the product of the left-hand side of the dynamic boundary condition (7) multiplied by the value of the same trial function at the boundary is added and the sum is equaled to zero.
This process is repeated for P trial functions. Thus, the dynamic boundary condition is also taken into account by means of this second term in (16). Obviously, if this second term did not exist, the CGM would be in question.
We can now proceed to the evaluation of (16). As trial functions, suppose we choose the functions which are the normalized eigenfunctions of the system in Figure 1
20
Numerical applications
The dimensionless eigenfrequency values
The dimensionless eigenfrequency values
The dimensionless eigenfrequency values
The dimensionless eigenfrequency values
The dimensionless eigenfrequency values
The dimensionless eigenfrequency values
The dimensionless eigenfrequency values
The dimensionless eigenfrequency values
The dimensionless eigenfrequency values
The values in column 1, labeled “Exact”, are the values obtained from the solution of the following frequency equations given indirectly in the book for the system in Figure 2 via the torsional system.
20
The values in columns 4 and 6 are the values obtained using the eigenfunctions of the system in Figure 1. P = 5 in Tables 1, 3, 5 and 7 and P = 10 in Tables 2, 4, 6 and 8. The striking result of the comparison of the numerical values in the tables is that the Rayleigh-Ritz and EGM give exactly the same results if the solution assumption is based on the eigenfunctions of the system in Figure 1.
The polynomial results, although not exactly the same, are closer to the exact values for Rayleigh-Ritz, especially for P = 10.
As expected, as the number of trial functions, P, increases, the numerical results approach the exact values.
As the dimensionless mass parameter
A critique of the literature
After explaining the EGM using the example of an elastic rod carrying a mass at its free end and vibrating longitudinally, we would like to mention a point that we have noticed and criticized from the literature. For this, if we go back to equation (17), we see that the left-hand side of the dynamic boundary condition (i.e., a power expression) is multiplied by the value of the trial function at the boundary and, in a sense, is indirectly taken into account as a virtual work.
This is because of the structure of the mechanical vibration system. We have noticed that in some of the references cited, the impression is given that this situation is general and the left-hand sides of all dynamic boundary conditions should be multiplied by the value of the corresponding trial function at the boundary.13,15,17 However, depending on the nature of the dynamic boundary condition, sometimes it is not the trial function itself, but its derivative with respect to the position coordinate, that is multiplied by its value at the boundary. Let us illustrate the situation with the bending vibration system in Figure 3.

Transversely vibrating beam with a tip mass.
The equivalent of equation (9) for this system is equation (29):
Conclusions
In the context of the approximate solution of boundary value problems, the CGM is an effective method that is included in almost all books, especially in the field of vibration dynamics and structural dynamics. On the other hand, the EGM, which was developed latterly, has found a place in relatively few books, although it is a very useful and effective method in the case of complex dynamic boundary conditions that are difficult to be satisfied by the trial functions used in approximate solution assumptions. Of these, only one of them contains information on its derivation, 10 based on the article of the same author. 9
In this paper, we have attempted to draw attention to the EGM, an important and useful method. The derivation of the method, its application and related general information are illustrated using the example of an elastic rod vibrating in the axial direction and carrying a mass at its free end. Numerical evaluations show that the method gives exactly the same results as the Rayleigh-Ritz method in some parameter regions. The analysis here could be viewed as a very useful and effective application of the Galerkin's Method. Furthermore, building on previous works,18,19 we are of the opinion that the EGM reported here can also be applied to nonlinear problems.
Footnotes
Acknowledgements
The first author sincerely thanks his dear former student and the second author thanks his dear friend Dipl. Ing. Okyay Nabi Özkozacı for translating the Turkish text into English.
Declaration of conflicting interests
The authors declared no potential conflicts of interest with respect to the research, authorship, and/or publication of this article.
Funding
The authors received no financial support for the research, authorship, and/or publication of this article.
Data availability statement
Data sharing not applicable to this article as no datasets were generated or analyzed during the current study.
















