TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: Good articles/courses for understanding mathematical notation?

104 pointsby rory_isAdonkalmost 5 years ago
Required at times for interviews or programming puzzles, knowledge I lack.

18 comments

ivan_ahalmost 5 years ago
One thing to note is that there is no universally agreed upon convention for denoting math objects. Textbook and research paper start with a section on notation to clarify the symbols they will use. Notation often varies between fields, academic schools, and sometimes there are even differences between the notation you would use when writing on a blackboard vs. the notation you would use in print.<p>That being said, for the most basic concepts the notation is pretty consistent so if you skim through one or two books you&#x27;ll be able to get the feel for it. Understanding the actual math—that will take longer.<p>As for references, here is a very comprehensive standard, ISO 80000-2 that defines recommendations for many of the math symbols, with mentions of other variations: <a href="https:&#x2F;&#x2F;people.engr.ncsu.edu&#x2F;jwilson&#x2F;files&#x2F;mathsigns.pdf#page=10" rel="nofollow">https:&#x2F;&#x2F;people.engr.ncsu.edu&#x2F;jwilson&#x2F;files&#x2F;mathsigns.pdf#pag...</a><p>For something shorter (and less complete), you can also check the notation appendices in my books: <a href="https:&#x2F;&#x2F;minireference.com&#x2F;static&#x2F;excerpts&#x2F;noBSguide_v5_preview.pdf#page=136" rel="nofollow">https:&#x2F;&#x2F;minireference.com&#x2F;static&#x2F;excerpts&#x2F;noBSguide_v5_previ...</a> <a href="https:&#x2F;&#x2F;minireference.com&#x2F;static&#x2F;excerpts&#x2F;noBSguide2LA_preview.pdf#page=159" rel="nofollow">https:&#x2F;&#x2F;minireference.com&#x2F;static&#x2F;excerpts&#x2F;noBSguide2LA_previ...</a>
评论 #23577620 未加载
评论 #23578302 未加载
dannygarciaalmost 5 years ago
Here are a few notation resources I&#x27;ve found helpful when teaching myself computer science:<p>- Mathematics for Computer Science: <a href="https:&#x2F;&#x2F;courses.csail.mit.edu&#x2F;6.042&#x2F;spring17&#x2F;mcs.pdf" rel="nofollow">https:&#x2F;&#x2F;courses.csail.mit.edu&#x2F;6.042&#x2F;spring17&#x2F;mcs.pdf</a><p>- Calculus Made Easy: <a href="http:&#x2F;&#x2F;calculusmadeeasy.org" rel="nofollow">http:&#x2F;&#x2F;calculusmadeeasy.org</a><p>Not directly related to your question but useful for interviews and programming puzzles nonetheless:<p>- Algorithms and Data Structures, The Basic Toolbox: <a href="https:&#x2F;&#x2F;people.mpi-inf.mpg.de&#x2F;~mehlhorn&#x2F;ftp&#x2F;Mehlhorn-Sanders-Toolbox.pdf" rel="nofollow">https:&#x2F;&#x2F;people.mpi-inf.mpg.de&#x2F;~mehlhorn&#x2F;ftp&#x2F;Mehlhorn-Sanders...</a><p>- Basic Proof Techniques: <a href="https:&#x2F;&#x2F;www.cse.wustl.edu&#x2F;~cytron&#x2F;547Pages&#x2F;f14&#x2F;IntroToProofs_Final.pdf" rel="nofollow">https:&#x2F;&#x2F;www.cse.wustl.edu&#x2F;~cytron&#x2F;547Pages&#x2F;f14&#x2F;IntroToProofs...</a>
stiffalmost 5 years ago
For interviews and programming puzzles you only need to know notation for basic mathematical logic, basic set theory and the summation notation and maybe some bits and pieces from number theory:<p><a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Logical_connective#Common_logical_connectives" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Logical_connective#Common_logi...</a><p><a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Quantifier_(logic)#Notation" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Quantifier_(logic)#Notation</a><p><a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Set_theory#Basic_concepts_and_notation" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Set_theory#Basic_concepts_and_...</a><p><a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Summation#Capital-sigma_notation" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Summation#Capital-sigma_notati...</a><p><a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Modular_arithmetic#Congruence" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Modular_arithmetic#Congruence</a><p>If Wikipedia is too hard to follow, you can learn this from early chapters of a discrete mathematics textbook.
davismwflalmost 5 years ago
There is a good book for math notation that I like:<p>&quot;Mathematical Notation: A Guide for Engineers and Scientists&quot;<p><a href="https:&#x2F;&#x2F;www.amazon.com&#x2F;Mathematical-Notation-Guide-Engineers-Scientists&#x2F;dp&#x2F;1466230525" rel="nofollow">https:&#x2F;&#x2F;www.amazon.com&#x2F;Mathematical-Notation-Guide-Engineers...</a>
评论 #23576341 未加载
评论 #23576853 未加载
gspralmost 5 years ago
I&#x27;d argue that any attempt at understanding mathematical notation universally will fail. Different fields and different sub-topics and different authors have vastly different conventions, for good reason.<p>Sure, one can perhaps expect that something that uses an integral sign shares some properties with ordinary integration of real functions, but to really understand what the notation entails, one really has to study the underlying material.<p>I feel that what you&#x27;re asking for is kind of akin to wanting to read a novel in a foreign language using only a dictionary of the 10% most commonly used words of said language, with each entry resolving only to one meaning of the word.
评论 #23575932 未加载
评论 #23576405 未加载
评论 #23578393 未加载
alokraialmost 5 years ago
You internalise mathematical notation by using it to solve mathematical problems and express mathematical ideas.<p>Two excellent resources are:<p>1. Introduction to Mathematical Thinking (if you prefer moocs) - <a href="https:&#x2F;&#x2F;www.coursera.org&#x2F;learn&#x2F;mathematical-thinking" rel="nofollow">https:&#x2F;&#x2F;www.coursera.org&#x2F;learn&#x2F;mathematical-thinking</a>?<p>2. How to think Like a Mathematican - <a href="https:&#x2F;&#x2F;www.amazon.co.uk&#x2F;How-Think-Like-Mathematician-Undergraduate&#x2F;dp&#x2F;052171978X" rel="nofollow">https:&#x2F;&#x2F;www.amazon.co.uk&#x2F;How-Think-Like-Mathematician-Underg...</a>
jgwil2almost 5 years ago
In addition to some great responses already on here, I would suggest picking up a functional programming language as a way to bridge the gap between math and the C-style syntax that most of us learned to program in. Haskell and PureScript are good for this; many programs actually use even more mathy aliases for common tokens (e.g. `∀` for `forall`).
mhh__almost 5 years ago
What does understand mean? Notation is just that, notation.<p>I think that the single biggest advantage one can have (in programming that does something &quot;non-trivial&quot; - loaded term I know, rather than as a person) is to have a firm grasp of the mathematical basis of their work. It&#x27;s so much easier to start something new when you can derive it yourself.<p>If you have the time, I recommend &quot;Advanced Engineering mathematics&quot; for the gap between calculus to applications and other topics like Linear Algebra, analysis, and graph theory.<p>If you just want a mapping of symbols to words try LaTeX documentation<p>A la <a href="https:&#x2F;&#x2F;oeis.org&#x2F;wiki&#x2F;List_of_LaTeX_mathematical_symbols" rel="nofollow">https:&#x2F;&#x2F;oeis.org&#x2F;wiki&#x2F;List_of_LaTeX_mathematical_symbols</a>
vthommeretalmost 5 years ago
To understand basic notation like summations and matrix multiplications, I created Math to Code which is a quick tutorial to translate math into NumPy code:<p><a href="https:&#x2F;&#x2F;mathtocode.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;mathtocode.com&#x2F;</a><p>Previous HN discussion &#x2F; it was on the front page earlier this week:<p><a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=23513438" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=23513438</a>
Reraromalmost 5 years ago
There is no rule of mathematical notation except that things that are written as an index (whether as a subscript or superscript or argument) are stuff the given object depends upon. Everything else builds upon that rule and is defined in some context.<p>Source: I am a mathematician
kasbahalmost 5 years ago
Not an article or course but this Math as code cheat sheet is pretty good: <a href="https:&#x2F;&#x2F;github.com&#x2F;Jam3&#x2F;math-as-code" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;Jam3&#x2F;math-as-code</a>
andreygrehovalmost 5 years ago
In addition to other comments, I would also recommend &quot;A Programmer&#x27;s Introduction to Mathematics&quot; by Dr. Jeremy Kun [0]. The HN submission [1] may have more interesting stuff around the topic.<p>[0] <a href="https:&#x2F;&#x2F;pimbook.org&#x2F;" rel="nofollow">https:&#x2F;&#x2F;pimbook.org&#x2F;</a><p>[1] <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=18579076" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=18579076</a>
agentultraalmost 5 years ago
Notation varies depending on the author and subject area but a good resource for &quot;programmer&#x2F;computer science&quot; notation is to skim through <i>Concrete Mathematics</i> or the preliminaries to <i>The Art of Computer Programming</i> -- I find this notation to be common.<p>In more specialized areas like type theory, first order logic, predicate calculus, temporal logic, etc you have to pick it up as you go.
hansvmalmost 5 years ago
This won&#x27;t solve all your problems, but it _can_ be a big help to know what to search when you see a wall of symbols, and detexify.kirelabs.org is a decent resource for that -- you can draw a single symbol and get the latex code that would generate it.<p>(if you&#x27;re typesetting math it&#x27;s invaluable, not just decent)
jimmaswellalmost 5 years ago
What notation was used in an interview&#x2F;puzzle that you weren&#x27;t familiar with?
cosinetaualmost 5 years ago
There are a lot in Abromowitz and Stegun handbook, last section &quot;Index of Notation&quot;. It&#x27;s not quite what you&#x27;re asking for, but it&#x27;s fairly authoritative.
geoelkhalmost 5 years ago
related topic: do you usually prefer seeing specs&#x2F;design doc in plain english or mathematical notation?
bruttalmost 5 years ago
Look at formula source in Latex, so you will have keywords to google.