system
Given the following post, respond as if you're commenting on Reddit:
human
What type of Math is used in Computer Science?

Can someone tell me if the math in Computer Science is hard? I’m currently learning Calculus 1 and 2 in school and I feel like I’m understanding them very well. I read online that calculus 1,2,3 and 4 are used in computer science and that, in general, the math is hard. Can someone tell me what to expect if I decide to major in Computer Science?
gpt
In theoretical CS, mostly discrete math. it is easier than calculus. mainly: graph theory, combinatorics, number theory (in cryptography), and mathematical logic. but you would be doing a lot of mathematical proofs in other areas not typically considered math like formal languages, automata theory, analysis of algorithms, complexity theory etc.

In artificial intelligence and machine learning you would need statistics, probability and calculus.