Live data from Hacker News

Learning Math

news.ycombinator.com

31–40 of 75 posts

Re: Learning Math

#31
"But, I now have a burning desire to learn it from the ground-up. What are the 'canonical' sources for math, both online and offline?"

It'd be easy to spend multiple lifetimes studying math, so you'll have to set some priorities. Applied vs. pretty, pragmatic vs. rigorous, discrete vs. continuous, and various subfields within "applied," e.g. So presently, when you have a better idea what your priorities are, you'll probably want to pose a variant of the question again.

(E.g., not "what are the 'canonical' sources for math" but something as specific as "what are the 'canonical' sources for math leading up to what I'd need to understand X" where X is something like "the cryptanalysis of the Data Encryption Standard" or "the proof of Fermat's last theorem [good luck:-]" or "why people think Y's work was important" where Y is Galois or Hilbert or Ramanujan or Noether or Erdos or Matiyasevic or whoever.)

Meanwhile, if you just want to see what the fuss is about before trying to formulate a more specific question, I can recommend any of four kinds of samplers.

1. For about 80-90% of ways of analyzing the physical world, one really wants to know calculus. Get _A Concept of Limits_ (cheap from Dover), the three most promising calculus books from your local library (and/or webbed tutorials), and a basic dealing-with-the-physical-world book which assumes you know calculus (e.g., just about any serious physics text, or _The Art of Electronics_, or something acoustics or signal processing or whatever). Keep fiddling with them, and doing exercises as necessary, 'til the pieces fit together.:-| Expect it to be quite a lot of work --- by my estimate, freshmen and sophomores at Caltech in the 1980s generally spent at least 250 hours on it, sometimes more like 1000. And it will probably be much easier if, like them, you can arrange to get at least 1 hour of feedback every 20 hours of study from someone who already understands the stuff.

2. For anything in computers, getting familiar with the basic math of reasonably serious algorithms is really useful. I, like many people, like _Introduction to Algorithms_. Get it and study it; understand at least a representative number of chapters. My estimate is that this is a lot easier than option #1, maybe five times easier. It isn't anywhere near as big a hammer for dealing with the physical world, but it can be extremely handy for dealing with the software world.

3. If you want to see what all the fuss is about in some representative areas of less-physical, less-computer-y math, I know of two Dover books which try to drag you from advanced high school math to a famous math result. _Abstract Algebra and Solution by Radicals_ drags you through (the modern, cleaned up and rigorous version of) Galois' proof that there is no closed-form formula for solving polynomials of fifth order. _Computability and Unsolvability_ drags you up to Matiyasevic's proof that Hilbert's tenth problem is insoluble. Working through either of them in detail would be a lot of work, almost certainly more than you want to do if your interest turns out to lie in something else like graph theory or algorithms or topology or statistics. But you could probably learn a lot about roughly how things are done merely by skimming either of them a few times. (And if just seeing broadly how things are done is your priority, you might prefer _AAaSbR_, since showing broadly how things are done seems to be one of its priorities too.)

4. Peter Winkler's newish (2004) _Mathematical Puzzles_ book is also very good and very math-y and well worth looking at as a sort of inspiration. However, if you ever get tempted to think that the extreme elegance of puzzle solutions is representative of how math gets done, look back at section 3 before jumping to conclusions.

"I am lost as to where I should start. I want to have a fundamental, intuitive understanding of it."

My closest thing to a literal answer to that would be: read _AAaSbR_. Like it very, very much.:-) Like it so much, in fact, that you are motivated to really study something like _Algebra_ by MacLane and Birkhoff (which is like a big watershed in which _AAaSbR_ is but one stream). After you get your mind around a good chunk of that (enough that you feel no great fear of an open-book exam composed of exercises from your choice of 20% of the chapters, say), do some variant of the calculus stuff I described in section 1 to see how abstract math ties into the stuff people analyze in the physical world. But I doubt in fact this is what you want. I suspect it'd be more than a full-time year of work for most people. And even if you had the time and energy, well before you finished I think you'd probably prefer to stop studying the foundational stuff so deeply and start to climb up some shortcut to some application or subspecialty.

Incidentally, mooneater's advice "algebra [...] Be very comfy with that before proceeding" is good... but note that it's referring to a high school algebra which has rather different priorities from something like what MacLane and Birkhoff mean. Don't try to follow mooneater's advice by going to a university library, taking down a book titled "Algebra," and running away screaming "math is not for me." I learned a lot of useful math, did my Ph. D. on quantum mechanical Monte Carlo simulations, and only understand a little of MacLane and Birkhoff (but have looked parts of it in order to try to understand a little bit about "categories" and some other stuff, and would consider more time spent understanding it to be time well spent).

Re: Learning Math

#32
Thanks for posting this... bookmarking it for the answers. I'm early-thirties, too, and while I finished the first year of calculus (10 years ago!), I screwed up and got a PoliSci degree. Now I'm looking at maybe going back for CS, but I need to relearn trig and calc so I can finish the physics and diff equations prereqs. It would be nice to not have to spend a year retaking the classes.

Re: Learning Math

#33
"1089 and all that" by David Acheson is charming and very readable. It covers a variety of different types of maths but more importantly get across what maths is really about. I've bought it for friends and family with a wide range of maths backgrounds (graduate mathematicians to not-since-school-forty-years-ago).

Also "Alice and Numberland", Baylis and Haggarty; and "The Foundations of Mathematics", Stewart and Tall. These are both pitched somewhere between high school and university level and bridge the gap well.

Re: Learning Math

#34
post #15

This might sound silly - but I've found the best way to learn anything about math is to start w/ Wikipedia. Search for a topic you are interested in, like Calculus. Start there. Spend a few hours reading and clicking through links, finding books that are cited, etc. If you don't understand something, usually some link will have the background information you need. Do this every week or so.

Wikipedia is great for math topics. Also, PlanetMath (http://planetmath.org/) and MathWorld (http://mathworld.wolfram.com/) are both good free online math encyclopedias as well.

Re: Learning Math

#35

I've been doing the exercises at http://projecteuler.net and that seems a good way to stay (or get back) in practice. I'm doing these problems in OCaml so I'm killing two birds with one stone.

Project Euler is great for practice, but it doesn't really give you a well-rounded math education. The problems focus mainly on number theory and a few other small areas.

Re: Learning Math

#38
You really need to learn Math by doing it there really is no other way. Books are really just references and guides and can give you good problems to work from. Either find a friend who will study with you or get direction from a math professor.

I do not know Spivak's Calculus but his advanced books (by Publish or Perish) are excellent, So I assume his calculus book is also. Especially Calculus on Manifolds and A Comprehensive Introduction to Differential Geometry. Anyone who wants to understand calculus on higher dimensions should read Calculus on Manifolds.

If you want to learn from the masters and you have the confidence, audacity and intelligence. I would suggest Fundamentals of Abstract Analysis by Andrew Gleason and Geometry and the Imagination by David Hilbert.

Just a warning. These books are for people adept at mathematics and are willing to spend hours on a page or two. If you are not, then avoid these books.

Re: Learning Math

#39
post #30

Start with mathematical logic, set theory, abstract algebra and number theory, in that order. Do not follow the usual course of calculus, differential equations, linear algebra and so on. That is, do learn those things, but later on. The problem with math education is that "the basics" (things that I recommend you start with) are neither easy to understand nor obviously useful in "the real world". Or at least the lat…

I certainly agree that logic, set theory, etc are the formal bases of mathematics, but I wouldn't say they are the basics. It'd be like learning the syntactic rules of grammar before learning words and constructing simple sentences by rote. Sometimes it's better to have an appreciation of the goals (which are easier to learn) before embarking on the fundamentals (which are rigorous but abstract).

When I first started learning set theory, I wondered why this wasn't taught first since it was so fundamental. It took me a while to realise that I wouldn't have understood any of it, because you need some measure of number sense and a moderately well-formed abstract reasoning to appreciate this stuff.

Throughout my experiences in learning, I've always found that it is a zig-zag path - learning the superficial or applications, before drilling down to the fundamentals, and then going back to applications with a new sense of appreciation and so on. Going from the bottom up sounds to me like a recipe for losing interest in the subject very quickly.

Re: Learning Math

#40
Funny you should ask... I took a lot of math classes all through college, but at every step I was reaching beyond my grasp, so I never had great understanding. And then after a few years, I forgot it all. So in my early thirties, I started over.

Much more important than which text you use is your attitude, and a willingness to really walk through and understand the proof of a theorem, and a willingness to work through problems. Having said that, here's what I did:

Go through the chapter in Feynman Lectures on Physics, Volume I, where he starts with integers and goes through trigonometry until he winds up at Euler's Theorem. Do this, and you'll really understand numbers (as well as algebra and trig).

Then I went through the appendices of my college calculus textbook to pick up some algebra tricks I had never really learned. (This is a recurring theme, BTW: you learn a fundamental idea, and then there a bunch of tricks around the fundamental idea that enable you to actually solve problems. So, to really "get" math, you need to truly understand the most important fundamental ideas, and you need to learn some of the problem-solving tricks.)

From here, the school route is to press on to calculus. What's more practical is to actually learn and understand some probability and statistics. Especially Bayesian reasoning (http://yudkowsky.net/bayes/bayes.html). Understanding statistics and probability will actually improve your everyday life. But assuming you still want to press on to calculus...

You need to learn about limits. Actually work through some limit problems. And then you need to read through the definition of a derivative, and compute some derivatives by hand, computing the limits. And then you'll really understand derivatives.

(By the way, when you understand derivatives, you also understand differential equations. When people take differential equations classes, they're just learning the bag of tricks used to solve different patterns of differential equations.)

Now read through the proof of the mean-value theorem until you get it. This will enable you to understand the fundamental theorem of calculus. And so now you understand integrals. There's a bag of tricks around solving integrals which you can learn. At this point you could also start toying around with Mathematica; you now know just enough to begin appreciating how cool it is.

Once here, most math courses take a little detour and teach some numerical methods. I wouldn't sweat it too much, although it's a good trick to know that you can express a lot of different functions (e.g., y = the sine of x) as algebraic series, because it lets you approximate solutions to problems).

Now learn about vectors and simple vector algebra, which is just enabling you to generalize your understanding to multiple variables (e.g., z = x^2 + y^2). This will introduce different flavors of derivatives, as well as some different flavors of integrals. Just go get the book "Div, Grad, Curl and All That". You'll need to read a different book to read and understand the theory, but reading Div, Grad, Curl will give you an intuitive feel, which can be a big hurdle to getting multivariable calculus.

Before, during, or after your study of "Div, Grad, Curl...", you might want to learn about matrices, which is a short hand for writing systems of equations that transform one vector space into another vector space. This is worth knowing if you really want to understand 3D graphics programming.

And now you know as much math as your average physics or engineering student, although you should learn about Fourier analysis, because it's fun, and then you'll understand how your CD player works.

You could quit at this point, and you'd be in pretty good shape, but everything you've done up to now falls under the heading of "applied math". If you want to get a taste of what most mathematicians do, you'll need to look at what's called "abstract algebra". This is actually a ton of fun - just think of it as a big ol' puzzle: what if you tried doing "math" with stuff other than numbers? The most general notion is that of a set. And then you can learn about "groups", which are sets with a little more structure, if you will. And then you go on to "rings". And then "fields". For all this stuff, go get Herstein's "Topics in Algebra". It's far and away the best text.

That's as far as I got. I suspect there's a ton of other fun things out there (number theory? graph and network theory?), but I don't know anything about it.

Post reply on HN