Ask HN: How did you learn math notation?
Hi all! I'd really like to learn "higher level than highschool" math as a (long time ago) college drop out, but I find it really hard to read anything because of the math notations and zero explanation of it in the context. I didn't find on the web any good resource on the topic, do you any advice / link? Thanks!
257 comments
[ 0.24 ms ] story [ 386 ms ] threadYes, conventions have emerged, people tend to use the same sort of notation in a given context, but in the main, the notation should be regarded as an aide memoire, something to guide you.
You say that you're struggling because of "the math notations and zero explanation of it in the context." Can you give us some examples? Maybe getting a start on it with a careful discussion of a few examples will unblock the difficulty you're having.
There is a formula with a triangle and I don't get what's that about, for example.
However, I have done that work, so I've looked, and in the second column of page 210 there's a "formula with a triangle":
t_c = 5 \middot 10^{-5} \sqrt( V / Dt )
... where the "D" I've used is where the triangle appears in the formula.
But that can't be it, because just two lines above it we have:
"For a pulse of width Dt, the critical time ..."
So that's stating that "Dt" is the width of the pulse, and should be thought of as a single term.
So maybe that's the wrong formula, or maybe it was just a bad example. So trying to be more helpful, the "triangle" is a Greek capital delta and means different things in different places. However, it is often used to mean "a small change in".
https://en.wikipedia.org/wiki/%CE%94T
FWIW ... at a glance I can't see where that result is derived, it appears simply to be stated without explanation. I might be wrong, I've not read the rest of the paper.
The important thing here is that "For a pulse of width Dt" is the definition of this variable, but this can be easily missed if you're not used to this naming convention.
I have this same problem with programming, when I have to deal with code written by non-mathematicians. They tend to use all these stupid variables with more than one letter and that confuses the heck out of me.
This convention is used in a whole bunch of scientific fields, like quantum mechanics, chemistry, biology, mechanics, thermodynamics, etc.
It’s also very useful in how it relates to derivatives, which is a crucial concept in just about any kind of science you could care to mention.
So yes, there is a learning curve, but we write things this way for good reasons, most of the time.
Multiplication should be represented by a (thin) space in good typography, to avoid this sort of things. Not doing it is sloppy and invites misreading. Same with omitting parenthesis around a function’s argument most of the time (e.g. sin 2πθ instead of sin(2 π θ) ).
For you it was a D, for me it was a triangle and I didn't get the meaning of that Dt. Maybe it's just a too advanced paper for my knowledge.
But as I say, immediately above the formula it says:
"For a pulse of width ∆t, the critical time ..."
So that really is saying exactly what that cluster of symbols means. There will be things like this everywhere as you read stuff. Things are rarely completely undefined, but you are expected to be reading along.
And you need to work. I just typed this into DDG:
"What does ∆t mean?"
The very first hit is this:
https://en.wikipedia.org/wiki/Delta_%28letter%29
That gives you a lot of context for what the symbol means, and this is the sort of thing you'll need to do. You need to stop, look at the thing you don't understand, read around in the nearby text, then type a question (or two, or three) into a search engine.
Please don't take this the wrong way. It is not meant to be demeaning, and it is not meant to be gatekeeping (quite the contrary!). But: If you do not know what a derivative is, then learning that that symbol means derivative (assuming that it does, I have not actually looked at what you link to) will help you next to nothing. OK, you'll have something to google, but if you don't already have some idea what that is, there is no way you will get through the paper that way.
I hope you take this as motivation to take the time to properly learn the fundamentals of mathematics (such as for example calculus for the topic of derivatives).
Let’s say you go on a journey, and the distance you’ve travelled so far is “x” and the time so far is “t”.
Then your average velocity since the beginning is x / t .
But, if you want to know your current velocity, that would be delta x divided by delta t .
The delta is usually used in a “limiting” sense - you can get a more accurate measurement of your velocity by measuring the change in x during a tiny time interval. The tinier the interval, the more accurate the estimate of current velocity.
What I’m talking about here is the first steps in learning differential calculus. You could look for that at kahnacademy.com. You might also benefit by looking at their “precalculus” courses.
Just keep plugging away at it, the concepts take awhile to seep in. Attaining mathematical maturity takes years.
Before I continued my maths learning after highschool (ie before UK A-levels) I learnt the Greek alphabet to make it easier to understand maths notations as I could 'voice' (internally) all the funny glyphs adopted from Greek.
At uni I learnt how to properly write an ampersand (for logic classes) and how to write Aleph and Beth (for pure maths, particularly transcendental numbers).
Some professors have a fondness for the more confusing Greek letters (lowercase xi, lowercase eta) ... is it n or eta, epsilon or xi, ...
That's the sense in which I'm using ∆, which is common, at least in the US.
> Maybe it's just a too advanced paper for my knowledge.
Maybe it is for now ... the point being that if you start at the beginning, chip away at it, search for terms on the 'net, read multiple times, try to work through it, and then ask people when you're really stuck, that's one way of making progress.
You can, instead, enroll in an on-line course, or night-school, and learn all this stuff from the ground up, but it will almost certainly take longer. Your knowledge would be better grounded and more secure, but learning how to read, investigate, search, work, then ask, is a far greater skill that "taking a course".
Others have answered your specific question about the delta symbol, but there are deeper processes/problems/questions here:
* Not all concepts or values or represented by a single glyph, sometimes there are multi-glyph "symbols", such as "Δt" in your example.
* When you see a symbol you don't recognise, read the surrounding text. The symbol will almost always be referenced or described.
* The notation isn't universal. Often it's an aid to your memory, to write in a succinct form the thing that has been described elsewhere.
* In these senses, it's very much a language more akin to natural languages than computer languages. The formulas are things used to express a meaning, not things to be executed.
* Specific questions about specific notation can be answered more directly, but to really get along with mathematical notation you need to "read like math" and not "read like a novel".
* None of this is correct, all of it is intended to give you a sense of how to make progress.
You and I both know that it reads as one term, but for someone unfamiliar with calculus but exposed to algebra they are drilled to understand separate graphemes as separate items, because the algebraic 'multiply' is so often implied, e.g. 3x = 3 * x as two individual 'things'.
I think there's merit in explaining the concept of delta representing change, because it's not obvious. For example, when I was taught the concept in school, my teacher explicitly started with doing a finite change with numbers, then representing it in terms of 'x' and 'y', then merged them into the delta symbol. That's a substantial intuitive stepping stone and I think it's pretty reasonable that someone may not find this immediately apparent.
But I think the problem isn't the specifics of the "Δ", it's the meta-problem of believing that symbols have a "one true meaning" instead of being defined by the scope.
I agree that explaining the delta notation would be helpful, but that's like giving someone a fish, or making them a fire. They are fed for one day, or warm for one night, it's the underlying misconceptions that need addressing so they can learn to fish and be fed, or set on fire and be warm, for the remainder of their life.
e: I also think, on reflection, that a signfigicant part of your ability to grok a new paper per your comments is your comfort in approaching these concepts due to your familiarity. Think of learning a new language - once you have a feel for it, you're likely more comfortable exploring new concepts within it, however when you're faced with it from the start you probably feel very lost and apprehensive.
I feel that understanding calculus is a fairly fundamental step in the 'language of maths', teaching that symbols don't necessarily represent numbers but can represent concepts (e.g. delta being change). This isn't something you encounter until then, but once you do you begin to understand the characters associated iwth integrals, matricies, etc. in a way that you may not have previously with algebra alone.
That's literally the whole problem: he sees two symbols.
But most will already be familiar with the family of goniometric functions such as sin and cos, there’s log and possibly exp and sqrt. There’s min and max; advanced math has inf and sup.
https://en.wikipedia.org/wiki/List_of_common_physics_notatio...
The triangle, for example, is the upper-case greek letter delta, which in calculus represents 'change of'. You might have heard of 'delta-T' with respect to 'change of time'.
In calculus, upper-case delta means 'change over a finite time' vs lower-case delta meaning 'instantaneous change'. The practical upshot, for example, is that the lower-case is the instantaneous rate-of-change at an instant in time, whereas the upper-case is the change over a whole time (e.g. the average rate of change per second for time = 0 seconds to time = 3 seconds).
If you are trying to grok this, I would suggest an introductory calculus or pre-calculus resource. It doesn't have to be a uni textbook - higher-level high school maths usually teaches this. In this particular case, the Khan Academy would be my recommendation because it is about the right level (we're not talking esoteric higher-level university knowledge here) and it is eminently accessable. For example, this link may be a good starter in this instance:
https://www.youtube.com/watch?v=MeU-KzdCBps
If you're trying to get into signal processing, it'll involve calculus in complex numbers, and knowledge of that is often gained through plodding through proofs and exercises over and over.
One place to start is https://en.wikipedia.org/wiki/Impulse_response
Like in 300 BC today, there's no royal road to geometry.
1. You're reading a journal article. They will assume you know the notation not just of the broader discipline (e.g. physics/electrical engineering), but of the subdiscipline and at times the subsubdiscipline. Journal papers are explicitly written not to be easy to comprehend by beginners.[1] Notation will be only one problem you'll face.
2. As has been pointed out, this is not a mathematics paper. Mathematicians have their own notation, as do physicists and engineers. As I mentioned in the above bullet, they can have their own notation even in subdisciplines (e.g. circuit folks use "j" for the imaginary number, and semiconductor folks use "i"). There is a lot of overlap in notation amongst these parties, but you should never assume because you know one notation that you'll easily understand the math written by other fields.
3. Most introductory textbooks will explain the basic notation. Unfortunately, I often do find gaps where you go to higher level textbooks and they use notation that they don't explain (i.e. they assume you've seen it before), but is not covered in the prior textbooks.
4. Finally, sorry to say this, but "delta" (the triangle) for representing change is used in almost all sciences and engineering. It was heavily used in my high school as well. If you're struggling with this you really need to read some introductory textbooks in, say, physics.
[1] I'm not kidding. I've spent time in academia and I've complained how obtuse some articles are, and almost universally the response is "We write for other experts, not for new graduate students". One professor took pride at the fact that in his field, one can comprehend only about one page of a paper per day - and this coming from someone who is an expert. These people have issues.
[1] https://www.cs.utexas.edu/users/EWD/transcriptions/EWD13xx/E...
One main cause for this belief is that in a programming there is one true noation (or rather, a separate one for each language) that is unambiguous and clearly defined.
I dislike maths notation as I find it lacks rigour.
This is such a disingenuous take. How many of the source code files you write are 100% self contained and well defined? I'd bet not a single one of them are. You reference libraries, you depend on specific compiler/runtime/OS versions, you reference other files etc. If you take a look at any of these scientific papers you call "badly defined", did you really go through all of the referenced papers and look if they defined the things you didn't get? If not then you can't be sure that the paper uses undefined notation. If you argue that it is too much work to go through that many references, well that is what you would have to do to understand one of your program files.
When you get down to the microcode of the CPU that implements the ISA you might have an issue if it's ill-specified. You might be talking about an ISA like RISC-V, though, specified at a level sufficient to go down to the gates. You might be talking about an ISA like 6502 where the gate-level implementations have been reverse-engineered.
You can take programming all the way down boolean logic if you need to and the tools are readily available. They don't rely on you "just knowing" something.
I doubt you actually can do that and understand it all. A computer can do it, but I doubt you the human can do that and get a perfect picture of any non trivial program without making errors. Human math is a human language first and foremost, its grammar is human language which is used to define things and symbols. This lets us write things that humans can actually read and understand the entirety of, unlike a million lines of code or cpu instructions.
Show me a program written by 10 programmers over 10 years and I doubt anyone really understands all of it. But we have mathematical fields that hundreds of mathematicians have written over centuries, and people still are able to understand it all perfectly. It is true that a computer can easily read a computer program, but since we are arguing about teaching humans you would need to show evidence that humans can actually read and understand complex code well.
Someone hasn't read the C spec, with all its specified as undefined behavior.
Programs working on real systems is very different from those systems being formally specified. I suspect that if you only had access to the pile of documentation and no real computer system - if you were an alien trying to reconstruct it, for example - you'd hit serious problems.
All behavior in an implementation can be teased-out if given sufficient time.
> if you were an alien trying to reconstruct it, for example - you'd hit serious problems.
I can't speak to alien minds. Considering the feats of reverse-engineering I've seen in the IT world (software security, semiconductor reverse-engineering) or cryptography (the breaking the Japanese Purple cipher in WWII, for example) I think it's safe to say humans are really, really good at reverse-engineering other human-created systems from close-to-nothing. Starting with documentation would be a step-up.
Can it? Given what? You would need to understand how the CPU is supposed to execute the compiled code to do that. In order to understand the CPU you would need to read the manual for its instruction set, which is written in human language and hence not any better defined than math. At best you get the same level of strictness as math.
If you assume you already have a perfect knowledge of the CPU workings, then I can just assume that you already have perfect knowledge of the relevant math topic and hence don't even need to read the paper to understand the paper. Human knowledge needs to come from somewhere. If you can read a programming language manual then you can read math. Every math paper is its own DSL in this context with its own small explanations for how it does things.
That's really the point though: not every piece of software defines it's own DSL, nor does it necessarily incorporate a DSL from some library or framework (which in turn may or may not borrow from other DSLs, etc.). It is also impossible to incorporate something from other software without actually referencing it explicitly.
Math, though, is more like prose in this respect – while any given novel probably has a lot of structure, terminology, and notation in common with other works in its genre, unless it is extremely derivative it almost certainly has a few quirks and innovations specific to the author or even unique to that particular work that you can absorb while reading or puzzle out due to context, as long as you accept that the context is quite a lot of other works in the genre (this is more true of some genres/subfields than others). Unlike novels, at least in math papers (but not necessarily books) you get explicit references to the other works that the author considered most relevant, but those references are not usually sufficient on their own, nor necessarily complete, and you have to do more spelunking or happen to have done it already.
Finally, like prose, with math you have to rely on other (subsequent) sources to point out deficiencies in the work, or figure them out on your own. Math papers, once published, don't usually get bug fixes and new releases, you're expected to be aware (from the context that has grown around the paper post-publication) what the problems are. Which means reading citations forward in time as well as backward for each referenced paper. The combinatorial explosion is ridiculous.
It would be great if there were something like tour guides published that just marked out the branching garden paths of concepts and notation borrowed and adapted between publications, but textbooks tend to focus on teaching one particular garden path.
No, some programming languages just injects symbols based on context. You'd have to compile it with the right dependencies for it to work, so it is impossible to know what it is supposed to be.
And even if they reference some other file, that file might not even be present in the codebase, instead some framework says "fetch this file from some remote repository at this URL on the internet" and then it fetches some file from the node repository, which can be another file tomorrow for all we know. This sort of time variance is non-existent in math, so to me math is way more readable than most code.
And you have probably seen a programming tutorial or similar which uses library functions that no longer exists in modern versions, tells you to call a function but the function was found in a library the tutorial forgot to tell you about, or many of the other things that can go wrong.
Well, okay, yes, not all software projects deliver reproducible builds of their software. Some software is, in fact, complete garbage.
I'm also not using Gene Ray's TimeCube theory[0] as an example of a mathematical paper.
> This sort of time variance is non-existent in math
Not... entirely. You could cite a preprint that then changes in the final version.
> And you have probably seen a programming tutorial or similar which uses library functions that no longer exists in modern versions
Sure. And cited papers can be retracted entirely.
[0] https://web.archive.org/web/20070718050305/http://www.timecu...
And not all math papers are properly documented either. Some math papers are in fact complete garbage. Why are you complaining about an entire field just because some of it is garbage.
You said:
> because programs can't work without being specified.
.. what I think you may have meant was "can't work without being implemented", because your subsequent comments are all about implementation.
> Undefined behavior isn't a feature
Yes it is, it's a feature of the C specification.
This is where a whole load of pain and insecurity comes from, because as you say the implementations must do something when encountering undefined behavior, and people learn what usually happens, then an improvement is made to the optimizer which changes the implementation.
I was filled with crushing disappointment when I learned mathematical notation is "shorthand" and there isn't a formal grammar. Same goes for learning writers take "shortcuts" with the expectation the reader will "fill in the gaps". Ostensibly this is so the writer can do "less writing" and the reader can do "less reading".
There's so much "pure" and "universal" about math, but the humans who write about it are too lazy to write about it in a rigorous manner.
I can't write software w/ the expectation the computer "just knows" or that it will "fill in the gaps". Sure-- I can call libraries, write in a higher-level language to let the compiler make machine language for me, etc. I can inspect and understand the underlying implementations if I want to, though. Nothing relies on the machine "just knowing".
It's feels like the same goddamn laziness that plagues every other human endeavor outside of programming. People can't be bothered to be exact about things because being exact is hard and people avoid hard work.
"We'll have a face-to-face to discuss this there's too much here to put in an email."
Are you sure it's laziness? Maybe it's a result of there not actually being any universal notation (not even within subfields) or the exactness you refer to really isn't necessary. This doesn't mean that unclear exposition is a good thing. Mathematical writing (as with all writing) should strive towards clarity. But clarity doesn't require some sort of minutely perfectly consistently notation which would be required by a computer because humans are better than computers at handling exactly those kinds of situations.
> People can't be bothered to be exact about things because being exact is hard and people avoid hard work.
I think you have it wrong. People can't be bothered to be as exact because they don't need to. People can understand things even if they are inexact. So can mathematicians. Honestly this is a feature. If computers would just intuitively understand what I tell them to do like a human assistant would, that would be a step up not a step down in human computer interfaces.
Shall we be satisfied with the same low standards in a technical field, because it is how it is?
Hands-on users of math notation are complaining that it sucks. I'm not sure why a dismissive "works for me" is so often the default response.
It is really easy to complain. People also complain about every popular programming language, but it is really hard to make something that is actually better. It is easy to make something that you yourself think is better, but it is hard to make something that is better in practice.
Are you sure this is because the notation is unclear/imprecise or because you just don't like it? I like certain programming languages and certain programming styles and really don't like others. But in none of the cases (those I like nor those I don't) are they not 100% "clear". The code compiles and executes after all so there really isn't much of an argument that somehow it's underspecified.
The same thing exists in mathematics. There are certain fields of math whose traditional notation/style/approach/etc. are totally incomprehensible to me. There are also many mathematicians who would say the same about my preferences as well.
So my point is that all people are _different_. Some people like certain things and some people like others. How can you hope to please everyone simultaneously? In my experience, there is no field at all that is as precise as mathematics. Sure "code" is precise, but (imo) professional programmers are nowhere near as precise in any general design or conversation than mathematicians. So I find the attack on supposedly bad mathematical notation a bit odd.
Mathematicians constantly try to come up with better methods of explaining things. They put more effort into it than basically any field in my experience. The problems are really that we as humans don't all think the same and that mathematics is just plain hard. We've improved mathematical communication immensely throughout history and we will continue to do so. But we'll never reach some sort of perfect communication style because no single such style could ever exist.
I made this point in another comment, but I think it bears repeating and elaboration: Consistency isn't required (at least outside any single paper), but explicitness would be a tremendous boon.
Software incorporates outside context all the time, but it pretty much always does it explicitly (though the explicitness may be transitive, ie. dependencies of dependencies). Math papers often assume context that is not explicitly noted in the citations, nor those papers' citations, etc.
Instead, some of the context might only be found in other papers that cite the same papers you are tracking down. You sometimes need to follow citations both backward and forward from every link in the chain. And unlike following citations backward (ie. the ones each author considered most relevant), the forward links aren't curated and many (perhaps most) will be blind alleys (there also may be cycles in the citation graph, but these are relatively rare). But somehow you have to collect knowledge (or at least passing familiarity) with an encyclopedic corpus in order to at least recognize and place the context left implicit in any one paper in order to understand it.
It's maddening.
That is just an example of bad exposition in my opinion. It's also not technically "unclear" in any notational sense so it's a bit of an aside from this argument. But I agree with you 100% that it is bad bad bad. This is a perfect example of why arguments like "does this proof make coq happy" totally misses the point.
In theory, some kind of checker could validate the semantics of a paper to just tell you whether the arguments made are complete. Not whether there is a correct formal proof, just pointing out any obscured leaps of faith[0]. A rough analogue to test suite coverage for code (which is also not any sort of guarantee of correctness, just basic reassurance that all (or most of) the code is tested and isn't broken in any obvious way, especially while making changes).
I'm trying to think of an equivalent for prose, and am coming up with examples like detecting conflicting descriptions of locations or named characters, or whether the author lost track of which character said which lines in the dialog.
> It's also not technically "unclear" in any notational sense
Perhaps not necessarily, but unfamiliar/borrowed/idiosyncratic notation is a perfect (and common) place for insufficient exposition to be hiding.
[0] https://imgur.com/gallery/ApzhVFj
Math notation is the way it is because it's what mathematicians have found useful for the purpose of doing and communicating math. If you are upset and disappointed that that's how it is then there's not a lot we can do about it. If there was a better way of doing it, people would be jumping on it. If a different way of doing it would let you achieve more, people would be doing it.
It's not laziness, and I think you very much have got the wrong idea of how it works, why it works, and why it is as it is. Your anger comes across very clearly, and I'm saddened that your experience has left you feeling that way.
Maths is very much about communicating what the results are and why they are true, then giving enough guidance to let someone else work through the details should they choose. Simply giving someone absolutely all the details is not really communicating why something is true.
I'm not good at this, but let me try an analogy. A computer doesn't have to understand why a program gives the result it does, it just has to have the exact algorithm to execute. On the other hand, if I want you to understand why when n is an integer greater than 1, { n divides (n-1)!+1 } if and only if { n is prime } then I can sketch the idea and let you work through it. Giving you all and every step of a proof using Peano axioms isn't going to help you understand.
Similarly, I can express in one of the computer proof assistants the proof that when p is an odd prime, { x^2=-1 has a solution mod p } if and only if { p = 4k+1 for some k }, but that doesn't give a sense of why it's true. But I can sketch a reason why it works, and you can then work out the details, and in that way I'm letting you develop a sense of why it works that way.
Math isn't computing, and complaining that the notation isn't like a computer program is expressing your disappointment (which I'm not trying to minimise, and is probably very real) but is missing the point.
Math isn't computing, and "Doing Math" is not "Writing Programs".
I often wish people were more like computers. It probably wouldn't make the world better but it would make it more comprehensible.
It might also help to think of "scope" in the computing sense. Often you have a paragraph in a math paper using symbols one way, then somewhere else the same symbols crop up with a different meaning. But the scope has changed, and when you practise, you can recognise the change of scope.
We reuse variable names in different scopes, and when something is introduced exactly here, only here, and only persists for a short time, sometimes it's not worth giving it a long, descriptive name. That's also similar to what happens in math. If I have a loop counting from 1 to 10, sometimes it's not worth doing more than:
If you want to know what "x" means then it's right there, and giving it a long descriptive name might very well hamper reading the code rather than making it clearer. That's a judgement call, but it brings the same issues to mind.I hope that helps. You may still not like math, or the notation, but maybe if gives you a handle on what's going on.
PS: There are plenty of mathematicians who complain about some traditional notations too, but not generally the big stuff.
This example works against you. Scope shadowing is nearly universally considered bad practice, to the point that essentially every linter is pre-configured to warn about it, as are many languages themselves (eg prolog, erlang, c#, etc)
To a programmer, you're saying "see, we do it just like the things you're taught to never ever do"
.
> You may still not like math, or the notation,
The notation is probably fine
What I personally don't like is mathematicians' refusal to provide easy reference material
Programmers want mathematicians to make one of these: https://matela.com.br/pub/cheat-sheets/haskell-cs-1.1.pdf
It doesn't have to be perfect. We don't need every possibility of what y-hat or vertical double bars means. An 85% job would be huge.
So you never used the same variable name in two different scopes ever? Like, if a function takes argument "name", no other function you ever write again in any program can have a variable named "name" unless it is the same exact usage?
Or, as is commonly complained about in math, every programmer in the world then use the variable "name" only for that usecase and otherwise comes up with a new name for it?
Having different scopes doesn't imply shadowing, it just means that you define it and then use it and then scope goes out and it no longer exists. No mathematician knows even close to every domain, so different domains of math uses notation differently. It is like how different programmers programs in different programming languages. It is such a waste to have so many programming languages, but people still do it for legacy reasons.
That's not what shadowing is.
.
> Having different scopes doesn't imply shadowing
I didn't say that it did.
.
> No mathematician knows even close to every domain
this is irrelevant to a lightweight two page cheat sheet for simple mathematial symbols
part of the problem is that if we ask you for a simple thing that isn't perfect or exhaustive, you lecture us on how no document could contain every concept
that's very clearly not what's being requested of you. the same is true of haskell. that sheet doesn't contain all of haskell. i doubt anybody knows all of haskell, which of course is far smaller than mathematics.
i'd like to stay in the practical world. it was clearly stated that an exhaustive solution was a non-goal.
let's try to do one thing that doesn't have a limit at infinity. (i'm sorry, i'm a programmer, math jokes are hard)
surely you've made food, right? did you learn the recipe from a cookbook? did it contain every ingredient and recipe that any cook ever knew? did it go over the chemistry of the protein denaturing, the physics of the water boiling, the ethics of importing the burner fuel, allergy responses, cultural backgrounds, molecular weights, how to make things in a duck press?
no?
was that because the cookbook was just good enough? it was just like "use this much chicken and this much onion, two tortillas, some cilantro and lime?"
nobody wants exhaustive anything. if you managed somehow to produce that (ie by just giving the manual page to the wolfram language) it would be rejected as the exact opposite of what was being requested.
the thing you're protesting is the i'm saying is the wrong job.
cool beans. the thing i'm actually asking for is straightforward.
someone already gave me one, but the difficulty level was aimed at children, instead of professional programmers, the space requested, while also calling me ignorant. it's a shame; that one was almost it.
but it should be things like `ŷ` and `||x||` and whatever. it should include sum, integral, and product for the juniors. For `|x|` it should say "Absolute value, magnitude, length, or cardinality."
it doesn't need `||x||` because we need someone to teach us what absolute value and cardinality and so on mean. it needs `||x||` because we forgot what double-bar says, and if we have that list of four things, we can figure out which one it is just like you can.
we know what magnitude is. we just don't know what `||foo||` says.
we just need our cracker jack decoder rings. we get the ideas. we don't get your letters.
It's not explaining anything. It's just a cheat sheet. You aren't solving education. C'mon.
This isn't too far off: https://en.wikipedia.org/wiki/Glossary_of_mathematical_symbo...
.
> It is such a waste to have so many programming languages
if you say so. i rather like the several that i created.
things aren't a waste just because you don't know what they're for.
you might as well assert that it's a waste that there are so many tools in the shop.
The statisticians can do it: http://web.mit.edu/~csvoss/Public/usabo/stats_handout.pdf
.
> every programmer in the world then use the variable "name" only for that usecase and otherwise comes up with a new name for it?
this isn't terribly uncommon, primarily because our culture is to use long descriptive names, which have a far lower natural collision rate
i do get that symbols can overlap. that's okay! nobody's complaining about that. it's fine for `||x...
But that is what mathematicians do. Why did you bring up shadowing if it isn't relevant?
There are lots of maths cheat sheets like that. Maths is big, like all-programming-languages big. Just like in programming, notations are re-used in different areas with different meanings, and different authors sometimes use different notation for the same meaning. A universal cheat sheet is impossible (just like a general programming cheat sheet is), but many cheat sheets or notation reference pages exist for particular contexts, one of which is "the basics", e.g. https://www.pinterest.nz/pin/734016439237543897/. Try searching or image searching for [math cheat sheet], [linear algebra cheat sheet], etc.
> mathematicians' refusal to provide easy reference material
This is an absurd claim. There is no such general refusal. On the contrary, many mathematicians provide their students with relevant easy reference material constantly. We sometimes spend entire semester-long courses providing easy reference material, and there are many books with exactly the kind of cheat-sheet you want inside the cover, or in an appendix or front matter (as well as the ones on the internet mentioned above).
I have never found one that gets me through the average undergraduate CS paper.
If you know one, I would greatly appreciate a tip. Unfortunately, I saw what you offered, and that's not it.
.
> A universal cheat sheet is impossible
I explicitly stated that this was a non-goal.
.
> one of which is "the basics", e.g. https://www.pinterest.nz/pin/734016439237543897/.
That one is far too basic. It doesn't even have things like average, or absolute value. It includes things nobody needs explained, like subtract, and things that aren't math, like logical operators.
This is why I said "yes, people have tried, but nobody has succeeded."
The explicit context was the average software paper. We're talking about programmers.
.
> > mathematicians' refusal to provide easy reference material
> This is an absurd claim.
Lots of people in here seem to agree with me. YMMV.
Feel free to provide me easy reference material.
.
> On the contrary, many mathematicians provide their students with
> We sometimes spend entire semester-long courses
The explicit context is "to people who aren't mathematicians or mathematics students."
Remember, we're talking about programmers who are appealing to the mathematics community for help.
If your response to "you guys won't give programmers a short easy two page PDF at the level we need" is to remind me that you give your own students semester long courses, then you've absolutely failed to understand what's being said.
.
> there are many books with exactly the kind of cheat-sheet you want inside the cover
Every time I ask for one, I get something with symbols meant for children learning arithmetic, like the one you gave. It explains plus and percent.
Again, 𝗧𝗵𝗲 𝗰𝗼𝗻𝘁𝗲𝘅𝘁 𝗶𝘀 𝗽𝗿𝗼𝗳𝗲𝘀𝘀𝗶𝗼𝗻𝗮𝗹 𝗽𝗿𝗼𝗴𝗿𝗮𝗺𝗺𝗲𝗿𝘀 𝘁𝗿𝘆𝗶𝗻𝗴 𝘁𝗼 𝗴𝗲𝘁 𝗵𝗲𝗹𝗽 𝗿𝗲𝗮𝗱𝗶𝗻𝗴 𝗖𝗦 𝗽𝗮𝗽𝗲𝗿𝘀 𝘄𝗿𝗶𝘁𝘁𝗲𝗻 𝗯𝘆 𝗺𝗮𝘁𝗵𝗲𝗺𝗮𝘁𝗶𝗰𝗶𝗮𝗻𝘀.
If you think we need plus explained to us, and that the next step is an insular semester long lecture course that isn't offered to us, then how can you possibly be surprised that we think you failed us?
.
> as well as the ones on the internet mentioned above
You only mentioned one. The other one is something I gave, from our community, trying to explain to you the kind of thing I want.
It covers topics like monads, pattern matching, infix, operator precedence, typeclasses, infinite lists, codata, higher order functors, special folds, tuples, numerics, modules, tracing, list comprehensions, and dealing with the compiler itself.
You patted me on the head and taught me that * means times.
I continue to feel that the mathematics community refuses to understand the needs of the programming community, or provide appropriate reference material.
It's either "this is arithmetic" or "let's do linear equations in russian"
There's no practical middle ground and you seem resistant to even understanding that such a thing exists
Programmers aren't ignorant like the other mathematicians in here have repeatedly said. You can't do our things any more than we can do yours. We've seen your code.
It's just that when you ask us for appropriately costed reference, we comply, and you do not even grok.
You really put up a thing that explained `less-than`, as if that was what you were being asked for.
It turns out that most programmers know what the equals sign means.
There is nothing of practical value in the actual domain space being talked about, here.
Nothing here is beyond a...
That cheat sheet would be written by CS folks, since every applied domain uses their own quirks in their notations. Mathematicians can't help you there. You can't blame mathematicians for the shortcomings of CS researchers.
But it doesn't make sense to put lists of notation everywhere mathematical notation is used like in a journal or because the audience is already expected to know it. If the author does something weird or non-standard it's typically explained, sometimes it's even explained if it's pretty standard.
Different branches of math, physics, statistics,etc. will redefine the same symbols to mean different things but that's not much different from programming languages. & in C++ has a different meaning than & in R. Like the first step of understanding someone else's code is to know what language your looking at it's important to understand the context of what you're looking at. Look at previous cites, relevant textbooks, ask around, reread the paper again. I've read some papers a dozen times easy before it clicked.
That's only really a good description for the most well trod areas, where people habe bothered to iterate. I think a more realistic statement would be:
"Math notation is the way it is because some mathematician found it sufficient to do and communicate math, and others found it tolerable enough to not bother to change."
Personally, though, my problem has always been where publications use letters and symbols to mean things that are just "known" in some subfield that isn't directly referenced. It's not a problem for direct back and forth communication during development, true, but it dramatically increases the burden on someone who wants to jump in.
That all said, it would still be quite nice if it was somehow more accessable. A lot of papers containing material that's probably actually quite standardizable remain opaque to me, and the notation invariably falls by the wayside if there's a code or language description available.
Many times, math notatons have been thought to be minimal, or most clear possibly, only to fall by the wayside
Whereas this notation serves domain specialists well, it still leaves people like me somewhat confused
A cheat sheet - even to the practical norms - would go a long way
Yes, we are too lazy to be 100% formal and many times we are too lazy to be mostly formal. This is mostly because we target our writing to other mathematicians who have no need to see every small step and including every step makes the proofs long. On the other hand, I do feel that generally speaking mathematicians should show more of their work and skip fewer steps.
I find your statement "People can't be bothered to be exact about things because being exact is hard and people avoid hard work." to be very true. Being precise is difficult.
Math is difficult, and a lot of what we have is the result of the sharpest minds doing their best to eke out whatever better understanding of something they can manage. Getting any sort of explanation for something is hard enough, but to get a clear theory with good notation takes an order of magnitude more effort and insight. This can take decades more of collective work.
Imagine complaining about cartographers from a thousand years ago having sketchy maps in "unexplored" regions. Maps are supposed to be precise, you say, there's actual earth there that the map represents! But it takes an extraordinary amount of effort to actually send people to these places to map it out -- it's hardly laziness. Mathematics can be the same way, where areas that are seemingly unrigorous are the sketches of what some explorers have seen (and they check that their accounts line up), then others hopefully come along and map it all in detail.
When reading papers, there's a fine balance of how much detail I want to see. For unfamiliar arguments and notation, it's great to have it explained right there, but I've found having too much detail frustrating sometimes, since after slogging through a page of it you realize "oh, this is the standard argument for such-and-such, I wish they had just said so." You tend to figure that something is being explained because there is some difference that's being pointed out.
I've been doing some formalization in Lean/mathlib, and it is truly an enormous amount of work to make things fully rigorous, even making it so that all notation has a formal grammar. It relies on Lean to fill in unstated details, and figuring out ways to get it to do that properly and efficiently, since otherwise the notation gets completely unworkable.
And then there is SQL.
I see this a lot from programmers, but in essence, you seem to be complaining that maths notation isn't what you want it to be, but is instead something else that mathematicians (and physicists and engineers) find useful.
CS as a field just seems to have a higher base standard for explaining their notation and ideas. It helps in cross-collaboration by making it significantly easier to self study.
Related to this, I'd say math books have a significantly worse pedagogical culture in regards to both notation and defining pre-requisites. It's very common for a math book to say "we expect readers to have taken a discrete math course" and not defining notation despite knowing the topics covered in discrete math vary greatly from school to school and may not overlap. Math professors frequently have to paper over these problems at Uni as they realize the class does not understand some notation. CS are just better about this, and I can only explain it as a part of the culture and tradition.
CS professors writes just as incomprehensible math as everyone else, as you can see many here brings up examples of CS professors writing incomprehensible math in their papers.
Math notations are two-dimensional and don't suffer very badly from structural ambiguities, so that actually fixes almost nothing.
The problem in unfamiliar math notations is rarely the chunking of which clump is a child of which clump.
E.g say that some paper uses, say, angle brackets, with some deep meaning that you can learn about if you recurse three levels down in the list of references.
I'm not confused that in <Ap>, the Ap thing is a child of the angle brackets; and calling it (frob (A p)) doesn't help much in this regard.
However, at least you can search literature for the word frob more easily than for angle brackets.
Also it's perhaps more likely to occur to the person using the frob notation that maybe they should define frob somwewhere.
Doesn't help that then notation is often poorly defined, and sometimes a weird mix of notations is presented.
Overall the situation is also not pleasant for math people changing topics, or physicists reading papers from physical chemistry professors who 'grew up' in mathematical chemistry.
Take sequential Monte Carlo / sequential importance sampling for instance. This powerpoint on it is clownishly bad: http://people.eecs.berkeley.edu/~jordan/courses/260-spring10...
This is supposed to be an algorithm implemented in code. It's essentially illegible without code examples, which it doesn't feature. Code examples tell you what the cipher signifies; at no point does the cipher provide any value to the learner. Fanciful bayes-theoretical statements and so on basically reduce to "iteratively build enlarging valid states." Given the fact that this simple statement is missing, I question if the professor has some sort of communication disorder or if they're just a troll. Similar to pomo philosophers, it's probably a mix.
Try to understand programming based on a programming lecture powerpoint, it is usually impossible.
Edit: Also you can't write code for what he is talking about in that lecture. Code cannot deal with infinities or continuous values. You'd get approximations which isn't the same thing, then you'd need to prove that those approximations are good enough which would have to be done without code anyway.
Haskell is unreadable to one who has not trained in it or similar languages ... why don't they make the syntax more readable? Or C++ with its modern templating ... why don't they change the syntax to make it more readable?
You might be tired of wandering into someone else's area of expertise and telling them:
You must change! You must make it more accessible!
Believe me, mathematicians are tired of non-mathematicians wandering up and saying:
Look! Computer programs are easy and intuitive and everyone can understand them, even without training! Make math like that!
Do you really believe that math notation is deliberately designed to make it hard for people untrained in math to learn how to use it? Do you really believe that no one has tried to make it more accessible?
Do you really believe you know more about why math notation is what it is than mathematicians and trained mathematics educators do?
It looks that way, to many people, even in this thread.
> why don't they change the syntax to make it more readable?
They do, actually. Quite often at that. It's called releasing new version.
> Look! Computer programs are easy and intuitive and everyone can understand them, even without training! Make math like that!
No. Computer code is as far from intuitive as it can be. Nobody says otherwise. So you don't need to do anything to get there, the notation's good on that front (meaning: completely non-intuitive).
That's where the IDEs come in. And debuggers. And other tools. Lots of tools. They really help. You could use them, because the IDEs-for-math already exist. In college I had exactly one semester to familiarize myself with one of them, and it was never mentioned again until graduation.
> Do you really believe that math notation is deliberately designed to make it hard for people untrained in math to learn how to use it?
Why, do you believe it's not possible for it to be that way? See: https://en.wikipedia.org/wiki/Pythagoras#Prohibitions_and_re...
> Do you really believe that no one has tried to make it more accessible?
Why did they fail? (If they didn't - where's the exponential growth of first years' mathematicians in training)
> Do you really believe you know more about why math notation is what it is than mathematicians and trained mathematics educators do?
I'm 100% not interested in why it is like this, it's not my problem, so I really wouldn't know. Would you be interested in how at some point you had to write `class X(object):` and that it later changed to simply `class X:`? Would you go hunt on the mailing list to see who exactly came up with the idea? Or why they thought it would be better that way? Would you be interested in that if you just had to write a 10-lines of Python, to scrape some web site?
Did you just use an example from 2600 years ago to make a point? You don't think much changed since then?
Yes? What's wrong with that?
I'm pointing out the most widely known example, to make a point, which is: "it is possible to design notation specifically for keeping outsiders out". I'm not saying that modern math notation is like that. I think, as a layman, that it probably evolved over a long time and so is full of idiosyncrasies that made perfect sense back when they were introduced (my GP seems to describe it in similar terms, so I hope I'm not that far removed from reality).
Surely you must realize that you're protesting this because it has this reputation, though?
And surely you must realize that it has this reputation for a reason?
When I was a teenager and took my first calculus course, I struggled with summation for three days. When I finally went to my dad he looked at me funny and said "your teacher is an idiot, isn't he? It's a for loop."
I had been writing for loops for seven years at that age. I almost cried. It was like a lightswitch.
The problem was always that nobody had ever actually explained what the symbol meant in any practical way. Every piece of terminology was explained with other terminology, when there was absolutely no reason to do so.
Mathematics has the reputation for impermeability and unwelcomingness for a reason.
It's because you guys are ignoring us saying "we want to learn, please write out a cheat sheet" and saying "yes, but don't you see" instead of just building the easy on-ramp that every other field on earth has built
.
> > You might be tired of wandering into someone else's area of expertise and telling them: > > You must change! You must make it more accessible!
No, we generally just fix the problem. If people are saying "this isn't accessible enough," we just work on it.
I would like for you personally to be aware of Bret Victor's work. He's incredibly potent and clear on these topics.
Programmers work really really hard on learnability and understandability. This is a big deal to us. That's why we can't understand why it's not a big deal to you.
http://worrydream.com/LearnableProgramming/
We have, in fact, mostly given up on waiting for you, and started to make our own tooling to understand your work, using obvious principles like live editors and witnessable effects.
http://worrydream.com/MediaForThinkingTheUnthinkable/
Edit: those are the talk notes. Wrong link, sorry. I should have used this instead: https://vimeo.com/67076984
This is a big part of how we criticize ourselves, is for failing to provide the tooling to allow new modes of approach.
https://www.youtube.com/watch?v=PUv66718DII
We frequently think of our programming languages as new modes for thought. This line of discussion is particularly popular in the Lisp, Haskell, and Forth communities, though it crops up at some level everywhere.
We frequently think that the more opaque the language, the less useful it is in this way.
That's why programming languages, which are arguably 70 years old as a field, have so much more powerful tools for teaching and explanation than math, which is literally older than spoken language
You guys don't even have documentation extraction going yet. We have documentation where you have a little code box and you can type things and try it. You can screw with it. You can see what happens.
This is why we care about things like Active Reading and explorable explanations.
http://worrydream.com/ExplorableExplanations/
This is why we care about things like live reactive documents. It really changes your ability to intuitively understand things.
http://worrydream.com/Tangle/
Math hasn't grokked non-symbolic communication since Archimedes, that's why it took nearl...
I've never heard anyone make this accusation until I read it here on HN today. The reputation doesn't seem to be widespread.
> Programmers work really really hard on learnability and understandability. This is a big deal to us. That's why we can't understand why it's not a big deal to you.
How to better teach math is like one of the most studied topics in education since it is so extremely important for so many outcomes. People learn programming faster since programming is simply easier, not because more effort has been done to make programming easy. There hasn't, way more effort has been put into making math easy and the math we have is the results of all that work.
https://en.wikipedia.org/wiki/List_of_mathematics_education_...
> Given the way you guys push back on being asked to write simple reference material?
Nobody pushes back on writing simple reference manuals. There are tons of simple reference manuals for math everywhere on the internet, in most math papers, in most math books, everywhere! Yet still people fail to understand it. Many billions has been put trying to improve math education, trying to find shortcuts, trying to do anything at all. You are simply ignorant thinking that there are some quick fix super easy to implement things that would magically make people understand math. There isn't. It is possible that math education could get improved, but it wont be a simple thing.
blinks really?
It's kind of a famous thing. Teachers are taught how to cope with math phobia; other subjects (with the exception of dissection) generally do not create this effect.
.
> How to better teach math is like one of the most studied topics in education since it is so extremely
Unsuccessful
Many other disciplines are equally important and don't have the desperation for repair that math does
It's so bad that it's gotten into popular music a dozen times; you can easily point to Tom Lehrer, Weird Al, even 2 Chainz for broaching the topic
.
> People learn programming faster since programming is simply easier
Keep telling yourself that
Remember who's cracking things like four coloring.
.
> There hasn't, way more effort has been put into making math easy and the math we have is the results of all that work.
You seem not to be results focused.
.
> Nobody pushes back on writing simple reference manuals.
The person I was responding to was. Three different people have with me in this thread alone.
Notice that you've changed the topic to "reference manuals," which 𝗶𝘀 𝗻𝗼𝘁 𝘄𝗵𝗮𝘁 𝘄𝗮𝘀 𝗯𝗲𝗶𝗻𝗴 𝗿𝗲𝗾𝘂𝗲𝘀𝘁𝗲𝗱
Ostensibly this is the part at which you launch into an explanation about how a simple cheat sheet that says things like " || usually means absolute value or magnitude" somehow isn't possible, even though it totally is
Next you'll explain how simple summary symbols like that are somehow harder than Haskell, which was able to produce a cheat sheet just fine
In reality, mathematicians just don't have the faintest clue how difficult other fields are, and are too busy patting themselves on the backs for their challenging intellects to realize that their work is under-used due to their inability to produce legends and keys
.
> Yet still people fail to understand it.
You're not producing what's being requested, then you're surprised that what you're actually producing isn't working.
.
> trying to find shortcuts, trying to do anything at all.
All that's being requested is a two page operator cheat sheet. If you'd stop wisely pontificating and just try it, you'd find it's really quite straightforward.
I produced one for my students. It's just that my own education in mathematics only goes so far.
𝗜𝘁 𝗴𝗲𝗻𝘂𝗶𝗻𝗲𝗹𝘆 𝗶𝘀 𝗻𝗼𝘁 𝗱𝗶𝗳𝗳𝗶𝗰𝘂𝗹𝘁
You are doing the refusing you insist nobody's doing, right now
.
> You are simply ignorant thinking that there are some quick fix super easy to implement things
Not really, no.
I've succeeded at this.
You are protesting against things that were not requested. Nobody asked for any "quick fixes." Nobody asked for any "magical make understand."
These are things you said, not things I said.
I said something very simple and very practical. Something that very much can be done.
I want a two page PDF which puts operators next to their names, so the load on my memory is lower.
Every time I ask that, some math fan goes on forever about how things I never asked for aren't possible, and ties that up with personal attacks.
𝗧𝗵𝗶𝘀 𝗶𝘀 𝘄𝗵𝘆 𝗺𝗮𝘁𝗵 𝗵𝗮𝘀 𝗶𝘁𝘀 𝗿𝗲𝗽𝘂𝘁𝗮𝘁𝗶𝗼𝗻. 𝗬𝗼𝘂 𝗴𝘂𝘆𝘀 𝗰𝗮𝗻'𝘁 𝗮𝗻𝘀𝘄𝗲𝗿 𝘀𝗶𝗺𝗽𝗹𝗲 𝗾𝘂𝗲𝘀𝘁𝗶𝗼𝗻𝘀, 𝗮𝗻𝗱 𝘁𝗵𝗶𝗻𝗸 𝘁𝗵𝗲 𝗽𝗿𝗼𝗯𝗹𝗲𝗺 𝗶𝘀 𝘀𝗼𝗺𝗲𝘁𝗵𝗶𝗻𝗴 𝗼𝘁𝗵𝗲𝗿 𝘁𝗵𝗮𝗻 𝘆𝗼𝘂𝗿 𝗶...
But this is impossible, because, as I learned today, "math is a small field without money for things like this".
Thanks to my discussion here I was able to shift my perspective. Instead of thinking about an abstract thing, like "improving readability of math papers to non-mathematicians", I understood that I have to focus on people! In other words, on a bunch of guys frustrated that other STEM guys earn multiples of what they earn, even though their fields are so much "easier". Why would they help those various others use their work? They worked so hard to create the papers, living in a (shared with a philosopher) one bedroom apartment, writing their revolutionary insights on tissues stolen from McDonalds with a piece of charcoal - while those others can afford to buy computers (and even paper) easily, even though they don't work as hard as mathematicians at all!
It's just so unfair, and of course it's not like mathematicians are jealous or anything (not at all! really! honest!), it's just genuinely so much "harder" to do math, that most of those others won't be able to understand no matter what! Even if they actually listened to the masses and did as requested, the mathematicians already know that it would be useless, so there's no point in trying. Also, this is obvious, but worth noting: saying that most people are simply too dumb to ever understand the intricacies of math is not a prejudiced bias, ok, that's simply a conclusion of centuries of research into math education!
I honestly stopped expecting they'll do anything sensible ever, unless they really have no other choice. You might win against some people, but you won't ever defeat human nature.
> But this is impossible, because, as I learned today, "math is a small field without money for things like this".
Of course it isn't impossible, that was never the problem here. Mathematicians have written plenty of such cheat sheets, you can find them everywhere just by Googling. Here is one for physics:
https://en.wikipedia.org/wiki/List_of_common_physics_notatio...
Here is one for math:
https://en.wikipedia.org/wiki/Glossary_of_mathematical_symbo...
Can you please understand that you are complaining that nobody created something that many many people have created many times over? I found those by googling "physics notation" and "math notation". Was that really too hard for you? If you want a cheat sheet specific for CS related papers, then that cheat sheet has to be written by someone with a CS background since a mathematician wont know what is useful to you, and neither will he know what quirky notation CS people use in their own papers since every domain of math has its own quirks.
What you are doing here is the equivalent of a guy wanting to learn python, and then going to the C++ comitee and complaining that no language is well documented online, and even when the C++ committee nicely shows you that in fact there is documentation of python online you still complain and say that nobody cares about your woes because that python documentation was in fact not easy enough for you to read!
Millions of programmers that work hard and for a long time to master their trade are just dumb for not learning it instantly, like you. Poor bastards, deluding themselves they do somehow advance the field, while in reality programmers are just doing "tabs vs spaces" over and over again, and any kind of advancement is given to them by our benevolent mathematical overlords.
No. We've worked for decades to make programming this simple. You're driving an obviously overpowered car in a race, but choose to conveniently forget about its specs once you win.
> Mathematicians have written plenty of such cheat sheets, you can find them everywhere just by Googling. Here is one for physics
Sure they were created. I never said they weren't, so please stop insinuating that. I (not GGP) said specifically:
> It has literally nothing to do with explaining the syntax *close to where it's used*.
And that is not being done, so I really don't understand how the rest of the paragraph has anything to do with me.
> say that nobody cares about your woes because that python documentation was in fact not easy enough for you to read!
So? What's wrong with that? Are you telling me I'm dumb? Is it really all you can do?
Well, it's either that I'm simply an uneducated idiot, or that the documentation indeed could be better. You seem to default to the former. Well, I feel differently about that.
No, I am saying that people take a long time to understand this. Programmers expects things to have a simple explanation behind it since in programming everything does have a simple explanation, since computers can only do very few things. But in math you quickly expand to concepts beyond, even as early as calculus you add infinities and continuous quantities and how to work with those, you can't ever program those things since those operations cannot be expressed using finite instructions. There is no "this function performs an integral on this other thing and is expressed using these steps of operations".
For example, lets say you want to sum 1/N^2 for N from 1 to infinity. How would you express that? You can't do it in a loop, since the loop never ends. You can stop at an arbitrary point, but how do you know that stopping there results in a good value? You can't, unless you do the math, calculus is a good tool to solve that. With it we can show that summing 1/N results in an infinite result, while 1/N^2 settles on a value and creates a way for you to calculate that value with error bars.
And now you're telling me that Mathematica, Maple and the like don't exist. Yeah, we can't express the concepts directly, but if we're very good at one thing, it would be emulation.
> How would you express that?
Like this:
Would do the same with the integral. There's even that strange elongated S and everything...EDIT: obviously, I still didn't program it myself! I'm dumb, after all. But someone apparently did.
EDIT2: and that person also made sure that even the dumber coders (like me) can use, and benefit from, the tool they wrote.
For example, when you write a sum in python then the computer will sum the values and do the work for you. But when you write an infinite sum like that, you the human still has to do all the math work figuring out what to do with it, so you didn't circumvent the need to do math at all. The computer doesn't understand the sum. You can program simple simple rules for it to try to simplify it, but it still isn't nearly as versatile as a skilled human. For example this problem is a basic problem from a first year course, it makes sense that someone programmed in the human derived solution for it, but they haven't actually programmed the logic for infinite sums into the computer.
That's obvious? Computers don't understand anything. They're just machines. What did you expect?
> you the human still has to do all the math work figuring out what to do with it
Yeah. But with this tool, as dumb as I-the-human am, I am able to do that math even if I don't understand it, but more importantly I also have a much better chance of understanding what's happening. That's because the explanation is close to the place where it's needed (in a docstring, one key press away) and it is expressed in a way that I'm most familiar with (as code).
You're going to tell me that if I want to use math, I have to let go of every preconception I had and crawl into Plato's cave, to see the light in the darkness. I'm too dumb to do this, unfortunately, and a little bit too busy. It took me almost five years to really master C++ programming after all, while you skimmed Stroustrup's book and went on to write Qt the next day.
> but they haven't actually programmed the logic for infinite sums into the computer
They did. Just not the whole of it. Are you sure it's impossible to improve to the point where a skilled human no longer holds the definitive advantage?
Computers can't understand anything. But they are very good at blindly following the rules. The question is not what to do to make computers understand infinity, but what set of rules can emulate the real thing well enough. We're getting there. Maybe in another 100-200 years CS will swallow maths, who knows?
They do arithmetic's perfectly.
> You're going to tell me that if I want to use math, I have to let go of every preconception I had and crawl into Plato's cave, to see the light in the darkness.
No, math is a huge with an extreme amount of flexibility and power. You have lists of solutions like this one, you can add those in a program and then have the program look them up and spit out answers, with maybe some simple algebra testing:
https://en.wikipedia.org/wiki/List_of_mathematical_series
But nobody will be able to just program all solutions to all math problems like that, or give you a bible of everything to look up, as nobody knows what math is useful to you specifically. This is why every field that applies math tend to create their own subfield in math, like mathematical physics or chemistry or statistics or computer science. They create their own compendiums of useful notation and results that you can use. Nobody understands even a fraction of all of that and where it is useful, instead you will have to understand what discipline the paper you are reading is coming from, usually noted somewhere on the paper, and then look that up. For someone doing computer science you mostly look at the subfields statistics, probability, combinatorics and algorithmic complexity. Most of those papers will be written by people who do math mostly on the side though, not pure mathematicians. Pure mathematicians mostly works on problems that are too abstract for programming. (Pure vs applied, probability statistics and combinatorics are examples of applied math fields).
Edit: So from my perspective the main problem you have is that CS professors have yet fleshed out and formalized the subfield Computer Science math. When I studied higher level physics all the math was taught by physics professors, since mathematicians doesn't understand that math, it is mostly developed by physicists. Why doesn't CS do the same? You can't expect mathematicians to do that work for your field, as there are too many fields depending on math and too few mathematicians to handle everything.
So does abacus. Even something like this: https://www.youtube.com/watch?v=GcDshWmhF4A is capable of doing arithmetic. Does that mean that the marbles somehow understand what addition is?
> look them up and spit out answers,
Wolfram Alpha does this, and let me tell you: things I couldn't understand listening to lectures and trying to work through handbooks (well, most of them were hand-me-downs from the '60s, so take that as you will), became clear in just a few days of work. I didn't cancel my subscription for 2 years after that, out of gratitude.
But, most of the papers out there don't use interactive platforms for publishing. Even though they could. But as you said, that would be too much work, so they simply don't. I accepted it, it's all good now.
> Pure mathematicians mostly works on problems that are too abstract for programming.
I was pretty sure we're not talking about "pure" math. I mean, we both agree that that particular branch is of interest to a tiny minority. Of course the pure mathematicians can stay inside their ivory tower forever, nobody cares. Notice that I repeated the word "use" multiple times. I was trying to imply having a goal that's not mathematical in nature.
EDIT:
> Why doesn't CS do the same? You can't expect mathematicians to do that work for your field, as there are too many fields depending on math and too few mathematicians to handle everything.
I... don't know. That's a very good question. Yes, teaching math in CS depts is generally outsourced to mathematicians. It was like that for me. You may be right, that could be the reason to all my problems.
So, you mean that if we want to have math that's understandable for programmers, we need to make it ourselves? Fair enough if so, I think.
Wolfram Alpha didn't program everything, but it includes most things you will see in an undergrad. In my undergrad we used a 500 page reference book containing most of the formulas and notations of STEM undergrad programs, wolfram alpha is basically that book written as a program.
> I was pretty sure we're not talking about "pure" math. I mean, we both agree that that particular branch is of interest to a tiny minority. Of course the pure mathematicians can stay inside their ivory tower forever, nobody cares. Notice that I repeated the word "use" multiple times. I was trying to imply having a goal that's not mathematical in nature.
But then your main problem are mostly with computer scientists or statisticians math papers, not mathematicians. The problem with papers written by people who apply math is that usually they don't really understand the math, they just apply it, so they can't explain it well. There isn't much you can do about that. And papers written by pure mathematicians, they sure do understand what they do, but it uses mountains of abstractions in order to make the problem possible for a human to reason about so it wont be easy to understand either.
For example, most who study statistics views the math as a tool to solve problems. They wont put in the effort to fully understand it, and can therefore just give you the second hand explanations they learned themselves, and the result is that those explanations likely will be missing a lot of things. Pure mathematicians however wont understand the way you want to use the math as a tool, so they might have a full explanation or the math but they wont understand how to apply it in your field, so their explanations will also be bad. What you need is someone who did the work to study the pure math side, and then did a lot of work applying math, and then explain it. Such people are extremely rare though. I went that route, I knew a few others who did, but most of those I know didn't. They either went pure or applied, not both.
Exactly! Which is why I love it, and why I think it would be good to extend it to encompass more than just that one book, too.
> The problem with papers written by peo I went that route, I knew a few others who did, but most of those I know didn't. ple who apply math is that usually they don't really understand the math, they just apply it, so they can't explain it well.
This is already a third time you said something that made me really think again about the issue...
It sound very plausible. I think I've probably never even seen a proper maths paper. I've been struggling with math, but it didn't occur to me that a part of the reason (other than me being dumb) was that the authors struggled with it too! Were I in their place, I would definitely also try to reduce the amount of explanations to the absolute minimum, so that there's less of a chance I'll be called out for it.
EDIT:
> I went that route, I knew a few others who did, but most of those I know didn't.
I'm not joking, this is very serious: is it possible to learn from you somewhere/somehow? Because you're incredible, honestly, your patience is not running out even now, this deep into comments thread; and you really can speak in programming - this much I can see - and I think you're at least as competent on the other side (though I obviously can't judge it myself, so I'm deferring to (your) authority that I came to believe in). I'd be incredibly happy if I could somehow get a bit of your help.
(Seriously, I'm not sarcastic or anything, this is 100% honest. EDIT2: well, I still disagree with you on some points :P but I think if it's from you, I wouldn't have a problem with actually listening to you)
I agree with this. Just that writing such programs is hard, it isn't something anyone can do.
> I've been struggling with math, but it didn't occur to me that a part of the reason (other than me being dumb) was that the authors struggled with it too!
I studied both theoretical physics and pure maths to a grad level. You really notice how the physics professors struggles explaining the math and gloss over things, while the mathematicians doesn't. The physicist are experts at solving and reasoning about physics problems, not maths, as soon as the math solves their problem they stop thinking about the math. It is a part of the reason I went to math afterwards, I wanted better explanations.
> I'm not joking, this is very serious: is it possible to learn from you somewhere/somehow? Because you're incredible, honestly, your patience is not running out even now, this deep into comments thread; and you really can speak in programming - this much I can see - and I think you're at least as competent on the other side (though I obviously can't judge it myself, so I'm deferring to (your) authority that I came to believe in). I'd be incredibly happy if I could somehow get a bit of your help.
I think I have some mental disability where my feelings don't remember things. So even though I hated some of your other comments that doesn't mean anything about other things. I just like discussing things and explaining, taking my time to think etc.
If you want to talk about something you can reach me at {removed}. I'll remove this later. I don't really care much about people learning who I am, but I don't want it to be obvious. I love discussing things, but few people really like discussions like this. So just hit me up and we can talk. I don't always have the right views and opinions, but I never stop thinking about arguments or reasons. I just changed my mind so many times that by now I've seen most arguments and it is rare to change my mind more now.
Edit: You can ask me about math or anything.
You're not the only one - I also hated some of the things you've said about programming; I couldn't help it, programming is a large part of my identity, so I got defensive really fast.
But that doesn't matter, I mean, we're just talking here, I think none of us has really any bad intentions, and I really benefited from this exchange a lot. And it's not like you wanted to specifically hurt me with what you said, so even if I felt hurt I won't cry you a river because of that :)
> If you want to talk about something you can reach
Thank you! Saved it. The thing is, I have this inferiority complex caused by not understanding much about math even if I try to learn it. In college I was already good at programming, so I didn't have much interest or need to learn math back then. And later, when I realized that it would actually be a good idea to learn some, I found myself completely alone with it. I mean, nobody around me cared at all, there were no lecturers to go and ask questions to, no peers that would be solving the same problems at the same time, nothing, just the Internet, Wolfram, and a lot of head banging. I realized too late that I've made it this hard for me basically myself.
But what's done is done, so I started thinking about how to cope with the situation. And I came up with the idea that if someone explained maths to me in terms I'm familiar with from programming, it would be much easier for me to digest. But, there are no materials like that. That's understandable given the very specific path you'd need to take to be able to write or create them... And you've taken that exact path. Honestly, at this point I wouldn't mind you calling me an idiot and programming a children's game, if only I could understand the things that were eluding me for years.
Again, thank you. I will write an email, definitely.
Also, although I'm saying that learning programming is relatively easy, it is a field that is hard to master. The difficulty isn't understanding what a function does, but understanding how to architect a huge complex system so that you can still reason about it afterwards. Those systems will all be made up of those simple instructions though. That is different from math, in math the systems you invent often are entirely new things and can't get divided into simpler things.
Honestly
Leave math notation whatever it is
Just do a better job of documenting it
I disagree. Math notation has evolved to be as it is because it is useful for the purpose of doing math. If there were some way of doing it better, people would be evolving to be doing so.
In some ways they are ... people are using computer algebra packages more for a lot of the grunt work, and are using proof assistants to verify some things, but there's a lot of math that's still done by sketching why something is true and letting the reader work through it. Math notation isn't about executing algorithms, it's about communicating what the result is, and why it works.
"Doing Math" is not "Writing Programs", so math notation is different.
I don't see why wouldn't it be some kind of local maximum. Maybe there are better ways, but they are sufficiently far away from current notation, that they aren't even thought about.
It's absolutely not used only because "this is how people have been doing it for a long time". It's a very efficient notation to decode.
If programmers would write code like that (even fortran programmers use 3 characters), noone would be able to understand the code...
Mathematical writing is similar. At some point you have to assume an audience, which may be more or less mathematically literate. If you're writing for graduate students or experts in a domain, you don't include a tutorial and description of literally every term, you can assume they're familiar with the domain jargon (just like C programmers can assume that others who read their program understand pointers and other program elements). Whenever something is being used that is unique to the context, a definition is typically provided, at least if the writer is halfway decent.
If the audience is assumed to be less mathematically literate (like a Calculus course textbook audience), then more terms will be defined (chapter 1 of most Calculus books include a definition of "function"). But a paper on some Calculus topic shouldn't have to define the integral, it should be able to use it because the audience will be expected to understand Calculus.
It doesn't carry over to programming where explicit variables are better suited. In mathematics one is dealing with relatively few concepts compared to a typical program so assigning a single letter (applied consistently) to each is not a problem. This is not so in programming, except for a few cases like using i and j for loop variables (back when programs had explicit loops).
Take a look at this and tell me it would be easier to understand if all the symbols were words instead of single characters: https://www.grc.nasa.gov/www/k-12/airplane/nseqs.html
1. They explain all abbreviations at the top.
2. There is a lenghty text explaining the formula.
3. It's mathematically pretty easy if you know partial differentation.
Also scientists and engineers write pretty horrible code....
From a more science based background i often think programmers write horrible code as i search in vain for where anything actually happens in a sea of abstractions.
https://docs.oracle.com/javase/tutorial/java/generics/types....
Yes this is why we all use Hungarian notation and GNU indentation.
I recall my disappointment when as an artist I started studying different maths for use in animation. I would open a book from a university library and expected to find a page with summary of notation used in the book. Maps have this, I would grumble, why not math books?
Just to back up this point: In probably every university-level math book I've read, they introduce and explain all the notation used. In the preface and/or as concepts are introduced.
There are lists at wikipedia [1] and other places, but I'm not sure how valuable it is out of context.
[1] https://en.wikipedia.org/wiki/Glossary_of_mathematical_symbo...
Different authors, different books, different audiences, and different contexts.
I guess if you call your book "Introduction to..." you ought to do that. And it seems that all books were called that, regardless of how narrow and advanced the rest of the title was :)
some people literally make the notation up as they go along
I wrote it many times already and am bit tired of it, so just a quick summary:
- programmers[1] also use cryptic notation and tend to think in concepts rather than syntax
- nevertheless, programmers spend a lot of time commenting the code, documenting it, specifying it, and so on.
- why can't mathematicians emulate it? What is so wrong about attaching additional few pages to every paper that nobody wants to do it? Pages with explanation of the syntax used, even the common bits. And you know what they could also do? Link to external resources with explanations! But no. This is not happening. Do their PDFs have a size limit or something? Is inserting a link into a paper considered some kind of blasphemy?
I don't know the reason, but in all the discussions on this topic mathematicians almost always underestimate the importance of knowing the syntax. It's much more important for comprehension than they tend to admit. And in the end they do exactly nothing to make the syntax more approachable for newcomers. And then newcomers are out-goers in a heartbeat. It's so obvious that I can't help thinking it's premeditated...
EDIT: [1] Among many others, of course.
That's actually doable... ;) K&R is rather terse, what, 1/5 of Stroustrup or something like that. But I digress.
More on topic: there's also a class of programs that DO come with a book attached - or rather, multiple books, for every level; if not included outright in the distribution then at least linked to in the "learn" tab on a homepage. They're called programming languages. So, it can be done. That's all I want to say.
Programs don't do this, why do you expect every math paper to do it?
> Link to external resources with explanations!
This is called a bibliography, every book that isn't so old that it is the definition and paper includes one. In many textbooks there are also appendices which cover (some of) the foundational material. And most include sections (often in the front and back covers) that show the symbols and their names, if not their definitions.
Well, I don't. It was you moving the goalpost. I talked about "a few pages", and you made "a book" out of it. I simply don't agree with you here and so I have very little to add at this point, sorry.
> This is called a bibliography, every book that isn't so old that it is the definition and paper includes one.
No. Bibliography is like a list of libraries you depend on. It has literally nothing to do with explaining the syntax close to where it's used.
> appendices which cover (some of) the foundational material.
Ha, ha, ha. No. If it's not front and center, then it doesn't count. I'm sorry, but I'm really tired of this subject. I would be willing to compromise more if that wasn't the case, believe me.
> show the symbols and their names, if not their definitions.
Ok. Putting that on the cover is a bit strange, but ok. That's a nice, but very small, step in the right direction. Please iterate and improve upon it!
EDIT: again, because I missed it at first:
> Programs don't do this, why do you expect every math paper to do it?
Programs do come with man pages! And tutorials, interactive tours, contextual help, and more. Emacs comes with 3 books, and a tutorial. (GNU) libc has a book to it. Firefox has a whole portal (MDN) as its documentation. Visual Studio comes with MSDN and a huge amount of explanatory material. And when it comes down to code, you have auto-completion, go to definition, search for callers; you can hover over a symbol and you get a popup with documentation and types; you can also trace execution, stop the execution, rewind the execution (if you have good debugger), experiment with various expressions evaluated at different points.
The most important difference between math and programming (or CS)is that programmers can (and do) build automated tools that help the next generation of newbies get into programming, while mathematicians can't. It's just that they don't want to admit this is a weakness, and only fortify more in their ivory towers.
TLDR: I just can't see how you can even put math papers and programs on the same scale in terms of accessibility!
You are comparing big teams and products to a single guy writing a paper intended for a niche audience and to be read maybe a few hundred times if he is lucky. People makes mistakes and sometimes forget to document everything, they try to document everything though as can be seen in their papers where most things are documented well, but sometimes they miss things and unlike code you don't have compiler warnings telling you about it. And given how few people read those papers it isn't worth investing in a team to go through and update all of those papers to properly add definitions for everything they missed.
The equivalent to those programs in math would be high school textbooks, and they are extremely well documented and easy to read in most cases.
Thank you. There's nothing else left to discuss.
If you still think that is a problem then start some open source organization to fix that. Nobody has done that yet though since so few people care about math papers, but since you feel so strongly about this you could do it, someone has to be the one to start it.
(And, sorry for being a jerk in this thread. I said too much in a few places, exactly because I didn't think of innocent mathematicians who might read it. I'm still convinced that there is a lot that math can borrow from CS and SE, but I'm definitely going to argue this differently.)
For example, when learning programming you have to learn about arithmetics, pointers, functions and structs. And that is it, now you can program everything as long as you have an API to program against since everything else builds on top of those. That is equivalent to learning algebra in math. You can do a lot of things using algebra, but every new course introduces a lot of new concepts that can't be expressed in elementary algebra. Programming however becomes the art of expressing everything using these very simple instructions, while math is the art of creating instructions that can express things simply.
You just said they don't because it's not worth it. So which is it in the end?
> In programming you learn an instruction set, and then you use those instructions to compose programs, therefore learning that instruction set is relatively easy.
Yeah, sure. Elementary arithmetic, like 22 and so on, is also not that hard to learn. What you're saying is barely scratching the surface of what programming is, then misrepresent it as the whole truth.
It's not that programming is easy. It's just that you can still earn a very good salary without ever touching the harder and more complex parts. People who knew how to do 22 were also well-paid at some point in the past, yet Euclid still managed to write his Elements. You're like an actuary (working under a Pharaoh to count the cattle, let's say) who says that writing Elements is as easy as his current job (you could do it yourself, but you're too busy right now, so maybe later).
> For example, when learning programming you have to learn about arithmetics, pointers, functions and structs.
And then you try to write a JIT for a dynamic (and concurrent, let's say, as Erlang succeeded in this in the last release) language and, with just "arithmetics, pointers, functions and structs", it becomes obvious it's not nearly enough. Then you start reading books and papers and soon you realize that 5 years have just passed. And JITs are not really that complex!
> Programming however becomes the art of expressing everything using these very simple instructions.
Programming is an art of creating new instructions, both out of thin air and out of already existing instructions. The fact that you seem to think "the instruction set" (meaning concepts that have to be understood, I think?) is constant suggests to me that you you're not very interested in history of the field.
I actually wrote a JIT for one of Googles internal machine learning frameworks, so yes. It was used in production for Google search, Google ads etc. Only a very small part of that traffic, of course, I didn't do something huge, but at least I know what it takes to make such systems production ready and performant enough, as these systems are extreme resource hogs. So I know very well what it takes to create a language, parse it, execute it, optimize it and ensure that there are no errors in production and help the researchers who are supposed to use it to debug when errors happen.
I learned programming by just implementing a lot of complex algorithms and systems. I wrote several high throughput http servers using sockets and threads for example. I also got good enough at competitive programming to occasionally place in single digits in some world programming competitions, but mostly double digits. All of that is very easy to understand compared to math, math just forces you to bend your mind in strange ways, programming is super concrete.
I have no doubts that programming will one day get as deep and mindbending as math, physics definitely is for example, but today it isn't even close.
Textbooks routinely have a list of symbols and their definitions.
But, from my experience, notation is rarely the problem. I’d bet that the root cause of OP’s frustration is lack of understanding of concepts, not notation. (But, of course, it’s hard to say more without specific examples).
This isn't a criticism, it's just that notations vary wildly in those areas, and there's lots of cross-over of notations, not all of which agree with each other.
I'm not an expert, but I've had some exposure to the problem(s).
I presumed we were talking about basic mathematics here since new notation is the least of your worries when your thinking about fibre bundles and cohomologies, but I can’t really think of any significant overlap in notation that would be different between the fields I’ve come across. Could you give some examples?
But I remember sketching an algorithm to someone and just inventing notations on the fly as I did so, knowing that they would simply be ways to remember the underlying ideas.
Even so, at 1st year undergrad the notations used in Mathematical Physics vary from those used in Introductory Graph Theory, and again from Real Analysis. But once the reader knows the underlying semantics, the actual notation is mostly a non-issue (as you know).
The comment you linked to is pretty strange, given the limited number of symbols in the Greek and Latin alphabets, there’s obviously going to be a lot of reuse, but I can’t see how that could really cause any confusion though, unless you’re just grabbing books from the shelf and opening them at random. And even then, it should almost always be clear from context if pi is a number or a plane, and if it’s a function that will be visually distinguished.
I’ve seen non-mathematicians use words as names of variables and functions, it always makes me shudder. I unsuccessfully tried to introduce Hebrew letters as an alternative,when I discovered how to use the in Latex, but it never caught on…
I actually find math notation incredibly intuitive and effective, I think it’s close to optimal. In fact it’s only after getting into programming that it even occurred to me how elegant and magical it is. I understand what things mean and can write things myself, without being able to exactly explain how, or to translate it into a fully specified system that a computer would understand.
No, that belief isn't the problem; that actual status quo itself is obviously the problem. There are numerous notations and authors don't explain what they are using, assuming everyone has recursively read all of their references depth-first before reading their paper.
Of course you still wont be able to understand most math papers written by pure mathematicians, but it should be fine for whatever you need in CS. I know all the topics on that page, it is just a very fleshed out math major.
In the end you might eventually read all of them, but it's not the efficient thing now.
I.e. why are you knocking on this gate, if you're not worthy of passage?
Most people here talk about stuff you learn in undergrad, not some esoteric beyond grad math here.
It's formula 1.12 at the start of section 1.5 on this page converted into a Scheme representation, in section 1.5.2.
Of course, even that isn’t quite the standard notation; it’s using a less ambiguous notation which they invented for the book. From the preface (https://mitpress.mit.edu/sites/default/files/titles/content/...):
---
Classical mechanics is deceptively simple. It is surprisingly easy to get the right answer with fallacious reasoning or without real understanding. Traditional mathematical notation contributes to this problem. Symbols have ambiguous meanings that depend on context, and often even change within a given context.¹ For example, a fundamental result of mechanics is the Lagrange equations. In traditional notation the Lagrange equations are written
d/dt ∂L/∂q̇ⁱ − ∂L/∂qⁱ = 0.
The Lagrangian L must be interpreted as a function of the position and velocity components qⁱ and q̇ⁱ, so that the partial derivatives make sense, but then in order for the time derivative d/dt to make sense solution paths must have been inserted into the partial derivatives of the Lagrangian to make functions of time. The traditional use of ambiguous notation is convenient in simple situations, but in more complicated situations it can be a serious handicap to clear reasoning. In order that the reasoning be clear and unambiguous, we have adopted a more precise mathematical notation. Our notation is functional and follows that of modern mathematical presentations.² An introduction to our functional notation is in an appendix.
Computation also enters into the presentation of the mathematical ideas underlying mechanics. We require that our mathematical notations be explicit and precise enough that they can be interpreted automatically, as by a computer. As a consequence of this requirement the formulas and equations that appear in the text stand on their own. They have clear meaning, independent of the informal context. For example, we write Lagrange’s equations in functional notation as follows:³
D(∂₂L ∘ Γ[q]) − ∂₁L ∘ Γ[q] = 0.
The Lagrangian L is a real-valued function of time t, coordinates x, and velocities v; the value is L(t, x, v). Partial derivatives are indicated as derivatives of functions with respect to particular argument positions; ∂₂L indicates the function obtained by taking the partial derivative of the Lagrangian function L with respect to the velocity argument position. The traditional partial derivative notation, which employs a derivative with respect to a “variable,” depends on context and can lead to ambiguity.⁴ The partial derivatives of the Lagrangian are then explicitly evaluated along a path function q. The time derivative is taken and the Lagrange equations formed. Each step is explicit; there are no implicit substitutions.
---
I think you can see that the Scheme code is a direct and very simple translation of the equation.And it has the advantage that you can run it immediately after typing it in, assuming you have a coordinate path to pass to it. They immediately go to a concrete example:
As the book says, “That the residuals are zero indicates that the test path satisfies the Lagrange equations.”They then give another example, symbolic this time:
Wikipedia has been helpful sometimes but otherwise I have found reading a lot of papers on the same topic has been useful. However, this is kind of an "organic" and slow way of learning notation common to a specific field.
Tough love, kids.
That covers most of the basics, but I think your real question is how to learn all those concepts, not just the notation for them, which will require learning/reviewing relevant math topics. If you're interested in post-high-school topics, I would highly recommend linear algebra, since it is a very versatile subject with lots of applications (more so than calculus).
As ColinWright pointed out, there is no one true notation and sometimes authors of textbooks will use slightly different notation for the same concepts, especially for more advanced topics. For basic stuff though, there is kind of a "most common" notation, that most books use and in fact there is a related ISO standard you can check out: https://people.engr.ncsu.edu/jwilson/files/mathsigns.pdf#pag...
Good luck on your math studies. There's a lot of stuff to pick up, but most of it has "nice APIs" and will be fun to learn.
https://dlmf.nist.gov/front/introduction
Of course, if the real problem is that you need to learn some mathematical constructs, that is a different problem. The good news is that there's a lot of material online, the bad news is that not all of it is good... I often like Khan Academy when it covers the topic.
I wish you luck!
I was a college math major, and I admit that I might have flunked out had I been told to learn my math subjects by reading them from the textbooks without the support of the classroom environment. It may be that the books are "easy to read if a teacher is teaching them to you."
Talking and writing math also helped me. Maybe it's easier to learn a "language" if it's a two way street and involves more of the senses.
Perhaps a substitute to reading the stuff straight from a book might be to find some good video lectures. Also, work the chapter problems, which will get your brain and hands involved in a more active way.
As others might have mentioned, there's no strict formal math notation. It's the opposite of a compiled programming language. In fact, math people who learn programming are first told: "The computer is stupid, it only understands exactly what you write." In math, you're expected to read past and gloss over the slight irregularities of the language and fill in gaps or react to sudden introduction of a new symbol or notational form by just rolling with it.
Think about it this way. A scientist, wanting to communicate his ideas with fellow academics, is not going to spend more than half the paper on pedantics and explaining notations which everyone in their field would understand. Else what is the purpose of creating the notations? They might as well write their formulas and algorithms COBOL style!
Ultimately mathematics, like most human-invented languages, is highly tribal and has no fixed rules. And I believe we are much richer for it! Mathematicians constantly invent new syntax to express new ideas. If there was some formal reference they had to keep on hand every time they need to write an equation that would hamper their speed of thought and creativity. How would one even invent something new if you need to get the syntax approved first!
TL;DR: Treat math notation as any other human language. Find some introductory texts on the subject matter you are interested in to be "inducted" into the tribe
1) Search youtube for multiple videos by different people on the topic you want to learn. Watch them without expecting to understand them at first. There is a delayed effect. Each content creator will explain it slightly differently and you will find that it will make sense once you've heard it explained several different times and ways.
I will read the chapter summary for a 1k page math book repeatedly until I understand the big picture. Then I will repeated skim the chapters I least understand until I understand its big picture. I need to know the terms and concepts before I try to understand the formulas. I will do this until I get too confused to read more then I will take a break for a few hours/days and start again.
2) You have to rewrite the formulas in your own language. At first you will use a lot of long descriptions but quickly you will get tired and you will start to abbreviate. Eventually, you get the point where you will prefer the terse math notation because it is just too tedious to write it out in longer words.
3) You might have to pause the current topic you are struggling with and learn the math that underlies it. This means a topic that should take 1 month to learn might actually take 1 year because you need to understand all that it is based on.
4) Try to find an applied implementation. For example photogrammetry applies a lot of linear algebra. It is easer to learn linear algebra if you find an implementation of photogrammetry and try to rewrite it. This forces you to completely understand how the math works. You should read the parts of the math books that you need.
I've been repeatedly called a gatekeeper for this stance here on HN, but really: notation is a red herring. To understand math written in "math notation", you first have to understand the math at hand. After that, notation is less of an issue (even though it may still be present). Of course the same applies to other fields, but I suspect that the question crops up more often regarding mathematics because it has a level of precision not seen in any other field. Therefore a lot more precision tends to hide behind each symbol than the casual observer may be aware of.
Then some textbooks with exercises (e.g. Axler on lin alg).
The notation is usually an expression of a mental model, so just approaching via notation may cause some degree of confusion.
Or that the notation differs from books to books ?
(In my case, I learned the notation via French math textbooks, and in the first day of college/uni we litteraly went back to "There is a set of things called natural numbers, and we call this set N, and there is this one thing called 0, and there is a notion of successor, and if you keep taking the successor it's called '+', and..." etc..
But then, the French, Bourbaki-style of teaching math is veeeeeeeery strict on notations.
A lot of it is convention, so you do need a social approach - ie asking others in your field. For me it was my peers, but these days there’s Math stack exchange, google, and math forums. Also, first few chapters of an intro Real Analysis text is usually a good primer to most common math notation.
When I started grad school I didn’t know many math social norms, like the unstated one that vectors (say x) were usually in column form by convention unless otherwise stated (in undergrad calc and physics, vectors we’re usually in row form). I spent a lot of time being stymied by why matrix and vector sizes were wrong and why x’ A x worked. Or that the dot product was x’x (in undergrad it was x.x). It sounds like I lacked preparation but the reality was no one told me these things in undergrad. (I should also note that I was not a math major; the engineering curriculum didn’t expose me much to advanced math notation. Math majors will probably have a different experience.)
As a sidenote I have MSc in Physics with a good dollop of maths involved and I am quite clueless when looking at a new domain so it's not as if university degree in non-related subject would be of any help...
https://www.gutenberg.org/ebooks/33283
When that fails, math.stackexchange.com is a very active and helpful resource. You can ask what certain notation means, and upload a screenshot since it’s not always easy to describe math notation in words.
If you don’t want to wait for a human response, Detexify (https://detexify.kirelabs.org/classify.html) is an awesome site where you can hand draw math notation and it’ll tell you the LaTeX code for it. That often gives a better clue for what to search for.
For example you could draw an upside down triangle, and see that one of the ways to express this in LaTeX is \nabla. Then you can look up the Wikipedia article on the Nabla symbol. (Of course in this case you could easily have just searched “math upside down triangle symbol” and the first result is a Math Stackechange thread answering this).
As all the others already told you. you don't learn by reading alone.
Learning the Greek alphabet pays off.
[0,ξ[={x|0<=x<ξ}
Which was fun trying to figure out when written in handwriting where ξ,{,} all look the same.
If you can't figure out what it's supposed to be, this equation starts with a half-open interval denoted: [ξ,0[. This notation has some advantages but can be make things hard to read.
Honestly, most math formulas can be turned into something that looks like C/C++/C#/Java/JavaScript/TypeScript code and become infinitely more readable and understandable.
Sadly, TypeScript is one of the languages that is attempting to move back to idiocy by having generics named a single letter. Bastards.
Now, of course, you have the internet and it can tell you what the square root of 217 is. Consequently, the value of these used CRC handbooks is low and many are available on eBay for a few dollars. Pick up a cheap one and in it you will find many useless pages of tables covering square roots and trigonometry, but you will also find pages of formulas and explanations of mathematical terms and symbols.
Don't pay too much for these books because the internet and handheld calculators have pretty much removed the need from them, but that is how I first learned the meanings of many mathematical symbols and formulas.
You might also look for books of "mathematical formulas" in you local bookstores. Math is an old field and the notations you are stumbling over have likely been used for 100 years, like the triangle you were wondering about. (Actually the triangle is the upper case greek letter delta. Delta T refers to an amount of time, usually called an interval of time.)
Unfortunately, because math is an old subject it is a big subject. So big that no one person is expert in every part of math. The math covered in high school is kind of the starting point. All branches of mathematics basically start from there and spread out. If you feel you are rusty on your high school math, start there and look for a review book or study guide in those subjects, usually called Algebra 1 and Algebra 2. If you recall your Algebra 1 and 2, take a look at the books on pre-calculus. The normal progression is one year for each of the following courses in order, Algebra 1, Geometry, Algebra 2, Pre-Calculus, and Calculus. This is just the beginning of math proficiency, but by the time you get through Calculus you will be able to read the paper you referenced.
Is it really a year for each of those subjects? It can be done faster but math proficiency is a lot of work. Like learning to be a good golfer, it would be unusual to become a 10 handicap in less than 5 years of doing hours of golf each and every week.
Calculus is kind of the dividing line between high-school math and college level math. Calculus is the prerequisite for almost all other higher level math. With an understanding of Calculus one can go on to look into a wide range of mathematical subjects.
Some math is focused on its use to solve problems in specific areas; this is called applied math. In applied math there are subjects like Differential Equations, Linear Algebra, Probability and Statistics, Theory of Computation, Information & Coding Theory, and Operations Research.
Alternatively, there are areas of math that are studied because they have wider implications but not because they are trying to solve a specific kind of problem; this is called pure math. In pure math there are subjects like Number Theory, Abstract Algebra, Analysis, Topology & Geometry, Logic, and Combinatorics.
All of these areas start off easy and keep getting harder and harder. So you can take a peek at any of them, once you are through Calculus, and decide what to study next.
https://www.amazon.com/Mathematical-Notation-Guide-Engineers...