The tutor shows a nice trick to obtain a least squares line using matrix algebra. In my Nov 25 post I mentioned how, with Excel or LibreOffice Calc, to get a best-fit line for x y 0 3 2 5 …

Linear algebra: best fit line: method of least squares by hand Read more »

The tutor gives an example to show that with matrices, AB=AC doesn’t mean B=C. Consider the matrices A, B, C, and D: By matrix multiplication, AB=AC. (In fact, both products equal D.) Yet, obviously, B≠C. Matrix multiplication lacks the cancellation …

Linear algebra: matrix multiplication: no cancellation rule Read more »

The MINVERSE() function can be tricky to use; the tutor tells how. Example: find the inverse of matrix A: -5 0 1 3 8 9 0 1 0 Solution: Enter the matrix in Excel or LibreOffice Calc. Let’s imagine, for …

Spreadsheets: Matrix inverse on Excel or LibreOffice Calc Read more »