p(x) = 3x 3 + x n 3 k=0 so the right hand side of the equality we have to show is obtained for r = b 0, s = b 1 and 2n 3 b k x k, q 2n 3 (x) =

Similar documents
Theoretical foundations of Gaussian quadrature

1 The Lagrange interpolation formula

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

B.Sc. in Mathematics (Ordinary)

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

Orthogonal Polynomials

Numerical Integration

Exam 2, Mathematics 4701, Section ETY6 6:05 pm 7:40 pm, March 31, 2016, IH-1105 Instructor: Attila Máté 1

Numerical Methods I Orthogonal Polynomials

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

Construction of Gauss Quadrature Rules

The Regulated and Riemann Integrals

An optimal 3-point quadrature formula of closed type and error bounds

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

Numerical Analysis: Trapezoidal and Simpson s Rule

Abstract inner product spaces

Some estimates on the Hermite-Hadamard inequality through quasi-convex functions

Undergraduate Research

Orthogonal Polynomials and Least-Squares Approximations to Functions

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

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

Numerical integration

Dedicated to Professor D. D. Stancu on his 75th birthday Mathematical Subject Classification: 25A24, 65D30

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

Review of Calculus, cont d

Best Approximation in the 2-norm

4181H Problem Set 11 Selected Solutions. Chapter 19. n(log x) n 1 1 x x dx,

Numerical Integration

5.4, 6.1, 6.2 Handout. As we ve discussed, the integral is in some way the opposite of taking a derivative. The exact relationship

NUMERICAL INTEGRATION

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

Lecture 1. Functional series. Pointwise and uniform convergence.

Lecture 12: Numerical Quadrature

Convex Sets and Functions

Interpolation. Gaussian Quadrature. September 25, 2011

Math& 152 Section Integration by Parts

AN INTEGRAL INEQUALITY FOR CONVEX FUNCTIONS AND APPLICATIONS IN NUMERICAL INTEGRATION

Overview of Calculus I

3.4 Numerical integration

Section 7.1 Integration by Substitution

Lecture 14: Quadrature

Definite integral. Mathematics FRDIS MENDELU

The Riemann Integral

Math 118: Honours Calculus II Winter, 2005 List of Theorems. L(P, f) U(Q, f). f exists for each ǫ > 0 there exists a partition P of [a, b] such that

Discrete Least-squares Approximations

7.2 The Definite Integral

Review of Gaussian Quadrature method

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

Math 554 Integration

THE HANKEL MATRIX METHOD FOR GAUSSIAN QUADRATURE IN 1 AND 2 DIMENSIONS

AM1 Mathematical Analysis 1 Oct Feb Exercises Lecture 3. sin(x + h) sin x h cos(x + h) cos x h

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 ),

The final exam will take place on Friday May 11th from 8am 11am in Evans room 60.

Lecture Note 4: Numerical differentiation and integration. Xiaoqun Zhang Shanghai Jiao Tong University

We know that if f is a continuous nonnegative function on the interval [a, b], then b

Presentation Problems 5

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

MORE FUNCTION GRAPHING; OPTIMIZATION. (Last edited October 28, 2013 at 11:09pm.)

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

Lecture 14 Numerical integration: advanced topics

Math Solutions to homework 1

University of Houston, Department of Mathematics Numerical Analysis II

Numerical Analysis. 10th ed. R L Burden, J D Faires, and A M Burden

Improper Integrals. MATH 211, Calculus II. J. Robert Buchanan. Spring Department of Mathematics

Numerical quadrature based on interpolating functions: A MATLAB implementation

Keywords : Generalized Ostrowski s inequality, generalized midpoint inequality, Taylor s formula.

Best Approximation. Chapter The General Case

Main topics for the First Midterm

CLOSED EXPRESSIONS FOR COEFFICIENTS IN WEIGHTED NEWTON-COTES QUADRATURES

Numerical Integration

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

Lecture 19: Continuous Least Squares Approximation

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

The Banach algebra of functions of bounded variation and the pointwise Helly selection theorem

Matrices, Moments and Quadrature, cont d

MATH , Calculus 2, Fall 2018

Review of basic calculus

New Expansion and Infinite Series

Math 116 Final Exam April 26, 2013

DEFINITE INTEGRALS. f(x)dx exists. Note that, together with the definition of definite integrals, definitions (2) and (3) define b

Fourier series. Preliminary material on inner products. Suppose V is vector space over C and (, )

5.1 How do we Measure Distance Traveled given Velocity? Student Notes

DOING PHYSICS WITH MATLAB MATHEMATICAL ROUTINES

The area under the graph of f and above the x-axis between a and b is denoted by. f(x) dx. π O

Math 61CM - Solutions to homework 9

Math 426: Probability Final Exam Practice

Phil Wertheimer UMD Math Qualifying Exam Solutions Analysis - January, 2015

1. On some properties of definite integrals. We prove

IMPORTANT THEOREMS CHEAT SHEET

Improper Integrals, and Differential Equations

SOLUTIONS FOR ANALYSIS QUALIFYING EXAM, FALL (1 + µ(f n )) f(x) =. But we don t need the exact bound.) Set

Calculus in R. Chapter Di erentiation

Numerical Integration. Newton Cotes Formulas. Quadrature. Newton Cotes Formulas. To approximate the integral b

Calculus II: Integrations and Series

M597K: Solution to Homework Assignment 7

Entrance Exam, Real Analysis September 1, 2009 Solve exactly 6 out of the 8 problems. Compute the following and justify your computation: lim

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

1 The fundamental theorems of calculus.

Lecture 3. Limits of Functions and Continuity

Integral inequalities

Transcription:

Norwegin University of Science nd Technology Deprtment of Mthemticl Sciences Pge 1 of 5 Contct during the exm: Elen Celledoni, tlf. 73593541, cell phone 48238584 PLESE NOTE: this solution is for the students who hve prticipted to this yer exm nd cn not be divulged to third prties or used by third prties without the permission of the Deprtment of Mthemticl Sciences or the uthor Elen Celledoni Problem 1 ) Find the polynomil p Π 3, such tht p() = 1, p(1) = 1, p () = 1, p () =. Solution: the polynomil is p(x) = 3x 3 + x + 1. Problem 2 ) Let n 2. Show tht polynomil p 2 of degree 2n 1 cn be written p 2 (x) = (x )(b x)q 2n 3 (x) + r(x ) + s(b x), where q 2n 3 is polynomil of degree 2n 3, nd, b, r nd s re constnts. Hint. Observe tht the set of polynomils (x ), (b x), (x ) (b x) x k, k =,..., 2n 3, with nd b not simultneously equl to zero, is bsis for the vector spce of polynomils of degree less thn or equl to 2n 1. Solution: Using the given bsis ny polynomil p 2 (x) cn be written in the form 2n 3 p 2 (x) = b (x ) + b 1 (b x) + b k ((x ) (b x) x k), so the right hnd side of the equlity we hve to show is obtined for r = b, s = b 1 nd q 2n 3 (x) = k= 2n 3 k= b k x k, polynomil of degree less thn or equl to 2n 3.

TMA4215 Numericl Mthemtics Pge 2 of 5 b) Then construct the Lobtto qudrture formul w(x)f(x) dx W f() + W k f(x k ) + W n f(b), which is exct when f is polynomil of degree 2n 1. Here w(x) is positive weight function. Hint. One wy to solve this problem is by using the n 1 Guss qudrture points nd weights with respect to weight function w(x) w(x). Solution. The Lobtto qudrture formule hve the form W f() + W k f(x k ) + W n f(b), nd re exct for ll polynomils p 2 (x) of degree less thn or equl to 2n 1. We use the expression for p 2 obtined in the previous exercise. Observe tht p 2 () = s(b ) nd p 2 (b) = r(b ), then w(x)p 2 (x) dx = w(x)(x )(b x)q 2n 3 (x) dx+r(b )W +s(b )W n where W := (b ) 1 w(x)(x ) dx nd W n := (b ) 1 w(x)(b x) dx. We now choose x 1,..., x nd W 1,..., W to be the n 1 Guss qudrture nodes nd weights with respect to the positive weight function w(x) = (x )(b x)w(x), then the qudrture formul W kf(x k ) is exct for ll f = q 2n 3 polynomils of degree less thn or equl to 2n 3, nd we cn conclude tht w(x)p 2 (x) dx = W p 2 () + W k p 2 (x k ) + W n p 2 (b), is exct for ll polynomils of degree less thn or equl to 2n 1. c) Show tht ll the weights W k, k =, 1,..., n, re positive. Solution. By definition W nd W n re positive s they re obtined integrting positive functions. For W 1,..., W we use the well known result sying tht Guss qudrture weights re positive. Problem 3 ) We wnt to find the locl error σ n+1 of the trpezoidl rule method y n+1 = y n + 1 2 h(f(y n+1) + f(y n )),

TMA4215 Numericl Mthemtics Pge 3 of 5 for the numericl solution of the sclr initil vlue problem y (t) = f(y), with y() = y, nd where h = t n+1 t n. We use the following definition of the locl trunction error with z n+1 defined by σ n+1 = y(t n+1 ) z n+1, z n+1 = y(t n ) + 1 2 h(f(y(t n+1)) + f(y(t n ))), nd it is sufficient to investigte the cse n =. Explin how we obtin the following expression for σ 1 σ 1 := 1 2 (h x) x y (ξ(x)) dx, nd using the men vlue theorem for integrls or otherwise find σ 1 = 1 12 h3 y ( ξ), for some ξ in the intervl (, h), where y is the solution of the initil vlue problem. Solution. For the exct solution we hve nd z 1 cn be interpreted s y(t 1 ) = y + z 1 = y + f(y(x)) dx, g(x) dx where g(x) is the liner polynomil interpolting the vlues (, f(y )) nd (h, f(y(t 1 ))). Recll tht the error for such interpoltion polynomil is f(y(x)) g(x) = 1 2! d 2 f(y(x)) dx 2 x (x h) = 1 x= x 2! y (ξ(x)) x (x h), for x (, h) nd where ξ(x) = x. This yields the first given expression for σ 1. Since (h x) x is nonnegtive, by the men vlue theorem for integrls there exists ξ (, h) such tht σ 1 = 1 2 y ( ξ) (h x) x dx, nd the finl result is obtined by computing the integrl.

TMA4215 Numericl Mthemtics Pge 4 of 5 b) Suppose f stisfies the Lipschitz condition f(t, u) f(t, v) L u v, for ll rel t, u, v where L is positive constnt independent of t, nd tht y (t) M for some positive constnt M independent of t. Show tht the globl error e n = y(t n ) y n stisfies the inequlity e n+1 h3 M 12 + (1 + 1 2 hl) e n + 1 2 hl e n+1. Hint. Use tht e n+1 = y(t n+1 ) z n+1 +z n+1 y n+1 = σ n+1 +z n+1 y n+1. Solution. Using the Lipschitz condition we observe tht which substituted in z n+1 y n+1 e n + 1 2 hl e n+1 + 1 2 hl e n, e n+1 σ n+1 + z n+1 y n+1, nd together with σ n+1 h3 M 12, gives the desired result. c) For constnt step-size h > stisfying hl < 2, deduce tht, if y = y(), then [( e n h2 M 1 + 1 2 hl ) n 12L 1 1 2 hl 1]. Solution. Since 1 1 2hL >, from the result of the previous exercise we obtin ( 1 e n+1 1 1 2 hl (1 + 1 2 hl) e n + 1 ) 12 h3 M. Let us define Y := h3 M nd X := 1+ 1 12(1 1 2 hl 2 hl) 1 1 hl, so 2 e n Y + X e Y + XY + X 2 Y + + X Y, becuse e =, nd using the formul for the prtil sums of the geometric series e n Y Xn 1 X 1. Since (X 1) 1 = 1 1 2 hl hl one esily obtins the desired inequlity.

TMA4215 Numericl Mthemtics Pge 5 of 5 Formule nd useful results Prtil sums of the geometric series: for x, 1 + x + x 2 + + x m = 1 xm+1 1 x. Men vlue theorem for integrls. Let f(x) nd g(x) be continuous on [, b]. Assume tht g(x) is positive, i.e. g(x) for ny x [, b]. Then there exists c (, b) such tht f(t)g(t)dt = f(c) g(t)dt.