ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Ok, here's a general question for you.How important is math in CS and programming?
I assume the answer to be "very important", so here's my next question.Which mathematical concepts are the most important for CS and a must-know for anyone interested in programming and CS in general?
I've had a look on the web site of a few CS departments, but they are not very clear on which math concepts related to CS they teach.For example not every course may be available on-line.Are the math classes really 1 or 2 and then the concepts are taught in the context of CS?
I'd say combinatorics and statistics are probably the mathematical concepts I find myself using the most... but that might be because of the kind of stuff I develop.
...
In school with the emphasis on computer science theory we used all sorts of math concepts that I don't find myself using as much in the "real world".
last fall i finished college and earned two diplomas: 'computer programmer analyst', and 'computer systems technician'. in college we only had one required basic math course.
this winter i transfered to a university and there seems to be a very strong emphasis on mathematics. in fact, with all the math courses required for the CS degree, you only need to take another, i think, five courses and you also get a math degree. if you take a double major (CS and Math), there is something like 18 math courses required, and less than 10 CS courses.
as i havent really gotten into the math courses yet, i dont know for sure, but i think there is alot of emphasis on it because it gives you practice in the way you need to think when programming systems, that is, abstractly and logically. check the computer science article on wikipedia.org and youll see mathematics is a major field of CS, just as, say artificial intelligence.
and, as jtshaw said, it is correlated to what you are doing. example, computer graphics relies very heavily on math.
as i havent really gotten into the math courses yet, i dont know for sure, but i think there is alot of emphasis on it because it gives you practice in the way you need to think when programming systems, that is, abstractly and logically.
That's what i think as well and that's why i'm interested.In programming, for example, an algorithm that just works is something a lot different than an algorithm that works efficiently.
heres the link to the class website for the first CS course for my university (save the $500 it costs and do it yourself for free, heh).
at first i didnt like the course because it started off with basic programming concepts (in a language called Miranda). but in the end i like the course. it covers a variety of key concepts, giving an introduction to each. the two topics on math were mathematical induction (ie proving that an equation is equivalent to another one) and complexity (figuring out how costly a function is, see Big-Oh notation from wiki).
I guess it depends on the context. I go to the same school as nadroj (very nearly done though!), and we take 5 mathematics courses from the math department. One of the mathematics courses introduces proof techniques while teaching about set theory, relations, etc.. Then there are a bunch of CS courses which make heavy uses of those concepts. You'll use these concepts in courses ranging from computer graphics to computational theory to software testing to anything really. Many are not math "heavy", but require a firm understanding of the core concepts.
That's what i think as well and that's why i'm interested.In programming, for example, an algorithm that just works is something a lot different than an algorithm that works efficiently.
your site says your in the SE specialization. id like to do that, but all of the other (non-CS) courses are drawing me away from it. right now im actually registered in the networks and security specialization, but ill probably switch to either AI or plain honours.
i see your also in coop, mind me asking where your 3 placements have been? (or will be if you have any left)
good luck and congrats!
edit: i really need to disconnect my router or something.. so im forced to go study 212 and 256..
My school is a bit of a M$ house...so unfortunately we hardly cover concepts such as pointers (and pointer arithmetic, etc...). Going on that alone, I'd say that everything "hardcore" in CS I've learned through studying Linux and the associated source code on my own time...
However, I can say that there have been two classes that required HEAVY use of mathematics...the generic algorithms class (that has been talked about already) and network security. The network security class was basically an encryption theory class (very little practical application, but man it was thorough!), so mathematics played a big role in it.
Oddly enough, I'm set to graduate this Christmas, and I haven't even taken MATH 201 (Boolean Logic). Doh? Guess I'll be taking that next semester...heh
There is a wide variety of CS courses but being a "science" course they include mathematics at the core. Briefly the argument for math in CS is: it teaches you the rigorous way of thinking that is necessary for a programmer, it enables you to effectively describe an algorithm, it enables you to understand the underlying concepts (the science) of computing.
What gets taught will vary from course to course, one that I know quite well started with discrete maths (which was split into two modules) there ware two calculus papers one, stats one probability, differential equations, numerical analysis and Operational Research.
Of course not all computing degrees have maths but it would be rare for a CS course to not have any maths. Also the ACM has guidelines as to what should be in a CS degree.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.