Matrices, Moments and Quadrature, cont d

Similar documents
Construction of Gauss Quadrature Rules

Lecture 14: Quadrature

Best Approximation in the 2-norm

Theoretical foundations of Gaussian quadrature

Review of Calculus, cont d

1 Linear Least Squares

Math 520 Final Exam Topic Outline Sections 1 3 (Xiao/Dumas/Liaw) Spring 2008

Chapter 3 Polynomials

1 The Lagrange interpolation formula

CMDA 4604: Intermediate Topics in Mathematical Modeling Lecture 19: Interpolation and Quadrature

Orthogonal Polynomials

Numerical quadrature based on interpolating functions: A MATLAB implementation

New Expansion and Infinite Series

Numerical Methods I Orthogonal Polynomials

Lecture 19: Continuous Least Squares Approximation

The Regulated and Riemann Integrals

MATH34032: Green s Functions, Integral Equations and the Calculus of Variations 1

THE EXISTENCE-UNIQUENESS THEOREM FOR FIRST-ORDER DIFFERENTIAL EQUATIONS.

Gene H. Golub y. Computer Science Department, Stanford University. Stanford CA 94305, USA. Gerard Meurant

Physics 116C Solution of inhomogeneous ordinary differential equations using Green s functions

Quadratic Forms. Quadratic Forms

Numerical Integration. 1 Introduction. 2 Midpoint Rule, Trapezoid Rule, Simpson Rule. AMSC/CMSC 460/466 T. von Petersdorff 1

1. Gauss-Jacobi quadrature and Legendre polynomials. p(t)w(t)dt, p {p(x 0 ),...p(x n )} p(t)w(t)dt = w k p(x k ),

Numerical integration

Numerical Linear Algebra Assignment 008

Numerical Integration

B.Sc. in Mathematics (Ordinary)

Elements of Matrix Algebra

Advanced Calculus: MATH 410 Notes on Integrals and Integrability Professor David Levermore 17 October 2004

The Islamic University of Gaza Faculty of Engineering Civil Engineering Department. Numerical Analysis ECIV Chapter 11

Discrete Least-squares Approximations

CAAM 453 NUMERICAL ANALYSIS I Examination There are four questions, plus a bonus. Do not look at them until you begin the exam.

Lecture 6: Singular Integrals, Open Quadrature rules, and Gauss Quadrature

Jim Lambers MAT 169 Fall Semester Lecture 4 Notes

Lecture Notes: Orthogonal Polynomials, Gaussian Quadrature, and Integral Equations

Lecture 1. Functional series. Pointwise and uniform convergence.

Lecture 20: Numerical Integration III

STURM-LIOUVILLE BOUNDARY VALUE PROBLEMS

ODE: Existence and Uniqueness of a Solution

MAT 772: Numerical Analysis. James V. Lambers

4.5 JACOBI ITERATION FOR FINDING EIGENVALUES OF A REAL SYMMETRIC MATRIX. be a real symmetric matrix. ; (where we choose θ π for.

Best Approximation. Chapter The General Case

Properties of Integrals, Indefinite Integrals. Goals: Definition of the Definite Integral Integral Calculations using Antiderivatives

Advanced Computational Fluid Dynamics AA215A Lecture 3 Polynomial Interpolation: Numerical Differentiation and Integration.

8 Laplace s Method and Local Limit Theorems

Module 11.4: nag quad util Numerical Integration Utilities. Contents

Abstract inner product spaces

3.4 Numerical integration

NUMERICAL INTEGRATION. The inverse process to differentiation in calculus is integration. Mathematically, integration is represented by.

Lecture 17. Integration: Gauss Quadrature. David Semeraro. University of Illinois at Urbana-Champaign. March 20, 2014

Math 61CM - Solutions to homework 9

Math 270A: Numerical Linear Algebra

Math Lecture 23

CSCI 5525 Machine Learning

COSC 3361 Numerical Analysis I Numerical Integration and Differentiation (III) - Gauss Quadrature and Adaptive Quadrature

Math 1B, lecture 4: Error bounds for numerical methods

(4.1) D r v(t) ω(t, v(t))

Contents. Outline. Structured Rank Matrices Lecture 2: The theorem Proofs Examples related to structured ranks References. Structure Transport

Interpolation. Gaussian Quadrature. September 25, 2011

Math& 152 Section Integration by Parts

ARITHMETIC OPERATIONS. The real numbers have the following properties: a b c ab ac

Unit #9 : Definite Integral Properties; Fundamental Theorem of Calculus

1.9 C 2 inner variations

Lecture 4: Piecewise Cubic Interpolation

Riemann Sums and Riemann Integrals

Orthogonal Polynomials and Least-Squares Approximations to Functions

Riemann Sums and Riemann Integrals

Math 554 Integration

MATH 174A: PROBLEM SET 5. Suggested Solution

AQA Further Pure 1. Complex Numbers. Section 1: Introduction to Complex Numbers. The number system

c n φ n (x), 0 < x < L, (1) n=1

Numerical Analysis: Trapezoidal and Simpson s Rule

Review of Riemann Integral

Math 231E, Lecture 33. Parametric Calculus

1.2. Linear Variable Coefficient Equations. y + b "! = a y + b " Remark: The case b = 0 and a non-constant can be solved with the same idea as above.

Main topics for the First Midterm

Overview of Calculus I

Lecture Note 9: Orthogonal Reduction

P 3 (x) = f(0) + f (0)x + f (0) 2. x 2 + f (0) . In the problem set, you are asked to show, in general, the n th order term is a n = f (n) (0)

1 Error Analysis of Simple Rules for Numerical Integration

MAT 168: Calculus II with Analytic Geometry. James V. Lambers

1 The Riemann Integral

Analytical Methods Exam: Preparatory Exercises

Lecture 3 ( ) (translated and slightly adapted from lecture notes by Martin Klazar)

f(x)dx . Show that there 1, 0 < x 1 does not exist a differentiable function g : [ 1, 1] R such that g (x) = f(x) for all

20 MATHEMATICS POLYNOMIALS

Spectral Methods for Time-dependent Variable-coefficient PDE Based on Block Gaussian Quadrature

HW3, Math 307. CSUF. Spring 2007.

Numerical Methods I. Olof Widlund Transcribed by Ian Tobasco

Jack Simons, Henry Eyring Scientist and Professor Chemistry Department University of Utah

A REVIEW OF CALCULUS CONCEPTS FOR JDEP 384H. Thomas Shores Department of Mathematics University of Nebraska Spring 2007

a a a a a a a a a a a a a a a a a a a a a a a a In this section, we introduce a general formula for computing determinants.

Definite integral. Mathematics FRDIS MENDELU

Review of basic calculus

Numerical Integration

7.2 Riemann Integrable Functions

Definite integral. Mathematics FRDIS MENDELU. Simona Fišnarová (Mendel University) Definite integral MENDELU 1 / 30

III. Lecture on Numerical Integration. File faclib/dattab/lecture-notes/numerical-inter03.tex /by EC, 3/14/2008 at 15:11, version 9

Euler, Ioachimescu and the trapezium rule. G.J.O. Jameson (Math. Gazette 96 (2012), )

63. Representation of functions as power series Consider a power series. ( 1) n x 2n for all 1 < x < 1

Transcription:

Jim Lmbers MAT 285 Summer Session 2015-16 Lecture 2 Notes Mtrices, Moments nd Qudrture, cont d We hve described how Jcobi mtrices cn be used to compute nodes nd weights for Gussin qudrture rules for generl positive, incresing mesure α(λ), which ensures tht the Jcobi mtrix J n is not only symmetric but lso positive definite Now, we consider the cse of the specific inner product with ssocited norm f, g f(λ)g(λ) dα(λ) u T f(a)g(a)u, f α f, f 1/2 (u T f(a) 2 u) 1/2 The underlying mesure α(λ) llows us to represent the qudrtic form u T f(a)u s Riemnn- Stieltjes integrl tht cn be pproximted vi Gussin qudrture Derivtion of the Lnczos Algorithm We now exmine the computtion of the required recursion coefficients α j xq j 1, q j 1, β j p j, p j 1/2, j 1 If we define the vectors then it follows tht Furthermore, x j q j 1 (A)u, r j p j (A)u, j 1, α j x T j Ax j, β j r j 2 r j p j (A)u (A α j I)q j 1 (A)u β j 1 q j 2 (A)u (A α j I)x j β j 1 x j 1 Putting ll of these reltions together yields the lgorithm r 0 u x 0 0 for j 1, 2,, n do β j 1 r j 1 2 x j r j 1 /β j 1 1

α j x T j Ax j r j (A α j I)x j β j 1 x j 1 end This is precisely the Lnczos lgorithm tht is often used to pproximte extreml eigenvlues of A, nd is closely relted to the conjugte grdient method for solving symmetric positive definite systems The vectors x 1,, x n re clled the Lnczos vectors The mtrix X n [ x 1 x n stisfies the reltions X T n X n I n, X T n AX n J n The second reltion follows from the bove formul for α j, s well s the reltion β j xq j 1, q j x T j 1Ax j, j 1 The Lnczos vectors llow us to express our pproximtion of the qudrtic form u T f(a)u, tht involves function of n N N mtrix, in terms of function of n n n mtrix We hve u T f(a)u (β 0 x 1 ) T f(a)(β 0 x 1 ) β 2 0(X n e 1 ) T f(a)(x n e 1 ) p 0, p 0 e T 1 X T n f(a)x n e 1 1, 1 e T 1 f(x T n AX n )e 1 (u T u)e T 1 f(j n )e 1 u 2 2[f(J n ) 11 It follows tht if the prticulr function f is conducive to computing the (1, 1) entry of tridigonl mtrix efficiently, then there is no need to compute the nodes nd weights for Gussin qudrture explicitly Now, suppose tht J n hs the spectrl decomposition J n U n Λ n U T n, where U n is n orthogonl mtrix whose columns re the eigenvectors of J n, nd Λ n is digonl mtrix tht contins the eigenvlues Then we hve u T f(a)u u 2 2e T 1 f(u n Λ n U T n )e 1 u 2 2e T 1 U n f(λ n )Un T e 1 n u 2 2 f(t j )u 2 1j n f(t j ) w j 2

Thus we hve recovered the reltionship between the qudrture weights nd the eigenvectors of J n If we let n I[f f(λ) dα(λ), L G [f f(t j ) w j, then it follows from the fct tht L G [f is the exct integrl of polynomil tht interpoltes f t the nodes tht the error in this qudrture rule is I[f L G [f f (2n) (ξ) (2n)! n (λ t j ) 2 dα(λ), where ξ is n unknown point in (, b) The bove error formul cn most esily be derived by defining L G [f s the exct integrl of the Hermite interpolting polynomil of f, rther thn the Lgrnge interpolnt This is possible becuse for Gussin rule, the weights stisfy w j L j (λ) dα(λ) L j (λ) 2 dα(λ), where L j is the jth Lgrnge polynomil for the interpoltion points t 1,, t n Now, suppose tht the even-order derivtives of f re positive on (, b) Then, the error is positive, which mens tht the Gussin qudrture pproximtion is lower bound for I[f This is the cse, for exmple, if f(λ) 1 λ, or f(λ) e λt where t > 0 Prescribing Nodes It is desirble to lso obtin n upper bound for I[f To tht end, we consider modifying the Gussin rule to prescribe tht one of the nodes be λ, the smllest eigenvlue of A We ssume tht good pproximtion of cn be computed, which is typiclly possible using the Lnczos lgorithm, s it is well-suited to pproximting extreml eigenvlues of symmetric positive definite mtrix We wish to construct n ugmented Jcobi mtrix J n+1 tht hs s n eigenvlue; tht is, J n+1 I is singulr mtrix From the recurrence reltion for the orthonorml polynomils tht define the Jcobi mtrix, we obtin the system of equtions (J n+1 I )Q n+1 () 0, where the (unnormlized) eigenvector Q n+1 () is defined s Q n ws before Tht is, [Q n+1 () i q i 1 (), for i 1, 2,, n + 1 Decomposing this system of equtions into blocks yields [ Jn I e n e T n α n+1 [ Qn () q n () 3 [ 0 0

From the first n rows of this system, we obtin (J n I)Q n () q n ()e n, nd the lst row yields Now, if we solve the system we obtin which yields α n+1 q n 1 () q n () (J n I)δ() β 2 ne n, Q n () q n()δ(), α n+1 q n 1 () q n () β ( n q ) n()[δ() n q n () + [δ() n Thus we hve obtined Jcobi mtrix tht hs the prescribed node s n eigenvlue The error in this qudrture rule, which is known s Guss-Rdu rule, is I[f L GR [f f (2n+1) (ξ) (2n + 1)! (λ ) n (λ t j ) 2 dα(λ) Becuse the fctor λ is lwys positive on (, b), it follows tht this Guss-Rdu rule yields n upper bound on I[f if the derivtives of odd order re negtive, which is the cse for f(λ) 1 λ nd f(λ) e λt where t > 0 Similrly, if we prescribe the node λ b, then Guss-Rdu qudrture yield lower bound, which my be shrper thn the lower bound obtined from Gussin qudrture Now, suppose we wish to prescribe both λ nd λ b s nodes This yields wht is known s Guss-Lobtto qudrture rule To obtin such rule, we gin ugment the Jcobi mtrix J n to obtin new mtrix J n+1 tht hs both nd b s eigenvlues In contrst with Guss-Rdu rules, however, it is necessry to determine both nd α n+1 so tht this is the cse The recurrence reltion for orthonorml polynomils, nd the requirements tht both nd b re roots of q n+1 (x) yields the equtions 0 ( α n+1 )q n () q n 1 (), 0 (b α n+1 )q n (b) q n 1 (b), 4

or, in mtrix-vector form, [ qn () q n 1 () q n (b) q n 1 (b) [ αn+1 [ qn () bq n (b) The recurrence reltion lso yields the systems of equtions (J n I)Q n () q n ()e n, (J n bi)q n (b) q n (b)e n If we define δ() nd δ(b) to be the solutions of (J n I)δ() e n, (J n bi)δ(b) e n, it follows tht nd therefore Q n () q n ()δ(), Q n (b) q n (b)δ(b), q n 1 () q n ()[δ() n, q n 1 (b) q n (b)[δ(b) n It follows from [ 1 q n 1 () 1 q n() q n 1 (b) q n(b) [ αn+1 tht the recursion coefficients nd α n+1 stisfy [ [ 1 [δ()n αn+1 1 [δ(b) n [ b [ b The error in this Guss-Lobtto rule is I[f L GL [f f (2n+2) (ξ) (2n + 2)! n 1 (λ b)(λ ) (λ t j ) 2 Becuse nd b re the endpoints of the intervl of integrtion, nd (λ b)(λ ) < 0 on (, b), Guss-Lobtto qudrture yields n upper bound if the even-order derivtives of f re positive on (, b) The Cse of u v When using the bove qudrture rules to pproximte the biliner form u T f(a)v, where u v, cre must be exercised, becuse the underlying mesure α(λ) is no longer gurnteed to be positive nd incresing This cn led to negtive weights, which numericlly destbilizes the qudrture rule 5

To construct Gussin, Guss-Rdu or Guss-Lobtto qudrture rules, the unsymmetric Lnczos lgorithm must be used, with left initil vector u nd right initil vector v This lgorithm yields two biorthogonl sequences of Lnczos vectors such tht x j q j 1 (A)v, y j q j 1 (A)u, j 1, 2,, n, y T i x j δ ij However, becuse of the symmetry of A, we hve q j (λ) ±q j (λ), j 0, 1,, n 1, so ech underlying sequence of polymomils is still orthogonl with respect to the mesure α(λ) These sequences stisfy 3-term recurrence reltions β j q j (x) p j (x) (x α j )q j 1 (x) γ j 1 q j 2 (x), γ j q j (x) p j (x) (x α j ) q j 1 (x) β j 1 q j 2 (x), for j 1, with q 1 (x) q 1 (x) 0, p 0 (x) p 0 (x) 1, nd β 0 γ 0 p 0, p 0 It follows tht α j q j 1, xq j 1 y T j Ax j, γ j β j p j, p j r T j r j, where r j p j (A)u The fctoriztion of γ j β j into γ j nd β j is rbitrry, but is normlly chosen so tht γ j ±β j If, for ny index j 0, 1,, n 1, γ j β j, then the Jcobi mtrix J n is no longer symmetric In this cse, the eigenvlues of J n re still the Gussin qudrture nodes They re still rel nd lie within the intervl (, b), becuse they re the roots of member of sequence of orthogonl polynomils However, the weights re now the products of the first components of the left nd right eigenvectors, which re no longer gurnteed to be the sme becuse the Jcobi mtrix is not symmetric It follows tht the weights re no longer gurnteed to be positive, s they re in the cse of symmetric Jcobi mtrix As long s the unsymmetric Lnczos lgorithm does not experience serious brekdown, in which γ j β j 0, n-node Gussin qudrture is exct for polynomils of degree up to 2n 1, s in the cse of qudrtic forms However, becuse the weights cn be negtive, typiclly lterntive pproches re used to pproximte biliner forms using these qudrture rules Some such pproches re: Using perturbtion of qudrtic form The biliner form is rewritten s u T f(a)v 1 δ [ut f(a)(u + δv) u T f(a)u, where the prmeter δ is chosen sufficiently smll so tht the mesure of the perturbed qudrtic form is still positive nd incresing 6

Using difference of qudrtic forms: u T f(a)v 1 4 [(u + v)t f(a)(u + v) (u v) T f(a)(u v), nd the symmetric Lnczos lgorithm cn be used to pproximte both qudrtic forms A block pproch: the 2 2 mtrix integrl [ T [ u v f(a) u v is insted pproximted The block Lnczos lgorithm, due to Golub nd Underwood, is pplied to A with the initil block [ u v The result is 2n 2n block tridigonl mtrix with 2 2 blocks plying the role of recursion coefficients The eigenvlues of this mtrix serve s qudrture nodes, nd the first two components of ech eigenvector, tken in outer products with themselves, ply the role of qudrture weights One importnt drwbck of ll of these pproches is tht it is not possible to obtin upper or lower bounds for u T f(a)v, wheres this is possible when it is pproximted by single qudrture rule Guss-Rdu nd Guss-Lobtto rules cn lso be constructed in similr mnner s for qudrtic forms Detils cn be found in the pper of Golub nd Meurnt 7