by lqet on 11/26/21, 11:30 AM
I am confused, this seems more like a general math cheatsheet. The only thing that truly has anything to do with theoretical CS are the definitions for the O-notation on the first page (and most CS students don't need a cheat-sheet for that) and the master theorem. Nothing on P, NP, NP-hardness or completeness, formal languages (Chomsky hierarchy?), finite automata, Turing machines, halting problem, decision problem, reduction proofs, Pumping lemma, Gödels incompleteness theorem, etc. This sheet would have been of very little help in any theoretical computer science exam I ever took. The only cheat sheet I ever needed in theoretical CS was Schönings book "Theoretische Informatik - kurz gefasst" ("A short overview of theoretical CS", well, it has ~180 pages...), which is pretty standard in German universities. It was completely worn out after my first semester + exam of theoretical CS... here is a TOC:
http://www.gbv.de/dms/hebis-mainz/toc/094349797.pdfby alpaca128 on 11/26/21, 10:46 AM
Maybe it's just me, but when a cheatsheet reaches 10 pages and includes multiple areas like this one I'd just split it up into multiple ones. It almost feels like this needs a table of contents.
And I think a bit more theoretical CS stuff, maybe a few diagrams, would be more helpful than e.g. the Pythagorean theorem or the powers of 2 which shouldn't be a problem to just memorize at that level.
by osivertsson on 11/26/21, 9:14 AM
This is only a showcase of TeX, the actual value of this cheat-sheet seems pretty low.
I used to know most of this when I was in uni, including how to derive it when I needed it. Back then this kind of cheat-sheet would not have helped me apply my knowledge. The actual knowledge was very clear in my head from solving problems, or I remembered some key idea used during derivation and from there could work out the rest.
If you need this kind of cheat-sheet you don't understand the concepts deep enough.
Unfortunately most of this knowledge is now 15 years later either very fuzzy or completely lost from my mind. I guess that happens when it is not being refreshed/applied during the career I chose.
This cheat-sheet serves a reminder of how much knowledge I have lost ;)
by W0lf on 11/26/21, 8:41 AM
I clearly remember my heureka moment when I discovered back in university that I don't have to actually learn and remember all that stuff that was taught but to recognize patterns and tricks that will reduce the problem domain down to a few things from which everything else can be deduced. After that most of the lectures boiled down to: ok, what is important to learn and remember here :-)
by xore on 11/26/21, 9:27 AM
I was expecting something like known NPC problems and their reductions plus complexity of algorithms and data structures.
This seems like a math cheat sheet that can be improved removing simple derivations of some formulas.
However it can be handy.
by lordnacho on 11/26/21, 8:12 AM
Engineering version is a whole huge book with lots of interesting things to search for:
https://link.springer.com/book/10.1007/978-94-010-9314-9
Not just math, but properties of matter, physical constants, thermodynamics and fluids (oblique shocks!), electricity (Semiconductors, Verilog!), solid mechanics, and random stuff like screw threads.
They had us get this in undergrad, all the Engineering students at Oxford know it as HLT.
by LoyCgg on 11/26/21, 8:40 AM
Do you have a cheat sheet for this cheat sheet?
by pyentropy on 11/26/21, 12:19 PM
by choeger on 11/26/21, 8:19 AM
I have to wonder about the big-O notation.
Do people really write f(x) = O(g(x)) ?
Because that doesn't seem to make sense. It could make sense if we read O as an operator (so f is the upper bound on g, but the definition is the other way around) but saying that a function is equal to an upper bound is just odd, even leaving aside the fact that the definition uses "f(x)", i.e., the application of f, to express the function itself.
by raxxorrax on 11/26/21, 7:48 AM
Useful. I would add maybe abstract algebra, definitions of fields, rings, etc. and their respective operations. LaPlace/Z-Transformation from system theory.
by qsort on 11/26/21, 9:02 AM
It reminds me of the cheatsheets we used to make before math competitions. Many of those things are forever etched in my brain. The only difference is that the ones I made tended to have a lot more freaking triangles.
by nlitsme on 11/26/21, 9:06 AM
by fjfaase on 11/26/21, 9:03 AM
A nice collection formuleas that seem usefull when doing theoretical computer science. Maybe could improve it with adding the definition for NP-complete, context free grammars, Turing complete, and such.
by tartoran on 11/26/21, 7:53 AM
I never ran into Escher’s knot before although Im somewhat familiar wit Esche’s work. Does anyone know what its relevance in this context?
by mdp2021 on 11/26/21, 8:09 AM
Does any gentlemember have something similar for statistics?
by gonzus on 11/26/21, 9:21 AM
Anybody knows what the grid of numbers on the last page, grouped under "Fibonacci Numbers", is?
by arethuza on 11/26/21, 2:42 PM
No definition of the Y Combinator ;-)
by tzs on 11/26/21, 9:25 AM
1. I was a pure math major so I've always liked neat representations of pi such as Wallis' identity and Brouncker's continued fraction, both given on that cheat sheet, but I've never actually seen them used for anything. Where do they come up in CS?
2. If you have to deal with a lot of sums involving hypergeometric terms (such as a many series involving binomial coefficients), the book "A=B" by Marko Petkovsek, Herbert Wilf, and Doron Zeilberger might be of interest. It is downloadable from Wilf's site [1].
[1] https://www2.math.upenn.edu/~wilf/AeqB.html
by tester34 on 11/26/21, 8:42 AM
it's just cs math, not cs?
by g42gregory on 11/26/21, 7:42 PM
I don’t know if Pythagorean theorem needs to go on any cheat sheet, whether it’s Math or CS. If you can’t remember that, maybe you are in the wrong place to begin with!
by antegamisou on 11/26/21, 2:09 PM
For anyone complaining about the length of the document, I suggested it as a shorter alternative to a original submission [0] where apparently a 212 page document was called a cheatsheet and in fact TCS Cheat Sheet was seen as too concise!
[0] https://news.ycombinator.com/item?id=27468908
by d33 on 11/26/21, 12:49 PM
I just had this thought that it might be super interesting to see a cheat sheet with the current state of academic knowledge in computer science compressed to as few pages as possible. Things that we didn't know at - let's say - 10 or 20 years ago in a format that could be understood by people from those times.
by slmjkdbtl on 11/27/21, 4:47 AM
As someone who has no training at all in related subject I really like the graphical aspect of this pdf, it brought me a sense of complete alienness and makes me want to explore. It almost look like something you can find at an art book fair.
by waynecochran on 11/26/21, 4:41 PM
The formula for the nth prime number has a bound of O(n / ln n) which makes the lesser terms noise (?) Same w pi(x) (?) Using a bound is more useful:
n ln n + n(ln ln n - 1) < p_n < n ln n + n ln ln n (for n >= 6)
by eloeffler on 11/26/21, 7:34 AM
Is this generated with LaTeX and is there a source for this? I love the arrangement of cells
by Tade0 on 11/26/21, 2:22 PM
No mention of (Shannon) entropy? Sort of an important concept.
by unbanned on 11/26/21, 6:28 PM
Seems like some eager undergrad's notebook; an exercise in productive procrastination.
Not sure how useful this is in practice. Probably not very. Thanks nonetheless
by monopoledance on 11/26/21, 10:25 AM
Maaaan, I was expecting friendly pictures and stuff. Every computer science book looks like this cheat sheet!
by killjoywashere on 11/26/21, 2:25 PM
It's like the front section of CRC Handbook of Chemistry & Physics. Very dense.
by BruceEel on 11/26/21, 6:50 AM
More like a cheat booklet ;-)
Very nice!
by rattyc on 11/26/21, 9:24 AM
I don't understand any of that
by AstroDogCatcher on 11/26/21, 4:57 PM
Feels like this exists mostly as a prop for immature CS students to "impress" people with.