News for hackers. Stuff that matters.
Re:Linear algebra for game developers by tptacek on Tuesday August 30, 2011 @12:20PM (#2942077)
I understood much of this! :)

So then my next question is, relative to the whole of linear algebra, how advanced/deep/engaged-with-the-field is the LLL algorithm? Is this first-course-in-linear-algebra stuff? Is this "barely linear algebra" stuff?

Re:Linear algebra for game developers by ColinWright on Tuesday August 30, 2011 @01:56PM (#2942486)
As I understand it, the actual algorithm is very straight-forward. There were several clever things that had to come together to have it work:

* Define some concept of how good you can expect things to get

* Find some way of improving what you've got

* Prove that you get to within some distance of "the best"

* Prove that it terminates in polynomial time.

I've not see the details of the proofs - they're likely to be mildly difficult, with a very nasty details. But I don't think they're especially deep. The really deep bit was getting the exact formulation right to make it work.

Things like the spectral theorems, diagonalization, eigenvalues and eigenvectors, these are all deeper results that have far-reaching implications. For example, the reason that when you tap the rim of a coffee-cup you get two different notes, blends of those notes, and no other notes is to do with eigenvectors.

Similarly for why Fourier transforms work (in part) the way they do. The reasons that the Sine and Cosine functions form an infinite-dimensional basis for the linear space of non-pathological functions, for example, let us then deal with frequency space as a dual space of function space.

These are deeper.

Re:Linear algebra for game developers by Dn_Ab on Tuesday August 30, 2011 @05:17PM (#2943301)
Your coffee cup example - if math were taught more that way rather than a dry list of mechanical actions I think less people would dread it. I have nothing but hatred and horrible memories towards my grade school maths education.

I can only study this stuff in my spare time so my knowledge is very patchy. But when I see stuff like eigenvectors I associate them towards a much more powerful concept of invariance - which I see everywhere. Recursion, programming, Machine Learning, dynamical systems, physics. And I feel on the edge of an epiphany but do not have sufficient knowledge to fully grasp it.

But it makes me think that all these things that appear over and over again in different guises, the subject is taught far too inefficiently. I feel there is a much simpler way to teach maths and have it flow and be holistic rather than a replay of history: disjointed and disconnected.

Re:Linear algebra for game developers by ColinWright on Tuesday August 30, 2011 @05:39PM (#2943387)
This is one of the reasons I'm creating a web site intended to show the connections between topics, and through that, how wide-spread the applications of the mathematical ideas are. Math should be taught with connections, applications, examples, demonstrations and, above all, by knowledgeable and enthusiastic teachers. Most high-school teachers don't know more than they have to teach, don't know the connections between topics, and don't have time to deviate from the prescribed curriculum.
Re:Linear algebra for game developers by jacobolus on Tuesday August 30, 2011 @01:42PM (#2942435)
The LLL algorithm seems pretty straight-forward looking at it on Wikipedia. It’s possible that proving things about it is tricky, but understanding the steps is pretty “first-course”.