Professional Documents
Culture Documents
2 Lattice rules
2 Lattice rules
+ (2.3)
j=l
Lattice Methods for Multiple Integration, I. H. Sloan and S.Joe, Oxford University Press (1994),
© I. H. Sloan and S. Joe, 1994, DOI:10.1093/oso/9780198534723.003.0002
12 Lattice rules
<25>
j=o x 7
where N is the chosen number of quadrature points and z is a carefully
selected integer vector. (Mathematically it does not matter that some of
the points j%/N lie outside the cube Cs, since the periodicity property (2.1)
means that an integer vector can be subtracted from the argument of f to
bring the point back within Cs.) The method of good lattice points has
an extensive literature. There are detailed reviews by Niederreiter (1978a,
1988, 19926) and Haber (1970, 1983), with the former concentrating on
the mathematical properties and the latter emphasizing numerical analysis
aspects. A version of this method is implemented in the NAG mathematical
software library routines D01GCF and D01GDF (Numerical Algorithms
Group 1991).
We shall have much to say later about the order of convergence of the
method of good lattice points, but for the moment let us make just one
simple observation: if N is prime and z\ is not a multiple of AT, then the rule
(2.5) applied to /(x) = x2(l — sq)2 is equivalent to an A/'-point rectangle
rule applied to the function £2(1 — x)2, because the first components of
the argument of f (reduced modulo 1) are just the points of the AT-point
rectangle rule in a different order. Thus the error is of order AT-4, compared
to N~4/s for the product-rectangle rule (2.4). When s is large the difference
is dramatic!
A brief tour of lattice rules 13
j=0
in which the points xq, ..., xn-i are all the points of an ‘integration lattice’
L that lie in the half-open unit cube Us = [0, l)s. An integration lattice is
a discrete subset of which is closed under addition and subtraction, and
which contains all the integer vectors. We shall learn later how to classify,
count, and construct lattice rules.
It appears that the first mention of the general lattice rule was made
by Frolov (1977). Later this idea was rediscovered and developed system
atically by Sloan and Kachoyan (1984, 1987) and Sloan (1985).
The basic properties of lattice rules are developed later in this chapter.
We shall see simple examples of integration lattices and lattice rules, dis
cover a Quadrature error expression involving the Fourier coefficients of /,
and meet the so-called ‘dual lattice’ of an integration lattice.
An important fact now known about lattice rules is that every such rule
can be written as a multiple sum of the form
- n<—1 ni~ 1 z . . \
Qf=------------- £ £ f (—zi+--- + -zt), (2.6)
nin2---nt^o nt )
where zi,... ,zt are integer vectors. Conversely, every expression of this
form is a lattice rule. Later we shall meet a classification scheme for lattice
rules, due to Sloan and Lyness (1989), which is based on this representation,
and which leads to the important concept of ‘rank’. Put simply, the rank
of a lattice rule is the minimum value of t required to write the lattice rule
as an expression of the form (2.6).
We shall see that the rank of a lattice rule can take any value between
1 and s inclusive. The product-rectangle rule given by (2.4) is an example
of a rule of the maximal rank s, whereas the rule (2.5) used in the method
of good lattice points is obviously a rule of rank 1. Rules with every rank
between 1 and s also exist (in fact there are very many such rules), but
have been recognized and studied only in very recent times.
14 Lattice rules
m j=o
\m
x
j
7
turns out to be a rule of the maximal rank s, and is the one recommended
for estimating the integral. *
There are some significant attractions to the rule Qs given by (2.8).
First and foremost, because Qsf is a member of an embedded sequence
(and indeed of many different such sequences), it is possible to generate,
without cost, an estimate of the error. Second, it turns out to be relatively
cheap to find a good choice of z in (2.8) for a given number of quadrature
points: the cost is only a fraction of that of finding a good choice of z in
the formula for the method of good lattice points given by (2.5). Third, it
can be shown theoretically (in a lengthy exercise culminating in Chapter
6) that relatively ‘good’ rules of the form (2.8) do, in fact, exist. The first
step in this theoretical exercise is to show that Qsf can be rewritten as
In other words, Qsf is equivalent to a ‘2s copy’ of the rule Qo, that is, to
the rule obtained by dividing the unit cube into 2s subcubes of edge length
|, and then applying a scaled version of the rule Qq to each of these smaller
cubes. The particular virtue of 2s copies of rules of rank 1 will be a major
theme later in this book.
The plan of this book 15
so that
|7W-//| = x-.
Zn
Yet it is known that Rnf (or, equivalently, the trapezoidal approximation
Tnf defined by (2.3)) can be a remarkably good approximation to If if f
has a smooth one-periodic extension to the whole real line. Consider, for
example, the choice
sin 2ttx
For this example we find the results shown in Table 2.1, given to the 16
decimal digit accuracy of the machine used to do the calculations.
Why does the rectangle rule work so well when the integrand is smooth
and one-periodic? The usual explanation is by way of the Euler-Maclaurin
expansion (Davis and Rabinowitz 1984, p.136). (In brief, the Euler-Mac
laurin expansion is an asymptotic series in which the fcth term is a known
multiple of the difference between the (2fc — l)th derivatives of f at the two
ends of the interval. If f is smooth and one-periodic then the derivatives
at the two ends of the interval are equal, and so all terms of the asymptotic
expansion vanish.)
For our present purposes, however, we find it more useful to give an
explanation in terms of Fourier series, because the same arguments will be
useful later for much more general lattice rules. Let us assume that the
The rectangle rule 17
Table 2.1 Errors for the rectangle rule when
applied to f(x) = esln27rx
n Rnf Rnf ~ If
oo
/(x) = 52 fWe2vihx, -oo<z<oo, (2.9)
h= — oo
where
and where the right-hand side of (2.9) is absolutely convergent, that is,
oo
52 |/w| < oo. (2.10)
h= — oo
We may observe that the Fourier series is also uniformly convergent, from
which it follows that f is continuous (from the theorem that the uniform
limit of a sequence of continuous functions is continuous). Because f is
also one-periodic, it is a continuous function satisfying /(0) = /(I). Thus
the present argument can apply only to integrands f that have a natural
continuous one-periodic extension.
To work out the effect of the rectangle rule on /, we can now apply it
term by term to the Fourier series (2.9). (Since Rnf is only a finite sum,
there is no problem in changing the order of summation.) Thus we obtain
oo
Rnf — 12 fWn (e2’^) .
h= — oo
j
2irih/n
Rn (e2*lhx}
1, if h is a multiple of n, , .
where we have used nothing more than the high-school formula for the sum
of a geometric series. Thus
oo
Rnf — £ f(kn).
k= — oo
where the prime on the sum, here and elsewhere, indicates that the zero
term is to be omitted from the sum.
This error formula shows clearly why the rectangle rule works well for
a smooth periodic function /: if the Fourier coefficients of f approach zero
rapidly then the leading terms of the error, namely
(2-13)
projections of the five points on to the ?/-axis, namely {0, |, |, |, |}, are
just the five points of the one-dimensional rectangle rule. So, too, are the
five projections on to the a;-axis.
The rule (2.13) also shares one other important property with the rect
angle rule, namely, that it admits a simple error analysis by way of Fourier
series. In fact the rule (2.13) is our first significant example of a lattice
rule, and it is a key property of all lattice rules that they permit a simple
Fourier analysis of the error (see Section 2.9). We shall defer until later in
this chapter a precise statement of the error in the rule (2.13), when we
have had time to develop some machinery.
It is time now for us to turn to general lattice rules. But first, because a
lattice rule is defined in terms of a lattice, we have to consider the question:
what is a lattice?
2.6 Lattices
In mathematics the word ‘lattice’ has more than one meaning. For us in
this book a lattice is defined this way.
Definition 2.1. A lattice in Rs is a discrete subset ofW which is closed
under addition and subtraction.
Notice that the point 0 = (0,0,..., 0) is in every lattice, since if x belongs
to the lattice, so does x — x.
20 Lattice rules
more carefully. One price is that from now on the choice of integration
region really matters.
Another is
2\
gl= /I14), g2 = (0,l).
\O 0/
(We use a half-open region to avoid double counting of lattice points lying
on the boundary.) The number of points of an integration lattice L that
Integration lattices 23
lie in Us, say N, is the average number of lattice points per unit volume,
so that, from the definition of the determinant,
7V = l/detL. (2-14)
(2-16)
j=0
where {xo,... ,Xjy-i} are all the points of an integration lattice Lcfs
that lie in the half-open cube Us.
In words, a lattice rule is an equal-weight rule whose quadrature points are
all the points of an integration lattice that lie in the half-open unit cube.
The order N of the lattice rule (2.16) is related to the determinant of
the lattice by (2.14).
Example 2.4. For s = 2, the quadrature formula (2.13) given earlier is a
lattice rule of order 5. The corresponding integration lattice is that in Figure
2.5, whose determinant is 1/5. The quadrature points, shown previously in
Figure 2.1, are just the five points of the infinite lattice that lie in the half-
open unit square.
A lattice rule is entirely determined by specifying its integration lattice.
The converse is also true: the integration lattice corresponding to the lattice
rule (2.16) is given by
j=Q fc=O X Z
where h • x = h±xi -I------ F hsxs is the ordinary inner product in 1RS, and
/(h) = [ e~27rihx/(x) dx, heZ’.
JCa
Now apply the lattice rule Q, given by (2.16), term by term to the series
in (2.17), to obtain
Qf = £ /(h)Qe2’rthx. (2.18)
hGZa
26 Lattice rules
The last step is to work out the effect of Q on e27rth*x for each h E Zs. It
turns out that this has a very simple answer, in terms of the ‘dual lattice’
or ‘reciprocal lattice’ of the lattice associated with Q.
Definition 2.6. Given a lattice L, the dual lattice L1- is the set
We shall have more to say in the next section about dual lattices. For
the moment it suffices to observe that the dual of an integration lattice L
is a subset of Zs: for the integration lattice by definition contains each unit
vector et, 1 i s (where eT has a 1 in the zth component and zeros in
all others), so that Definition 2.6 immediately tells us that if h E then
h • ei = hi E Z for 1 i s.
The following lemma is a natural generalization of the rectangle-rule
result (2.11). It is taken from Sloan and Kachoyan (1987).
Lemma 2.7. Let Q be the s-dimensional lattice rule (2.16), and let L be
the associated integration lattice. Then for h E Zs,
1, ifheL1,
Qe 27Tlh‘X
0, otherwise.
The second part is rather deeper, but can be proved by the following
argument, which has its genesis in an argument of Sobolev (1962) for nu
merical integration over the sphere. For each point x7 , 0 j N — 1, we
define a translation operator Tj, which operates only on functions with the
periodicity property (2.1), by
It follows that
TfcTJ/(x) = /(x + xz) = rj(x),
where X£ is the unique member of {xo,... ,x/v-i} that differs from Xj+Xk
by an integer vector.
The lattice rule error 27
1 N~r
j=Q £=0
where we have used the fact that the translations {7^ To,... , T^T/v-i} are
just the translations {Tb,Ti,... ,7^-1} taken in a different order.
Now, if we apply the translation Th to the function
^h(x) = e2™h x,
From this it is clear that if h L1, then V'h is different from TfcV’h for
some fcinO^fc^TV — 1. Also, we have
j=o y j=o y
Proof This follows immediately from (2.18) and Lemma 2.7, together
with If = /(0). ■
28 Lattice rules
Qcf = £2 /(h)e2’r’hcQe2,rthx.
*
Kez
The result now follows immediately from Lemma 2.7. ■
the lattice shown in Figure 2.5. For example, we easily verify that (—1,3) -x
is an integer for each point x G L, so that (-1,3) E L1. So, too, is (—2,1)
and hence so is any integer linear combination of (—1,3) and (—2,1).
Geometrically, the dual of the lattice L gives us information about the
planes of dimension s — 1 associated with L. For a given lattice, there
are many different ways to draw families of equally spaced parallel planes
in which each point of the lattice is on one of the planes, and each plane
contains at least one point of the lattice. Each such system of planes
corresponds to a point h G M, in that the equations of the planes can be
written as
h • x = S, for 6 = 0, ±1, ±2,.... (2.24)
From elementary vector geometry, h is a vector normal to each of these
planes, and the distance between each plane is l/||h||, where
llhll = (hl + ... + hl)1/2
is the Euclidean norm of h.
As an example, in Figures 2.8 and 2.9 we show two such families of
planes associated with the two-dimensional lattice (2.23). A dual lattice
30 Lattice rules
h = A"1 Ah
= ci(gi • h) + • • • + cs(gs • h),
Downloaded from https://academic.oup.com/book/54960/chapter/422771326 by OUP-USA Mirror user on 01 May 2024
32 Lattice rules
If = [ f(%)dx, (2.25)
Jo
with <f> a smooth increasing function which maps [0,1] onto [0,1], changes
the problem to one of the same form as (2.25) but with an integrand
Periodizing the integrand 33
If=[
Jo
If = Ig, (2.28)
where
*)
</>( =3t2-2t3, 0 t 1, (2.30)
The graphs of 0 and </>' for this case are shown in Figure 2.10.
In the next figure, Figure 2.11, we show the resulting periodically ex
tended integrand g for this choice of </> and a simple choice of the original
integrand f. (In fact we took f(x) = 1 4- x, 0 C x 1.)
If, as in the last example, /' is well behaved on (0,1), then it might
be sensible to make the periodically extended integrand g smoother than
in Figure 2.11. From (2.27), one way to achieve this is to require not only
</>'(0) = </>'(l) = 0, but also </>"(0) = </>"(l) = 0. The simplest polynomial
choice of </> with this property is
corresponding to
= 30t2(l — t)2.
Figure 2.12 gives the graphs of </> and 0' for this case, and Figure 2.13
shows the periodically continued function g, again for the simple choice
f(x) = 1 + x. Now g is continuously differentiable, as well as periodic.
34 Lattice rules
Fig. 2.11 The transformed integrand g for </> as in Figure 2.10 and /(a?) = 14-x.
Periodizing the integrand 35
Fig. 2.13 The transformed integrand g for </> as in Figure 2.12 and f(x) = 1 + x.
36 Lattice rules
*)
</>( =t- sin 2?rt, (2.32)
Z7T
corresponding to
= 1 — cos 27ft
This transformation, shown in Figure 2.14, is analogous to (2.31) in that
</>'(£) = O(t2) as t —> 0. For us it has an attraction not shared by the tradi
tional transformations: the derivative which provides an important
part of the integrand in (2.29), is a trigonometric polynomial (of degree
1), and trigonometric polynomials are just the functions which lattice rules
are designed to handle. Precisely, in the particular case in which f is a
constant we see from (2.29) that the lattice rule will give the exact result,
provided it integrates exactly all trigonometric polynomials of degree 1
in each variable. Already we know from Lemma 2.7 that this will be the
case provided the dual lattice L1- has no points h (other than 0) with all
components equal to 0 or ±1—and a lattice rule with such points in its
dual lattice would be very bad from every point of view!
The following proposition pushes this result even further.
where
, 1/
c — b + z(ai + ... + fts)«
The lattice rule integrates the constant term c exactly, and also gives the
exact result 0 for the term Xi — since if (xi,X2,... ,xs) is a point of the
integration lattice so is (1 — zi, 1 — X2,..., 1 — xs), and the contribution from
these two points cancels. The same argument also holds for the remaining
terms, so the result is proved. ■
For completeness we mention two other methods discussed by Zaremba
(1972). Restricting ourselves to the one-dimensional integral (2.25), the
method of complete symmetrization replaces the given problem by
)
H = | fo [/(
* + /(I ~ *
)] dx-
where
38 Lattice rules
bj(x) =
3'- ’
and Bj is the Bernoulli polynomial of degree j. The necessary properties
of Bernoulli polynomials are stated in Appendix C. Since
-!)(0)
*
^( = V>(*-1)(1) for 1 < k < a.
so that
W) = ^(1) = I (/(0) + /(I)) + L (/'(0) - /'(I)),
Periodizing the integrand 39
gh+-+jaf
dx^ • • • dxis
a
^(xltx2) = y(xi,2:2)-^2 [/O-1’0)(l,a;2)-/O_1’0)(0,2:2)]^(a;i)
>=i
- /(0,J bj(x2)
j=i
ex ex
1>(1,1) —
J2 = l Jl = l
_ /bi-i^-D(0)i) + /^-1-«-1)(0,0)] b^xi^M
(2.37)
Again it follows from (2.34) that lip = If so that the value of the integral
is unchanged. The expression for ip in (2.37) may be written as
- E ( [ P^Kxi^^dx^ bj(x2)
j=i Wo J
a a
+ E E If^b^b^x^ (2.38)
J2 = l jl=l
40 Lattice rules
or
V’(*-1’o)(O,rE2) = V’<fc-1’0)(l,ir2).
Thus ip has a periodic extension with respect to Xi with k — 1 continuous
derivatives; and, of course, it has a similar property with respect to x^.
If f is a polynomial of degree a in each of Xi and x% separately, then
by substitution of f expressed in the form
OC Ct
f(xi,x2) = SS ajlj2 bjAxi)bj2(x2}
J2=O jl=0
Qf = l p(0,0) + f Q, + f Q, 0 + / (I)
O L \O 0/ \O 0/ \0 0/ \o o/