Live data from Hacker News

Mathematical Notation Is Awful

blackhole12.blogspot.com

61–70 of 97 posts

Re: Mathematical Notation Is Awful

#61
post #59
post #50

Earlier quoted context omitted.

I have taken ten years of math in school and then calculus, discrete math, linear algebra. That's all useless if I want to follow math in a simple research paper because they're using notation common in THAT field and it has nothing to do with the notation in another math field. And it's all V hat superscript pi subscript h. It's not like code, where I get descriptive variable names. And you thought pi meant pi? No,…

Reading a "simple" research paper requires a different approach compared to reading a newspaper or a blog. I hope the following explanation helps. The notation actually helps to keep things simple. I think of it as a kind of metalinguistic programming [1] where a notation is introduced which then makes the important parts easier to understand. I am not mathematically inclined but I have to read papers containing math…

> The second time I have a pen and a highlighter where I actually label the mathematical symbols with arrows and words (using the textual descriptions).

Gee, it's almost as if we should be writing the words out instead of writing one letter variable names.

Funny how programmers found this to be good practice and mathematicians still write with a notation that's purposefully unreadable.

Re: Mathematical Notation Is Awful

#62
post #52

Funny, I said the same about Andrew Ng's ML course. Ultimately, if what you're teaching is going to end up in software, why use math at all? Use code or pseudo code. I don't think it's bad to just give the working algorithm without having to prove the math. Really how many students will end up being computer scientists anyway, and research and write about new methods of doing AI, and do the actual math? So few. I gue…

Understanding underlying math is what allows people to create improved algorithms. If it's just "implement scikit" then you barely even need a developer.

Understanding why things work is still important and why software companies still routinely test on algorithm design.

Re: Mathematical Notation Is Awful

#63
post #61
post #59

Earlier quoted context omitted.

Reading a "simple" research paper requires a different approach compared to reading a newspaper or a blog. I hope the following explanation helps. The notation actually helps to keep things simple. I think of it as a kind of metalinguistic programming [1] where a notation is introduced which then makes the important parts easier to understand. I am not mathematically inclined but I have to read papers containing math…

> The second time I have a pen and a highlighter where I actually label the mathematical symbols with arrows and words (using the textual descriptions). Gee, it's almost as if we should be writing the words out instead of writing one letter variable names. Funny how programmers found this to be good practice and mathematicians still write with a notation that's purposefully unreadable.

I feel the equations are nicer when they are small and so I have sympathy for people using short variables names.

One thing I would like is to see is more use of labels as described here:

https://tex.stackexchange.com/questions/36863/adding-labels-...

Re: Mathematical Notation Is Awful

#64

This a thousand times. I boycott math notation. My most memorable math moments are: - giving a talk on notation in high school (I was not tasked to do this, I decided to do it on my own) because I was FREAKED OUT by how we were using tons of symbols nobody had ever explained or defined - converting all Math I encountered in University to Common Lisp programs to get rid of the shit notation - bursting into crazy laugh…

Out of curiosity, are you familiar with SICM ? https://mitpress.mit.edu/sites/default/files/titles/content/...

Re: Mathematical Notation Is Awful

#65
post #50
post #13

These are just issues that someone unfamiliar with a field would face. None of them are problems for those of us in the field. First, the expectation thing. He's using a special case, E(X), and complaining that the more general case doesn't follow the general case. It's like saying "Well the plural of mouse is mice but the plural of house isn't hice!". The general definition of expectation (for a discrete probability…

I have taken ten years of math in school and then calculus, discrete math, linear algebra. That's all useless if I want to follow math in a simple research paper because they're using notation common in THAT field and it has nothing to do with the notation in another math field. And it's all V hat superscript pi subscript h. It's not like code, where I get descriptive variable names. And you thought pi meant pi? No,…

I've taken years of English Studies in school, then German, Greek, Russian. That's all useless if I want to read a French book, because they are using a language common in THAT country, and it has nothing to do with the language in another country.

That's not a direct equivalent, but it is close; somewhat equivalent but distinct notations arise in Math and Physics because authors weren't working together (much like natural languages). But otherwise it is "turtles all the way down" - it can only be "simple" or "needlessly complicated" if you assume something about the reader's knowledge.

All of

    integrate(f(x)dx,dx)
    sum f(x_i) for i=1..n
    f(x_1) + f(x_2) + .... + f(x_3)
Are essentially equivalent to a mathematician, often with a preference for the first, whereas someone unfamiliar may claim that only the 3rd is clear and the others are unreadable. A friend of mine was in a classroom where the lecturer started with the first form, when to the 2nd and 3rd over class objections, and finally switching to something like "our function result at the first data point, added to our function result at the second data point, ....". This was an OR class for students pursuing an MBA.

Re: Mathematical Notation Is Awful

#67

Earlier quoted context omitted.

You are right, and the deeper source of the authers beef seems to be that he wants mathematics to be about textual rules. Now that's a fine thing in a computer language -- and there are philosophers who say mathematical truth is no more than computation. But mathematical notation is for humans to talk about things that have meanings that humans can understand. The fact is that E[X^2] is natural way of an important co…

> Now that's a fine thing in a computer language -- and there are philosophers who say mathematical truth is no more than computation. But mathematical notation is for humans to talk about things that have meanings that humans can understand. Then how come an unfamiliar piece of source code is easier to follow than a mathematics paper using unfamiliar notation? You can look up the definition of each function and lear…

> Then how come an unfamiliar piece of source code is easier to follow than a mathematics paper using unfamiliar notation?

This is clearly subjective. I read lots of mathematics research that I find more accessible than even pretty mundane source code (and yes, I write software for a living and have done so for over ten years).

Re: Mathematical Notation Is Awful

#68
Math notation is a language that evolved over centuries.

The English language isn't consistent but we all seem to be able to use it to communicate here.

Same thing with maths. Some notations are holdovers from earlier eras, but we still introduce them to students in case the run into it in an older book (dx/dy for example).

And maths isn't just about computation. It's also about expressing ideas, and sometimes that is easier when the notation isn't rigidly 'executable' as some posters here would have it.

This article also reminds me of: http://knowyourmeme.com/photos/582861-reaction-images

Re: Mathematical Notation Is Awful

#69
If I could fix one things in Maths, it would be to introduce an explicit import statement. Right now it's very hard to work back what the symbols mean in a specific context unless you're familiar with the field.

   from url/to/geometric-algebra.pdf import X;
I don't mind the overloading too much and it would always be possible to alias symbols in case two or more fields are user together.

Re: Mathematical Notation Is Awful

#70

Earlier quoted context omitted.

You are right, and the deeper source of the authers beef seems to be that he wants mathematics to be about textual rules. Now that's a fine thing in a computer language -- and there are philosophers who say mathematical truth is no more than computation. But mathematical notation is for humans to talk about things that have meanings that humans can understand. The fact is that E[X^2] is natural way of an important co…

> Now that's a fine thing in a computer language -- and there are philosophers who say mathematical truth is no more than computation. But mathematical notation is for humans to talk about things that have meanings that humans can understand. Then how come an unfamiliar piece of source code is easier to follow than a mathematics paper using unfamiliar notation? You can look up the definition of each function and lear…

The answer to all of your questions: computer programs are written for computers to understand, and computers aren't very smart. Mathematical papers are written for mathematicians to understand, and they tend to be a lot smarter than computers.
Post reply on HN