Construct the normal equations for the linear polynomial least squares to fit the data x = [1 0 -1], y=[3;2;-1]. (a) Find the parameters of the linear regression u1, u2 using QR decomposition, and plot the data and the fit curve in a graph (paper and pencil). (b) Calculate the eigenvalues of the normal equation matrix A'*A for the above data from the characteristic polynomial. (c) Write down quadratic interpolation polynomial in Lagrange form to interpolate the three data points. (d) Assume that the normal equation matrix A'*A is generated by A with m rows and n columns, m>=n. Explain under which conditions there would be a zero eigenvalue among the eigenvalues of the matrix of the normal equations.(adsbygoogle = window.adsbygoogle || []).push({});

**Physics Forums | Science Articles, Homework Help, Discussion**

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Homework Help: Linear polynomial least squares

**Physics Forums | Science Articles, Homework Help, Discussion**