Question: Given a list of n points (i, yo) E R with distinct x; values, it is sometimes necessary to find a polynomial curve p(x) E

Given a list of n points (i, yo) E R with distinct x; values, it is sometimes necessary to find a polynomial curve p(x) E Pn-1 (R) passing through all the points. One method to do so, uses linear algebra as follows. (We will learn another method, called Lagrange interpolation, later in the course.) Consider an arbitrary polynomial p(x) = a + aix + a2x2 + . . . + an-127-1. We consider the coefficients as unknown. Each point (Ci, yi) gives a linear relation among the coefficients. The linear system is given: do + alx1 + a2x + . . . + an-127 1 = y1 do + a1x2 + a2x3 + . . . + an-1202 1 = y2 do + alln + azan + . . . + an-1x7 = yn 1. Use this method to find a quadratic polynomial passing through the points (0, 3), (1, 2), (2, 3) 2. Use this method to find a cubic passing through through the points (0, 5), (1, 9), (2, 11), (3, 5). 3. Consider the example of the three points laying on a line, such as: (0, 0), (1, 1), (2, 2). What happens to your linear system in this case? In general, what happens to this method if the points lie on a curve of lower degree than necessary? Time left
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
