Math in CS

Discussions debate the necessity, types, and extent of mathematics (calculus, linear algebra, discrete math, probability) required for computer science education, degrees, programming, and fields like ML or computer vision.

πŸ“‰ Falling 0.3x Career & Jobs
3,630
Comments
20
Years Active
5
Top Authors
#5941
Topic ID

Activity Over Time

2007
19
2008
34
2009
79
2010
110
2011
157
2012
157
2013
148
2014
167
2015
237
2016
252
2017
308
2018
287
2019
272
2020
235
2021
214
2022
364
2023
271
2024
151
2025
166
2026
2

Keywords

CS EE US IMO CompSci COB BS OS ECE CEO math calculus linear algebra algebra linear cs discrete mathematics computer science theory

Sample Comments

dsq β€’ Aug 21, 2017 β€’ View on HN

What about the advanced mathematics courses that are obligatory in computer science? Calculus, linear algebra, discrete math, probability, boolean algebra, statistics, and others? I see no mention. Lacking these, I doubt one could be accepted for an advanced degree in CS in a reputable university.

bogomipz β€’ Nov 21, 2016 β€’ View on HN

Can you elaborate on which types of math you believe one needs for CS?

cyberax β€’ Aug 7, 2023 β€’ View on HN

Applied math major here. It's practically CS anyway!

codemonkeymike β€’ Jan 9, 2014 β€’ View on HN

Most programming languages were made by mathematicians, because of that you will see a lot of terms and concepts analogous to terms and concepts in advanced mathematics. Thus it can only help having more of a math education. Personally I think the vast majority people would be fine with Calculus 1, and Discrete Mathematics (which is a 200 level class in my uni while Calc 2 is 300 level). That's because Linear algebra and Multivariable Calculus are concepts that are only used by the smallest

zulrah β€’ Mar 16, 2017 β€’ View on HN

And I was angry at my uni,that my cs curriculum contained almost no maths. After reading this paper I realized that I am glad I didn't have to study this. Some calculus would have been useful though, as I am in a machine learning field now

todd8 β€’ Dec 26, 2020 β€’ View on HN

Over the many years, I've taken over 25 university math courses. There are a handful that I feel I would not have missed as a programmer. I've been a computer scientist and software engineer for over 45 years, here are the mathematical subjects I've taken college classes in divided into two groups:Useful for at least some programming or work I've done in the past:* Linear Algebra* Geometry* Calculus and Vector Calculus* Differential Equations, Partial Different

purplelobster β€’ Mar 9, 2013 β€’ View on HN

I don't get this at all. I need my understanding of calculus, trig, discrete mathematics, probability/stats and especially linear algebra. Then again I do computer vision, but even building web apps (that do something non-trivial) in my spare time I end up using that knowledge. Basically, build trivial stuff (simple UIs and a RoR backend?) and you probably don't need math. For anything else, you'll be stuck without it. If you can't follow a research paper in computer science or some domain knowl

rodrigoavie β€’ Apr 7, 2013 β€’ View on HN

Last year I entered CS school and found myself embarrassingly weak at Math. I've been studying really hard since them and I don't really believe I'll be a very good Computer Scientist if I do not learn Math (Linear Algebra, Discrete Math, Graph Theory, Game Theory, Calculus, Statistics).

pmalynin β€’ Dec 4, 2014 β€’ View on HN

For those whore are still in University, consider taking a proof-based calculus course, the methods and rigor you learn there will help you learn more. The same can be said for a proof based linear algebra course, which for programmers is even more useful.

DataDaoDe β€’ Apr 27, 2023 β€’ View on HN

From CS definitely theory of computation and big O. From math, it’s hard to pick, but id probably have to say writing rigorous proofs or differential equations, both of those have been enormously useful ( but close runners up are Bayesian statistics and linear algebra).