ila
ila copied to clipboard
Feedback on least-squares
In the section in Interactive Linear Algebra about Least Squares(the ellipse) I believe the RREF calculations is not correct. The textbooko says the RREF form is [[1,0,0,0,0,405/266], [0,1,0,0,0,−89/133], [0,0,1,0,0,201/133], [0,0,0,1,0,−123/266], [0,0,0,0,1,−687/133]]
But I believe it should be
[['1' '0' '0' '0' '0' '10355/8574'], ['0' '1' '0' '0' '0' '-102/1429'], ['0' '0' '1' '0' '0' '1623/1429'], ['0' '0' '0' '1' '0' '-2499/2858'], ['0' '0' '0' '0' '1' '-20113/4287']]
I have gotten this answer through multiple methods including, using my own code, using rref calculators online and using sympy.