Chapter 3 Polynomials


 Blaise Jacobs
 1 years ago
 Views:
Transcription
1 Dr M DRAIEF As described in the introduction of Chpter 1, pplictions of solving liner equtions rise in number of different settings In prticulr, we will in this chpter focus on the problem of modelling continuous rel function f on some intervl [, b] We will begin by illustrting this in the context of polynomil interpoltion where we will construct polynomils tht exctly mtch the function f t certin fixed points of the intervl [, b] We will then investigte n other lterntive to interpoltion tht is more suited to pproximte polynomils To this we will define the continuous nlogue of the discrete liner lestsqures studied in Chpter 2 1 Polynomil interpoltion The problem of interpolting function f : [, b] R cn be stted s: Given f continuous on the intervl [, b] nd n + 1 points {x 0, x 1,, x n } stisfying x 0 < x 1 < < x n b, determine polynomil P n R n [X] such tht P n (x i ) = f(x i ), i = 0,, n, where P n R n [X] mens tht nd we sy tht the polynomil P n hs degree n P n (x) = x + + n x n = i x i We require n + 1 dt points to construct n interpolting polynomil of degree n since if the number of points is smller thn n, then we could construct infinitely mny degree n interpolting polynomils nd if it is lrger, then there would be no degree n interpolnt Monomil bsis The most strightforwrd wy of solving the interpoltion problem is to notice tht for the choice of the interpolnt P n (x) = x + n x n = n ix i we hve x n x n 1 = f(x 1 ) x n x n 2 = f(x 2 ) x n + + n x n n = f(x n ) In mtrix form this cn be rewritten s 1 x 0 x 2 0 x n 0 1 x 1 x 2 1 x n 1 1 x n x 2 n x n n 0 1 n = f(x 0 ) f(x 1 ) f(x n ) Mtrices of this form re clled Vrdemonde mtrices nd they re invertible since their determinnt is given by n n j=i+1 (x j x i ) which is nonzero if the x i s re distinct In prticulr, this implies tht there is unique interpolnt to f stisfying the bove conditions To solve the liner system bove, we require O(n 3 ) Despite being strightforwrd, the use of the monomil bsis 1, x, x 2, for interpolting gives rise to unplesnt numericl problems when ttempting to determine the coefficients i on computer The min issue stems for the fct tht the monomil bsis functions look incresingly similr s we tke higher nd higher powers This in turn might led to the coefficients c i to become very lrge in mgnitude even if the function f remins of modest size on [, b] To understnd ( ) this phenomen, ( we cn ) use ( n nlogy ) with liner lgebr In prticulr, try to express the vector in the bsis nd 0 1 of 7
2 Dr M DRAIEF Lgrnge bsis An lterntive to the monomil bsis is to express the polynomil P n in different bsis L 0, L 1,, L n of polynomils of degree t most n in R n [X], where L i (x k ) = 0 for ll k i nd L i (x i ) = 1 If such bsis exists then it is not difficult to see tht if we wnt to express P n (x), the interpolnt of f in x 0,, x n, s liner combintion of the L i s then we hve tht P n (x) = i L i (x) nd i = P n (x i ) It is not difficult to check tht the Lgrnge polynomils defined by L i (x) = n k=0,k i (x x k) n k=0,k i (x i x k ), does the trick With the Lgrnge bsis, finding the coefficients for the interpoltion does not require to solve liner eqution Newton bsis The monomil nd the Lgrnge bses represent the two extreme cses from numericl perspective to perform interpoltion Moreover, both shre the shortcoming tht one needs to hve ll the dt points nd the vlues of f in dvnce to be ble to perform the interpoltion In prctise, these dt points my rrive one fter the other requiring the recomputtion of the interpolnt when one gets new dt point It would therefore be useful if one could derive the interpolnts recursively s the points re mde vilble to us In wht follows we will construct bsis Q 0, Q 1, Q n such tht P n (x) = n iq i (x) nd P k (x) = k iq i (x) interpoltes f in the points {x 0,, x k } for k = 0,, n Let us strt by constructing the polynomil P 0 of degree 0 tht interpoltesf in x 0 clerly P 0 (x) = f(x 0 ) Let P 0 = 0 Q 0 where Q 0 (x) = 1 for ll x nd 0 = f(x 0 ) Now, we use P 0 to find P 1 nd Q 1 in R 1 [X] tht interpoltes F in x 0 nd x 1, ie Note tht P 1 (x) = P 0 (x) + 1 Q 1 (x) P 1 (x 0 ) = P 0 (x 0 ) + 1 Q 1 (x 0 ) = f(x 0 ) + 1 Q 1 (x 0 ) As we require tht P 1 (x 0 ) = f(x 0 ), this implies tht 1 Q 1 (x) = 0, ie either 1 = 0 (this only hppens when f(x 0 ) = f(x 1 ) while we re seeking generic bsis tht works for ll f) of Q 1 (x 0 ) = 0 The ltter condition yields Q 1 (x) = x x 0 nd P 1 (x) = (x x 0 ) To determine 1, we use the interpoltion condition for x 1 which implies tht 1 = f(x 1) 0 x 1 x 0 Next, we determine P 2 in R 2 [X] tht interpoltes f t x 0, x 1, x 2 where P 2 (x) = P 1 (x) + 2 Q 2 (x) nd Q 2 in R 2 [X] to be determined The interpoltion conditions together with the properties of the polynomil P 1 imply tht Q 2 (x 0 ) = Q 2 (x 1 ) = 0 Q 2 (x) = (x x 0 )(x x 1 ), nd from Q 2 (x 2 ) = 0 we get tht 2 = f(x 2) P 1 (x 2 ) Q 2 (x 2 ) = f(x 2) 1 (x 2 x 0 ) (x 2 x 0 )(x 2 x 1 ) 2 of 7
3 Dr M DRAIEF Following the sme pttern, it is not difficult to see tht one cn construct Q 1, Q 2, Q 3,, Q n bsis of R n [X] such tht, for k = 0, n k 1 Q k (x) = (x x i ) where P k (x) the interpolnt of f t x 0,, x k is given by P k (x) = k iq i (x) nd i = f(x i) i 1 j=0 jq j (x i ) Q i (x i ) The bove bsis is known s the Newton bsis The entire procedure of constructing P n cn be written in mtrix form s follows f(x 0 ) 1 (x 1 x 0 ) (x 2 x 0 ) (x 2 x 0 )(x 2 x 1 ) 1 f(x 1 ) 0 2 = f(x 2 ) 0 n 1 1 (x n x 0 ) (x n x 0 )(x n x 1 ) (x n x i ) n f(x n ) With the newton form of the interpolnt, one cn esily updte P n to P n+1 to incorporte new dt point (x n+1, f(x n+1 )) Note tht solving the liner system to find the coefficients i tkes O(n 2 ) steps We would like emphsise tht the three methods bove led the sme polynomil P n It is just expressed in three different bses 2 Orthogonl polynomils Interpoltion with high degree polynomils is not lwys the best wy to pproximte function s the polynomil might diverge form the function is is ment to pproximte t points in the intervls (x i, x i+1 ) (between the points of interpoltion) s the degree of the polynomils increse In fct the interpoltion only ccounts for the points of interest x 0, x 1, nd ignores ll other points In this section, we consider n lterntive to polynomil interpoltion, nmely polynomil pproximtion where we wnt to find polynomil P n R n [X] such tht P n (x i ) f(x i ) for i = 1,, m where m n When m = n we hve seen tht such polynomil exists nd is unique when m > n we must settle with n pproximtion, together with method for quntifying the error of this pproximtion For exmple, we could choose to minimise the mximum error min mx f(x i) P (x i ) 0 i m or the sum of the squres of the errors P R n[x] min P R n[x] m (f(x i ) P (x i )) 2 Alterntively, one could ignore the specific points nd mesure the entire intervl of interest [, b] min mx P R n[x] x [,b] f(x) P (x) or min P R n[x] (f(x) P (x)) 2 dx Polynomil pproximtion In this section we will focus the ltter error tht cn be seen s the continuous nlogue of the stndrd liner lestsqures method Exmple 1 Find polynomil P R 1 [X] tht minimises 1 0 (ex P (x)) 2 dx 3 of 7
4 Dr M DRAIEF In generl suppose tht we re interested in expressing the polynomil P n tht minimises (f(x) P (x))2 dx in bis φ 1,, φ n of R n [X], ie P (x) = k φ k (x) In this cse E( 0,, n ) = (f(x) P (x)) 2 dx = f, f 2 i f, φ i + k=0 i k φ i, φ k where g, h = h, g = g(x)h(x)dx In prticulr to minimise E( 0,, n ) we need to find i such tht E/ x i = 0 which implies f, φ i = k φ i, φ k In mtrix form this cn be rewritten s k=0 φ 0, φ 0 φ 0, φ 1 φ 0, φ n φ 1, φ 0 φ 1, φ 1 φ 1, φ n φ n, φ 0 φ n, φ 1 φ n, φ n Suppose = 0, b = 1 nd φ k (x) = x k then φ i, φ j = 1 0 x i+j dx = 0 1 n = 1 i + j + 1 f, φ 0 f, φ 1 f, φ n The corresponding mtrix is the wellknown Hilbert mtrix This is poor bsis (supporting our erlier findings when using the monomils for interpolting) In fct Hilbert mtrices hve very lrge condition numbers, eg κ(h) where H is the Hilbert mtrix of order 10 nd it increses the lrger the mtrix Orthogonl polynomils nd continuous lest squres Here we will focus on more generl errors by investigting polynomils tht minimise (f(x) P (x))2 w(x)dx for w continuous, positive function on [, b] nd we let g, h = h, g = g(x)h(x)w(x)dx Definition 1 We will sy tht two functions g nd h re orthogonl if g, h = 0 function φ 0, φ 1,, φ n is system of orthogonl polynomils if Moreover, set of for ll k φ k is polynomil of exct degree k for ll k j, φ j, φ k = 0 In prticulr if φ 0, φ 1,, φ n re orthogonl polynomils then (φ 0, φ 1,, φ n ) is bsis of R n [X] Moreover if P Spn(φ 0, φ 1,, φ n 1 ) then P, φ n = 0 We now describe mechnism for constructing orthogonl polynomils The GrmSchmidt process used to orthogonlise vectors in R n cn in fct be employed here s well More precisely, suppose tht we hve bsis of R n [X], P 0, P 1,, P n where the degree of P k is exctly k, s mtter of exmple this could be the monomil bsis P i (x) = x i then the GrmSchmidt lgorithm tkes the following form 4 of 7
5 Dr M DRAIEF Pseudocode: GrmSchmidt for polynomils 1 Let φ 0 = P 0 2 For k = 1,, n φ k = p k k 1 p k,φ i φ i,φ i φ i Now suppose tht one hs set of orthogonl polynomils φ 0, φ n nd seeks the next orthogonl polynomil φ n+1 Since the degree of φ n is exctly n, then the degree of xφ n (x) is n + 1 nd one could perform the GrmSchmidt procedure on φ 0 (x), φ n (x), xφ n (x) which forms bsis of R n+1 [X] In prticulr First notice tht φ n+1 (x) = xφ n (x) xφ n (x), φ i (x) = = i= xφ n (x), φ i (x) φ i (x) φ i, φ i xφ n (x)φ i (x)w(x)dx φ n (x)xφ i (x)w(x)dx = φ n (x), xφ i (x) Since xφ i (x)r i+1 [X], then for i < n 1 we hve φ n (x), xφ i (x) = 0 this yields substntil simplifiction in the GrmSchmidt procedure In prticulr Theorem 1 Given positive, continuous weight function w on [, b] nd n ssocited inner product g, h = h, g = g(x)h(x)w(x)dx, then system of orthogonl polynomils cn be generted s follows φ 0 (x) = 1 φ 1 (x) = x x, 1 1, 1 φ k (x) = xφ k 1 (x) xφ k 1(x), φ k 1 (x) φ k 1 (x), φ k 1 (x) φ k 1(x) xφ k 1(x), φ k 2 (x) φ k 2 (x), φ k 2 (x) φ k 2(x) Exmple 2 On [ 1, 1] with wight function w(x) = 1 the orthogonl polynomils re knowns s Legendre polynomils: φ 0 (x) = 1 φ 1 (x) = x φ 2 (x) = x φ 3 (x) = x x A generl expression for these polynomils is s follows d n φ n (x) = 1 2 n n! dx n (x2 1) n, where dn dx n (x 2 1) n stnds for the nth derivtive of (x 2 1) n 5 of 7
6 Dr M DRAIEF Exmple 3 If we chnge the intervl [, b] nd the weight we hve number of interesting fmilies of orthogonl polynomils [, b] = [ 1, 1], nd w(x) = 1 1 x 2 we hve the notorious Chebyshev polynomils T n tht stisfy T n (cos(θ)) = cos(nθ) [, b] = (, ), nd w(x) = e x2 we hve the notorious Hermite polynomils H n where H n (x) = ( 1) n e x2 dn 2 dx n e x Let us go bck to find the best pproximtion to function f, given by φ 0, φ 0 φ 0, φ 1 φ 0, φ n 0 φ 1, φ 0 φ 1, φ 1 φ 1, φ n 1 = φ n, φ 0 φ n, φ 1 φ n, φ n n f, φ 0 f, φ 1 f, φ n In φ 0,, φ n is n orthogonl bsis of R n [X] then one cn crete n orthonorml bsis ψ 0,, ψ n where ψ k = φ k φ k, φ k 1/2 nd the coefficients k such tht P n (x) = n k=0 kψ k (x) where P n given the minimum of f(x) P (x), f(x) P (x) re then given by k = f, ψ k Theorem 2 The unique L 2 pproximtion to f, ie the one tht minimises the distnce P f 2 L 2 = (f(x) P (x)2 w(x)dx is given by where f, ψ k = f(x)ψ k(x)w(x)dx P = f, ψ k ψ k, k=0 To prove this note tht f P, ψ k = 0 for ll k = 0,, n nd by consequence for ll Q R n [X] which cn be rewritten s liner combintion of the ψ k s we hve f P, Q = 0 Exmple 4 Approximte f(x) = e x for [, b] = [0, 1] nd w(x) = 1 6 of 7
7 Dr M DRAIEF 3 Exercises Exercise 1 Consider the following inner product on R [X]: P, Q = 1 Show tht this is in fct n inner product 1 1 P (x) Q (x) 1 x 2 dx 2 For every n N there exists unique polynomil T n such tht T n (cos x) = cos (nx) for ll x R Verify this for n = 1,, 4 Write then recursive representtion for the generl cse (ny n) 3 Verify: ( 1 X 2) T n (X) X T n (X) = n 2 T n (X) by using X = cos (x) 4 Consider now P = x n x n R n [X] We represent it s P = ( 0, 1, n ) T Given this expression, find mtrix M such tht P ( 1 x 2) P xp Wht re its rnge nd kernel for n = 3? 5 Determine the eigenvlues md eigenvectors of M 6 Show the orthogonlity of the polynomils Hint: Use x = cos (σ) nd substitute T n (x) = cos (nσ) Exercise 2 (2011) We consider the set R n [X] of polynomils with rel coefficients nd degrees less or equl to n endowed with the inner product P, Q = 1 1 P (t)q(t)dt 1 Show tht P, Q = 1 1 P (t)q(t)dt is indeed n inner product on R n[x] 2 Give the expression of P, Q when P nd Q re polynomils in R 2 [X] in terms of the coefficients of both P nd Q 3 Let L be the ppliction on R n [X] such tht L(P ) = d dx [ (X 2 1) dp ] dx () Show tht if P R n [X] then L(P ) R n [X] nd tht L is liner trnsformtion on R n [X] (b) Prove tht, for ll P, Q in R n [X], we hve Hint: Perform integrtions by prts L(P ), Q = P, L(Q) 4 Let P 0 = 1 nd for k = 1,, n, define the polynomil P k of degree k s follows the kth derivtive of (X 2 1) k () Compute P 1 nd P 2 P k = dk dx k ( (X 2 1) k), 7 of 7
8 Dr M DRAIEF (b) Derive n expression of L(P k ) in terms of P k respectively (c) Prove the following identity (X 2 1) d[( X 2 1) k] dx nd P k the first nd second derivtives of P k, 2kX(X 2 1) k = 0 (d) By differentiting (k + 1) times the bove expression, estblish tht (X 2 1)P k (X) + 2XP k(x) = k(k + 1)P k (X) Hint: Use Leibniz s formul k+1 ( ) k + 1 (fg) (k+1) = f (i) g (k+1 i), i i=1 where f (i) is the ith derivtive of f (e) Find the eigenvlues nd eigenvectors of the trnsformtion L 5 Let k, l two integers between 0 nd n () Express L(P k ), P l nd L(P l ), P k in terms of P k, P l (b) Prove tht (P 0, P 1,, P n ) is n orthogonl bsis of R n [X] when endowed with the inner product 1 1 P (t)q(t)dt These polynomils re known s Legendre polynomils 8 of 7
Theoretical foundations of Gaussian quadrature
Theoreticl foundtions of Gussin qudrture 1 Inner product vector spce Definition 1. A vector spce (or liner spce) is set V = {u, v, w,...} in which the following two opertions re defined: (A) Addition of
More informationLecture 19: Continuous Least Squares Approximation
Lecture 19: Continuous Lest Squres Approximtion 33 Continuous lest squres pproximtion We begn 31 with the problem of pproximting some f C[, b] with polynomil p P n t the discrete points x, x 1,, x m for
More informationBest Approximation. Chapter The General Case
Chpter 4 Best Approximtion 4.1 The Generl Cse In the previous chpter, we hve seen how n interpolting polynomil cn be used s n pproximtion to given function. We now wnt to find the best pproximtion to given
More informationOrthogonal Polynomials and LeastSquares Approximations to Functions
Chpter Orthogonl Polynomils nd LestSqures Approximtions to Functions **4/5/3 ET. Discrete LestSqures Approximtions Given set of dt points (x,y ), (x,y ),..., (x m,y m ), norml nd useful prctice in mny
More informationDiscrete Leastsquares Approximations
Discrete Lestsqures Approximtions Given set of dt points (x, y ), (x, y ),, (x m, y m ), norml nd useful prctice in mny pplictions in sttistics, engineering nd other pplied sciences is to construct curve
More information1 The Lagrange interpolation formula
Notes on Qudrture 1 The Lgrnge interpoltion formul We briefly recll the Lgrnge interpoltion formul. The strting point is collection of N + 1 rel points (x 0, y 0 ), (x 1, y 1 ),..., (x N, y N ), with x
More informationOrthogonal Polynomials
Mth 4401 Gussin Qudrture Pge 1 Orthogonl Polynomils Orthogonl polynomils rise from series solutions to differentil equtions, lthough they cn be rrived t in vriety of different mnners. Orthogonl polynomils
More informationLecture 14: Quadrature
Lecture 14: Qudrture This lecture is concerned with the evlution of integrls fx)dx 1) over finite intervl [, b] The integrnd fx) is ssumed to be relvlues nd smooth The pproximtion of n integrl by numericl
More informationNumerical Methods I Orthogonal Polynomials
Numericl Methods I Orthogonl Polynomils Aleksndr Donev Cournt Institute, NYU 1 donev@cournt.nyu.edu 1 MATHGA 2011.003 / CSCIGA 2945.003, Fll 2014 Nov 6th, 2014 A. Donev (Cournt Institute) Lecture IX
More informationNumerical integration
2 Numericl integrtion This is pge i Printer: Opque this 2. Introduction Numericl integrtion is problem tht is prt of mny problems in the economics nd econometrics literture. The orgniztion of this chpter
More informationBest Approximation in the 2norm
Jim Lmbers MAT 77 Fll Semester 111 Lecture 1 Notes These notes correspond to Sections 9. nd 9.3 in the text. Best Approximtion in the norm Suppose tht we wish to obtin function f n (x) tht is liner combintion
More information1. GaussJacobi 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 ),
1. GussJcobi qudrture nd Legendre polynomils Simpson s rule for evluting n integrl f(t)dt gives the correct nswer with error of bout O(n 4 ) (with constnt tht depends on f, in prticulr, it depends on
More informationMath 270A: Numerical Linear Algebra
Mth 70A: Numericl Liner Algebr Instructor: Michel Holst Fll Qurter 014 Homework Assignment #3 Due Give to TA t lest few dys before finl if you wnt feedbck. Exercise 3.1. (The Bsic Liner Method for Liner
More information63. Representation of functions as power series Consider a power series. ( 1) n x 2n for all 1 < x < 1
3 9. SEQUENCES AND SERIES 63. Representtion of functions s power series Consider power series x 2 + x 4 x 6 + x 8 + = ( ) n x 2n It is geometric series with q = x 2 nd therefore it converges for ll q =
More informationCMDA 4604: Intermediate Topics in Mathematical Modeling Lecture 19: Interpolation and Quadrature
CMDA 4604: Intermedite Topics in Mthemticl Modeling Lecture 19: Interpoltion nd Qudrture In this lecture we mke brief diversion into the res of interpoltion nd qudrture. Given function f C[, b], we sy
More informationMath 520 Final Exam Topic Outline Sections 1 3 (Xiao/Dumas/Liaw) Spring 2008
Mth 520 Finl Exm Topic Outline Sections 1 3 (Xio/Dums/Liw) Spring 2008 The finl exm will be held on Tuesdy, My 13, 25pm in 117 McMilln Wht will be covered The finl exm will cover the mteril from ll of
More informationAbstract inner product spaces
WEEK 4 Abstrct inner product spces Definition An inner product spce is vector spce V over the rel field R equipped with rule for multiplying vectors, such tht the product of two vectors is sclr, nd the
More informationAdvanced Computational Fluid Dynamics AA215A Lecture 3 Polynomial Interpolation: Numerical Differentiation and Integration.
Advnced Computtionl Fluid Dynmics AA215A Lecture 3 Polynomil Interpoltion: Numericl Differentition nd Integrtion Antony Jmeson Winter Qurter, 2016, Stnford, CA Lst revised on Jnury 7, 2016 Contents 3 Polynomil
More informationLecture 17. Integration: Gauss Quadrature. David Semeraro. University of Illinois at UrbanaChampaign. March 20, 2014
Lecture 17 Integrtion: Guss Qudrture Dvid Semerro University of Illinois t UrbnChmpign Mrch 0, 014 Dvid Semerro (NCSA) CS 57 Mrch 0, 014 1 / 9 Tody: Objectives identify the most widely used qudrture method
More informationMatrices, Moments and Quadrature, cont d
Jim Lmbers MAT 285 Summer Session 201516 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
More informationMATH34032: Green s Functions, Integral Equations and the Calculus of Variations 1
MATH34032: Green s Functions, Integrl Equtions nd the Clculus of Vritions 1 Section 1 Function spces nd opertors Here we gives some brief detils nd definitions, prticulrly relting to opertors. For further
More informationThe Regulated and Riemann Integrals
Chpter 1 The Regulted nd Riemnn Integrls 1.1 Introduction We will consider severl different pproches to defining the definite integrl f(x) dx of function f(x). These definitions will ll ssign the sme vlue
More informationConstruction of Gauss Quadrature Rules
Jim Lmbers MAT 772 Fll Semester 201011 Lecture 15 Notes These notes correspond to Sections 10.2 nd 10.3 in the text. Construction of Guss Qudrture Rules Previously, we lerned tht NewtonCotes qudrture
More information1 Linear Least Squares
Lest Squres Pge 1 1 Liner Lest Squres I will try to be consistent in nottion, with n being the number of dt points, nd m < n being the number of prmeters in model function. We re interested in solving
More informationPhysics 116C Solution of inhomogeneous ordinary differential equations using Green s functions
Physics 6C Solution of inhomogeneous ordinry differentil equtions using Green s functions Peter Young November 5, 29 Homogeneous Equtions We hve studied, especilly in long HW problem, second order liner
More informationLecture 6: Singular Integrals, Open Quadrature rules, and Gauss Quadrature
Lecture notes on Vritionl nd Approximte Methods in Applied Mthemtics  A Peirce UBC Lecture 6: Singulr Integrls, Open Qudrture rules, nd Guss Qudrture (Compiled 6 August 7) In this lecture we discuss the
More information1 The Riemann Integral
The Riemnn Integrl. An exmple leding to the notion of integrl (res) We know how to find (i.e. define) the re of rectngle (bse height), tringle ( (sum of res of tringles). But how do we find/define n re
More informationLecture 4: Piecewise Cubic Interpolation
Lecture notes on Vritionl nd Approximte Methods in Applied Mthemtics  A Peirce UBC Lecture 4: Piecewise Cubic Interpoltion Compiled 5 September In this lecture we consider piecewise cubic interpoltion
More informationMath 1B, lecture 4: Error bounds for numerical methods
Mth B, lecture 4: Error bounds for numericl methods Nthn Pflueger 4 September 0 Introduction The five numericl methods descried in the previous lecture ll operte by the sme principle: they pproximte the
More informationSection 6.1 INTRO to LAPLACE TRANSFORMS
Section 6. INTRO to LAPLACE TRANSFORMS Key terms: Improper Integrl; diverge, converge A A f(t)dt lim f(t)dt Piecewise Continuous Function; jump discontinuity Function of Exponentil Order Lplce Trnsform
More informationP 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 Tylor polynomils In Section 3.5, we discussed how to pproximte function f(x) round point in terms of its first derivtive f (x) evluted t, tht is using the liner pproximtion f() + f ()(x ). We clled this
More informationNumerical Analysis. Doron Levy. Department of Mathematics Stanford University
Numericl Anlysis Doron Levy Deprtment of Mthemtics Stnford University December 1, 2005 D. Levy Prefce i D. Levy CONTENTS Contents Prefce i 1 Introduction 1 2 Interpoltion 2 2.1 Wht is Interpoltion?............................
More informationIII. Lecture on Numerical Integration. File faclib/dattab/lecturenotes/numericalinter03.tex /by EC, 3/14/2008 at 15:11, version 9
III Lecture on Numericl Integrtion File fclib/dttb/lecturenotes/numericalinter03.tex /by EC, 3/14/008 t 15:11, version 9 1 Sttement of the Numericl Integrtion Problem In this lecture we consider the
More informationNUMERICAL INTEGRATION. The inverse process to differentiation in calculus is integration. Mathematically, integration is represented by.
NUMERICAL INTEGRATION 1 Introduction The inverse process to differentition in clculus is integrtion. Mthemticlly, integrtion is represented by f(x) dx which stnds for the integrl of the function f(x) with
More informationDefinite integral. Mathematics FRDIS MENDELU
Definite integrl Mthemtics FRDIS MENDELU Simon Fišnrová Brno 1 Motivtion  re under curve Suppose, for simplicity, tht y = f(x) is nonnegtive nd continuous function defined on [, b]. Wht is the re of the
More informationNew Expansion and Infinite Series
Interntionl Mthemticl Forum, Vol. 9, 204, no. 22, 06073 HIKARI Ltd, www.mhikri.com http://dx.doi.org/0.2988/imf.204.4502 New Expnsion nd Infinite Series Diyun Zhng College of Computer Nnjing University
More informationMath 61CM  Solutions to homework 9
Mth 61CM  Solutions to homework 9 Cédric De Groote November 30 th, 2018 Problem 1: Recll tht the left limit of function f t point c is defined s follows: lim f(x) = l x c if for ny > 0 there exists δ
More informationDefinite integral. Mathematics FRDIS MENDELU. Simona Fišnarová (Mendel University) Definite integral MENDELU 1 / 30
Definite integrl Mthemtics FRDIS MENDELU Simon Fišnrová (Mendel University) Definite integrl MENDELU / Motivtion  re under curve Suppose, for simplicity, tht y = f(x) is nonnegtive nd continuous function
More informationChapter 3. Vector Spaces
3.4 Liner Trnsformtions 1 Chpter 3. Vector Spces 3.4 Liner Trnsformtions Note. We hve lredy studied liner trnsformtions from R n into R m. Now we look t liner trnsformtions from one generl vector spce
More informationNumerical Integration
Chpter 5 Numericl Integrtion Numericl integrtion is the study of how the numericl vlue of n integrl cn be found. Methods of function pproximtion discussed in Chpter??, i.e., function pproximtion vi the
More informationImproper Integrals, and Differential Equations
Improper Integrls, nd Differentil Equtions October 22, 204 5.3 Improper Integrls Previously, we discussed how integrls correspond to res. More specificlly, we sid tht for function f(x), the region creted
More informationProperties of Integrals, Indefinite Integrals. Goals: Definition of the Definite Integral Integral Calculations using Antiderivatives
Block #6: Properties of Integrls, Indefinite Integrls Gols: Definition of the Definite Integrl Integrl Clcultions using Antiderivtives Properties of Integrls The Indefinite Integrl 1 Riemnn Sums  1 Riemnn
More informationNumerical Integration
Numericl Integrtion Wouter J. Den Hn London School of Economics c 2011 by Wouter J. Den Hn June 3, 2011 Qudrture techniques I = f (x)dx n n w i f (x i ) = w i f i i=1 i=1 Nodes: x i Weights: w i Qudrture
More informationMORE FUNCTION GRAPHING; OPTIMIZATION. (Last edited October 28, 2013 at 11:09pm.)
MORE FUNCTION GRAPHING; OPTIMIZATION FRI, OCT 25, 203 (Lst edited October 28, 203 t :09pm.) Exercise. Let n be n rbitrry positive integer. Give n exmple of function with exctly n verticl symptotes. Give
More information1 1D heat and wave equations on a finite interval
1 1D het nd wve equtions on finite intervl In this section we consider generl method of seprtion of vribles nd its pplictions to solving het eqution nd wve eqution on finite intervl ( 1, 2. Since by trnsltion
More informationRiemann Sums and Riemann Integrals
Riemnn Sums nd Riemnn Integrls Jmes K. Peterson Deprtment of Biologicl Sciences nd Deprtment of Mthemticl Sciences Clemson University August 26, 2013 Outline 1 Riemnn Sums 2 Riemnn Integrls 3 Properties
More informationSection 6.1 INTRO to LAPLACE TRANSFORMS
Section 6. INTRO to LAPLACE TRANSFORMS Key terms: Improper Integrl; diverge, converge A A f(t)dt lim f(t)dt Piecewise Continuous Function; jump discontinuity Function of Exponentil Order Lplce Trnsform
More informationChapter 14. Matrix Representations of Linear Transformations
Chpter 4 Mtrix Representtions of Liner Trnsformtions When considering the Het Stte Evolution, we found tht we could describe this process using multipliction by mtrix. This ws nice becuse computers cn
More informationRiemann Sums and Riemann Integrals
Riemnn Sums nd Riemnn Integrls Jmes K. Peterson Deprtment of Biologicl Sciences nd Deprtment of Mthemticl Sciences Clemson University August 26, 203 Outline Riemnn Sums Riemnn Integrls Properties Abstrct
More informationODE: Existence and Uniqueness of a Solution
Mth 22 Fll 213 Jerry Kzdn ODE: Existence nd Uniqueness of Solution The Fundmentl Theorem of Clculus tells us how to solve the ordinry differentil eqution (ODE) du = f(t) dt with initil condition u() =
More informationHow do we solve these things, especially when they get complicated? How do we know when a system has a solution, and when is it unique?
XII. LINEAR ALGEBRA: SOLVING SYSTEMS OF EQUATIONS Tody we re going to tlk bout solving systems of liner equtions. These re problems tht give couple of equtions with couple of unknowns, like: 6 2 3 7 4
More information1 The fundamental theorems of calculus.
The fundmentl theorems of clculus. The fundmentl theorems of clculus. Evluting definite integrls. The indefinite integrl new nme for ntiderivtive. Differentiting integrls. Tody we provide the connection
More informationSturmLiouville Eigenvalue problem: Let p(x) > 0, q(x) 0, r(x) 0 in I = (a, b). Here we assume b > a. Let X C 2 1
Ch.4. INTEGRAL EQUATIONS AND GREEN S FUNCTIONS Ronld B Guenther nd John W Lee, Prtil Differentil Equtions of Mthemticl Physics nd Integrl Equtions. Hildebrnd, Methods of Applied Mthemtics, second edition
More information20 MATHEMATICS POLYNOMIALS
0 MATHEMATICS POLYNOMIALS.1 Introduction In Clss IX, you hve studied polynomils in one vrible nd their degrees. Recll tht if p(x) is polynomil in x, the highest power of x in p(x) is clled the degree of
More informationNumerical Analysis: Trapezoidal and Simpson s Rule
nd Simpson s Mthemticl question we re interested in numericlly nswering How to we evlute I = f (x) dx? Clculus tells us tht if F(x) is the ntiderivtive of function f (x) on the intervl [, b], then I =
More information1 The fundamental theorems of calculus.
The fundmentl theorems of clculus. The fundmentl theorems of clculus. Evluting definite integrls. The indefinite integrl new nme for ntiderivtive. Differentiting integrls. Theorem Suppose f is continuous
More informationMath 8 Winter 2015 Applications of Integration
Mth 8 Winter 205 Applictions of Integrtion Here re few importnt pplictions of integrtion. The pplictions you my see on n exm in this course include only the Net Chnge Theorem (which is relly just the Fundmentl
More informationChapter 0. What is the Lebesgue integral about?
Chpter 0. Wht is the Lebesgue integrl bout? The pln is to hve tutoril sheet ech week, most often on Fridy, (to be done during the clss) where you will try to get used to the ides introduced in the previous
More informationMA123, Chapter 10: Formulas for integrals: integrals, antiderivatives, and the Fundamental Theorem of Calculus (pp.
MA123, Chpter 1: Formuls for integrls: integrls, ntiderivtives, nd the Fundmentl Theorem of Clculus (pp. 27233, Gootmn) Chpter Gols: Assignments: Understnd the sttement of the Fundmentl Theorem of Clculus.
More informationMultivariate problems and matrix algebra
University of Ferrr Stefno Bonnini Multivrite problems nd mtrix lgebr Multivrite problems Multivrite sttisticl nlysis dels with dt contining observtions on two or more chrcteristics (vribles) ech mesured
More informationChapter 5 : Continuous Random Variables
STAT/MATH 395 A  PROBABILITY II UW Winter Qurter 216 Néhémy Lim Chpter 5 : Continuous Rndom Vribles Nottions. N {, 1, 2,...}, set of nturl numbers (i.e. ll nonnegtive integers); N {1, 2,...}, set of ll
More informationNOTES ON HILBERT SPACE
NOTES ON HILBERT SPACE 1 DEFINITION: by Prof CI Tn Deprtment of Physics Brown University A Hilbert spce is n inner product spce which, s metric spce, is complete We will not present n exhustive mthemticl
More informationB.Sc. in Mathematics (Ordinary)
R48/0 DUBLIN INSTITUTE OF TECHNOLOGY KEVIN STREET, DUBLIN 8 B.Sc. in Mthemtics (Ordinry) SUPPLEMENTAL EXAMINATIONS 01 Numericl Methods Dr. D. Mckey Dr. C. Hills Dr. E.A. Cox Full mrks for complete nswers
More informationExam 2, Mathematics 4701, Section ETY6 6:05 pm 7:40 pm, March 31, 2016, IH1105 Instructor: Attila Máté 1
Exm, Mthemtics 471, Section ETY6 6:5 pm 7:4 pm, Mrch 1, 16, IH115 Instructor: Attil Máté 1 17 copies 1. ) Stte the usul sufficient condition for the fixedpoint itertion to converge when solving the eqution
More informationUnit #9 : Definite Integral Properties; Fundamental Theorem of Calculus
Unit #9 : Definite Integrl Properties; Fundmentl Theorem of Clculus Gols: Identify properties of definite integrls Define odd nd even functions, nd reltionship to integrl vlues Introduce the Fundmentl
More informationNUMERICAL INTEGRATION
NUMERICAL INTEGRATION How do we evlute I = f (x) dx By the fundmentl theorem of clculus, if F (x) is n ntiderivtive of f (x), then I = f (x) dx = F (x) b = F (b) F () However, in prctice most integrls
More informationRecitation 3: More Applications of the Derivative
Mth 1c TA: Pdric Brtlett Recittion 3: More Applictions of the Derivtive Week 3 Cltech 2012 1 Rndom Question Question 1 A grph consists of the following: A set V of vertices. A set E of edges where ech
More informationCS667 Lecture 6: Monte Carlo Integration 02/10/05
CS667 Lecture 6: Monte Crlo Integrtion 02/10/05 Venkt Krishnrj Lecturer: Steve Mrschner 1 Ide The min ide of Monte Crlo Integrtion is tht we cn estimte the vlue of n integrl by looking t lrge number of
More informationset is not closed under matrix [ multiplication, ] and does not form a group.
Prolem 2.3: Which of the following collections of 2 2 mtrices with rel entries form groups under [ mtrix ] multipliction? i) Those of the form for which c d 2 Answer: The set of such mtrices is not closed
More informationReview of Gaussian Quadrature method
Review of Gussin Qudrture method Nsser M. Asi Spring 006 compiled on Sundy Decemer 1, 017 t 09:1 PM 1 The prolem To find numericl vlue for the integrl of rel vlued function of rel vrile over specific rnge
More informationMATRICES AND VECTORS SPACE
MATRICES AND VECTORS SPACE MATRICES AND MATRIX OPERATIONS SYSTEM OF LINEAR EQUATIONS DETERMINANTS VECTORS IN SPACE AND SPACE GENERAL VECTOR SPACES INNER PRODUCT SPACES EIGENVALUES, EIGENVECTORS LINEAR
More informationpadic Egyptian Fractions
padic Egyptin Frctions Contents 1 Introduction 1 2 Trditionl Egyptin Frctions nd Greedy Algorithm 2 3 Setup 3 4 pgreedy Algorithm 5 5 pegyptin Trditionl 10 6 Conclusion 1 Introduction An Egyptin frction
More informationSTUDY GUIDE FOR BASIC EXAM
STUDY GUIDE FOR BASIC EXAM BRYON ARAGAM This is prtil list of theorems tht frequently show up on the bsic exm. In mny cses, you my be sked to directly prove one of these theorems or these vrints. There
More informationChapter 3 MATRIX. In this chapter: 3.1 MATRIX NOTATION AND TERMINOLOGY
Chpter 3 MTRIX In this chpter: Definition nd terms Specil Mtrices Mtrix Opertion: Trnspose, Equlity, Sum, Difference, Sclr Multipliction, Mtrix Multipliction, Determinnt, Inverse ppliction of Mtrix in
More informationPart IB Numerical Analysis
Prt IB Numericl Anlysis Theorems with proof Bsed on lectures by G. Moore Notes tken by Dexter Chu Lent 2016 These notes re not endorsed by the lecturers, nd I hve modified them (often significntly) fter
More informationAn Introduction to Numerical Analysis. Martin Lotz
An Introduction to Numericl Anlysis Mrtin Lotz SCHOOL OF MATHEMATICS, THE UNIVERSITY OF MANCHESTER, ALAN TURING BUILDING, OXFORD ROAD, MANCHESTER M39PL Emil ddress: mrtinlotz@mnchestereduk URL: http://wwwmthsmnchestercuk/~mlotz
More informationNumerical Integration. 1 Introduction. 2 Midpoint Rule, Trapezoid Rule, Simpson Rule. AMSC/CMSC 460/466 T. von Petersdorff 1
AMSC/CMSC 46/466 T. von Petersdorff 1 umericl Integrtion 1 Introduction We wnt to pproximte the integrl I := f xdx where we re given, b nd the function f s subroutine. We evlute f t points x 1,...,x n
More information38 Riemann sums and existence of the definite integral.
38 Riemnn sums nd existence of the definite integrl. In the clcultion of the re of the region X bounded by the grph of g(x) = x 2, the xxis nd 0 x b, two sums ppered: ( n (k 1) 2) b 3 n 3 re(x) ( n These
More informationHow do you know you have SLE?
Simultneous Liner Equtions Simultneous Liner Equtions nd Liner Algebr Simultneous liner equtions (SLE s) occur frequently in Sttics, Dynmics, Circuits nd other engineering clsses Need to be ble to, nd
More informationIntroduction to Numerical Analysis
Introduction to Numericl Anlysis Doron Levy Deprtment of Mthemtics nd Center for Scientific Computtion nd Mthemticl Modeling (CSCAMM) University of Mrylnd June 14, 2012 D. Levy CONTENTS Contents 1 Introduction
More informationMain topics for the First Midterm
Min topics for the First Midterm The Midterm will cover Section 1.8, Chpters 23, Sections 4.14.8, nd Sections 5.15.3 (essentilly ll of the mteril covered in clss). Be sure to know the results of the
More informationAdvanced Calculus: MATH 410 Uniform Convergence of Functions Professor David Levermore 11 December 2015
Advnced Clculus: MATH 410 Uniform Convergence of Functions Professor Dvid Levermore 11 December 2015 12. Sequences of Functions We now explore two notions of wht it mens for sequence of functions {f n
More informationModule 6: LINEAR TRANSFORMATIONS
Module 6: LINEAR TRANSFORMATIONS. Trnsformtions nd mtrices Trnsformtions re generliztions of functions. A vector x in some set S n is mpped into m nother vector y T( x). A trnsformtion is liner if, for
More informationMath Lecture 23
Mth 8  Lecture 3 Dyln Zwick Fll 3 In our lst lecture we delt with solutions to the system: x = Ax where A is n n n mtrix with n distinct eigenvlues. As promised, tody we will del with the question of
More information7.2 The Definite Integral
7.2 The Definite Integrl the definite integrl In the previous section, it ws found tht if function f is continuous nd nonnegtive, then the re under the grph of f on [, b] is given by F (b) F (), where
More informationElementary Linear Algebra
Elementry Liner Algebr Anton & Rorres, 1 th Edition Lecture Set 5 Chpter 4: Prt II Generl Vector Spces 163 คณ ตศาสตร ว ศวกรรม 3 สาขาว ชาว ศวกรรมคอมพ วเตอร ป การศ กษา 1/2555 163 คณตศาสตรวศวกรรม 3 สาขาวชาวศวกรรมคอมพวเตอร
More informationCOSC 3361 Numerical Analysis I Numerical Integration and Differentiation (III)  Gauss Quadrature and Adaptive Quadrature
COSC 336 Numericl Anlysis I Numericl Integrtion nd Dierentition III  Guss Qudrture nd Adptive Qudrture Edgr Griel Fll 5 COSC 336 Numericl Anlysis I Edgr Griel Summry o the lst lecture I For pproximting
More informationReview of basic calculus
Review of bsic clculus This brief review reclls some of the most importnt concepts, definitions, nd theorems from bsic clculus. It is not intended to tech bsic clculus from scrtch. If ny of the items below
More informationPolynomial Approximations for the Natural Logarithm and Arctangent Functions. Math 230
Polynomil Approimtions for the Nturl Logrithm nd Arctngent Functions Mth 23 You recll from first semester clculus how one cn use the derivtive to find n eqution for the tngent line to function t given
More informationNumerical quadrature based on interpolating functions: A MATLAB implementation
SEMINAR REPORT Numericl qudrture bsed on interpolting functions: A MATLAB implementtion by Venkt Ayylsomyjul A seminr report submitted in prtil fulfillment for the degree of Mster of Science (M.Sc) in
More informationImproper Integrals. Type I Improper Integrals How do we evaluate an integral such as
Improper Integrls Two different types of integrls cn qulify s improper. The first type of improper integrl (which we will refer to s Type I) involves evluting n integrl over n infinite region. In the grph
More informationf(x) dx, If one of these two conditions is not met, we call the integral improper. Our usual definition for the value for the definite integral
Improper Integrls Every time tht we hve evluted definite integrl such s f(x) dx, we hve mde two implicit ssumptions bout the integrl:. The intervl [, b] is finite, nd. f(x) is continuous on [, b]. If one
More information3.4 Numerical integration
3.4. Numericl integrtion 63 3.4 Numericl integrtion In mny economic pplictions it is necessry to compute the definite integrl of relvlued function f with respect to "weight" function w over n intervl [,
More informationOverview of Calculus I
Overview of Clculus I Prof. Jim Swift Northern Arizon University There re three key concepts in clculus: The limit, the derivtive, nd the integrl. You need to understnd the definitions of these three things,
More information4.4 Areas, Integrals and Antiderivatives
. res, integrls nd ntiderivtives 333. Ares, Integrls nd Antiderivtives This section explores properties of functions defined s res nd exmines some connections mong res, integrls nd ntiderivtives. In order
More informationx = b a n x 2 e x dx. cdx = c(b a), where c is any constant. a b
CHAPTER 5. INTEGRALS 61 where nd x = b n x i = 1 (x i 1 + x i ) = midpoint of [x i 1, x i ]. Problem 168 (Exercise 1, pge 377). Use the Midpoint Rule with the n = 4 to pproximte 5 1 x e x dx. Some quick
More informationConvex Sets and Functions
B Convex Sets nd Functions Definition B1 Let L, +, ) be rel liner spce nd let C be subset of L The set C is convex if, for ll x,y C nd ll [, 1], we hve 1 )x+y C In other words, every point on the line
More informationContinuous Random Variables
STAT/MATH 395 A  PROBABILITY II UW Winter Qurter 217 Néhémy Lim Continuous Rndom Vribles Nottion. The indictor function of set S is relvlued function defined by : { 1 if x S 1 S (x) if x S Suppose tht
More information