Polynomials. p n (x) = a n x n + a n 1 x n 1 + a 1 x + a 0, where

Similar documents
Scientific Computing

Scientific Computing: An Introductory Survey

Outline. 1 Interpolation. 2 Polynomial Interpolation. 3 Piecewise Polynomial Interpolation

Chapter 4 Sequences and Series

NUMERICAL COMPUTATION IN SCIENCE AND ENGINEERING

Review: Power series define functions. Functions define power series. Taylor series of a function. Taylor polynomials of a function.

Numerical Analysis. A Comprehensive Introduction. H. R. Schwarz University of Zürich Switzerland. with a contribution by

Numerical Methods I: Polynomial Interpolation

Interpolation. Chapter Interpolation. 7.2 Existence, Uniqueness and conditioning

MATHEMATICAL FORMULAS AND INTEGRALS

Interpolation Atkinson Chapter 3, Stoer & Bulirsch Chapter 2, Dahlquist & Bjork Chapter 4 Topics marked with are not on the exam

Exam 2. Average: 85.6 Median: 87.0 Maximum: Minimum: 55.0 Standard Deviation: Numerical Methods Fall 2011 Lecture 20

SPLINE INTERPOLATION

Numerical Methods I Orthogonal Polynomials

CS 450 Numerical Analysis. Chapter 8: Numerical Integration and Differentiation

Cubic Splines MATH 375. J. Robert Buchanan. Fall Department of Mathematics. J. Robert Buchanan Cubic Splines

Math 411 Preliminaries

(0, 0), (1, ), (2, ), (3, ), (4, ), (5, ), (6, ).

Numerical Methods I: Interpolation (cont ed)

Math 365 Homework 5 Due April 6, 2018 Grady Wright

Preface. 2 Linear Equations and Eigenvalue Problem 22

CS412: Introduction to Numerical Methods

Examination paper for TMA4215 Numerical Mathematics

MATHEMATICAL FORMULAS AND INTEGRALS

University of Houston, Department of Mathematics Numerical Analysis, Fall 2005

Applied Linear Algebra

Chapter 1 Numerical approximation of data : interpolation, least squares method

1 + lim. n n+1. f(x) = x + 1, x 1. and we check that f is increasing, instead. Using the quotient rule, we easily find that. 1 (x + 1) 1 x (x + 1) 2 =

3.1 Interpolation and the Lagrange Polynomial

Scientific Computing: An Introductory Survey

Solutions: Problem Set 3 Math 201B, Winter 2007

1.2 Finite Precision Arithmetic

MATHEMATICAL METHODS INTERPOLATION

PARTIAL DIFFERENTIAL EQUATIONS

Math 307 Learning Goals. March 23, 2010

Advanced Computational Fluid Dynamics AA215A Lecture 2 Approximation Theory. Antony Jameson

CHAPTER 4. Interpolation

Introduction to Numerical Analysis

Applied Math 205. Full office hour schedule:

1 Piecewise Cubic Interpolation

MATHEMATICAL HANDBOOK. Formulas and Tables

( nonlinear constraints)

Chapter 4: Interpolation and Approximation. October 28, 2005

Applied Numerical Analysis (AE2220-I) R. Klees and R.P. Dwight

Rational Trigonometry. Rational Trigonometry

Examples of the Fourier Theorem (Sect. 10.3). The Fourier Theorem: Continuous case.

The Pseudospectral Method

Numerical Methods for Engineers. and Scientists. Applications using MATLAB. An Introduction with. Vish- Subramaniam. Third Edition. Amos Gilat.

Interpolation. Escuela de Ingeniería Informática de Oviedo. (Dpto. de Matemáticas-UniOvi) Numerical Computation Interpolation 1 / 34

PART II : Least-Squares Approximation

SPECIAL FUNCTIONS OF MATHEMATICS FOR ENGINEERS

Approximation theory

Class notes: Approximation

Outline. 1 Numerical Integration. 2 Numerical Differentiation. 3 Richardson Extrapolation

Math 307 Learning Goals

Numerical Integration (Quadrature) Another application for our interpolation tools!

Math 489AB A Very Brief Intro to Fourier Series Fall 2008

November 20, Interpolation, Extrapolation & Polynomial Approximation

SMOOTH APPROXIMATION OF DATA WITH APPLICATIONS TO INTERPOLATING AND SMOOTHING. Karel Segeth Institute of Mathematics, Academy of Sciences, Prague

FINITE-DIMENSIONAL LINEAR ALGEBRA

Grade 11 or 12 Pre-Calculus

Justify all your answers and write down all important steps. Unsupported answers will be disregarded.

6 Lecture 6b: the Euler Maclaurin formula

CAM Ph.D. Qualifying Exam in Numerical Analysis CONTENTS

Chapter 6. Legendre and Bessel Functions

Interpolation Theory

Function Approximation

1 Lecture 8: Interpolating polynomials.

Data representation and approximation

Mathematics for Engineers II. lectures. Power series, Fourier series

Lectures 9-10: Polynomial and piecewise polynomial interpolation

LECTURE NOTES ELEMENTARY NUMERICAL METHODS. Eusebius Doedel

Applied Numerical Analysis

Mathematics for Engineers and Scientists

Numerical integration and differentiation. Unit IV. Numerical Integration and Differentiation. Plan of attack. Numerical integration.

Computational Physics

which arises when we compute the orthogonal projection of a vector y in a subspace with an orthogonal basis. Hence assume that P y = A ij = x j, x i

APPLIED NUMERICAL LINEAR ALGEBRA

AMS526: Numerical Analysis I (Numerical Linear Algebra)

Math 12 Final Exam Review 1

LEAST SQUARES APPROXIMATION

Section 8.7. Taylor and MacLaurin Series. (1) Definitions, (2) Common Maclaurin Series, (3) Taylor Polynomials, (4) Applications.

New York City College of Technology, CUNY Mathematics Department. MAT 1575 Final Exam Review Problems. 3x (a) x 2 (x 3 +1) 3 dx (b) dx.

Solving Linear Time Varying Systems by Orthonormal Bernstein Polynomials

Numerical Methods for Differential Equations Mathematical and Computational Tools

MATHia Unit MATHia Workspace Overview TEKS

3. Which of these numbers does not belong to the set of solutions of the inequality 4

f (x) = k=0 f (0) = k=0 k=0 a k k(0) k 1 = a 1 a 1 = f (0). a k k(k 1)x k 2, k=2 a k k(k 1)(0) k 2 = 2a 2 a 2 = f (0) 2 a k k(k 1)(k 2)x k 3, k=3

Introduction to Numerical Analysis

MATHEMATICS (MATH) Mathematics (MATH) 1

Interpolation and extrapolation

Vectors in Function Spaces

Curve Fitting. 1 Interpolation. 2 Composite Fitting. 1.1 Fitting f(x) 1.2 Hermite interpolation. 2.1 Parabolic and Cubic Splines

Jim Lambers MAT 460/560 Fall Semester Practice Final Exam

Chapter 2 Interpolation

From Fourier to Wavelets in 60 Slides

Fourier Series. (Com S 477/577 Notes) Yan-Bin Jia. Nov 29, 2016

Approximation Theory

Kernel-based Approximation. Methods using MATLAB. Gregory Fasshauer. Interdisciplinary Mathematical Sciences. Michael McCourt.

Mathematics for Chemists 2 Lecture 14: Fourier analysis. Fourier series, Fourier transform, DFT/FFT

Transcription:

Polynomials Polynomials Evaluation of polynomials involve only arithmetic operations, which can be done on today s digital computers. We consider polynomials with real coefficients and real variable. p n (x) = a n x n + a n 1 x n 1 + a 1 x + a 0, where Review n 0 Z, a j, x R, a n 0. A polynomial remains a polynomial with variable translation (shift of origin) or dilation(scaling). Any p n is bounded on finite intervals, unbounded on infinite intervals. Any p n (x) is continuous and differentiable for arbitrarily many times, i.e., P n (a, b) C (a, b), where P n denotes the set of polynomials with degree up to n. The set P n is a linear space of dimension n + 1. A natural basis of P n consists of the monic monomials 1, x, x 2,, x n, any polynomial in P n is a linear combination of the basis functions. 1

Polynomials Differentiation is a linear operator from P n to P n 1, indefinite integration is a linear operator from P n to P n+1, and a definite integration is a linear operator from P n to R. Two important theorems related to polynomials: - Taylor s theorem, - Weierstrass approximation theorem. Any p n (x) has n roots x i in the complex plane, and can be represented in the factored form p n (x) = i=1:n (x x i ). Complexity for evaluating a polynomial p n (x) in terms of arithmetic operations, - at any single point : O(n 2 ), O(n log(n)) and O(n), - at n points: O(n 3 ), O(n 2 log(n)), O(n 2 ), and O(n log 2 (n)), Approximation and interpolation with polynomials: 1. with monic monomial polynomials - Vandermonde matrices - Fast computation with Vandermonde matrices - Fast solution of Vandermonde systems 2. with special polynomials: - Chebyshev polynomials, - Hermite polynomials, - Legendre polynomials. 3. with piecewise polynomials - Splines, especially cubic splines, 2

- Fast computation with tridiagonal matrices, - Fast solution of tridiagonal systems, The applications include data smoothing, data modeling, data simplification. Other types of polynomials: complex variable, multiple variables. (to be continued) 1 2 1 Taylor, Brook, 1685-1731, England. First mathematics paper in 1708 on the center of oscillation of a body. 2 Weierstrass, Karl, 1815-1897, Germany. A high school teacher until welknown for his original work. 3

f n (x) = n where j=0 α j cos(jx) + β j sin(jx), x R, n 0 Z, α j, β j, R, α n + β n > 0. Review A trigonometric polynomial remains a trigonometric polynomial with variable translation (shift of origin) or dilation(scaling). Any f n is bounded on any interval (a, b) (find the bounds in terms of the coefficients). Any f n is continuous and differentiable for arbitrarily many times, i.e., T n (a, b) C (a, b), where T n denotes the set of trigonometric polynomials with degree up to n. Any f n is periodic on (, ) (find the period of f n ). The set T n is a linear space of dimension 2n+1. The following functions form an orthogonal basis of T n (0, 2π), {cos(jx), sin(kx) j = 0 : n, k = 1 : n.} with the inner product defined as f, g = 2π 0 4 f(x)g(x)dx.

Differentiation is a linear operator from T n to T n, indefinite integration is a linear operator from T n to T n, and a definite integration is a linear operator from T n to R. Any f n (x) of variable x can be expressed as a polynomial p n (cos(x)) of variable cos(x). Two important theorems related to trigonometric polynomials: Taylor s theorem, Fourier s theorem. Approximation and interpolation with trigonometric polynomials. Approximation and interpolation with piecewise trigonometric polynomials. The applications include data modeling, data analysis, data filtering, and data compression (e.g. COS transform, SIN transform, Fourier transform). Evaluation of cos(x) and sin(x) within required accuracy : - pre-select a set of reference points (seeds) in [0, π/4], - conversion between degrees and radians, and map x into the canonical interval [0, π/4], - find the closest seed, - determine a sufficient truncation degree in the Taylor series, - evaluate the approximating Taylor polynomial, - benchmark your code. 5

Complexity for evaluating a trigonometric polynomial f n (x) : - at any single point : - at n points: - at n equal-spaced points in [0, 2π): Euler s formula Representation in exponentials: e ix = cos(x) + i sin(x). f n (x) = γ 0 + n where j=1 γ je jx + γ j e jx, x R, n 0 Z, γ j, γ j C, γ n + γ n > 0. - Find relations between (α j, β j ) and (γ j, γ j ) - Denote by F n the set of functions as linear combinations of functions e jx, j = n : n, over the complex field. Then, T n F n. - Write evaluation of f n at n points in matrix-vector product form. - Consider the case that the evaluation points are the n-th roots of unity. (to be continued) 6