by hintymad · 5y ago · 0 comments
The quote also has truth in it. I had no problem accepting that 0! = 1 only because I learnt that fact early in school. However, I struggled quite a bit to accept that span({}) = {0}, even though it is not that different from 0!=1 and I knew multiple explanations. It seems the later one learns a new concept, the longer it takes to accept it.
It almost irritates me when I read a book or a paper and they say that the zero/empty case is "by convention". I almost want to yell, "no! it's because that's how you make the definition uniform!"
Addition is usually defined as a binary operation, a+b, but really it should be defined as an n-ary operation; associativity tells us that doing "two layers" of addition should boil down to doing a single layer of addition on the concatenated list of operands. That forces 0-ary addition to be zero, which can always be added to the list of operands without affecting the result.
Something similar happens with empty products (which explains the factorial), empty spans, etc. In all cases, the trick is to figure out, what is the equivalent of associativity? What "syntactic" operations on the inputs (for example, concatenating a list of lists of operands) correspond to operations on the outputs (you can get the total sum by first computing partial sums)?
A fun puzzle, if you enjoy this kind of thing: what's the determinant of the 0x0 matrix (over your favourite field or ring)? For all (square) sizes, the determinant of the zero matrix is zero, but the determinant of the identity matrix is one, and the 0x0 matrix is kind of both. So which pattern should win? Which one is stronger? I know my own answer ;)
- n-dimensional volume is a function from (some) subsets of space to real numbers
- it should be additive under union
- it should scale by t^n when you scale the space by a factor of t
I think the upshot of the conversation was that 0-dimensional volume of a shape should be its Euler characteristic. In the simple case of a finite set of points, the "volume" would be the number of points.
And by your earlier comment, span({}) consists of a single point, so its volume should be 1. It all works!
1, because 0x0 seems like a more elegant base case for the recursive det formula than 1x1.
Even just one number theory course helped a lot, since it brought that kind of consistency into its own concept, where [this set of rules] forms a ring, and [this set] forms a field, etc.
all([]) == True
any([]) == False
all: no false elements any: not all false elements
Mental models often get spicy with empty/"corner" cases. This isn't quite the same, but a lot of kids struggle with division as sharing rather than division as measuring, which makes division by a number less than 1 conceptually difficult. http://langfordmath.com/ECEMath/Multiplication/DivModels.htm...
And so, begun the array indexing war has.
Not quite in the same weight class as von Neumann, but Matt Parker's "There's a trick for dealing with that in mathematics, called 'not really worrying about it'" when discussing results that don't mesh with our intuitive understanding is another nice one.
4! = 24 ;; 24 / 4 = 6
3! = 6 ;; 6 / 3 = 2
2! = 2 ;; 2 / 2 = 1
1!= 1 ;; 1 / 1 = 1
0! = 1
Feel free to ask me anything you have trouble with. In the reverse direction, double negative is something that I sometimes have to pay attention to, and I don’t know about another language that employs it.
In mathematics, it begs the question of what "understanding" really means. To understand an object doesn't necessarily mean divining an unquestionable structure by chance. What usually happens is that you're investigating some kind of problem (usually with real-world applications, if distant), and then you find you need a certain tool or a certain theory to simplify your problem, make it more tractable or more abstract. For example, you could be studying permutations, and from there the Binomial comes naturally, as well as the factorial function. From this theory, comes several definitions. The definitions are such to further you goal: they are the ones that make your tool easier to use, simpler, more "streamlined", more suitable to approach your application with minimal special cases. This is how something like '0!' is defined, and how most theories are discovered.
The thing about understanding is that it's a bit too much to require to "understand" something (even to yourself).
How can one know when he's reached "understanding"? Being used to it should be good enough for most purposes. If you know the rules, and you know how to apply them, that's mathematics.
Perhaps another direction to understanding is seeing a thing from a variety of lenses (connecting to different fields), expanding your ability to apply a tool, seeing more broadly. That's when you generalize, and you're able to see what your had as a special case (another definition of understanding): from addition to algebra, to rings, to abstract algebra. From numbers to equations to functions, each step perhaps you "understand" the fundamentals better by having a broader perspective on generalization. But of course that's only useful if your generalization is useful at all.
I feel like there's an intuition which comes along with learning things. Or maybe learning is simply developing intuition.
At some point things somehow just make sense in your mind because you've built up an intuition of how it works.
L'algèbre n’est qu’une géométrie écrite, la géométrie n'est qu'une algèbre figurée. — Sophie Germain