Finding Least Square Solutions for Singular Matrices

  • Thread starter Thread starter Punkyc7
  • Start date Start date
  • Tags Tags
    Square
Punkyc7
Messages
415
Reaction score
0
Find the least square solutions x* of the system Ax=bA=[1 3
2 6]

b=[5
0]A^tAx=A^tbSo I get down to
[5 15 [x1 [5
15 45] x2] = 15]

so i get [1
0]

The book says the solution is
[1-3s
s]

not sure were that came from
 
Last edited:
Physics news on Phys.org
can you explain your method?
 
Just plug into the formula the only problem is that the matrix I get by multiplying A transpose A cannot not be inverted
 
Punkyc7 said:
Just plug into the formula the only problem is that the matrix I get by multiplying A transpose A cannot not be inverted

That's because ATA is singular, which in this case means an infinite number of solutions. If you multiply things out by hand you can get the answer.
 
Prove $$\int\limits_0^{\sqrt2/4}\frac{1}{\sqrt{x-x^2}}\arcsin\sqrt{\frac{(x-1)\left(x-1+x\sqrt{9-16x}\right)}{1-2x}} \, \mathrm dx = \frac{\pi^2}{8}.$$ Let $$I = \int\limits_0^{\sqrt 2 / 4}\frac{1}{\sqrt{x-x^2}}\arcsin\sqrt{\frac{(x-1)\left(x-1+x\sqrt{9-16x}\right)}{1-2x}} \, \mathrm dx. \tag{1}$$ The representation integral of ##\arcsin## is $$\arcsin u = \int\limits_{0}^{1} \frac{\mathrm dt}{\sqrt{1-t^2}}, \qquad 0 \leqslant u \leqslant 1.$$ Plugging identity above into ##(1)## with ##u...
Back
Top