Docsity

Numerical Methods in Computational Science and Engineering - Matrix Computations | CS 8803, Study notes of Computer Science

Partial preview of the text

Download Numerical Methods in Computational Science and Engineering - Matrix Computations | CS 8803 and more Study notes Computer Science in PDF only on Docsity!

CS 8803 NMC: Numerical Methods in

Computational Science and Engineering: Matrix

Computations

Haesun Park ^ hpark

 @cc.gatech.edu

Division of Computational Science and Engineering

College of Computing Georgia Institute of Technology

Atlanta, GA 30332, USALecture 1, August 21, 2007

What is Numerical Analysis?^ Three great branches of science:Theory, Experiment, and

Computation

The purpose of computing is insight, not numbers (1961 Hamming). Numerical Analysis isStudy of

Algorithms

for Problems of

Continuous Mathematics

Ex. Newton’s method, Lagrange interpolation polynomial, GaussianElimination, Euler’s method... Computational mathematics is mainly based on two ideas(extreme simplification) Taylor series and linear algebra. Role of Computers in Numerical ComputingComputers certainly play a part in numerical computing but even if roundingerror vanishes, 95 % of numerical analysis would remain.Most mathematical problems cannot be solvedby a

finite

sequence of elementary operations

Need:

fast algorithms

that converge to ’approximate’ answers

accurate

to

many digits of precision, in science and engineering applications.

CS 8803 NMC: Numerical Methods in Computational Science and Engineering: Matrix Computations – p.1/

Gauss (1777-1855) and Numerical Computing^ least squares data fitting (1795)^ systems of linear equations (1809)^ numerical quadrature (1814)^ fast Fourier transform (1805) - not well known until it was rediscovered byCooley and Tukey (1965)

Numerical Linear Algebra

square linear system solving least squares problems eigenvalue problem Often, Algorithms = Matrix Factorizations

CS 8803 NMC: Numerical Methods in Computational Science and Engineering: Matrix Computations – p.3/

Square Linear System Solving^ When does the solution exist?^ When is it easy to solve?^ Diagonalization: expensive^ Make it triangular: A = LU: lower - upper triangular factors^ Gaussian elimination: make the problem into triangular system solvingMay break down:

Even for matrices with the LU factorization, it can be unstable. Pivoting: By interchanging rows, stability can be achieved.Gaussian elimination with pivoting:

Discovery of pivoting was easy but its theoretical analysis has been hard.For most matrices, it is stable but in 1960 Wilkinson and others found thatfor certain exceptional matrices, Gaussian elimination with pivoting isunstable.

CS 8803 NMC: Numerical Methods in Computational Science and Engineering: Matrix Computations – p.4/

Important matrix computation algorithms in 1960s

Based on the QR factorization:

to solve the least squares construct orthonormal bases used at the core of other algorithms especially in EVD and SVD algorithms

CS 8803 NMC: Numerical Methods in Computational Science and Engineering: Matrix Computations – p.6/

Least Squares^ Overdetermined system solving

where



with



If a square system, we know how to solve: normal equations, or QRD Reduced QR Decomposition: distance preserving dimension reductionmethod QRD: efficient updating and downdating methods exist Rank Deficiency: Q is not the basis for range(R) if rank(A) is not full Pivoted QR decomposition, Rank Revealing QR decomposition or the SVDis needed if rank(A) is not full

CS 8803 NMC: Numerical Methods in Computational Science and Engineering: Matrix Computations – p.7/

Eigenvalue problem

Symmetric vs. Non-symmetric For which matrices eigenvalues are easy to find? What transformations allowed? Similarity transformations. Two matrices

and

are similar if

^ 

for a nonsingular matrix

. Then the

characteristic polynomials of

and

are the same.

Algorithms for Symmetric Eigenvalue Problems

Jacobi algorithm QR algorithm (1960)

One of the matrix factorization algorithms with the greatest impact Francis, Kublanovskaya, Wilkinson Iterative, in symmetric case, typically it converges cubically EISPACK, LAPACK, NAG, IMSL, Numerical recipes, MATLAB, Maple,Mathematica Power method: to find the leading eigenvalue, eigenvector, PageRank

CS 8803 NMC: Numerical Methods in Computational Science and Engineering: Matrix Computations – p.9/