Ask HN: Resources to learn math as a foundation for CS
1–10 of 13 posts
Re: Ask HN: Resources to learn math as a foundation for CS
#2https://web.stanford.edu/class/cs103/notes/Mathematical%20Fo...
Re: Ask HN: Resources to learn math as a foundation for CS
#3Mathematical Foundations of Computing by Keith Schwarz: https://web.stanford.edu/class/cs103/notes/Mathematical%20Fo...
Re: Ask HN: Resources to learn math as a foundation for CS
#4Mathematical Foundations of Computing by Keith Schwarz: https://web.stanford.edu/class/cs103/notes/Mathematical%20Fo...
I checked it out and it seems approachable. Is there any resource that provides answers to the problem sets ?
It has a very large number of answers in the back, but not all of them. You'll come out ahead even if you only do the problems with an answer as each section has anywhere between 30 to 60 problems. If you want to try every problem (or some of the interesting ones that don't have answers), there's an instructor's manual for 3rd edition. The one I linked is the 4th ed. No problem as the editions 3 and 4 mainly differ in numbering of their sections and chapters, so if you match a chapter from 4 ed to the one in the instructor's manual for 3rd ed, the answers are identical and in the same order. If none of this works for you, either just google the problem or visit MSE [1] as almost none of the problems in the undergrad books are original and many people before you have asked the same questions many times over.
Note, the price of the book is steep, but I am sure you know of libg3n.
[0]https://www.amazon.com/Discrete-Mathematics-Applications-Sus...
Re: Ask HN: Resources to learn math as a foundation for CS
#5Re: Ask HN: Resources to learn math as a foundation for CS
#6Alternatively, you can start by studying any of the alternative foundations to mathematics (set theory, logic, etc). Perhaps from a toned down alternative to Sørensen & Urzyczyn. A beautiful and very modern way to do this for a CS student would be to marry it with a course on automated theorem proving (using Isabelle or Coq). Any book suggestions welcome.
Re: Ask HN: Resources to learn math as a foundation for CS
#7Given that linear algebra has become so vital lately (as others remarked already), the following new book appears better than the lot from an applied viewpoint: https://web.stanford.edu/~boyd/vmls/vmls.pdf
Re: Ask HN: Resources to learn math as a foundation for CS
#8Earlier quoted context omitted.
I checked it out and it seems approachable. Is there any resource that provides answers to the problem sets ?
I am not sure to be honest, but if you want a book with answers, try Discrete Mathematics with Applications by Epp [0] It has a very large number of answers in the back, but not all of them. You'll come out ahead even if you only do the problems with an answer as each section has anywhere between 30 to 60 problems. If you want to try every problem (or some of the interesting ones that don't have answers), there's an…
Re: Ask HN: Resources to learn math as a foundation for CS
#9For me, the biggest aid was finding good books, ones with exercises and that explained the material very well. Then it was just a matter of reading, actually doing all the exercises, and struggling with the material until I could fully understand it; then I moved on to the next chapter/book/etc.
I've worked through a lot of books by now but here's the short list of ones that I think are great for getting started(especially, if you do what I described above), also when these have solutions manuals I would advise getting them as well so you can ensure you understand how every problem works.
1. Calculus 4th ed. by Smith and Minton
2. Introduction to Linear Algebra (Gilbert Strang)
3. Introduction to Probability Theory (Hoel, Port, Stone)
4. Discrete Mathematics and its applications (Rosen)
5. Introduction to Automata Theory, Languages, and Computation (Hopcroft)
6. Introduction to Algorithms (Cormen, Leiserson, Rivest, Stein)
It will take you at least a year if not two to work through all these in your spare time, but the advantage is that after that you'll have the skills to be able to approach just about any topic in computer science (even highly theoretical ones) and not have much difficulty understanding them (at least that was my experience).
Re: Ask HN: Resources to learn math as a foundation for CS
#10I've done exactly what you are talking about, so I think I have some insight that might be helpful. For me, the biggest aid was finding good books, ones with exercises and that explained the material very well. Then it was just a matter of reading, actually doing all the exercises, and struggling with the material until I could fully understand it; then I moved on to the next chapter/book/etc. I've worked through a l…
Can you suggest a book that would be a bit more introductory and cover Algebra well? I missed out on ever understanding it properly in school and would love to try again.