Next: Further Methods
Up: Other Schemes
Previous: Hughes-Taylor and Newmark Methods
Contents
Index
An Exact Solution
For this very special case of the simple harmonic oscillator, there is in fact a two-step recursion which generates the exact solution to (3.1), at times . It is simply given by
|
(3.54) |
This recursion is perhaps more familiar to electrical and audio engineers as a two-pole filter operating under transient conditions. The transformation analysis reveals:
|
(3.55) |
which has solutions
|
(3.56) |
Thus the oscillation frequency of recursion (3.54) is exactly
, the frequency of the continuous time oscillator (3.1).
In a sense, then, all the preceding analysis of difference schemes is pointless, at least in the case of (3.1). On the other hand, the simple harmonic oscillator is a very special case; more complex systems, especially when nonlinear, rarely allow for exact numerical solutions. One other case of interest, however, and the main reason for dwelling on this point here, is the 1D wave equation, to be discussed in Chapter 6, which is of extreme practical importance in models of musical instruments which are essentially one-dimensional, such as strings and acoustic tubes. Numerical methods which are exact also exist in this case, and have been exploited with great success as digital waveguides [209].
Another question which arises here is that of accuracy. Considering again the one-parameter family of two-step difference schemes given by (3.51). Using identity (2.5) relating to
, it may be rewritten as
|
(3.57) |
Under the special choice of
, the difference scheme becomes exactly (3.54), or
|
(3.58) |
Consider the action of the operator as defined above on a continuous function. Expanding the operator
and the function
in Taylor series leads to
|
(3.59) |
The various terms of the form
all possess a factor of
. Thus (3.58) may be rewritten as
|
(3.60) |
which shows that the solution indeed solves the equation of the simple harmonic oscillator exactly.
This property of accuracy of a difference scheme beyond that of the constituent operators, under very special choices of the scheme parameters, is indeed a very delicate one. In the distributed setting, it has been exploited in the construction of so-called modified equation methods [111,198,153,154,62] and compact spectral-like schemes [137,249,126,141].
Next: Further Methods
Up: Other Schemes
Previous: Hughes-Taylor and Newmark Methods
Contents
Index
Stefan Bilbao
2006-11-15