Math 20F - Linear Algebra - Winter 2003Quiz #612Answers — March 41. Consider the following table of data values.x-1012y0424Find the best linear least squares ﬁt to the data. That is, ﬁnd the linearfunctionf(x)=c0+c1xthat best ﬁts the data in the least squaressense.ANSWER: LetA=1-1101112andb=0424.We need to solveA‡c0c1·=b.To do this, we solveATAx=ATb.Now,ATA=±4226¶, andATb=(1010), so we use row operations:±1010¶→±215135¶→±55¶→±50-5-5¶Solving by backsubstitution givesc1=1andc0=2. So the answer is:f(x)=2+x.2. Letu1=(1,1,1)Tandu2,-1,0)T. Are these vectors orthogonal?Orthonormal? Let
This is the end of the preview. Sign up
access the rest of the document.
This homework help was uploaded on 01/23/2008 for the course MATH 20F taught by Professor Buss during the Winter '03 term at UCSD.