3 ms·
"In mathematics there is no unified documentation, just a collective understanding, scattered references, and spoken folk lore. You’re lucky if a textbook has a
by Animats 11y ago
"In mathematics there is no unified documentation, just a collective understanding, scattered references, and spoken folk lore. You’re lucky if a textbook has a table of notation in the appendix. You are expected to derive the finer details and catch the errors yourself."
This has always bugged me. Andrew Ng's notation for machine learning sometimes uses superscripts as indices, and sometimes as exponents. In the same formula.
Years ago, when I was working on a physics engine for animation, I was struggling through a 2-volume treatise on nonlinear differential equations. One formula in Volume 2 had a symbol I didn't understand, and couldn't find in the text. I eventually found it defined in the first volume, about 500 pages back.
Steven Wolfram was annoyed by that, and he created Mathematica partly to define an unambiguous notation for much of mathematics.
This is a fixable problem. By now we should have programs which read mathematical papers and textbooks, and check that all symbols are defined and unambiguous. There would be style sheets for different branches of mathematics. When reading a paper processed through such a system, you would be able to see the expanded, unambiguous form of a formula, and the definitions of all the standard operators and symbols. This might not be possible for truly cutting-edge mathematics where the conventions haven't settled yet, but that's a small fraction of what's published.
- bsilvereagle 11y ago> Andrew Ng's notation for machine learning sometimes uses superscripts as indices, and sometimes as exponents. In the same formula. I've never read Ng's work, but typically upper and lower indices is a sign of a summation. It's known as "Einstein Summation Notation". At first glance it seems obtuse, but when you start doing covariant/contravariant derivatives on tensors, the notation makes things much easier.
- OscarCunningham 11y agoIn a general relativity lecture I once saw an expression where indices were being used to mean three different things. As a power, to denote the components of a vector and as an index over some other indexing set. Of course it was perfectly readable because there are implicit conventions about what kind of letters you can use for each of these things, and because the formula would only make sense if you read it a certain way.
- Maken 11y agoMaybe it's me, but I've always find physics' mathematical notation highly inconsistent, like if every author felt the necessity of inventing his own notation and overloading every well-established operator. Mathematicians tend to be much more consistent in their use of symbols and their manipulation.
- IshKebab 11y agoYou can use Einstein's summation without superscripts though. Example: http://mathworld.wolfram.com/EinsteinSummation.html http://mathworld.wolfram.com/EinsteinSummation.html Anyway that doesn't invalidate the point that mathematics often has highly ambiguous and hand-wavy notation, whereas programming doesn't.