||This article may require cleanup to meet Wikipedia's quality standards. (May 2010)|
In applied mathematics and mechanical engineering, the Rayleigh–Ritz method (after Walther Ritz and Lord Rayleigh) is a widely used, classical method for the calculation of the natural vibration frequency of a structure in the second or higher order. It is a direct variational method in which the minimum of a functional defined on a normed linear space is approximated by a linear combination of elements from that space. This method will yield solutions when an analytical form for the true solution may be intractable.
The method is also widely used in quantum chemistry.
Typically in mechanical engineering it is used for finding the approximate real resonant frequencies of multi degree of freedom systems, such as spring mass systems or flywheels on a shaft with varying cross section. It is an extension of Rayleigh's method. It can also be used for finding buckling loads and post-buckling behaviour for columns.
The following discussion uses the simplest case, where the system has two lumped springs and two lumped masses, and only two mode shapes are assumed. Hence M = [m1, m2] and K = [k1, k2].
A mode shape is assumed for the system, with two terms, one of which is weighted by a factor B, e.g. Y = [1, 1] + B[1, −1]. Simple harmonic motion theory says that the velocity at the time when deflection is zero, is the angular frequency times the deflection (y) at time of maximum deflection. In this example the kinetic energy (KE) for each mass is etc., and the potential energy (PE) for each spring is etc. For continuous systems the expressions are more complex.
We also know, since no damping is assumed, that KE when y=0 equals the PE when v=0 for the whole system. As there is no damping all locations reach v=0 simultaneously.
so, since KE = PE,
Note that the overall amplitude of the mode shape cancels out from each side, always. That is, the actual size of the assumed deflection does not matter, just the mode shape.
Mathematical manipulations then obtain an expression for , in terms of B, which can be differentiated with respect to B, to find the minimum, i.e. when . This gives the value of B for which is lowest. This is an upper bound solution for if is hoped to be the predicted fundamental frequency of the system because the mode shape is assumed, but we have found the lowest value of that upper bound, given our assumptions, because B is used to find the optimal 'mix' of the two assumed mode shape functions.
There are many tricks with this method, the most important is to try and choose realistic assumed mode shapes. For example in the case of beam deflection problems it is wise to use a deformed shape that is analytically similar to the expected solution. A quartic may fit most of the easy problems of simply linked beams even if the order of the deformed solution may be lower. The springs and masses do not have to be discrete, they can be continuous (or a mixture), and this method can be easily used in a spreadsheet to find the natural frequencies of quite complex distributed systems, if you can describe the distributed KE and PE terms easily, or else break the continuous elements up into discrete parts.
This method could be used iteratively, adding additional mode shapes to the previous best solution, or you can build up a long expression with many Bs and many mode shapes, and then differentiate them partially.
- http://www.math.nps.navy.mil/~bneta/4311.pdf - Course on Calculus of Variations, has a section on Rayleigh–Ritz method.