15.11.2014 Views

principles and applications of microearthquake networks

principles and applications of microearthquake networks

principles and applications of microearthquake networks

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

118 5. In versiori nnd Optimization<br />

numbers in computers rarely correspond to those on real numbers. Since<br />

floating-point numbers have a finite number <strong>of</strong> digits, round<strong>of</strong>f error occurs<br />

in representing any number that has more significant digits than the<br />

computer can hold. An arithmetic operation on floating-point numbers<br />

may introduce round<strong>of</strong>f error <strong>and</strong> can result in underflow or overflow<br />

error. For example, if we multiply two floating-point numbers x <strong>and</strong> y ,<br />

each <strong>of</strong>t significant digits, the product is either 2t or (2t - 1) significant<br />

digits, <strong>and</strong> the computer must round <strong>of</strong>f the product to t significant digits.<br />

If x <strong>and</strong> y has exponents <strong>of</strong> p, <strong>and</strong> p,, it may cause an overflow if (p, + p,)<br />

exceeds the upper exponent range allowed, <strong>and</strong> may cause an underflow if<br />

(p, + p,) is smaller than the lower exponent range allowed.<br />

An effective way to minimize round<strong>of</strong>f errors is to use double precision<br />

floating-point numbers <strong>and</strong> operations whenever in doubt. Unfortunately,<br />

the exponent range for single precision <strong>and</strong> double precision floating-point<br />

numbers for most computers is the same, <strong>and</strong> one must be careful in<br />

h<strong>and</strong>ling overflow <strong>and</strong> underflow errors. In addition, there are many other<br />

pitfalls in computer computations. Readers are referred to textbooks on<br />

computer science, such as Dahlquist <strong>and</strong> Bjorck (1974) <strong>and</strong> Forsythe at af.<br />

(1977), for details.<br />

5.3.2.<br />

Computational Aspects <strong>of</strong> Generalized Inversion<br />

The purpose <strong>of</strong> generalized inversion is to help us underst<strong>and</strong> the nature<br />

<strong>of</strong> the problem Ax = b better. We are interested in getting not only a<br />

solution to the problem Ax = b, but also answers to the following questions:<br />

(1) Do we have sufficient information to solve the problem? (2) Is<br />

the solution unique? (3) Will the solution change a lot for small errors in b<br />

<strong>and</strong>/or A? (4) How important is each individual observation to our solution?<br />

In Section 5.2 we solved our problem Ax = b by seeking a matrix H<br />

which serves as an inverse <strong>and</strong> satisfies certain criteria. The singular value<br />

decomposition described in Section 5.1 permits us to construct this inverse<br />

quite easily. Let A be a real rn X n matrix. The n X rn matrix H is<br />

said to be the Moore-Penrose generalized inverse <strong>of</strong> A if H satisfies the<br />

following conditions (Ben-Israel <strong>and</strong> Greville, 1974, p. 7):<br />

(5.52)<br />

AHA = A, HAH = H, (AH)T = AH<br />

(HA)T = HA<br />

The unique solution <strong>of</strong> this generalized inverse <strong>of</strong> A is commonly denoted<br />

as A-. It can be verified that if we perform singular value decomposition

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!