6 ms·
I am often saddened by how much easier it has been for me to acquire computer science versus mathematical literacy. Embarrassingly, years after a poorly-timed
by bithive123 12y ago
I am often saddened by how much easier it has been for me to acquire computer science versus mathematical literacy. Embarrassingly, years after a poorly-timed calculus course left me thinking I had to be able to prove the central limit theorem in order to use calculus, the biggest barriers have turned out to be things programming as a discipline has learned to avoid; encouraging varied and/or terse notations, opaque variable naming schemes, and arbitrary use of jargon where simpler terms would suffice.
A friend of mine who is a physicist once complained to me that every time he had to install some scientific software package on his computer, he had to deal with a litany of arbitrary things which seemed to have nothing to do with his task. I countered with my experience learning math and joked that at least programmers are willing to occasionally refresh our idioms and notations to better reflect our mutual understanding.
- kalid 12y ago(Kalid from BetterExplained here) Thanks for the comment. There's this weird notion in Calculus education that we need to start from first principles. Limits were invented a century after Newton died, yet they're taught first. "Oh, students won't understand calculus unless they can build it from first principles. I don't care if Newton worked out gravitation with his understanding, it's not good enough." My little candle in the darkness (http://betterexplained.com/calculus/lesson-1 http://betterexplained.com/calculus/lesson-1) is to start with intuitive notions (X-Raying a pattern into parts, Time-Lapsing parts into a whole) and then gradually introducing the terms. Eventually, if people are interested, we can get into the theory (which is like getting into the Peano axioms of arithmetic, if you care to go that deep.) I think in math there's a tendency to express things in the lowest-level "machine code" we can. We need more comments and pseudocode outlines :).
- JacobAldridge 12y agoKalid, I just read your article on Prime numbers (not-quite randomly selected from the homepage). I just wanted to say how well written I found it - even beyond the technical side of things, your writing style, tone, and humility ("if I didn't mess it up") are fabulous.
- deleted 12y ago[deleted]
- kalid 12y agoThank you Jacob, I really appreciate it. I try to imagine that I'm writing to a younger version of myself, who hasn't seen the material yet. It helps me remove potential anxiety about not knowing everything, or trying to impress -- there's no reason to deceive yourself about what you do or don't know.
- JadeNB 12y agoSince we've mentioned the article, I can't help asking about a particular tit-bit that caught my attention --what do primes have to do with quantum mechanics?
- kalid 12y agoDefinitely not an expert, but I found a few good articles on this (just updated the article): http://seedmagazine.com/content/article/prime_numbers_get_hitched/ http://seedmagazine.com/content/article/prime_numbers_get_hi... Nice summary: http://carbonatoms.wordpress.com/2009/03/13/prime-numbers-are-directly-related-to-quantum-physics/ http://carbonatoms.wordpress.com/2009/03/13/prime-numbers-ar... Primes appear to be zeroes of the Reimann Zeta Function. Nature loves minimizing energy, so there might be some reason the Zeta Function models how atoms behave. Then, primes are the most "stable orbits" or have a similarly useful property. Super high level, but I think it's interesting.
- JadeNB 12y agoThanks! I am a mathematician, so am fine with the discussion of the 𝜁 function. I get the impression that de Sautoy is overselling the connexion a little bit in his zeal to make an analogy, but (1) I don't know the area, and so shouldn't really comment, and (2) it's interesting even if it's oversold.
- claudius 12y ago> Thanks for the comment. There's this weird notion in Calculus education that we need to start from first principles. Limits were invented a century after Newton died, yet they're taught first. "Oh, students won't understand calculus unless they can build it from first principles. I don't care if Newton worked out gravitation with his understanding, it's not good enough." It depends. In high school, it certainly makes sense to start from an intuitive, rough idea, but in college/uni, I much preferred classes that started from first principles (axiomatic QM, sets → topology → metric spaces → calculus/algebra) etc. rather than the weird classes which define nothing properly and put in a “this is true, but I won’t tell you why :P” every other lecture. Which approach is preferable obviously also depends on your aims, but I found it hard to get a thorough understanding of a topic without a first-principles-based derivation at least at some point.
- kalid 12y agoI definitely agree -- context matters. For a potential math major [i.e. people for whom metric space refers to a measure and not a flat in Europe :)], you definitely want the ground-up understanding. In CS it's similar, where you learn about transistors, logic gates, ALUs, CPUs, machine code, compilers, along with high-level languages. But, some people just need the HTML "Hello World" to make their webpage. (In the math field, we have students who need calculus primarily to find the min/max of a function, and are wasting time worrying about epsilon-delta definitions of continuity. Limits are interesting, but I'd prefer to ignite curiosity with higher-level topics then dive into the details, instead of forcing someone to learn organic chemistry before being able to drive a car.)
- hibikir 12y agoThat's how they taught CS at your school? Where I studied, we did have classes on all the low level stuff, but we didn't start there: I took a class taught using a high level language every semester. CS-100 was intro to how computers worked, but right along with it, you had 101 teaching C. If you are going to end up teaching software engineering material, compiler design and such, you just can't have people that have barely done any programming for a year or two, or all they are going to learn is boxes next to each other, instead of being able to actually write a simple compiler in the compiler class.
- __Joker 12y agoUnfortunately, most of the mathematical text miss the historical context which they are developed in. I personally enjoy a text in any subject, where the author develops the content with historical perspective. Any learning course should include one textbook which develops the content from an historical perspective.
- kalid 12y agoI agree. A few years after doing articles, I started seeing the power of historical context. For example, the Fourier Transform was originally _rejected_ as implausible when presented to the mathematicians of the time. They needed a decade of debate to verify its truth, and yet we teach it to students in a week and expect them to internalize it without issue. We need to acknowledge the difficulty/counter-intuitive nature of the idea up front.
- vanderZwan 12y agoSame thing with logarithms, which were invented to simplify multiplying two huge numbers. Combined with log tables (think paper LUT for humans) that became a simple matter of looking up two log conversions, adding them, then looking up the inverse of the answer. Is that what we learn in high school? Nope. So everyone is left wondering what the hell they are good for (or were, before we had calculators) the first time around. (btw, as far as I can tell you don't have that bit of history on your site yet either - might be an interesting addition?)
- marcosdumay 12y agoWell, I learned that at school. It still didn't answer what the hell logarithms are good for. Everyone was left wondering why we were learning something that can be replaced by calculators. Seeing some modern application of lagarithms would be great. Even just making a log-log graph at some point would answer every question. But those are not at the official curriculum.
- kalid 12y agoIt drives me batty because we learn the properties of logarithms before (if ever) internalizing what they mean. Here's my intuition if it helps someone: http://betterexplained.com/articles/think-with-exponents/ http://betterexplained.com/articles/think-with-exponents/ Exponents let you plug in time, and get the amount of growth. e^3 ~ 20, which means "3 periods of 100% continuous growth [100% is implied by e, 3 = 3* 1] will grow us from 1 to 20". Logarithms let us plug in the growth, and get the time it took to get there. ln(20) ~ 3 means "It takes 3 units of time [growing at 100%, continuously] to grow from 1 to 20". Exponents take inputs and find the future state, logs take the future state and work backwards to find the inputs that got us there.
- kalid 12y agoGreat tidbit, thanks. I forget if I have a mention that logs were developed before e, but I love it because it's a little mosquito in the ear for the over-rigorous mathematicians who define e up front (as a limit) and then say "the natural logarithm is log base e". e was only discovered because of logarithms, not the other way around! :)
- nabla9 12y agoI find your emphasis of building intuition very important. Personal anecdote related to Pythagorean theorem/euclidean distance. When in ninth grade, I asked my math teacher to explain why why the the standard deviation is like it is and why the square root and not something else. He could not explain that to me satisfactorily. I spend few hours looking at the formula myself and plotting and drawing different datasets until I made the following association: if dataset is like N dimensional vector and its values x1, x2, .. xN are coordinates, then I'm looking at euclidean distance from mean plus adjusting for the number of dimensions. I think this single moment of cryptic formula making sense changed my attitude towards statistics and math. Dataset ~ vector and data-point ~ vector-coordinate association helps to understand statistics using geometrical intuition.
- kalid 12y agoGreat example, I like that. I started realizing that many instructors don't necessarily have an intuition for the topic they're teaching, and it's often up to the individual student to seek it out. I'm hoping to do more stats concepts down the line, this is a nice analogy for why standard deviation is defined as it is.
- chestervonwinch 12y agoThat's pretty amazing you came up with that in 9th grade. You may know this already but for anyone who doesn't, this is a result of covariance being an inner product [0]. Remember that the inner product of a vector with itself is the length of that vector squared. So if you had another data set, y1, ..., yN, the correlation ( = covariance / (std.dev(X)*std.dev(Y)) ) is the inner product divided by each length which, if you remember, is the angle between your vectors (datasets after removing the means.) http://en.wikipedia.org/wiki/Covariance#Relationship_to_inner_products http://en.wikipedia.org/wiki/Covariance#Relationship_to_inne...
- mathattack 12y agoKalid - First of all, your site kicks ass! Keep doing what you're doing. You probably can't even imagine the 2nd and 3rd order impacts of the benefits you provide. Someone gets one insight from your site, that makes something they learn in school more comprehensible, and then it explains it to someone else, who then can learn more quickly.... Bithive123 - I found that practicing Project Euler has helped my understanding a lot. Part of it was that it made math a joy again, and I tied it to learning new programming languages.
- kalid 12y agoThanks so much. My meta goal is to help people gain confidence in what it means to learn (in general, not just math) and ideally encourage people to share their insights with others. No reason for us to all bump our shins on the same coffee table in a dark room, someone turn on the lights on your way out!
- Pxtl 12y agoTo be fair, we drag around (and rigorously defend) many bad artifacts of past programming languages. Case sensitivity? Double-equals-sign for testing equality? But still, programming seems far more willing to fix mistakes than hard sciences/math. We've been clanking around with Pi instead of Tau for how many centuries?
- djrtwo 12y agoWhen I took my first programming course, one of things I was most surprised by was case sensitivity. It's kind of funny thinking about it now my perspective is entirely different -- "D" and "d" aren't the same value so why would they mean the same thing? Is case sensitivity a bad artifact? It doesn't seem like it is to me anymore, but my former self sure thought so.
- bjeanes 12y agoSalesforce's Apex language is case insensitive. It leads to a a lot of confusion, frustration, and distress when different programmers have their personal preferred style of referring to a class or var or when the lazy ones just write everything in lowercase. Never again.
- pja 12y agoWould the best of all possible worlds be a case sensitive language where once you defined a name all other names that differed only in the case of the characters would be impossible to define? That way names would have to be referred to as written, but you would avoid the potential confusion of having multiple names that differed only in the case of their characters. Lots of programmers would probably regard this as some terrible infringement on their freedoms but, like python's whitespace indentation, I think it might work out OK.
- claudius 12y agoI like there to be a difference between a variable “p” and a variable “P” (the former, for example, might be a vector, whereas the latter could conceivably be a projector onto this vector). Especially when doing numerical work, I found it to be extremely helpful to stick to established notation in the field also in the code intended to implement the algorithms written in this notation. In this sense, I find it sometimes sad that C++ doesn’t allow boldface/curly variable names :)
- chaoxu 12y ago> Embarrassingly, years after a poorly-timed calculus course left me thinking I had to be able to prove the central limit theorem in order to use calculus Why would you need to prove central limit theorem in order to use calculus? What kind of course teach it that way? It would sound like something to prove for a honors calculus class that prepares students to become mathematicians. Anyways, about math education. Math below college are taught by math educators. They are no mathematicians and they do things differently. Things in college are rigorous. Should college students learn calculus in a way that make engineers happy and mathematicians cringe? "Learning things not from first principles but 'intuition' of the real world? what is this? physics 101? ". Different professor/department views it differently, depend on the view, you will get different education. There are places offering business calculus. I personally believe to be much better way to teach calculus to people who don't really need to know how things work, but still need to know how to use it(at least for simple functions appearing in the real world). > programming as a discipline has learned to avoid; encouraging varied and/or terse notations, opaque variable naming schemes, and arbitrary use of jargon where simpler terms would suffice. Why should all mathematicians suddenly write things with the exact same convention just so people can learn it easier? Likely, most people who benefits from these won't advance mathematics in anyway. Here is what I see when you wrote these things, but might sounds more interesting in a programming perspective. "The barrier of not able to program comes from the number of programming languages, it be nice if we can all agree on the same programming language so I never have to learn another programming language again." Maybe learning calculus itself is more akin to learning one programming language, but rarely calculus is taught in a way to end all learning(again, depend on professor/department). When mathematicians teach calculus, they would want to teach the principles in order for one to advance even further. and now to each point(as someone who had pure math education) 1. "encouraging varied notations" This is not true. People might have different preference because which school/field they come from, I have yet to see anyone enjoying people come up with new notations when there are some established notation(s). In general, language use in the same field are mostly consistent (for a few decades, at least). No competent mathematician would have inconsistent notation in one single article. 2. "Terse notations" A few symbols captures a whole lot of ideas. It's not software engineering, the number of different variables/symbols in a paper is not the same order of magnitude as our programs. There are books with table of symbols of around 2 pages, but usually such a book would take years to master. 3. "opaque variable naming schemes", it's a convention can be learned by doing, and you don't even need to follow someone else's scheme. In fact, not knowing the convention doesn't mean anything. Most variables are used a few times and never used again. Just a few days ago I pick up a paper by the Hungarian combinatorial optimization authors, their notation is completely different from what I usually read. Once I read the introduction, I already internalized the "table of variables/notations" so I don't even need to refer back often. To programmers, this is like complaining different open source programs use different naming scheme for their API. 4. "Arbitrary use of jargon where simpler terms would suffice". I do not believe this happens often in mathematics. Mathematicians likes things to be elegance, simple and precise. There must be reasons for us to use a word, otherwise we won't use it. 5. "at least programmers are willing to occasionally refresh our idioms and notations to better reflect our mutual understanding." Mathematicians do this all the time, not just "occasionally". It doesn't happen in mature and well established topics where all the problems are dry. There are nonstandard analysis, complementary to the standard analysis. There are homotopy type theory to have another foundation for mathematics. Many things we seem to see it and think it's set into stone it's because there really isn't anything to be done.
- j2kun 12y agoYour friend must have been trying to link a fast C or Fortran library to some higher level language, yeah? That's always a nightmare.