10.8 KB · commit a9602da
In this section we discuss two methods of approximation, viz. the Rayleigh–Ritz and Galerkin methods. As mentioned earlier, the former method is based on the existence of a functional which is then minimized. The second technique is due to Galerkin who proposed it as an error minimization method. It belongs to a wider class of methods called weighted residual methods. An advantage of the Galerkin method is that it works with the governing equations of the problem and does not require a functional.
Both the methods have a common feature in that they seek an approximate solution in the form of a linear combination of base functions. Nevertheless, they differ from each other in choosing the base functions.
In this method we do not obtain the actual minimum but only an approximate solution as nearer the actual solution as the base functions allow. To obtain a good approximation, therefore, the choice of the base functions is important and to improve the approximation, the number of base functions should be increased.
We explain this method by considering second-order boundary-value problem defined by y′′+p(x)y+q(x)=0,y(a)=y(b)=0.(11.20)
The functional for the above problem is given by I(v)=∫ab[(dxdv)2−pv2−2qv]dx=0.(11.21)
From the definition of the functional we know that if y(x), the solution of Eq. (11.20), is substituted in Eq. (11.21), then the integral I will be minimum. Since we do not know the solution of Eq. (11.20), we try with an approximate solution and determine the parameters of the approximation so that the integral is minimum. This is the central idea of the Rayleigh–Ritz method. Now, let v(x)=i=1∑nαiϕi(x)(11.22) be an approximate solution where the base functions, ϕi(x), are linearly independent and satisfy the boundary conditions given in Eq. (11.20), i.e. let ϕi(a)=0andϕi(b)=0.(11.23)
Substituting for v in Eq. (11.21), we obtain I(α1,α2,…,αn)=∫ab{[dxd∑αiϕi(x)]2−p[∑αiϕi(x)]2−2q∑αiϕi(x)}dx=0.(11.24)
For minimum, we have ∂α1∂Iδα1+∂α2∂Iδα2+⋯+∂αn∂Iδαn=0.(11.25)
Since the δαi are arbitrary, Eq. (11.25) gives ∂αi∂I=0,i=1,2,…,n.(11.26)
If I is a quadratic function of y and dy/dx, then Eq. (11.26) will be linear in αi and can be solved easily.
We state, without proof, that the Rayleigh–Ritz method converges to the actual solution of the problem provided that the functions ϕi are linearly independent and satisfy at least the essential boundary conditions of the problem. The following examples illustrate the method of procedure.
The Rayleigh–Ritz method discussed in Section 11.2.1 is a powerful technique for the solution of boundary-value problems. It has, however, the disadvantage of requiring the existence of a functional which is not always possible to obtain. In fact, not all differential equations have a variational principle. Most
engineering problems are expressed in terms of certain governing equations and boundary conditions, and not in terms of a functional. Galerkin's method belongs to a wider class of methods called the weighted residual methods. In this method, an approximating function called the trial function (which satisfies all the boundary conditions) is substituted in the given differential equation and the result is called the residual (the result will not be zero since we have substituted an approximating function). The residual is then weighted and the integral of the product, taken over the domain, is then set to zero. It can be shown that if the Euler–Lagrange equation corresponding to a functional coincides with the differential equation of the problem, then both the Rayleigh–Ritz and Galerkin methods yield the same system of equations.
See Section 8.10.3 for application of this method to solve two-point boundary value problems.