MATH10001 Mathematical Workshop Graph Fitting Project part 2

Similar documents
MATH10001 Mathematical Workshop Difference Equations part 2 Non-linear difference equations

Roots and Coefficients Polynomials Preliminary Maths Extension 1

Question 1: The graphs of y = p(x) are given in following figure, for some Polynomials p(x). Find the number of zeroes of p(x), in each case.

Function Junction: Homework Examples from ACE

Use the Rational Zero Theorem to list all the possible rational zeros of the following polynomials. (1-2) 4 3 2

CHAPTER 2 POLYNOMIALS KEY POINTS

N13/5/MATHL/HP1/ENG/TZ0/XX MATHEMATICS HIGHER LEVEL PAPER 1. Candidate session number 0 0. Monday 11 November 2013 (afternoon)

Get acquainted with the computer program, The Quadratic Transformer. When you're satisfied that you understand how it works, try the tasks below.

Integration of Rational Functions by Partial Fractions

S56 (5.1) Polynomials.notebook August 25, 2016

( ) ( ) ( ) ( )( ) A.SSE.A.2: Factor Polynomials. Factoring Monomials:

Mathematics Standard level Paper 1

Math Numerical Analysis Mid-Term Test Solutions

MATH 121: EXTRA PRACTICE FOR TEST 2. Disclaimer: Any material covered in class and/or assigned for homework is a fair game for the exam.

Data Analysis-I. Interpolation. Soon-Hyung Yook. December 4, Soon-Hyung Yook Data Analysis-I December 4, / 1

1. Definition of a Polynomial

Integration of Rational Functions by Partial Fractions

Empirical Models Interpolation Polynomial Models

Chapter 2 notes from powerpoints

Assessment Exemplars: Polynomials, Radical and Rational Functions & Equations

Tropical Polynomials

Section A.6. Solving Equations. Math Precalculus I. Solving Equations Section A.6

Math 2142 Homework 5 Part 1 Solutions

Lesson 11: The Special Role of Zero in Factoring

Answer all questions in the boxes provided. Working may be continued below the lines if necessary.

9.5. Polynomial and Rational Inequalities. Objectives. Solve quadratic inequalities. Solve polynomial inequalities of degree 3 or greater.

Downloaded from

Polynomial Functions

Mathematics: Year 12 Transition Work

The absolute value (modulus) of a number

Common Core Algebra 2 Review Session 1

Math123 Lecture 1. Dr. Robert C. Busby. Lecturer: Office: Korman 266 Phone :

Instructor Notes for Chapters 3 & 4

IMP 3 Function POW #1 Linear, Quadratic and Cubic Functions with some extension to higher degree polynomials

Applied Numerical Analysis Homework #3

Ch. 7.6 Squares, Squaring & Parabolas

A monomial or sum of monomials

MHF4U. Advanced Functions Grade 12 University Mitchell District High School. Unit 2 Polynomial Functions 9 Video Lessons

OCR Maths FP1. Topic Questions from Papers. Roots of Polynomial Equations

Algebra III Chapter 2 Note Packet. Section 2.1: Polynomial Functions

2, or x 5, 3 x 0, x 2

MATH 121: EXTRA PRACTICE FOR TEST 2. Disclaimer: Any material covered in class and/or assigned for homework is a fair game for the exam.

Chapter 4E - Combinations of Functions

Math 4310 Solutions to homework 7 Due 10/27/16

Core Mathematics 1 Quadratics

Non-Linear Regression

A.APR.B.3: Find Zeros of Polynomials B. Understand the relationship between zeros and factors of polynomials.

4 Unit Math Homework for Year 12

Department of Mathematics

Review of Section 1.1. Mathematical Models. Review of Section 1.1. Review of Section 1.1. Functions. Domain and range. Piecewise functions

Precalculus 1, 161. Spring 2018 CRN Section 009. Time: S, 12:30 p.m. - 3:35 p.m. Room BR-11

UNIT-II INTERPOLATION & APPROXIMATION

Chapter 8 ~ Quadratic Functions and Equations In this chapter you will study... You can use these skills...

Tenth Maths Polynomials

Equations in Quadratic Form

E-BOOK / FINDING THE EQUATION OF A PARABOLA GIVEN THREE POINTS EBOOK

Mathematics 1 Lecture Notes Chapter 1 Algebra Review

Neville s Method. MATH 375 Numerical Analysis. J. Robert Buchanan. Fall Department of Mathematics. J. Robert Buchanan Neville s Method

Math 578: Assignment 2

Name Period Date. polynomials of the form x ± bx ± c. Use guess and check and logic to factor polynomials of the form 2

Core Mathematics 2 Algebra

, a 1. , a 2. ,..., a n

Review 1 Math 321: Linear Algebra Spring 2010

Class IX Chapter 2 Polynomials Maths

A.SSE.A.1: Terms, Factors, & Coefficients of Expressions

MHF4U Unit 2 Polynomial Equation and Inequalities

Warm-Up. Use long division to divide 5 into

Factors of Polynomials Factoring For Experts

11.2 The Quadratic Formula

Interpolation APPLIED PROBLEMS. Reading Between the Lines FLY ROCKET FLY, FLY ROCKET FLY WHAT IS INTERPOLATION? Figure Interpolation of discrete data.

Integer-Valued Polynomials

Problems with the Fundamental Theorem of Algebra.

2012 Texas Essential Knowledge and Skills for Algebra II in Pearson Texas Algebra II

Solving Systems of Linear and Quadratic Equations

Algebra II Assessment. Eligible Texas Essential Knowledge and Skills

Vocabulary Polynomial: A monomial or the sum of two or more monomials whose exponents are positive. Example: 5a 2 + ba 3. 4a b, 1.

5-6 The Remainder and Factor Theorems

Pre-AP Algebra II Summer Packet 2014

R.5 Factoring Polynomials 1

2-7 Solving Quadratic Inequalities. ax 2 + bx + c > 0 (a 0)

Mathematics AQA Advanced Subsidiary GCE Core 1 (MPC1) January 2010

Pre-Calculus Summer Math Packet 2018 Multiple Choice

What students need to know for PRE-CALCULUS Students expecting to take Pre-Calculus should demonstrate the ability to:

6.5 Dividing Polynomials

Formative Assignment PART A

Homework For each of the following matrices, find the minimal polynomial and determine whether the matrix is diagonalizable.

(2) Dividing both sides of the equation in (1) by the divisor, 3, gives: =

Analysis Methods in Atmospheric and Oceanic Science

Chapter 1: Precalculus Review

Math 1311 Section 5.5 Polynomials and Rational Functions

Analysis Methods in Atmospheric and Oceanic Science

Math 5: Precalculus. Homework Problems

8 th Grade Honors Variable Manipulation Part 3 Student

Two hours. To be provided by Examinations Office: Mathematical Formula Tables. THE UNIVERSITY OF MANCHESTER. 29 May :45 11:45

Lesson 6: Switching Between Forms of Quadratic Equations Unit 5 Quadratic Functions

Solving Quadratic Equations

Solutions to the Worksheet on Polynomials and Rational Functions

Quadratic and Polynomial Inequalities in one variable have look like the example below.

Algebra 2 Summer Work Packet

Examples 2: Composite Functions, Piecewise Functions, Partial Fractions

Transcription:

MATH10001 Mathematical Workshop Graph Fitting Project part 2 Polynomial models Modelling a set of data with a polynomial curve can be convenient because polynomial functions are particularly easy to differentiate and integrate. Theorem (polynomial interpolation) Given a collection of data points (x 1, y 1 ), (x 2, y 2 ),..., (x n, y n ) where x i x j for all i j, there exists a unique polynomial p(x) of degree at most n 1 such that p(x i ) = y i for all i = 1,..., n. This means that the graph of y = p(x) passes through all the data points. Even though this creates a perfectly fitting model for our data points the method does have its limitations. Example Find the quadratic function that passes through the points (1, 2), (2, 4) and (3, 5). Let p(x) = ax 2 + bx + c be the required quadratic. We have a(1 2 ) + b(1) + c = 2 a(2 2 ) + b(2) + c = 4 a(3 2 ) + b(3) + c = 5. Solving this system of simultaneous equations we get a = 0.5, b = 3.5 and c = 1 and so the required polynomial is p(x) = 0.5x 2 + 3.5x 1. 1

6 5 4 3 2 1 0 1 0 0.5 1 1.5 2 2.5 3 3.5 4 This model exactly fits the three data points. However if we are given some extra data points they may not necessarily lie on this curve and we would have to calculate a higher order polynomial to pass through all the points. This calculation would involve solving a larger system of simultaneous equations. Even though the model exactly fits the data points it may give meaningless answers for points between the data points. Example The table below lists the area of seven countries and the total length of railway track: x = Area (1000s square miles) y = Railway (1000s miles) 1.4 2.7 2.4 2.27 7.1 3.31 13.8 3.39 34.2 3.81 109.3 4.88 134 4.62 If we calculate the interpolation polynomial for this data we get a degree 6 polynomial p(x). If we take x = 50, 000 square miles, the model gives 2

y = 153320 miles! This shows there are problems with the model even though it fits the data perfectly. Another approach is to use the method of least squares. This would involve finding a polynomial p(x) that minimizes the expression S = (y i p(x i )) 2. The advantage of this approach is that we can do the minimization for different degree polynomials and choose the best model. Let p(x) = ax 2 + bx + c and so S = (y i ax 2 i bx i c) 2. We need to solve This gives S a = S b = S c = 0. 2x 2 i (y i ax 2 i bx i c) = 0 2x i (y i ax 2 i bx i c) = 0 2(y i ax 2 i bx i c) = 0. Using the values of x and y above and solving we get a = 0.0002, b = 0.0475, c = 2.6062 and so our model is p(x) = 0.0002x 2 + 0.0475x + 2.6062. 3

5.5 5 4.5 4 3.5 3 2.5 2 0 20 40 60 80 100 120 140 4

MATH10001 Mathematical Workshop Graph Fitting Project part 2 Problem 3 (i) For the following data find a cubic polynomial model that exactly fits the data points. x 1 2 3 4 y 2 3 2 4 (ii) For the same data produce a quadratic model using the least squares method. (iii) Plot both models together with the data points (you can use MATLAB to do this). Give a reason why the least squares quadratic may be a better model that the interpolation polynomial. Problem 4 For a cubic model using the least squares method we need to minimize S = [y i (ax 3 i + bx 2 i + cx i + d)] 2. This involves solving S a = S b = S c = S d = 0. Determine these partial derivatives and find the least squares cubic model for the following data. x 0 1 2 3 4 y 2 0 1 1 1 5

Project Report The assessment for this project is by an individual project report. The report should contain your solutions to the four problems and the homework from part 1. Your report should be well presented and the problem solutions should be clearly explained. Even though you have worked as a group on this project, the report should be all your own work. There are marks for the clarity as well as the correctness of your mathematical arguments. Please hand in your report to your postgraduate facilitator at the start of your Workshop class in week 12 (week commencing 12th December). You should attach a cover sheet to your report and put your group number on the front page. There are 30 marks for this project. (a) 20 marks for the solutions to the problems. (b) 3 marks for the homework. (c) 2 marks for the presentation of your report (clear explanations and layout). (d) 1/4 of the average mark for your group for (a) out of 5. Any student who does not attend one group session, without good reason, will get half the marks for (d). If a student misses both group sessions, without good reason, they will get 0 marks for (d). Please notify the School as soon as possible if you miss a session and fill in a Self Certification form available from the Alan Turing Building reception. 6