Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Ok HN, what's the best book for learning this stuff? My criteria are: rigorous is good, but so is fun. Bonus points for anything a hacker would appreciate, such as computational applications or exercises.


I highly recommend the MIT 18.06 open course on linear algebra - the lectures are first rate. I've been going through this as a refresher, in prep for the Stanford machine learning class.

Link to the course: http://ocw.mit.edu/courses/mathematics/18-06-linear-algebra-...

Link to the YouTube videos of the lectures: http://www.youtube.com/watch?v=ZK3O402wf1c&feature=resul...


The course is taught by Gilbert Strang, who has written an excellent introductory textbook on the subject:

http://www.amazon.com/Introduction-Linear-Algebra-Fourth-Gil...


Strang has another great book, Linear Algebra and its Applications: http://www.amazon.com/Linear-Algebra-Applications-Gilbert-St... Everything I know about linear algebra I learned from this book.


A slightly more advance books which I love is: Matrix Analysis and Applied Linear Algebra by Carl Meyer. http://www.amazon.com/gp/product/0898714540

You can find a free PDF version online.

I like it more then Strang because it's a lot more concise, covers some more advanced topics and unlike Strang everything is said very accurately. I think Strang's rather hand-wavy way of explaining things starts faltering when he talks about more advance topics.

I would read Strang and listen to his lectures to get a good feel for Linear Algebra (to build up the intuition), and if you feel like you want more then pick up Meyer's book


Seconded. I'm an applied math PhD student (optimization) and I use linear algebra constantly. This book taught me everything.


Thirded. We used an earlier edition at my school for Linear Algebra, and in spite of having a Professor who was retiring at the end of the class (complete with "I'm getting too old for this shit" demeanor), the book was approachable enough for us to get by.


How much time do you have ? You can easily spend several years and get multiple PhDs in linear algebra, but if you only have half an hour to devote to this, I strongly suggest Leduc's Cliff Notes. http://www.amazon.com/Linear-Algebra-Cliffs-Quick-Review/dp/...

Amazing writing, very succint & hacker-friendly.


The (free, open) stanford class ee263: Linear Dynamical Systems is really good. It concentrated on how to take real problems and fit them into a form where a computer can solve them in what appears to be complete magic. Plus Stephen Boyd is a very entertaining lecturer. This article reminds me a lot of his asides.

Link to lectures and materials: http://see.stanford.edu/see/courseinfo.aspx?coll=17005383-19...


After the LA intro courses, see Strangs "Computational Science and Engineering":

* http://www.youtube.com/view_play_list?p=F706B428FB7BD52C

* http://www.youtube.com/view_play_list?gl=DE&hl=de&p=...

based on the book of the same name. This is one of "name 5 books you would take with you on a desert island" kind of books, a beautiful work of art.


I've read and would recommend Linear Algebra Done Right by Sheldon Axler. http://www.amazon.com/Linear-Algebra-Right-Sheldon-Axler/dp/...

For numerical aspects of linear algebra (and other subjects), I've found Numerical Recipes to be quite helpful.


While Numerical Recipes has certainly earned its place in the history of the genre, it is only fair to point out that it is very out-dated by now, and that the example code is neither particularly well-written (from a software development point of view) nor freely usable in your own projects.

As others have suggested, something like Golub and Van Loan is a better choice. The technical notes to go with the LAPACK library, and similar documents from those developing related software, are also likely to be of interest to anyone doing this stuff seriously.


I've heard good things about this one, as well as _Linear Algebra for Everyone_. http://amzn.com/8847018382

From the book's intro:

>But, suppose we asked a professional mathematician to step back a bit from his habitual way of speaking and write in a more linear fashion? And suppose we even asked more, for example, that he make his writing lively? ... The purpose of this book is to furnish the reader with the first mathemat- ical tools needed to understand one of the pillars of modern mathematics, i.e. linear algebra. The text has been written by a mathematician who has tried to step out of his usual character in order to speak to a larger public. He has also taken up the challenge of trying to make accessible to everyone the first ideas and the first techniques of a body of knowledge that is fundamental to all of science and technology.


johndcook's post is about numerical linear algebra.

The recommendations given here so far are for intro/abstract linear algebra texts.


Correct. Though in my case I have to re-do Strang or the equivalent anyway. Been a long time.


For the numerical stuff, it's hard to beat Golub and Van Loan.

Texts that emphasize coordinate-free approaches, like Linear Algebra Done Right, don't really get at the numeric computations issue.


As the focus of the submitted article is on numerical methods, I'd recommend Hubbard's textbook

http://matrixeditions.com/UnifiedApproach4th.html

which is theoretical and linked to other subjects of higher math, but by no means slights practical problems or numerical methods.


Khan Academy has a complete Linear Algebra section: http://www.khanacademy.org/#linear-algebra


Wow. No one has mentioned the gospel according to Golub:

http://www.amazon.com/Computations-Hopkins-Studies-Mathemati...

This is the "how we wrote Lapack" book.


Yes, Golub/van Loan is the bible. But Walkins's "Fundamentals of Matrix Computations" (http://www.amazon.com/o/asin/0470528338/) is much more accessible to self-learners.

For those who are just starting on this subject, I highly recommend that you rework the proofs for the bounds between the various matrix norms [1]. These bounds are the building blocks for most interesting analyses in matrix computations. And understanding these analyses are essential if you want to know which algorithm will work best for your problems.

[1]: http://en.wikipedia.org/wiki/Matrix_norm#Examples_of_norm_eq...


Ok, Daniel. Linear algebra study group. Let's make something happen.

(I just bought the Strang book mentioned downthread).


I'm in. Which of the Strangen? And what's a suitable forum for working out the details and proceeding? A Google group would probably be my go-to default but I'm open to alternatives.

Edit: Let's see if this works: http://news.ycombinator.com/edit?id=2993321.


I bought _Linear Algebra and its Applications_, but as I'm fond of reminding people on HN (come work for us!) my book budget is unbounded, so I'm happy to buy a different one.


I put together some free online resources for linear algebra: http://brenocon.com/blog/2011/03/poor-mans-linear-algebra-te...

Everyone I talked to then recommended the Strang textbook, and also Stanford EE263, both already pointed out by other commenters here.


Numerical Linear Algebra by Trefethen and Bao is well regarded.


I am reviewing all MIT Linear Algebra lectures on my blog, including lecture notes and my comments.

Start here: http://www.catonmat.net/blog/mit-linear-algebra-part-one/




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: