Elementary Linear Algebra 6e - Larson, Edwards, Falvo - Chapter 10.4

# Elementary Linear Algebra 6e - Larson, Edwards, Falvo - Chapter 10.4

This preview shows pages 1–4. Sign up to view the full content.

594 CHAPTER 10 NUMERICAL METHODS 10.4 APPLICATIONS OF NUMERICAL METHODS Applications of Gaussian Elimination with Pivoting In Section 2.5 you used least squares regression analysis to find linear mathematical models that best fit a set of n points in the plane. This procedure can be extended to cover polyno- mial models of any degree as follows. Note that if this system of equations reduces to s S x i d a 0 1 s S x i 2 d a 1 5S x i y i , na 0 1 2 s S x i d a 1 y i m 5 1 Regression Analysis for Polynomials The least squares regression polynomial of degree m for the points is given by where the coefficients are determined by the following system of linear equa- tions. so x i m d a 0 1 x i m 1 1 d a 1 1 x i m 1 2 d a 2 1 . . . 1 x i 2 m d a m 5 o x i m y i . . . x i 2 d a 0 1 x i 3 d a 1 1 x i 4 d a 2 1 . . . 1 x i m 1 2 d a m 5 o x i 2 y i x i d a 0 1 x i 2 d a 1 1 x i 3 d a 2 1 . . . 1 x i m 1 1 d a m 5 o x i y i na 0 1 x i d a 1 1 x i 2 d a 2 1 . . . 1 x i m d a m 5 o y i m 1 1 y 5 a m x m 1 a m 2 1 x m 2 1 1 . . . 1 a 2 x 2 1 a 1 x 1 a 0 , . . . , s x n , y n d J H s x 1 , y 1 d , s x 2 , y 2 d ,

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
which has a solution of and Exercise 16 asks you to show that this formula is equivalent to the matrix formula for linear regression that was presented in Section 2.5. Example 1 illustrates the use of regression analysis to find a second-degree polynomial model. EXAMPLE 1 Least Squares Regression Analysis The world population in billions for the years between 1965 and 2000, is shown in Table 10.9. (Source: U.S. Census Bureau) TABLE 10.9 Year 1965 1970 1975 1980 1985 1990 1995 2000 Population 3.36 3.72 4.10 4.46 4.86 5.28 5.69 6.08 Find the second-degree least squares regression polynomial for these data and use the resulting model to predict the world population for 2005 and 2010. Solution Begin by letting represent 1965, represent 1970, and so on. So the collection of points is given by which yields So the system of linear equations giving the coefficients of the quadratic model is Gaussian elimination with pivoting on the matrix 3 8 2 4 44 2 4 44 2 64 44 2 64 452 37.55 2 2.36 190.86 4 44 a 0 2 64 a 1 1 452 a 2 5 190.86. 2 4 a 0 1 44 a 1 2 64 a 2 5 2 2.36 8 a 0 2 4 a 1 1 44 a 2 5 37.55 y 5 a 2 x 2 1 a 1 x 1 a 0 o 8 i 5 1 x i 2 y i 5 190.86. o 8 i 5 1 x i y i 52 2.36, o 8 i 5 1 y i 5 37.55, o 8 i 5 1 x i 4 5 452, o 8 i 5 1 x i 3 64, o 8 i 5 1 x i 2 5 44, o 8 i 5 1 x i 4, n 5 8, s 1, 5.28 d , s 2, 5.69 d , s 3, 6.08 d J , H s 2 4, 3.36 d , s 2 3, 3.72 d , s 2 2, 4.10 d , s 2 1, 4.46 d , s 0, 4.86 d , x 3 x 4 a 0 5 o y i n 2 a 1 o x i n . a 1 5 n o x i y i 2 so x i ds o y i d n o x i 2 2 x i d 2 SECTION 10.4 APPLICATIONS OF NUMERICAL METHODS 595
produces So by back substitution you find the solution to be and the regression quadratic is Figure 10.1 compares this model with the given points. To predict the world population for 2005, let obtaining Similarly, the prediction for 2010 is EXAMPLE 2 Least Squares Regression Analysis Find the third-degree least squares regression polynomial for the points Solution For this set of points the linear system becomes 441 a 0 1 2275 a 1 1 12,201 a 2 1 67,171 a 3 5 1258.

This preview has intentionally blurred sections. Sign up to view the full version.

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

## This note was uploaded on 02/24/2012 for the course MATH 310 taught by Professor Staff during the Spring '08 term at VCU.

### Page1 / 11

Elementary Linear Algebra 6e - Larson, Edwards, Falvo - Chapter 10.4

This preview shows document pages 1 - 4. Sign up to view the full document.

View Full Document
Ask a homework question - tutors are online