by mungoid · 10y ago · 0 comments
I graduated several years ago with a BS in Computer Science, with a Focus on Networking. And during that time, I held 3 part time jobs while also being a math tutor. Almost none of the math I use today as a physics developer was learned from schools. I also never had that piece of mind you mentioned, because I was constantly juggling several things at once while going to school. My knowledge of advanced mathematics at the time of my graduation was pretty non existent. I think the most advanced math I had was Algebra 2 or something like that, and the Professors just basically read verbatim from the book.
A few years after Uni, I started teaching myself Calc, Trig, Vector maths, Diff Eq and Physics strictly from what I have found on various sites, software and books. Because of that, I ended up getting a physics simulation developer position at a software company. Because in my companies view, being able to teach yourself all that math is much more impressive than being taught from a University.
I hated math during High School and College, but since then, I have found that I absolutely love math, and I will never stop trying to learn or do new things. My degree was two small lines on my CV, while about 50% of what I had on my CV was all learned on my free time, by myself.
So learning math without a College or University is totally possible, and in my situation, worked way better. Sites like Khan Academy, Wolfram, Youtube, etc. all give you the resources and leave it up to you to progress at your own pace, for free.
Right, but the math tagged as 'advanced' in the article is fairly applied.
I consider the math I do at work to be somewhat advanced. Statics, dynamics, a touch of thermo dynamics, etc. But if you are talking like quantum mechanics or NASA JPL level math, then yeah I totally agree those topics would definitely be better learned in a proper environment.
Here I talk from experience. I remember reading books on some of these subjects and understanding few things, without really getting a grasp of what they're talking about. A lot of times, the problem is that you don't know what is missing in your knowledge. You need a clear roadmap, you need relationships, you need to solve a lot of questions, you need to do exams and, most importantly, you need to test your knowledge. I cannot even count how many time I thought I understood some theorem only to do some exercise and see that I had absolutely no idea. Sometimes you notice yourself, sometimes you do it so bad that you don't even notice it is incorrect.
And, for these subjects, the material on the Internet starts to diminish and be less accessible (more oriented to professional mathematicians than to learners). Khan Academy does not have advanced courses, the definitions on Wolfram or Wikipedia are only useful if you have already a grasp of the subject (see for example https://en.wikipedia.org/wiki/Measure_(mathematics)#Definiti... - What is important? What are the critical aspects? Which are the subtle parts of the definition that you must read carefully?) and in Youtube you may find lectures, but usually they're like the books: you will be lucky if it's not a succession of theorems and definitions, and you still lack the possibility of checking and testing your knowledge.
So, while some parts of math can be learned independently, I don't think that advanced mathematics can be done. Myself, only after 5 years of mathematics I'm somehow comfortable to study subjects by myself, and it's still hard.
As you say, though, you need to solve a lot of questions (which I interpret to mean "do a lot of exercises" or "do a lot of problem sets") to understand something. Reading a textbook without doing exercises is minimally useful, although it can help with the "roadmap"/"relationships" thing. Wikipedia is usually a pretty good roadmap, too, although it varies by field.
But you can also read textbooks and do exercises. This depends on the existence of, and access to, sufficient textbooks and exercises, but Library Genesis has recently extended that kind of access to most of the world. Taking functional analysis as your example, the 1978 edition of Kreyszig is on there, and it averages about two exercises per page, and has answers to the odd-numbered ones in the back. This quantity of exercises seems like it would probably be overkill if you were taking a class in functional analysis and could therefore visit the professor during office hours to clear up your doubts, but it seems like it would be ideal for self-study. And if two exercises per page isn't enough, you can get more exercises out of a different textbook, like Maddox (1970 edition on libgen) and Conway (first and second editions on libgen). You can find textbooks on scholar.google.com by searching for the names of general topics and then looking for "related articles" with thousands of citations, because for some reason people like to cite their textbooks.
Unless you can find a desperate adjunct math faculty member looking to make some extra bucks on the side or something, it's true that comparing your answers to the exercises to those given isn't as good as having a TA actually correct your homework. But it's usually good enough.
(Of course you should only download these books if that wouldn't be a violation of copyright, for example, if their authors granted libgen permission to redistribute them or you live in a country not party to the Berne Convention.)
Progress will be slow. But I think the key thing here is to start with low expectations: expect that you'll manage to read about 15 pages a week and understand half of them. I don't think you have to be a Terence-Tao-level genius.
I got 800 on the 1980s-era math SATs, came in third in the Portland OR area in a math contest in high school, and did OK at Caltech (not in a math major), but I'm no Terry Tao, and I very much doubt I'd've been anything very special in a good math undergrad program. Some years after graduation, I found it challenging but doable to get my mind around a fair fraction of an abstract-algebra-for-math-sophomores textbook, including a reasonable amount of group theory (enough to formalize a significant amount of the proof of Solow theorem as an exercise in HOL Light, and also various parts of the basics of how to get to the famous result on impossibility of a closed-form solution for roots of a quintic).
From what I've seen of real analysis and measure theory (a real analysis course in grad school motivated by practical path integral Monte Carlo calculations, plus various skimming of texts over the years), it'd be similarly manageable to self-learn it.
One problem is that some math topics tend to be poorly treated for self-learning, not because they are insanely difficult but because the author seems never to have stepped back and carefully figured out how to express what is going on in a precise self-contained way, just relying (I guess) on a lot of informal backup from a teaching assistant explaining things behind the scenes. On a small scale, some important bit of notation or terminology can be left undefined, which is usually not too bad with modern search engines but was a potential PITA before that. On a larger scale, I found the treatment of basic category theory in several introductory abstract algebra texts seemed prone to this kind of sloppiness, not taking adequate care to ground definitions and concepts in terms of definitions and concepts that a self-studying student could be expected to know, and that's harder to solve with a search engine, tending to lead into a tangle of much more category theory and abstraction than one needs to know for the purpose at hand. My impression is that mathematicians are worse at this than they need to be, in particular worse than physicists: various things in quantum mechanics seem as nontrivial and slippery as category theory to me, but the physicists seem to be better at introducing it and grounding it. (Admittedly, though, physicists can ground it in a series of motivating concrete experiments, which is an aid to keeping their arguments straight which the mathematicians have to do without.)
I have been much more motivated to study CS-related and machine-learning-related stuff than pure math, and I have been about as motivated to self-study other things (like electronics and history) as pure math, so I have probably put only a handful of man-months into math over the years. If I had put several man-years into it, it seems possible that I could have made progress at a useful fraction of the speed of progress I'd expect from taking college math courses in the usual way.
I think it would be particularly manageable to get up to speed on particular applications by self-study: not an overview of group theory in the abstract, but learning the part of group theory needed to understand the famous proof about roots of the quintic, or something hairier like (some manageable-size fraction of) the proof of the classification of finite simple groups. Still not easy, likely a level harder than teaching oneself programming, but not an incredible intellectual tour de force.
"Myself, only after 5 years of mathematics I'm somehow comfortable to study subjects by myself, and it's still hard."
Serious math seems to be reasonably difficult, self-study or not. Even people taking college courses in the ordinary way are seldom able to coast, right?
Any advice on how to use those textbooks the best way?
Same problem in programming and machine learning - people need a little hand holding in the form of a sequence of problems to solve that would never be either too difficult or too easy. Examples usually jump from Todo MVC to full apps, in one step, or in ML, from a simple MNIST example (or even the minuscule Iris dataset) to double LSTM with memory and attention. Where are the intermediary nice problems to learn on?
When I was learning math in school and high school there were loads gradual problems to solve, but at university suddenly there was just theory and almost no useful problems to practice on.
Most unis I know of (I'm in the US) require those courses to be taken as part of your undergrad before you can attain the CS degree. Furthermore, with the prevalence of AP courses at the high school level, many students enter college already having taken some, possibly all of those courses.
How could you get a BS in CS without taking calculus courses? Which school did you go to?
(Although maybe this will change with machine learning.)
By the end of that summer of 1983, Richard had
completed his analysis of the behavior of the
router, and much to our surprise and amusement, he
presented his answer in the form of a set of partial
differential equations. To a physicist this may seem
natural, but to a computer designer, treating a set
of boolean circuits as a continuous, differentiable
system is a bit strange. Feynman's router equations
were in terms of variables representing continuous
quantities such as "the average number of 1 bits in
a message address." I was much more accustomed to
seeing analysis in terms of inductive proof and case
analysis than taking the derivative of "the number
of 1's" with respect to time. Our discrete analysis
said we needed seven buffers per chip; Feynman's
equations suggested that we only needed five. We
decided to play it safe and ignore Feynman.
The decision to ignore Feynman's analysis was made
in September, but by next spring we were up against
a wall. The chips that we had designed were slightly
too big to manufacture and the only way to solve the
problem was to cut the number of buffers per chip
back to five. Since Feynman's equations claimed we
could do this safely, his unconventional methods of
analysis started looking better and better to us. We
decided to go ahead and make the chips with the
smaller number of buffers.
Fortunately, he was right. When we put together the
chips the machine worked.
[1] http://longnow.org/essays/richard-feynman-connection-machine...It's true that in a lot of cases, deeply understanding discrete numerical algorithms is a lot easier if you can analyze the continuous versions, which of course cannot be executed directly. But you can get really far with just the discrete versions, and you can understand useful things about the continuous versions without knowing what a derivative or an integral is.
And I don't just mean that you can use Unity or Pure Data to wire together pre-existing algorithms and get interesting results, although that's true too. You don't even need to understand any calculus to write a ray-tracer from scratch like http://canonical.org/~kragen/sw/aspmisc/my-very-first-raytra..., which is four pages of C.
You could maybe argue that it's using square roots, and calculating square roots efficiently requires using Newton's method or something more sophisticated. But Heron of Alexandria described "Newton's" method 2000 years ago, although he hadn't generalized it to finding zeroes of arbitrary analytic functions, perhaps because he didn't have concepts of zero or functions.
You could argue that it's using the pow() function, but it's using it to take the 64th power of a dot product in order to get specular reflections. People were taking integer powers of things quite a long time ago.
Even using computers for really analytic things, like finding zeroes of arbitrary analytic functions, can be done with just a minimal, even intuitive, notion of continuity.
Alan Kay's favorite demo of using computers to build human-comprehensible models of things is to take a video of a falling ball and then make a discrete-time model of the ball's position. A continuous-time model really does require calculus, and famously this is one of the things calculus was invented for; a discrete-time model requires the finite difference operator (and maybe its sort-of inverse, the prefix sum). Mathematics for the Million starts out with finite difference operators in its first chapter or two. You don't even need to know how to multiply and divide to compute finite differences, although a little algebra will get you a lot farther with them. A deep understanding of the umbral calculus may be inspirational and broadening in this context, and may even help you debug your programs, but you can get by without it.
I agree that calculus is really powerful in extending the abilities of computers to model things, but I think you're overstating how fundamental it is.
Calculus does usually build some mathematical maturity for those who haven't encountered it. And it's useful as an introduction to sequences and series, and for anyone interested in numerical analysis or physics simulation (e.g., computational science, modeling, game engine development, etc.).
Not to mention having it is useful if you find that you'd rather do computer engineering or EE halfway through your undergrad career (though this last point is tangential at best).
I do wish linear algebra was a more commonly required course in CS programs.
I spent a year in a community college making up for what I should have learned in high school; basic math up to advanced algebra. Sure I applied myself more, but the teachers, and even the text books seemed better?
Once I learned the basics, it made math enjoyable, and I didn't fear courses that were heavy in math.
By the way, most Medical doctors never sat in a calculus course. Here, in the U. S., there's always had two calipers of physics courses. The hard, and easy physics courses. The easy physics courses don't require calculus. They hard require calculus. Most med students too the easy courses, and aced them. It's all about the GPA when trying to pretty yourself up for med. school.
I worried way too much about grades in college. I look back and wish I took the courses I was interested in.
My interests are completely different as I've aged. It's tough in college because so much rides on getting into that certain graduate program, or professional school-- graduating, and getting a Job.
Heck, even last year I talked to another University to look into electrical engineering and only 1, ONE, class would transfer. All others wouldnt count because since they were a private school, their curriculum was different than most. Thats not something they put in brochures.
I'd point you and other HNs to Srinivasa Ramanujan. He is self taught but...he was wrong [1]. He had a brilliant mind but...due to being self taught, he made some critical mistakes.
Being self taught can easily lead the learner to some critical mistakes. Eventually, they may be corrected (and at what 'cost' does this mistake cause an organization or business or those involved) but it's more efficient of someone's time to just learn from another. I'm not saying everyone needs a University Degree. I'm saying that everyone needs a teacher. Everyone. Why? Because instead of 'the blind leading the blind' (you as a 'blind' teacher, leading you as a 'blind' learner). You have the efficiency of being led by a mentor of some kind that can steer you away from faulty concepts that may come in.
It's great that we now have more free/cheap materials than ever before at our disposal but without a mentor or some kind of peer-review, we could be misapplying concepts.
Also, to comment on something you specifically said:
> Because in my companies view, being able to teach yourself all that math is much more impressive than being taught from a University.
Yes, it's 'impressive' but...most don't learn this way. Which is way it's 'impressive'. Also, being self-taught, how do you truly verify what you understand mathematically is accurate and solid? [2] You might be and I'm not going to fault you but learning concepts is one thing but applying them is even more challenging. It's one thing to be 'impressive', it's a whole other thing to have mastery over a topic. And I'm a firm believer mastery is mostly achieved with peer/mentor feedback.
I applaud you but let's not steer others to just teach themselves, without help from others. Let's encourage self taught and peer feedback. It's not one or the other, it's both.
[1] - https://www.youtube.com/watch?v=jcKRGpMiVTw
[2] - I searched for 30 minutes to find this article, that I read, that stated the current environment of Mathematical Research [3]. Namely, it stated that a lot of research is being published that is NOT peer-reviewed because there isn't enough skilled* Mathematicians to review the work. That it's a 'dirty little secret' in the industry that "known" Mathematicians would get a pass (published w/o review) but many others trying new groundbreaking ideas couldn't get their research peer-reviewed. And with the given University culture to publish NEW research and not review, it's understandable how this environment was created. Namely, Einstein gets the fame but it took numerous people to peer-review his work before it was accepted.
[3] - I know this article exists. It's one of the reasons why I'm becoming a Mathematician. I read it in the past 2-3 years. It was a major site (NewScientist or something that focuses on emerging research). If you can find it, I'd be very grateful. I'm now* using Zotero to save all my findings, so hopefully when I quote something I'll have a source. ;)
*(edited) - original said 'not'. I meant 'now I'm using Zotero'. ;). original said 'skill', I meant 'skilled'
>Being self taught can easily lead the learner to some critical mistakes. ...
I really glad you brought that up. There have been countless times that I was working on some formula which looked good to me, and even had correct results (some of the time), only to find that it was completely backwards when someone else looked at. Its essentially like learning to program versus learning to program correctly. I cant tell you how many times I pronounce words incorrectly because I have only read it and never heard someone talk about it. Also embarrassing.
I have actually read that same thing about your [2] foot note and I wanna say I saw it here on HN but cannot remember when. It was pretty interesting and I can totally see how not learning math the proper way can cause a lot of issues related to research. In my case doing physics for simulations, its not as pronounced, because its a small user base but in a larger scale, I would be terrified of publishing my work for this exact reason.
And I by no means intend on convincing others to learn this on their own. I would actually suggest doing it the standard way because it was much more difficult and time consuming trying to learn this stuff by your own. Especially since I had no real person to talk to about it. I kinda wish I could have gone back and changed majors.
I think many people forget that THIS is what a Scientist is. Someone subjected to their peers. This humble way of looking at things (that our work isn't accepted until it's verified/peer-reviewed), is our way of life. It's a shame to me that the current culture has a massive backlog of research, without peer review.
I'm grateful for your reply as it will give others insight into the 'less trodden path' of trying things yourself. It worked for you, so that should motive others. And hopefully I added to the conversation to encourage others to seek out peers/mentors, since that will accelerate their learning.