Introduction to Numerical Analysis I MATH/CMPSC 455 Splines.

Slides:



Advertisements
Similar presentations
Interpolation A method of constructing a function that crosses through a discrete set of known data points. .
Advertisements

CS 445/645 Fall 2001 Hermite and Bézier Splines. Specifying Curves Control Points –A set of points that influence the curve’s shape Knots –Control points.
Data mining and statistical learning - lecture 6
MATH 685/ CSI 700/ OR 682 Lecture Notes
Basis Expansion and Regularization Presenter: Hongliang Fei Brian Quanz Brian Quanz Date: July 03, 2008.
Chapter 18 Interpolation The Islamic University of Gaza
1 Chapter 4 Interpolation and Approximation Lagrange Interpolation The basic interpolation problem can be posed in one of two ways: The basic interpolation.
1 Curve-Fitting Spline Interpolation. 2 Curve Fitting Regression Linear Regression Polynomial Regression Multiple Linear Regression Non-linear Regression.
Computational Methods in Physics PHYS 3437
EARS1160 – Numerical Methods notes by G. Houseman
Chapter 3, Interpolation and Extrapolation. Interpolation & Extrapolation (x i,y i ) Find an analytic function f(x) that passes through given N points.
Numerical Analysis –Interpolation
1.Be able to determine the degree of a polynomial. 2.Be able to classify a polynomial. 3.Be able to write a polynomial in standard form.
Experimental Modeling
CS CS 175 – Week 9 B-Splines Blossoming, Bézier Splines.
1 Dr. Scott Schaefer Catmull-Rom Splines: Combining B-splines and Interpolation.
ECIV 301 Programming & Graphics Numerical Methods for Engineers Lecture 23 CURVE FITTING Chapter 18 Function Interpolation and Approximation.
ECIV 301 Programming & Graphics Numerical Methods for Engineers Lecture 24 Regression Analysis-Chapter 17.
4.6 Numerical Integration. The Trapezoidal Rule One method to approximate a definite integral is to use n trapezoids.
ORDINARY DIFFERENTIAL EQUATION (ODE) LAPLACE TRANSFORM.
Scientific Computing Linear and Quadratic Splines.
Regression analysis Control of built engineering objects, comparing to the plan Surveying observations – position of points Linear regression Regression.
Today’s class Spline Interpolation Quadratic Spline Cubic Spline Fourier Approximation Numerical Methods Lecture 21 Prof. Jinbo Bi CSE, UConn 1.
1. Interpolating polynomials Polynomial of degree n,, is a linear combination of Definitions: (interval, continuous function, abscissas, and polynomial)
Introduction to Numerical Analysis I MATH/CMPSC 455 Interpolation.
June D Object Representation Shmuel Wimer Bar Ilan Univ., School of Engineering.
CS559: Computer Graphics Lecture 19: Curves Li Zhang Spring 2008.
Computers in Civil Engineering 53:081 Spring 2003 Lecture #15 Spline Interpolation.
Jump to first page Chapter 3 Splines Definition (3.1) : Given a function f defined on [a, b] and a set of numbers, a = x 0 < x 1 < x 2 < ……. < x n = b,
Computer Programming (TKK-2144) 13/14 Semester 1 Instructor: Rama Oktavian Office Hr.: M.13-15, W Th , F
Mohiuddin Ahmad SUNG-BONG JANG Interpolation II (8.4 SPLINE INTERPOLATION) (8.5 MATLAB’s INTERPOLATION Functions)
L5 – Curves in GIS NGEN06 & TEK230: Algorithms in Geographical Information Systems by: Sadegh Jamali (source: Lecture notes in GIS, Lars Harrie) 1 L5-
Cubic Spline Interpolation. Cubic Splines attempt to solve the problem of the smoothness of a graph as well as reduce error. Polynomial interpolation.
Spline Interpolation A Primer on the Basics by Don Allen.
Solving Equations Binomials Simplifying Polynomials
 3.3 Hermite Interpolation Chapter 3 Interpolation and Polynomial Approximation -- Hermite Interpolation Find the osculating polynomial P(x) such that.
MA2213 Lecture 2 Interpolation.
By: Mark Coose Joetta Swift Micah Weiss. What Problems Can Interpolation Solve? Given a table of values, find a simple function that passes through the.
1 Chapter 4 Interpolation and Approximation Lagrange Interpolation The basic interpolation problem can be posed in one of two ways: The basic interpolation.
MA4229 Lectures 15, 16 Week 13 Nov 1, Chapter 18 Interpolation by piecewise polynomials.
One problem arises when a function is given explicitly, but we wish to find a “ simpler ” type of function, such as a polynomial, that can be used to.
Dan, Phoenix, Carl.  Several ways you can model  Polynomial functions, linear functions, splines.
Polynomial P(x) Linear Factors Solutions of P(x)=0 Zeros of P(x) P(x) = 0.
Introduction to Polynomials 24 February What is a polynomial? polynomial.
Interpolation - Introduction
CSCI480/582 Lecture 9 Chap.2.2 Cubic Splines – Hermit and Bezier Feb, 11, 2009.
Introduction to Differential Equations
Introduction to Differential Equations
INTEGRATION & TECHNIQUES OF INTEGRATION
Curve-Fitting Spline Interpolation
Aim: How do we multiply polynomials?
Warm-up Multiply the factors and write in standard form.
Chapter 3, Interpolation and Extrapolation
Chapter 15 Curve Fitting : Splines
Polynomials.
Polynomials.
Evaluate Polynomial Functions
Spline Interpolation Class XVII.
Polynomials.
Numerical Integration:
MATH 174: Numerical Analysis I
Splines There are cases where polynomial interpolation is bad
INTERPOLATION For both irregulary spaced and evenly spaced data.
Polynomials.
Introduction to Polynomials
CLASSIFYING POLYNOMIAL
Theory of Approximation: Interpolation
Presentation transcript:

Introduction to Numerical Analysis I MATH/CMPSC 455 Splines

S PLINE Suppose that n+1 points has been specified and satisfy. A spline of degree k is a function such that:  On each subinterval, is a polynomial of degree  has a continuous (k-1)-th derivate on Spline is a piecewise polynomial of degree at most k, and has continuous derivatives of all order up to k-1.

Example: Spline of degree 0 Example: Spline of degree 1

C UBIC S PLINE A cubic spline is a piecewise cubic polynomial x… y…  is cubic polynomial ( piecewise polynomial )  (Interpolation) , (Continuity)

Question: Can we uniquely determine the cubic spline? Unknowns (coefficients): Conditions: Interpolation: Continuity of 1st order derivative: Continuity of 2nd order derivative: Total: We have two degrees of freedom!

D ERIVE THE C UBIC S PLINE  Step 1: 2 nd order derivative is piecewise linear; (use the continuity of 2 nd order derivative)  Step 2: Take integration twice, get the cubic spline with undetermined coefficient;  Step 3: Determine the coefficient of the low order terms; (use the interpolation property)   Step 4: Determine the remaining coefficient by solving a symmetric, tri-diagonal system; (use the continuity of 1 st order derivative)

Where: Nature Cubic Spline:

Clamped Cubic Spline: