3.1 Global polynomial interpolation Properties of global polynomial interpolation Splines... 22

Size: px
Start display at page:

Download "3.1 Global polynomial interpolation Properties of global polynomial interpolation Splines... 22"

Transcription

1 Chapter 3 Interpolation Contents 31 Global polynomial interpolation Properties of global polynomial interpolation Splines 22 Suppose we have some table of discrete data, the population of a country at ten yearly intervals, say, and we need to evaluate the population at a date where no data are available The estimation of the unknown data, using some or all of the available data, is a process known as interpolation Similarly, interpolation allows us to approximate a complicated or unknown function, f, with a simple function that agrees with f at a nite number of points, x k i If f is very computationally expensive to calculate, approximating f in some calculations by a simpler interpolating function reduces this cost This was a common practice before calculators and computers became widely available ii Exact calculations (eg derivation, quadrature) may become possible if the interpolating function is used instead of the complicated or unknown function f This is a building block for advanced numerical methods (eg nite element and spectral-collocation methods) In this section we shall consider the approximation of a function by polynomials or piecewise polynomial functions (splines) only 31 Global polynomial interpolation Fit a polynomial of degree n 1, P(x) = a n 1 x n 1 + a n 2 x n a 1 x + a 0 through n known points (x k, f k ), k = 1,,n Hence, the interpolating polynomial satises P(x k ) = f k (The coordinates x k are not necessarily equally spaced) 17

2 18 31 Global polynomial interpolation 311 Lagrange polynomials A practical way to construct the polynomial P(x) is to use the basis formed by Lagrange polynomials Let us dene the Lagrange polynomials of degree n 1, L k (x) (k = 1,,n), such that L k (x) = { 1 at x = xk, 0 at x = x i for i k, ie L k (x i ) = δ ik (Kronecker delta) In other words, L k (x) is equal to 1 at the point x k and 0 at all the other given points For n = 2, (ie {x 1, x 2 } given), the two Lagrange polynomials L 1 (x) and L 2 (x) satisfy L 1 (x 1 ) = 1, L 2 (x 1 ) = 0, L 1 (x 2 ) = 0, L 2 (x 2 ) = 1, from which we obtain the linear functions (ie polynomials of degree 1), L 1 (x) = x x 2 x 1 x 2, L 2 (x) = x x 1 x 2 x 1 For n > 2, L 1 (x 1 ) = 1 and L 1 (x k ) = 0 for k = 2,,n From above we see that { x x 2 1 at x = x1, = x 1 x 2 0 at x = x 2, while { x x 3 1 at x = x1, = x 1 x 3 0 at x = x 3, etc Thus, by multiplying n 1 such factors together, we obtain the Lagrange polynomial of degree n 1, ( ) ( ) ( ) x x2 x x3 x xn L 1 (x) =, x 1 x 2 x 1 x 3 x 1 x n written in compact form as Similarly, L k (x) = L 1 (x) = ( x xi i=2 ( x xi i=1 i k x k x i x 1 x i ) ), k = 1,,n (31) The n Lagrange polynomials L k (x) of degree n 1 form a complete set of independent polynomials, so {L 1 (x), L 2 (x),,l n (x)} forms a basis of polynomials of degree n Lagrange form of the interpolating polynomial Having obtained L k (x), we can write the Lagrange form of the polynomial interpolating the set of points {(x k, f k ) k = 1,,n}, P(x) = n f k L k (x) = n n ( x xi f k x k x i i=1 i k ) (32) (It is the Lagrange interpolating polynomial of degree n 1 satisfying P(x k ) = f k )

3 Chapter 3 Interpolation 19 For n = 2, which rearranges to P(x) = f 1 L 1 (x) + f 2 L 2 (x), ( ) ( ) x x2 x x1 = f 1 + f 2 x 1 x 2 x 2 x 1 P(x) = f 1(x 2 x 1 ) + (f 2 f 1 )(x x 1 ) x 2 x ( ) 1 f2 f 1 = f 1 + (x x 1 ) (33) x 2 x 1 This is the equation of a straight line between the two points (x 1, f 1 ) and (x 2, f 2 ) (linear interpolation) Example 31 Let us consider the function f(x) = 1/x and look for approximations to f(3) using polynomial interpolation First, let us consider only the two points (25, f(25)) and (4, f(4)) So, using the linear interpolation formula (33) we have an approximation for f(3) P(3) where f(4) f(25) P(3) = f(25) + (3 25) = = 7/20 = The absolute error is E = 1/3 7/20 = 1/ Next, consider the quadratic polynomial interpolating the three points (x i, f(x i )), where x 1 = 2, x 2 = 25 and x 3 = 4, P(x) = f(2)l 1 (x) + f(25)l 2 (x) + f(4)l 3 (x) = 05 L 1 (x) + 04 L 2 (x) L 3 (x) So, f(3) P(3) = 05 L 1 (3) + 04 L 2 (3) L 3 (3) where (3 25)(3 4) L 1 (3) = (2 25)(2 4) = 05 (3 2)(3 4) L 2 (3) = (25 2)(25 4) = 4/3 L 3 (3) = (3 2)(3 25) (4 2)(4 25) = 1/6 Thus, P(3) = 05 ( 05) / /6 = 13/40 = 0325 The absolute error is now E = 1/3 13/40 = 1/

4 20 32 Properties of global polynomial interpolation /x x Note that, in both interpolations, linear and quadratic, n L k(3) = 1 Why? 32 Properties of global polynomial interpolation 321 Uniqueness The interpolating polynomial is unique in that there is only one polynomial of degree at most n 1, P, that satises P(x k ) = f k for n distinct points (x k, f k ) (This seems intuitively true, since we have n equations, n 1 P(x k ) = a i x i k = f k, i=0 k = 1,,n, with n unknowns, a i, the coecients of the polynomial P ) Proof Suppose there exists two polynomials of degree n 1, P and Q, such that P(x k ) = Q(x k ) = f k, k = 1n Then P(x k ) Q(x k ) = 0, so the polynomial R(x) = P(x) Q(x) has n distinct roots, x k However, R(x) is a polynomial of degree n 1 and so can have at most n 1 distinct roots, unless R(x) 0 Hence P(x) = Q(x), so the interpolating polynomial is unique 322 The error term in global polynomial interpolation In the section, interpolation is used to approximate a known function (not to interpolate tabulated data in which case error cannot be evaluated) If f C n [a,b] (ie f is a function n times dierentiable in [a,b] with continuous derivatives) then, x [a,b], there exists ξ (a,b), that depends on x, such that f(x) P(x) = f(n) (ξ) n! (x x k ) (34)

5 Chapter 3 Interpolation 21 Proof This result is trivially true for x = x i since both sides are zero For x x i, let us dene so that Let us now dene the function c(x) = f(x) = P(x) + c(x) f(x) P(x) n (x x k), (x x k ) w(t) = f(t) P(t) c(x) (t x k ), which satises w(t) = 0 for t = x and t = x 1,,x n So w(t) has n + 1 distinct roots in [a,b] By Rolle's theorem, there must be at least one root of w(t) between two successive roots of w(t) So, w (t) has at least n distinct roots in (a,b) Apply Rolle's theorem to derivatives of increasing order successively, to show that w (n) (t) must have at least one root in (a,b) Let us call this point ξ: w (n) (ξ) = 0 The n th derivative of w(t) is w (n) (t) = f (n) (t) P (n) (t) c(x)n! but P is a polynomial of degree n 1, so P (n) 0 Let t = ξ, So, f (n) (ξ) c(x)n! = 0 c(x) = f(n) (ξ) n! f(x) P(x) = f(n) (ξ) n! (x x k ) 323 Accuracy of global polynomial interpolation Using Equation (34) we can obtain bounds on the accuracy of Lagrange interpolation, provided we can bound the n th derivative, f (n) Since the error term involves f (n), Lagrange interpolation is exact for polynomial of degree n-1 at most In the example of sin(3x) (see appendix E1), f (n) 3 n while, eg, for the ve points {x 1 = 1, x 2 = 13, x 3 = 16, x 4 = 19, x 5 = 22} and x = 15, 7 (x x i ) = = 2500 = i=1

6 22 33 Splines So, the error in the approximation to f(15) is f(15) P(15) 35 5! = = The actual error is f(15) P(15) However, the function f(x) = 1/(1+x 2 ) cannot be approximated accurately by an interpolation polynomial, using equidistant points on the interval [ 5,5] (see appendix E2) Although, f is dierentiable, its derivatives grow with n! ( f (n) (0) = n!, for n even) So, f (n) (ξ)/n! does not converge to 0 while n i=1 (x x i) increases (since interval width > 1) 33 Splines Alternatively, to interpolate through n points (x k, f k ) we can use piecewise polynomial functions called splines, ie S(x) = S k (x) where the low degree polynomials S k (x) are dened on the intervals [x k, x k+1 ], k = 1,,n Piecewise linear interpolation The simplest spline is composed of linear functions of the form S k (x) = a k x + b k, for x [x k, x k+1 ] (ie a straight line between the two successive points x k and x k+1 ) S n 1 S 1 S k x n 1 x 1 x 2 x k x n The coeicients a k and b k are determined by the conditions (i) S k (x k ) = f k and (ii) S k (x k+1 ) = f k+1, k = 1,,n 1 Thus, x k+1 S k (x) = f k + (x x k ) f k+1 f k x k+1 x k, x [x k, x k+1 ], k = 1,,n 1 (35) The interpolating function is continuous but it is not dierentiable, ie not smooth, at the interior points (S k (x k+1) S k+1 (x k+1)) To retain the smoothness of Lagrange interpolation without producing large oscillations, higher order splines are needed 332 Quadratic splines Consider the spline composed of n 1 quadratic polynomials of the form S k (x) = a k x 2 +b k x+c k, for x [x k, x k+1 ], k = 1,,n 1 We need 3(n 1) equations to determine the 3(n 1) coeicients {a k, b k, c k } The conditions S k (x k ) = f k and S k (x x+1 ) = f k+1 provide 2(n 1) equations while the continuity of the derivative at the interior points, S k (x k+1) = S k+1 (x k+1), k = 1,,n 2, provides n 2 extra equations

7 Chapter 3 Interpolation 23 In total we have 3(n 1) unknowns and 3(n 1) 1 equations So, only one degree of freedom is left, which is unsatisfactory if one needs to impose conditions on the derivatives of the interpolating function at both ends 333 Cubic splines In practical applications, cubic splines are preferred Consider the spline composed of n 1 cubic polynomials of the form S k (x) = a k (x x k ) 3 + b k (x x k ) 2 + c k (x x k ) + d k, (36) so that, S k (x) = 3a k(x x k ) 2 + 2b k (x x k ) + c k, (37) S k k(x x k ) + 2b k (38) for x [x k, x k+1 ], k = 1,,n 1 Properties The interpolating function must pass through all the data points, be continuous, and have continuous derivative at the interior points Furthermore, there are enough degrees of freedom to impose continuous curvature as well (continuity of second derivative) S k (x k ) = f k, k = 1,,n 1, (39) S k (x k+1 ) = f k+1, k = 1,,n 1, (310) S k (x k+1) = S k+1 (x k+1), k = 1,,n 2, (311) S k k+1) = S k+1 k+1), k = 1,,n 2 (312) We have 4(n 1) unknowns and 4(n 1) 2 equations (ie conditions) Hence, we have the freedom to impose two extra conditions Let us dene, h k = x k+1 x k, the width of the k th interval, and C k = S k (x k) the curvature in x k (C n = S n 1 (x n)) Next, we shall write all the equations in terms of h k, f k (given) and C k (unknown) only From equation (38): From equations (38) and (312): From equations (36) and (39): C k = 2b k b k = C k, k = 1,,n 1 (313) 2 6a k h k + C k = C k+1 a k = 1 C k+1 C k, k = 1,,n 1 (314) 6 h k From equations (36) and (310): d k = f k, k = 1,,n 1 (315) a k h 3 k + b kh 2 k + c kh k + d k = f k+1 1 C k+1 C k h 3 k 6 h + C k k 2 h2 k + c kh k + f k = f k+1 c k = f k+1 f k h k 1 6 h k(c k+1 + 2C k ), k = 1,,n 1 (316)

8 24 33 Splines So far we have obtained expressions for the coecients a k, b k, c k and d k in terms of h k, C k and f k All that remains is to match the slopes at the interior points From equations (37) and (311): 3a k h 2 k + 2b kh k + c k = c k+1, k = 1,,n 2, 1 2 C k+1 C k h 2 k h + C kh k + f k+1 f k 1 k h k 6 h k(c k+1 + 2C k ) = f k+2 f k+1 1 h k+1 6 h k+1(c k+2 + 2C k+1 ) After some simple algebra, we obtain a system of n 2 equations to solve for C k, k = 1,,n 2 ( fk+2 f k+1 h k C k + 2(h k + h k+1 )C k+1 + h k+1 C k+2 = 6 f ) k+1 f k (317) h k+1 h k So, the problem as been reduced from nding 4(n 1) coecients a k, b k, c k and d k to nding n values of the curvature C k We only have n 2 equations for C k but we can obtain two additional equations by specifying end conditions on the curvature, ie conditions involving C 1 and C n i Natural or free boundaries: take C 1 = C n = 0, ie the end cubic splines have no curvature at the end points ii Clamped boundaries: x the slopes at each end to specied values (Note that, the slope at x 1, say, involves c 1 and thus relates to C 1 and C 2 through (316)) iii Periodic boundaries: take C 1 = C n Equation (317) can be written in matrix form, MC = F (318) In the case of natural splines (ie for C 1 = C n = 0), the matrix is non-singular and has a tri-diagonal structure So, the solution for C k is unique and can easily be obtained using rapid tri-diagonal matrix solvers 2(h 1 + h 2 ) h h 2 2(h 2 + h 3 ) h M = 0 h k 2(h k + h k+1 ) h k+1 0, h n 3 2(h n 3 + h n 2 ) h n h n 2 2(h n 2 + h n 1 ) C = C 2 C 3 C n 2 C n 1 and F = 6 f 3 f 2 h 2 f 2 f 1 h 1 f k+2 f k+1 h k+1 f n f n 1 h n 1 f k+1 f k h k f n 1 f n 2 h n 2 So, equation (318) can be solved for C k and the coecients of the splines can be recovered from equations (313), (314), (315), (316)

9 Chapter 3 Interpolation 25 Example 32 Find the natural spline for the following data: k x k f k So, {h 1 = 1, h 2 = 2, h 3 = 1} and equation (317) becomes in matrix form, ( ) ( ) 2(1 + 2) 2 C2 = 6 2 2(2 + 1) C 3 ( ) (3 4)/2 (4 2)/1 (4 3)/1 (3 4)/2 ( ) ( ) C2 = C 3 ( ) 15 9 Inverting gives C 2 = 27/8 and C 3 = 21/8 while C 1 = C 4 = 0 Thus, using equations (313), (314), (315), (316) we obtain a 1 = 9/16, a 2 = 1/2, a 3 = 7/16; b 1 = 0, b 2 = 27/16, b 3 = 21/16; c 1 = 41/16, c 2 = 7/8, c 3 = 1/8; d 1 = 2, d 2 = 4, d 3 = S 1 (x) S 2 (x) S 3 (x) 3 S(x) x

10 26 33 Splines

4.3 Lagrange Approximation

4.3 Lagrange Approximation 206 CHAP. 4 INTERPOLATION AND POLYNOMIAL APPROXIMATION Lagrange Polynomial Approximation 4.3 Lagrange Approximation Interpolation means to estimate a missing function value by taking a weighted average

More information

Piecewise Cubic Splines

Piecewise Cubic Splines 280 CHAP. 5 CURVE FITTING Piecewise Cubic Splines The fitting of a polynomial curve to a set of data points has applications in CAD (computer-assisted design), CAM (computer-assisted manufacturing), and

More information

Rolle s Theorem. q( x) = 1

Rolle s Theorem. q( x) = 1 Lecture 1 :The Mean Value Theorem We know that constant functions have derivative zero. Is it possible for a more complicated function to have derivative zero? In this section we will answer this question

More information

INTERPOLATION. Interpolation is a process of finding a formula (often a polynomial) whose graph will pass through a given set of points (x, y).

INTERPOLATION. Interpolation is a process of finding a formula (often a polynomial) whose graph will pass through a given set of points (x, y). INTERPOLATION Interpolation is a process of finding a formula (often a polynomial) whose graph will pass through a given set of points (x, y). As an example, consider defining and x 0 =0, x 1 = π 4, x

More information

SOLVING POLYNOMIAL EQUATIONS

SOLVING POLYNOMIAL EQUATIONS C SOLVING POLYNOMIAL EQUATIONS We will assume in this appendix that you know how to divide polynomials using long division and synthetic division. If you need to review those techniques, refer to an algebra

More information

November 16, 2015. Interpolation, Extrapolation & Polynomial Approximation

November 16, 2015. Interpolation, Extrapolation & Polynomial Approximation Interpolation, Extrapolation & Polynomial Approximation November 16, 2015 Introduction In many cases we know the values of a function f (x) at a set of points x 1, x 2,..., x N, but we don t have the analytic

More information

JUST THE MATHS UNIT NUMBER 1.8. ALGEBRA 8 (Polynomials) A.J.Hobson

JUST THE MATHS UNIT NUMBER 1.8. ALGEBRA 8 (Polynomials) A.J.Hobson JUST THE MATHS UNIT NUMBER 1.8 ALGEBRA 8 (Polynomials) by A.J.Hobson 1.8.1 The factor theorem 1.8.2 Application to quadratic and cubic expressions 1.8.3 Cubic equations 1.8.4 Long division of polynomials

More information

Natural cubic splines

Natural cubic splines Natural cubic splines Arne Morten Kvarving Department of Mathematical Sciences Norwegian University of Science and Technology October 21 2008 Motivation We are given a large dataset, i.e. a function sampled

More information

Equations, Inequalities & Partial Fractions

Equations, Inequalities & Partial Fractions Contents Equations, Inequalities & Partial Fractions.1 Solving Linear Equations 2.2 Solving Quadratic Equations 1. Solving Polynomial Equations 1.4 Solving Simultaneous Linear Equations 42.5 Solving Inequalities

More information

5 Numerical Differentiation

5 Numerical Differentiation D. Levy 5 Numerical Differentiation 5. Basic Concepts This chapter deals with numerical approximations of derivatives. The first questions that comes up to mind is: why do we need to approximate derivatives

More information

1.7. Partial Fractions. 1.7.1. Rational Functions and Partial Fractions. A rational function is a quotient of two polynomials: R(x) = P (x) Q(x).

1.7. Partial Fractions. 1.7.1. Rational Functions and Partial Fractions. A rational function is a quotient of two polynomials: R(x) = P (x) Q(x). .7. PRTIL FRCTIONS 3.7. Partial Fractions.7.. Rational Functions and Partial Fractions. rational function is a quotient of two polynomials: R(x) = P (x) Q(x). Here we discuss how to integrate rational

More information

Section 3.2 Polynomial Functions and Their Graphs

Section 3.2 Polynomial Functions and Their Graphs Section 3.2 Polynomial Functions and Their Graphs EXAMPLES: P(x) = 3, Q(x) = 4x 7, R(x) = x 2 +x, S(x) = 2x 3 6x 2 10 QUESTION: Which of the following are polynomial functions? (a) f(x) = x 3 +2x+4 (b)

More information

Factoring Cubic Polynomials

Factoring Cubic Polynomials Factoring Cubic Polynomials Robert G. Underwood 1. Introduction There are at least two ways in which using the famous Cardano formulas (1545) to factor cubic polynomials present more difficulties than

More information

4.5 Chebyshev Polynomials

4.5 Chebyshev Polynomials 230 CHAP. 4 INTERPOLATION AND POLYNOMIAL APPROXIMATION 4.5 Chebyshev Polynomials We now turn our attention to polynomial interpolation for f (x) over [ 1, 1] based on the nodes 1 x 0 < x 1 < < x N 1. Both

More information

EECS 556 Image Processing W 09. Interpolation. Interpolation techniques B splines

EECS 556 Image Processing W 09. Interpolation. Interpolation techniques B splines EECS 556 Image Processing W 09 Interpolation Interpolation techniques B splines What is image processing? Image processing is the application of 2D signal processing methods to images Image representation

More information

Metric Spaces. Chapter 7. 7.1. Metrics

Metric Spaces. Chapter 7. 7.1. Metrics Chapter 7 Metric Spaces A metric space is a set X that has a notion of the distance d(x, y) between every pair of points x, y X. The purpose of this chapter is to introduce metric spaces and give some

More information

The Method of Partial Fractions Math 121 Calculus II Spring 2015

The Method of Partial Fractions Math 121 Calculus II Spring 2015 Rational functions. as The Method of Partial Fractions Math 11 Calculus II Spring 015 Recall that a rational function is a quotient of two polynomials such f(x) g(x) = 3x5 + x 3 + 16x x 60. The method

More information

1 Review of Newton Polynomials

1 Review of Newton Polynomials cs: introduction to numerical analysis 0/0/0 Lecture 8: Polynomial Interpolation: Using Newton Polynomials and Error Analysis Instructor: Professor Amos Ron Scribes: Giordano Fusco, Mark Cowlishaw, Nathanael

More information

Zeros of Polynomial Functions

Zeros of Polynomial Functions Review: Synthetic Division Find (x 2-5x - 5x 3 + x 4 ) (5 + x). Factor Theorem Solve 2x 3-5x 2 + x + 2 =0 given that 2 is a zero of f(x) = 2x 3-5x 2 + x + 2. Zeros of Polynomial Functions Introduction

More information

a 1 x + a 0 =0. (3) ax 2 + bx + c =0. (4)

a 1 x + a 0 =0. (3) ax 2 + bx + c =0. (4) ROOTS OF POLYNOMIAL EQUATIONS In this unit we discuss polynomial equations. A polynomial in x of degree n, where n 0 is an integer, is an expression of the form P n (x) =a n x n + a n 1 x n 1 + + a 1 x

More information

POLYNOMIAL HISTOPOLATION, SUPERCONVERGENT DEGREES OF FREEDOM, AND PSEUDOSPECTRAL DISCRETE HODGE OPERATORS

POLYNOMIAL HISTOPOLATION, SUPERCONVERGENT DEGREES OF FREEDOM, AND PSEUDOSPECTRAL DISCRETE HODGE OPERATORS POLYNOMIAL HISTOPOLATION, SUPERCONVERGENT DEGREES OF FREEDOM, AND PSEUDOSPECTRAL DISCRETE HODGE OPERATORS N. ROBIDOUX Abstract. We show that, given a histogram with n bins possibly non-contiguous or consisting

More information

Inner Product Spaces

Inner Product Spaces Math 571 Inner Product Spaces 1. Preliminaries An inner product space is a vector space V along with a function, called an inner product which associates each pair of vectors u, v with a scalar u, v, and

More information

POLYNOMIAL HISTOPOLATION, SUPERCONVERGENT DEGREES OF FREEDOM, AND PSEUDOSPECTRAL DISCRETE HODGE OPERATORS

POLYNOMIAL HISTOPOLATION, SUPERCONVERGENT DEGREES OF FREEDOM, AND PSEUDOSPECTRAL DISCRETE HODGE OPERATORS POLYNOMIAL HISTOPOLATION, SUPERCONVERGENT DEGREES OF FREEDOM, AND PSEUDOSPECTRAL DISCRETE HODGE OPERATORS N. ROBIDOUX Abstract. We show that, given a histogram with n bins possibly non-contiguous or consisting

More information

1 Review of Least Squares Solutions to Overdetermined Systems

1 Review of Least Squares Solutions to Overdetermined Systems cs4: introduction to numerical analysis /9/0 Lecture 7: Rectangular Systems and Numerical Integration Instructor: Professor Amos Ron Scribes: Mark Cowlishaw, Nathanael Fillmore Review of Least Squares

More information

MATH 4330/5330, Fourier Analysis Section 11, The Discrete Fourier Transform

MATH 4330/5330, Fourier Analysis Section 11, The Discrete Fourier Transform MATH 433/533, Fourier Analysis Section 11, The Discrete Fourier Transform Now, instead of considering functions defined on a continuous domain, like the interval [, 1) or the whole real line R, we wish

More information

Application. Outline. 3-1 Polynomial Functions 3-2 Finding Rational Zeros of. Polynomial. 3-3 Approximating Real Zeros of.

Application. Outline. 3-1 Polynomial Functions 3-2 Finding Rational Zeros of. Polynomial. 3-3 Approximating Real Zeros of. Polynomial and Rational Functions Outline 3-1 Polynomial Functions 3-2 Finding Rational Zeros of Polynomials 3-3 Approximating Real Zeros of Polynomials 3-4 Rational Functions Chapter 3 Group Activity:

More information

(Refer Slide Time: 1:42)

(Refer Slide Time: 1:42) Introduction to Computer Graphics Dr. Prem Kalra Department of Computer Science and Engineering Indian Institute of Technology, Delhi Lecture - 10 Curves So today we are going to have a new topic. So far

More information

1 if 1 x 0 1 if 0 x 1

1 if 1 x 0 1 if 0 x 1 Chapter 3 Continuity In this chapter we begin by defining the fundamental notion of continuity for real valued functions of a single real variable. When trying to decide whether a given function is or

More information

Zeros of Polynomial Functions

Zeros of Polynomial Functions Zeros of Polynomial Functions The Rational Zero Theorem If f (x) = a n x n + a n-1 x n-1 + + a 1 x + a 0 has integer coefficients and p/q (where p/q is reduced) is a rational zero, then p is a factor of

More information

AN INTRODUCTION TO NUMERICAL METHODS AND ANALYSIS

AN INTRODUCTION TO NUMERICAL METHODS AND ANALYSIS AN INTRODUCTION TO NUMERICAL METHODS AND ANALYSIS Revised Edition James Epperson Mathematical Reviews BICENTENNIAL 0, 1 8 0 7 z ewiley wu 2007 r71 BICENTENNIAL WILEY-INTERSCIENCE A John Wiley & Sons, Inc.,

More information

3.6. Partial Fractions. Introduction. Prerequisites. Learning Outcomes

3.6. Partial Fractions. Introduction. Prerequisites. Learning Outcomes Partial Fractions 3.6 Introduction It is often helpful to break down a complicated algebraic fraction into a sum of simpler fractions. For 4x + 7 example it can be shown that x 2 + 3x + 2 has the same

More information

3.2 The Factor Theorem and The Remainder Theorem

3.2 The Factor Theorem and The Remainder Theorem 3. The Factor Theorem and The Remainder Theorem 57 3. The Factor Theorem and The Remainder Theorem Suppose we wish to find the zeros of f(x) = x 3 + 4x 5x 4. Setting f(x) = 0 results in the polynomial

More information

Partial Fractions. p(x) q(x)

Partial Fractions. p(x) q(x) Partial Fractions Introduction to Partial Fractions Given a rational function of the form p(x) q(x) where the degree of p(x) is less than the degree of q(x), the method of partial fractions seeks to break

More information

College Algebra - MAT 161 Page: 1 Copyright 2009 Killoran

College Algebra - MAT 161 Page: 1 Copyright 2009 Killoran College Algebra - MAT 6 Page: Copyright 2009 Killoran Zeros and Roots of Polynomial Functions Finding a Root (zero or x-intercept) of a polynomial is identical to the process of factoring a polynomial.

More information

SMT 2014 Algebra Test Solutions February 15, 2014

SMT 2014 Algebra Test Solutions February 15, 2014 1. Alice and Bob are painting a house. If Alice and Bob do not take any breaks, they will finish painting the house in 20 hours. If, however, Bob stops painting once the house is half-finished, then the

More information

PUTNAM TRAINING POLYNOMIALS. Exercises 1. Find a polynomial with integral coefficients whose zeros include 2 + 5.

PUTNAM TRAINING POLYNOMIALS. Exercises 1. Find a polynomial with integral coefficients whose zeros include 2 + 5. PUTNAM TRAINING POLYNOMIALS (Last updated: November 17, 2015) Remark. This is a list of exercises on polynomials. Miguel A. Lerma Exercises 1. Find a polynomial with integral coefficients whose zeros include

More information

Linearly Independent Sets and Linearly Dependent Sets

Linearly Independent Sets and Linearly Dependent Sets These notes closely follow the presentation of the material given in David C. Lay s textbook Linear Algebra and its Applications (3rd edition). These notes are intended primarily for in-class presentation

More information

is identically equal to x 2 +3x +2

is identically equal to x 2 +3x +2 Partial fractions 3.6 Introduction It is often helpful to break down a complicated algebraic fraction into a sum of simpler fractions. 4x+7 For example it can be shown that has the same value as 1 + 3

More information

8 Polynomials Worksheet

8 Polynomials Worksheet 8 Polynomials Worksheet Concepts: Quadratic Functions The Definition of a Quadratic Function Graphs of Quadratic Functions - Parabolas Vertex Absolute Maximum or Absolute Minimum Transforming the Graph

More information

Computational Geometry Lab: FEM BASIS FUNCTIONS FOR A TETRAHEDRON

Computational Geometry Lab: FEM BASIS FUNCTIONS FOR A TETRAHEDRON Computational Geometry Lab: FEM BASIS FUNCTIONS FOR A TETRAHEDRON John Burkardt Information Technology Department Virginia Tech http://people.sc.fsu.edu/ jburkardt/presentations/cg lab fem basis tetrahedron.pdf

More information

Nonlinear Algebraic Equations. Lectures INF2320 p. 1/88

Nonlinear Algebraic Equations. Lectures INF2320 p. 1/88 Nonlinear Algebraic Equations Lectures INF2320 p. 1/88 Lectures INF2320 p. 2/88 Nonlinear algebraic equations When solving the system u (t) = g(u), u(0) = u 0, (1) with an implicit Euler scheme we have

More information

CHAPTER SIX IRREDUCIBILITY AND FACTORIZATION 1. BASIC DIVISIBILITY THEORY

CHAPTER SIX IRREDUCIBILITY AND FACTORIZATION 1. BASIC DIVISIBILITY THEORY January 10, 2010 CHAPTER SIX IRREDUCIBILITY AND FACTORIZATION 1. BASIC DIVISIBILITY THEORY The set of polynomials over a field F is a ring, whose structure shares with the ring of integers many characteristics.

More information

6 EXTENDING ALGEBRA. 6.0 Introduction. 6.1 The cubic equation. Objectives

6 EXTENDING ALGEBRA. 6.0 Introduction. 6.1 The cubic equation. Objectives 6 EXTENDING ALGEBRA Chapter 6 Extending Algebra Objectives After studying this chapter you should understand techniques whereby equations of cubic degree and higher can be solved; be able to factorise

More information

Homework #2 Solutions

Homework #2 Solutions MAT Spring Problems Section.:, 8,, 4, 8 Section.5:,,, 4,, 6 Extra Problem # Homework # Solutions... Sketch likely solution curves through the given slope field for dy dx = x + y...8. Sketch likely solution

More information

Winter Camp 2011 Polynomials Alexander Remorov. Polynomials. Alexander Remorov alexanderrem@gmail.com

Winter Camp 2011 Polynomials Alexander Remorov. Polynomials. Alexander Remorov alexanderrem@gmail.com Polynomials Alexander Remorov alexanderrem@gmail.com Warm-up Problem 1: Let f(x) be a quadratic polynomial. Prove that there exist quadratic polynomials g(x) and h(x) such that f(x)f(x + 1) = g(h(x)).

More information

THE FUNDAMENTAL THEOREM OF ALGEBRA VIA PROPER MAPS

THE FUNDAMENTAL THEOREM OF ALGEBRA VIA PROPER MAPS THE FUNDAMENTAL THEOREM OF ALGEBRA VIA PROPER MAPS KEITH CONRAD 1. Introduction The Fundamental Theorem of Algebra says every nonconstant polynomial with complex coefficients can be factored into linear

More information

the points are called control points approximating curve

the points are called control points approximating curve Chapter 4 Spline Curves A spline curve is a mathematical representation for which it is easy to build an interface that will allow a user to design and control the shape of complex curves and surfaces.

More information

Høgskolen i Narvik Sivilingeniørutdanningen STE6237 ELEMENTMETODER. Oppgaver

Høgskolen i Narvik Sivilingeniørutdanningen STE6237 ELEMENTMETODER. Oppgaver Høgskolen i Narvik Sivilingeniørutdanningen STE637 ELEMENTMETODER Oppgaver Klasse: 4.ID, 4.IT Ekstern Professor: Gregory A. Chechkin e-mail: chechkin@mech.math.msu.su Narvik 6 PART I Task. Consider two-point

More information

How To Understand The Theory Of Algebraic Functions

How To Understand The Theory Of Algebraic Functions Homework 4 3.4,. Show that x x cos x x holds for x 0. Solution: Since cos x, multiply all three parts by x > 0, we get: x x cos x x, and since x 0 x x 0 ( x ) = 0, then by Sandwich theorem, we get: x 0

More information

We can display an object on a monitor screen in three different computer-model forms: Wireframe model Surface Model Solid model

We can display an object on a monitor screen in three different computer-model forms: Wireframe model Surface Model Solid model CHAPTER 4 CURVES 4.1 Introduction In order to understand the significance of curves, we should look into the types of model representations that are used in geometric modeling. Curves play a very significant

More information

Lagrange Interpolation is a method of fitting an equation to a set of points that functions well when there are few points given.

Lagrange Interpolation is a method of fitting an equation to a set of points that functions well when there are few points given. Polynomials (Ch.1) Study Guide by BS, JL, AZ, CC, SH, HL Lagrange Interpolation is a method of fitting an equation to a set of points that functions well when there are few points given. Sasha s method

More information

Zeros of a Polynomial Function

Zeros of a Polynomial Function Zeros of a Polynomial Function An important consequence of the Factor Theorem is that finding the zeros of a polynomial is really the same thing as factoring it into linear factors. In this section we

More information

UNCORRECTED PAGE PROOFS

UNCORRECTED PAGE PROOFS number and and algebra TopIC 17 Polynomials 17.1 Overview Why learn this? Just as number is learned in stages, so too are graphs. You have been building your knowledge of graphs and functions over time.

More information

Definition 8.1 Two inequalities are equivalent if they have the same solution set. Add or Subtract the same value on both sides of the inequality.

Definition 8.1 Two inequalities are equivalent if they have the same solution set. Add or Subtract the same value on both sides of the inequality. 8 Inequalities Concepts: Equivalent Inequalities Linear and Nonlinear Inequalities Absolute Value Inequalities (Sections 4.6 and 1.1) 8.1 Equivalent Inequalities Definition 8.1 Two inequalities are equivalent

More information

7. Some irreducible polynomials

7. Some irreducible polynomials 7. Some irreducible polynomials 7.1 Irreducibles over a finite field 7.2 Worked examples Linear factors x α of a polynomial P (x) with coefficients in a field k correspond precisely to roots α k [1] of

More information

1 Cubic Hermite Spline Interpolation

1 Cubic Hermite Spline Interpolation cs412: introduction to numerical analysis 10/26/10 Lecture 13: Cubic Hermite Spline Interpolation II Instructor: Professor Amos Ron Scribes: Yunpeng Li, Mark Cowlishaw, Nathanael Fillmore 1 Cubic Hermite

More information

Indiana State Core Curriculum Standards updated 2009 Algebra I

Indiana State Core Curriculum Standards updated 2009 Algebra I Indiana State Core Curriculum Standards updated 2009 Algebra I Strand Description Boardworks High School Algebra presentations Operations With Real Numbers Linear Equations and A1.1 Students simplify and

More information

3. Interpolation. Closing the Gaps of Discretization... Beyond Polynomials

3. Interpolation. Closing the Gaps of Discretization... Beyond Polynomials 3. Interpolation Closing the Gaps of Discretization... Beyond Polynomials Closing the Gaps of Discretization... Beyond Polynomials, December 19, 2012 1 3.3. Polynomial Splines Idea of Polynomial Splines

More information

Corollary. (f є C n+1 [a,b]). Proof: This follows directly from the preceding theorem using the inequality

Corollary. (f є C n+1 [a,b]). Proof: This follows directly from the preceding theorem using the inequality Corollary For equidistant knots, i.e., u i = a + i (b-a)/n, we obtain with (f є C n+1 [a,b]). Proof: This follows directly from the preceding theorem using the inequality 120202: ESM4A - Numerical Methods

More information

Tim Kerins. Leaving Certificate Honours Maths - Algebra. Tim Kerins. the date

Tim Kerins. Leaving Certificate Honours Maths - Algebra. Tim Kerins. the date Leaving Certificate Honours Maths - Algebra the date Chapter 1 Algebra This is an important portion of the course. As well as generally accounting for 2 3 questions in examination it is the basis for many

More information

TOPIC 4: DERIVATIVES

TOPIC 4: DERIVATIVES TOPIC 4: DERIVATIVES 1. The derivative of a function. Differentiation rules 1.1. The slope of a curve. The slope of a curve at a point P is a measure of the steepness of the curve. If Q is a point on the

More information

Method To Solve Linear, Polynomial, or Absolute Value Inequalities:

Method To Solve Linear, Polynomial, or Absolute Value Inequalities: Solving Inequalities An inequality is the result of replacing the = sign in an equation with ,, or. For example, 3x 2 < 7 is a linear inequality. We call it linear because if the < were replaced with

More information

An important theme in this book is to give constructive definitions of mathematical objects. Thus, for instance, if you needed to evaluate.

An important theme in this book is to give constructive definitions of mathematical objects. Thus, for instance, if you needed to evaluate. Chapter 10 Series and Approximations An important theme in this book is to give constructive definitions of mathematical objects. Thus, for instance, if you needed to evaluate 1 0 e x2 dx, you could set

More information

it is easy to see that α = a

it is easy to see that α = a 21. Polynomial rings Let us now turn out attention to determining the prime elements of a polynomial ring, where the coefficient ring is a field. We already know that such a polynomial ring is a UF. Therefore

More information

Reducibility of Second Order Differential Operators with Rational Coefficients

Reducibility of Second Order Differential Operators with Rational Coefficients Reducibility of Second Order Differential Operators with Rational Coefficients Joseph Geisbauer University of Arkansas-Fort Smith Advisor: Dr. Jill Guerra May 10, 2007 1. INTRODUCTION In this paper we

More information

MA107 Precalculus Algebra Exam 2 Review Solutions

MA107 Precalculus Algebra Exam 2 Review Solutions MA107 Precalculus Algebra Exam 2 Review Solutions February 24, 2008 1. The following demand equation models the number of units sold, x, of a product as a function of price, p. x = 4p + 200 a. Please write

More information

Zeros of Polynomial Functions

Zeros of Polynomial Functions Zeros of Polynomial Functions Objectives: 1.Use the Fundamental Theorem of Algebra to determine the number of zeros of polynomial functions 2.Find rational zeros of polynomial functions 3.Find conjugate

More information

3.3. Solving Polynomial Equations. Introduction. Prerequisites. Learning Outcomes

3.3. Solving Polynomial Equations. Introduction. Prerequisites. Learning Outcomes Solving Polynomial Equations 3.3 Introduction Linear and quadratic equations, dealt within Sections 3.1 and 3.2, are members of a class of equations, called polynomial equations. These have the general

More information

MATH 304 Linear Algebra Lecture 9: Subspaces of vector spaces (continued). Span. Spanning set.

MATH 304 Linear Algebra Lecture 9: Subspaces of vector spaces (continued). Span. Spanning set. MATH 304 Linear Algebra Lecture 9: Subspaces of vector spaces (continued). Span. Spanning set. Vector space A vector space is a set V equipped with two operations, addition V V (x,y) x + y V and scalar

More information

Introduction to Algebraic Geometry. Bézout s Theorem and Inflection Points

Introduction to Algebraic Geometry. Bézout s Theorem and Inflection Points Introduction to Algebraic Geometry Bézout s Theorem and Inflection Points 1. The resultant. Let K be a field. Then the polynomial ring K[x] is a unique factorisation domain (UFD). Another example of a

More information

On closed-form solutions to a class of ordinary differential equations

On closed-form solutions to a class of ordinary differential equations International Journal of Advanced Mathematical Sciences, 2 (1 (2014 57-70 c Science Publishing Corporation www.sciencepubco.com/index.php/ijams doi: 10.14419/ijams.v2i1.1556 Research Paper On closed-form

More information

Efficient Curve Fitting Techniques

Efficient Curve Fitting Techniques 15/11/11 Life Conference and Exhibition 11 Stuart Carroll, Christopher Hursey Efficient Curve Fitting Techniques - November 1 The Actuarial Profession www.actuaries.org.uk Agenda Background Outline of

More information

Chapter 4, Arithmetic in F [x] Polynomial arithmetic and the division algorithm.

Chapter 4, Arithmetic in F [x] Polynomial arithmetic and the division algorithm. Chapter 4, Arithmetic in F [x] Polynomial arithmetic and the division algorithm. We begin by defining the ring of polynomials with coefficients in a ring R. After some preliminary results, we specialize

More information

Differentiation and Integration

Differentiation and Integration This material is a supplement to Appendix G of Stewart. You should read the appendix, except the last section on complex exponentials, before this material. Differentiation and Integration Suppose we have

More information

CHAPTER 1 Splines and B-splines an Introduction

CHAPTER 1 Splines and B-splines an Introduction CHAPTER 1 Splines and B-splines an Introduction In this first chapter, we consider the following fundamental problem: Given a set of points in the plane, determine a smooth curve that approximates the

More information

The Mean Value Theorem

The Mean Value Theorem The Mean Value Theorem THEOREM (The Extreme Value Theorem): If f is continuous on a closed interval [a, b], then f attains an absolute maximum value f(c) and an absolute minimum value f(d) at some numbers

More information

Roots of Polynomials

Roots of Polynomials Roots of Polynomials (Com S 477/577 Notes) Yan-Bin Jia Sep 24, 2015 A direct corollary of the fundamental theorem of algebra is that p(x) can be factorized over the complex domain into a product a n (x

More information

Math Common Core Sampler Test

Math Common Core Sampler Test High School Algebra Core Curriculum Math Test Math Common Core Sampler Test Our High School Algebra sampler covers the twenty most common questions that we see targeted for this level. For complete tests

More information

is identically equal to x 2 +3x +2

is identically equal to x 2 +3x +2 Partial fractions.6 Introduction It is often helpful to break down a complicated algebraic fraction into a sum of simpler fractions. 4x+7 For example it can be shown that has the same value as + for any

More information

MASSACHUSETTS INSTITUTE OF TECHNOLOGY 6.436J/15.085J Fall 2008 Lecture 5 9/17/2008 RANDOM VARIABLES

MASSACHUSETTS INSTITUTE OF TECHNOLOGY 6.436J/15.085J Fall 2008 Lecture 5 9/17/2008 RANDOM VARIABLES MASSACHUSETTS INSTITUTE OF TECHNOLOGY 6.436J/15.085J Fall 2008 Lecture 5 9/17/2008 RANDOM VARIABLES Contents 1. Random variables and measurable functions 2. Cumulative distribution functions 3. Discrete

More information

Introduction to the Finite Element Method (FEM)

Introduction to the Finite Element Method (FEM) Introduction to the Finite Element Method (FEM) ecture First and Second Order One Dimensional Shape Functions Dr. J. Dean Discretisation Consider the temperature distribution along the one-dimensional

More information

Lecture 2. Marginal Functions, Average Functions, Elasticity, the Marginal Principle, and Constrained Optimization

Lecture 2. Marginal Functions, Average Functions, Elasticity, the Marginal Principle, and Constrained Optimization Lecture 2. Marginal Functions, Average Functions, Elasticity, the Marginal Principle, and Constrained Optimization 2.1. Introduction Suppose that an economic relationship can be described by a real-valued

More information

VERTICES OF GIVEN DEGREE IN SERIES-PARALLEL GRAPHS

VERTICES OF GIVEN DEGREE IN SERIES-PARALLEL GRAPHS VERTICES OF GIVEN DEGREE IN SERIES-PARALLEL GRAPHS MICHAEL DRMOTA, OMER GIMENEZ, AND MARC NOY Abstract. We show that the number of vertices of a given degree k in several kinds of series-parallel labelled

More information

Integrals of Rational Functions

Integrals of Rational Functions Integrals of Rational Functions Scott R. Fulton Overview A rational function has the form where p and q are polynomials. For example, r(x) = p(x) q(x) f(x) = x2 3 x 4 + 3, g(t) = t6 + 4t 2 3, 7t 5 + 3t

More information

Finite cloud method: a true meshless technique based on a xed reproducing kernel approximation

Finite cloud method: a true meshless technique based on a xed reproducing kernel approximation INTERNATIONAL JOURNAL FOR NUMERICAL METHODS IN ENGINEERING Int. J. Numer. Meth. Engng 2001; 50:2373 2410 Finite cloud method: a true meshless technique based on a xed reproducing kernel approximation N.

More information

3 1. Note that all cubes solve it; therefore, there are no more

3 1. Note that all cubes solve it; therefore, there are no more Math 13 Problem set 5 Artin 11.4.7 Factor the following polynomials into irreducible factors in Q[x]: (a) x 3 3x (b) x 3 3x + (c) x 9 6x 6 + 9x 3 3 Solution: The first two polynomials are cubics, so if

More information

MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS. + + x 2. x n. a 11 a 12 a 1n b 1 a 21 a 22 a 2n b 2 a 31 a 32 a 3n b 3. a m1 a m2 a mn b m

MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS. + + x 2. x n. a 11 a 12 a 1n b 1 a 21 a 22 a 2n b 2 a 31 a 32 a 3n b 3. a m1 a m2 a mn b m MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS 1. SYSTEMS OF EQUATIONS AND MATRICES 1.1. Representation of a linear system. The general system of m equations in n unknowns can be written a 11 x 1 + a 12 x 2 +

More information

by the matrix A results in a vector which is a reflection of the given

by the matrix A results in a vector which is a reflection of the given Eigenvalues & Eigenvectors Example Suppose Then So, geometrically, multiplying a vector in by the matrix A results in a vector which is a reflection of the given vector about the y-axis We observe that

More information

Basics of Polynomial Theory

Basics of Polynomial Theory 3 Basics of Polynomial Theory 3.1 Polynomial Equations In geodesy and geoinformatics, most observations are related to unknowns parameters through equations of algebraic (polynomial) type. In cases where

More information

In other words the graph of the polynomial should pass through the points

In other words the graph of the polynomial should pass through the points Capter 3 Interpolation Interpolation is te problem of fitting a smoot curve troug a given set of points, generally as te grap of a function. It is useful at least in data analysis (interpolation is a form

More information

Taylor and Maclaurin Series

Taylor and Maclaurin Series Taylor and Maclaurin Series In the preceding section we were able to find power series representations for a certain restricted class of functions. Here we investigate more general problems: Which functions

More information

a 11 x 1 + a 12 x 2 + + a 1n x n = b 1 a 21 x 1 + a 22 x 2 + + a 2n x n = b 2.

a 11 x 1 + a 12 x 2 + + a 1n x n = b 1 a 21 x 1 + a 22 x 2 + + a 2n x n = b 2. Chapter 1 LINEAR EQUATIONS 1.1 Introduction to linear equations A linear equation in n unknowns x 1, x,, x n is an equation of the form a 1 x 1 + a x + + a n x n = b, where a 1, a,..., a n, b are given

More information

Many algorithms, particularly divide and conquer algorithms, have time complexities which are naturally

Many algorithms, particularly divide and conquer algorithms, have time complexities which are naturally Recurrence Relations Many algorithms, particularly divide and conquer algorithms, have time complexities which are naturally modeled by recurrence relations. A recurrence relation is an equation which

More information

Chapter 6. Orthogonality

Chapter 6. Orthogonality 6.3 Orthogonal Matrices 1 Chapter 6. Orthogonality 6.3 Orthogonal Matrices Definition 6.4. An n n matrix A is orthogonal if A T A = I. Note. We will see that the columns of an orthogonal matrix must be

More information

Algebra II End of Course Exam Answer Key Segment I. Scientific Calculator Only

Algebra II End of Course Exam Answer Key Segment I. Scientific Calculator Only Algebra II End of Course Exam Answer Key Segment I Scientific Calculator Only Question 1 Reporting Category: Algebraic Concepts & Procedures Common Core Standard: A-APR.3: Identify zeros of polynomials

More information

Separable First Order Differential Equations

Separable First Order Differential Equations Separable First Order Differential Equations Form of Separable Equations which take the form = gx hy or These are differential equations = gxĥy, where gx is a continuous function of x and hy is a continuously

More information

4.5 Linear Dependence and Linear Independence

4.5 Linear Dependence and Linear Independence 4.5 Linear Dependence and Linear Independence 267 32. {v 1, v 2 }, where v 1, v 2 are collinear vectors in R 3. 33. Prove that if S and S are subsets of a vector space V such that S is a subset of S, then

More information

Algebra Unpacked Content For the new Common Core standards that will be effective in all North Carolina schools in the 2012-13 school year.

Algebra Unpacked Content For the new Common Core standards that will be effective in all North Carolina schools in the 2012-13 school year. This document is designed to help North Carolina educators teach the Common Core (Standard Course of Study). NCDPI staff are continually updating and improving these tools to better serve teachers. Algebra

More information

Representation of functions as power series

Representation of functions as power series Representation of functions as power series Dr. Philippe B. Laval Kennesaw State University November 9, 008 Abstract This document is a summary of the theory and techniques used to represent functions

More information