Question #265804

Is there any relation between the degree of the polynomial and the number of data points in polynomial curve fitting? If yes, write the relation. If no, write a brief (no more than two lines) explanation.




1
Expert's answer
2021-11-15T19:12:41-0500

In general, whenever you have nn data points, you can always find a polynomial of degree n1n-1 which passes through all of them: 


[1x1x12...x1n11x2x22...x2n11x3x32...x3n1...1xnxn2...xnn1][c1c2c3cn]=[y1y2y3yn]\begin{bmatrix} 1 & x_1 &x_1^2 & ... & x_1^{n-1} \\ 1 & x_2 &x_2^2 & ... & x_2^{n-1} \\ 1 & x_3 &x_3^2 & ... & x_3^{n-1} \\ \vdots & \vdots & \vdots & ... & \vdots \\ 1 & x_n &x_n^2 & ... & x_n^{n-1} \\ \end{bmatrix}\begin{bmatrix} c_1 \\ c_2 \\ c_3 \\ \vdots \\ c_n \end{bmatrix}=\begin{bmatrix} y_1 \\ y_2 \\ y_3 \\ \vdots \\ y_n \end{bmatrix}


Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!
LATEST TUTORIALS
APPROVED BY CLIENTS