Stitz-Zeager_College_Algebra_e-book

We begin our formal study of general polynomials with

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: m is to find a line which is in some sense ‘close’ to all the points, even though it may go through none of them. The way we measure ‘closeness’ in this case is to find the total squared error between the data points 1 and the line. Consider our three data points and the line y = 2 x + 1 . For each of our data points, 2 we find the vertical distance between each data point and the line. To accomplish this, we need to find a point on the line directly above or below each data point - in other words, point on the line with the same x-coordinate as our data point. For example, to find the point on the line directly 1 below (1, 2), we plug x = 1 into y = 1 x + 2 and we get the point (1, 1). Similarly, we get (3, 1) to 2 5 correspond to (3, 2) and 4, 2 for (4, 3). 4 3 2 1 1 2 3 4 We find the total squared error E by taking the sum of the squares of the differences of the y coordinates of each data point and its corresponding point on the line. For the data and line above 2 9 E = (2 − 1)2 + (1 − 2)2 + 3 − 5 = 4...
View Full Document

This note was uploaded on 05/03/2013 for the course MATH Algebra taught by Professor Wong during the Fall '13 term at Chicago Academy High School.

Ask a homework question - tutors are online