# Homework Help: Is this correct about matrices

1. Jul 12, 2005

### Yegor

I know that for matrices A, B and C is correct to write: (AB)C=A(BC)
Also $$(BA)^{-1}=A^{-1}B^{-1}$$
Why $$(A^{T}A)^{-1}A^{T}=A^{-1}(A^{T})^{-1}A^{T}=A^{-1}$$ is not correct?

2. Jul 12, 2005

### matt grime

who says it is incorrect?

3. Jul 12, 2005

### Hurkyl

Staff Emeritus
Yes, provided A and B are both invertible matrices...

4. Jul 12, 2005

### Yegor

$$(A^{T}A)^{-1}A^{T}$$ such expression comes in chapter about least squares aproximation.
e.g. if we have inconsistent linear system Ax=b, then $$x=(A^{T}A)^{-1}A^{T}b$$ is best approximation. It is not equal to $$x=A^{-1}b$$

5. Jul 12, 2005

### Yegor

Oh, yes. Now i see. Thank you very much, Hurky!