Suppose we are asked to fit a straight line to the following data 1 3 -2 1 2 -1 so that mx + C= y Write the system of linear equations mx + c y. Determine the matrix A. and vector b to write this problem as a matrix equation A x b Describe the relationship between the vector b and the column space of (a) (b) A. Given that the matrix equation in part (a) has no solution, a least squares solution is sought by looking for a vector x that minimises the error e = Ax - b. This means that e is perpendicular to the columns of A. Show that this fact leads to the normal equations: (c) ATA X= ATb Use the matrix equation in part (c) to determine the associated normal equations and the least squares solution, x, for the matrix equation in part (a). (d)

Linear Algebra: A Modern Introduction
4th Edition
ISBN:9781285463247
Author:David Poole
Publisher:David Poole
Chapter4: Eigenvalues And Eigenvectors
Section4.6: Applications And The Perron-frobenius Theorem
Problem 23EQ
icon
Related questions
Question
Suppose we are asked to fit a straight line to the following data
m
2
1
3
-2
1
1
-1
1
so that mx + C = y
Write the system of linear equations mx + c = y. Determine the matrix A.
and vector b to write this problem as a matrix equation A x b
Describe the relationship between the vector b and the column space of
(a)
(b)
A.
Given that the matrix equation in part (a) has no solution, a least squares
solution is sought by looking for a vector x that minimises the error e =
Ax - b. This means that e is perpendicular to the columns of A. Show
that this fact leads to the normal equations:
(c)
ATA X = AT b
Use the matrix equation in part (c) to determine the associated normal
equations and the least squares solution, x, for the matrix equation in
part (a).
(d)
Transcribed Image Text:Suppose we are asked to fit a straight line to the following data m 2 1 3 -2 1 1 -1 1 so that mx + C = y Write the system of linear equations mx + c = y. Determine the matrix A. and vector b to write this problem as a matrix equation A x b Describe the relationship between the vector b and the column space of (a) (b) A. Given that the matrix equation in part (a) has no solution, a least squares solution is sought by looking for a vector x that minimises the error e = Ax - b. This means that e is perpendicular to the columns of A. Show that this fact leads to the normal equations: (c) ATA X = AT b Use the matrix equation in part (c) to determine the associated normal equations and the least squares solution, x, for the matrix equation in part (a). (d)
Expert Solution
steps

Step by step

Solved in 4 steps with 1 images

Blurred answer
Recommended textbooks for you
Linear Algebra: A Modern Introduction
Linear Algebra: A Modern Introduction
Algebra
ISBN:
9781285463247
Author:
David Poole
Publisher:
Cengage Learning
Algebra & Trigonometry with Analytic Geometry
Algebra & Trigonometry with Analytic Geometry
Algebra
ISBN:
9781133382119
Author:
Swokowski
Publisher:
Cengage
Elementary Linear Algebra (MindTap Course List)
Elementary Linear Algebra (MindTap Course List)
Algebra
ISBN:
9781305658004
Author:
Ron Larson
Publisher:
Cengage Learning
College Algebra
College Algebra
Algebra
ISBN:
9781305115545
Author:
James Stewart, Lothar Redlin, Saleem Watson
Publisher:
Cengage Learning
Algebra and Trigonometry (MindTap Course List)
Algebra and Trigonometry (MindTap Course List)
Algebra
ISBN:
9781305071742
Author:
James Stewart, Lothar Redlin, Saleem Watson
Publisher:
Cengage Learning