Slashdot Mirror


Ask Slashdot: How Important Is Advanced Math In a CS Degree?

AvailableNickname writes "I am currently pursuing a bachelor's in CompSci and I just spent three hours working on a few differential equations for homework. It is very frustrating because I just don't grok advanced math. I can sort of understand a little bit, but I really don't grok anything beyond long division. But I love computers, and am very good at them. However, nobody in the workforce is even going to glance at my direction without a BSc. And to punish me for going into a field originally developed by mathematicians I need to learn all this crap. If I had understood what I was doing, maybe I wouldn't mind so much. But the double frustration of not understanding it and not understanding why the heck I need to do it is too much. So, how important is it?"

28 of 656 comments (clear)

  1. depends on what you're going into by davecotter · · Score: 4, Insightful

    if you're going into app development or IT, probably not much math needed. i've been in app dev for a long time (and quite successful). Those times that i actually need math? I just look it up, program it, then forget it. I never have needed much math. However, if you're going into some CS field that requires math, well, obviously, it's worth your while to study it.

    1. Re:depends on what you're going into by Cryacin · · Score: 5, Insightful

      If you're doing quants work, or business intelligence, data mining etc, sure. Hardcore math is a must. If you're developing business software or something like that, it's more important to know Djikstra, the gang of four and closures.

      --
      Science advances one funeral at a time- Max Planck
    2. Re:depends on what you're going into by geekmux · · Score: 4, Insightful

      if you're going into app development or IT, probably not much math needed. i've been in app dev for a long time (and quite successful). Those times that i actually need math? I just look it up, program it, then forget it. I never have needed much math. However, if you're going into some CS field that requires math, well, obviously, it's worth your while to study it.

      I think that was the point of the query here, exactly what fields remain today that require the level of math that is (rather arcanely) still infused within a CS degree?

      I fell into this same trap when initially pursuing my degree. Avoiding all the advance math requirements due to my own hatred of it, I was facing three separate tracks of nothing but I/II/III math courses, which were obviously best taken in succession. It was going to take me way too long to accomplish this (while going stir-crazy on nothing but math), so I ended up switching to the MIS path, which didn't have the absurd math requirement.

    3. Re:depends on what you're going into by Hatta · · Score: 5, Insightful

      If you're not going to need much math, you proabably don't need a CS degree either.

      --
      Give me Classic Slashdot or give me death!
    4. Re:depends on what you're going into by internerdj · · Score: 4, Insightful

      If you are going to go further in your education then you will need to learn all that math too. I've spent a sizable chunk of grad school reviewing math because I didn't take it serious during my undergrad. Solid statistics is used in countless places. Linear algebra is key to understanding computer graphics and has powerful tools for other more specialized applications. Differential equations are used for all sorts of real world simulation problems. If your university is like mine then you will get an in depth discrete math course from the math department that covers the problems you hit when using a discrete machine to try to work with infinite things. You might get that from the CS department but our CS coverage was all sorts of CS related math. If you do anything hard then the CS coverage may not cut it.

    5. Re:depends on what you're going into by Anonymous Coward · · Score: 2, Insightful

      I just look it up, program it, then forget it.

      You must have forgotten "study it" between "look it up" and "program it". I don't think you could just "look differential equations up", except if the case is extremely simple.

      Also, a construction analogy: for a lot of construction work you won't need strong mathematical skills, but don't try designing a bridge if you lack them.

    6. Re:depends on what you're going into by elfprince13 · · Score: 4, Insightful

      Also, if you're doing any serious work in algorithms, a strong understanding of proof techniques and discrete math is a must.

    7. Re:depends on what you're going into by NReitzel · · Score: 5, Insightful

      The bottom line is very simple. If you have the math - and I'm talking diffeq and applied mechanics and dynamics - you will get jobs that others cannot. And strangely enough, those jobs pay very, very well.

      Just like everyone else says, if you're content being a web programmer at a medium--to-ok salary, then forget the math.

      If you want a job writing control code for F22's, at a salary that can make your head spin, then consider the math as supremely important.

      --

      Don't take life too seriously; it isn't permanent.

    8. Re:depends on what you're going into by drstevep · · Score: 5, Insightful

      Bullshit. You want to develop game engines, you have to know how to move things around. You have to know how to create a world. You have to understand what your team is doing, and understand it at a gut level. This isn't rendering, this is creating a world.

      So learn your math well. It will give you an additional layer of depth that will differentiate you from those who don't.

      Disclaimer: I just coded up some low-precision trig operations. I'm generating some simulated waves in the world I'm creating. Costing hundreds of trig calls per frame, and figure 50 frames per second... My routines are around 3 to 5 times faster than system calls, you want to look up that hundreds per frame at 50 fps again? It means I have a lot more CPU available for other tasks. Math. Taylor series. Error analysis. Makes me the person that gets hired instead of the one that gets passed over.

    9. Re:depends on what you're going into by tnk1 · · Score: 2, Insightful

      University requires advanced math for CS for the sole reason of preparing the CS student for Graduate level Computer Science. CS that remains in the academic world will have a lot more options where advanced math is useful or even critical.

      University have a few indicators of how "good" they are. In addition to their undergraduate job placement, their graduate program admittance is also very important to them. Since advanced math isn't going to hurt anyone in job placement, but it's lack can keep you from getting into grad programs and research intensive projects, they make you take the advanced math.

      For a normal business programmer, advanced math comes down to something that might be useful to know if you are working in some field that is particularly numbers intensive, and there are many that are. Still, most generic business stuff these days is just how fast you can read and write data to a database and then presentation. You will get much more out of knowing the tools, the library functions, and the intricacies of the language you are developing in than you will with math. Your CS degree is simply a straight ticket into your first job. As long as you get about 2-3 years of actual experience, a CS degree starts becoming more and more optional.

      Long story short, you can be an excellent developer without advanced math. As part of the CS program, you have to understand that it is there because it is a one-size-fits-all path for you to get an advanced degree. Universities are not really vocational institutions, they expect you to be an academic at heart, so they expect a deep level of interest in the field and the default assumption is that you are preparing to be an advanced student.

    10. Re:depends on what you're going into by fahrbot-bot · · Score: 5, Insightful

      Even when doing graphics programming most of the fancy math is already handled through frameworks. You don't actually need to know how to do vector calculations...

      Unless you want to actually work *on* those frameworks... Someone has to develop/maintain the tools the rest of us simply use.

      --
      It must have been something you assimilated. . . .
    11. Re:depends on what you're going into by DuckDodgers · · Score: 3, Insightful

      In general, advanced mathematical topics require you to grapple with abstract concepts and find connections between them, and link them together in ways to accomplish tasks. Any interesting software development (i.e, work that is not "change the color of the login button and move it 7 pixels left") uses the exact same kind of abstract thinking.

      So even if you never do multi-variable calculus or ring theory proofs or topology exercises at your job, any time you spend learning those things hones skills you will use at your job.

    12. Re:depends on what you're going into by VortexCortex · · Score: 4, Insightful

      Game Engine development has nothing to do with Mathematics.

      I'm just going to call you out on this complete and utter bullshit statement. Tell me, how do you best classify assets that exist in three intersecting sets: stored on disk, loaded in memory, and available for rendering (in the GPU)? Keep in mind we would like to minimize cache misses. Even a moderately heavy statistics / logistics calculation in the asset manager is beneficial if it reduces the occurrence of expensive cache misses slightly. Furthermore you pigeon hole ENGINE DEVELOPMENT by saying its not about all those other things that it actually is about. For instance, I wrote my own PKI encryption library so that modders can sign their game mods and I can sign our game updates, and everyone can use decentralized distribution while players can trust the source. That doesn't come bundled in a box with a bow, neither does tweaking the sound or image / video compression algorithms to be less generalized and more targeted to the content you're delivering. FFT's and frequency domains aren't rocket science. Physics IS Mathematics, allowed error bars and instability propagation limiting, the whole damn thing, it all benefits from some higher mathematics -- It's not "just programming". Parallelism is CORE to engine design. Where to draw the lines and segment the engine matters A LOT, and you can use mathematics to inform the decision instead of just wasting time guessing and checking, like a blind person in an orgy.

      "No, Advanced Mathematics is not required," bullshit. First off: Define "Advanced". Secondly, CS is not just Programming. Third, learning a bit of higher math is really useful and actually not hard to grasp, especially if you have a game engine to work with -- The most advanced graphing calculator in the world: You can make visual graphs that plot equations and react to the inputs real time. That really helped me teach myself this stuff. Want to combat power creep or balance your enemy / weapon strengths? Ensure your platformer difficulty follows pacing well? Guess what? Break out the statistics, buddy. Even that high level "game designing" -- most removed from the engine development -- benefits from mathematics. Getting past the disconnect between the cryptic symbolics of mathematics and being able to convert them into the more verbose and simple source code is a skill worth an infinite amount its weight in gold. If you can't do that, then hit the books. Once you can do that, then the scales will fall from your eyes and the gameworld will truly become your playground.

    13. Re:depends on what you're going into by emt377 · · Score: 3, Insightful

      I strongly recommend the first year of calculus because of this. It teaches you a different view of symbolic algebra - not just how to use an equation as a tool to solve a problem, but how to view an equation as an abstract object that can be manipulated by a set of rules to solve a problem.

      I think the usefulness of calculus is even more basic than this - it teaches the student to think in terms of change. And since everything is always in a changing state it's a pretty basic low hanging fruit when it comes to training practical everyday intelligence. It's not advanced math... It's pretty basic thinking skills. The notation can be daunting, admittedly, but there's no way of discussing these abstract concepts in plain english.

      Any work with discrete samples deals with approximations. Calculus expresses the real thing. For instance, to understand the difference between adding samples and integration, where integration is the perfect solution and accumulation an approximation, requires understanding the concept of integration. In many cases feedback loops are created either explicitly or implicitly when code makes use of previous calculations (recursion in the mathematical sense), and understanding control theory gives a gut feel for when these are likely a risk and need damping. Control theory deals with recursive change, and without understanding change there's no understanding of control theory. IMO good education teaches understanding, and someone with an academical degree needs an understanding beyond plugging numbers into formulas.

      Calculus is hard because we have no natural senses that express the world that way. It's typically the first exposure a student has to considering reality in a way that's orthogonal to their natural human senses. It's hard because it's different and it is a challenge, no doubt about it. It takes everyone a while to get it, but then the next abstraction will be easier (often linear algebra).

    14. Re: depends on what you're going into by ClickOnThis · · Score: 4, Insightful

      Mod parent up. This whole discussion has a distorted notion of what constitutes "advanced math" in the context of an undergraduate degree in a scientific discipline. I would classify advanced math as anything taken at the junior/senior level, i.e., in third or fourth years. And yes, that might include such topics as topology and Hilbert spaces.

      Freshman and sophomore math that includes differential equations, linear algebra, statistics and introductory discrete math (combinatorics, etc.) just comes with the territory of a comp sci degree. It's not advanced math, it's the price of admission into a scientific or engineering discipline. Suck it up.

      --
      If it weren't for deadlines, nothing would be late.
  2. Think About It This Way by eldavojohn · · Score: 5, Insightful
    The verdict is: it's important.

    I have two resumes in front of me. I need someone who can write some fairly complicated software. Are they writing the kernel to an operating system? No. But they'll be making complexity decisions between a server and a client. Not exactly new or novel but important to me and my clients.

    So I look at one resume and the guy has suffered through integration by parts, linear algebra, differential equations and maybe even abstract algebra. The other guy went to a programming trade school where those are not taught. The trade school likely taught inheritance, pointers, typecasting, and all that good stuff just like the Bachelor's of Science degree would.

    Now do my solutions need integration by parts, linear algebra and differential equations? Absolutely not. But if I'm going to pick between the two, I'm going to take the applicant that solved more difficult problems in order to make it to a class. Few people actually care about those concepts deep in their hearts -- and I'm sure neither of my prospective employees did. But in that same vein, no rational developer is going to care at all that my client likes to be able to drag and drop files instead of doing file navigation to find the files he wants. But I want the applicant who's going to do the inane stuff that he doesn't personally view as important.

    Challenge yourself. Take the math courses. Take the logic courses. Take the statistics and combinatorics courses. Take the finite automata courses. Prove to yourself that there are no obstacles in your way. They are a great expense of time now but they are a huge investment in yourself -- no matter how pointless they appear to you.

    If I had understood what I was doing, maybe I wouldn't mind so much.

    You should attack this problem two different ways: 1) increase the amount of time you allot to your own personal enrichment in these topics/courses (three hours is very little time if you are approaching new concepts in math) and 2) seek outside instruction as it's also possible you have a professor who doesn't understand what they're doing either (the teaching, not the subject matter).

    --
    My work here is dung.
    1. Re:Think About It This Way by phantomfive · · Score: 2, Insightful

      Let's be honest, if they can program well, and your company has any resources at all, you'll hire both of them. Good programmers are in short enough demand that it's worth it to hire a good one when you find him, whether he has advanced math skills or not.

      --
      "First they came for the slanderers and i said nothing."
    2. Re:Think About It This Way by wolvesofthenight · · Score: 3, Insightful

      Challenge yourself.

      If the overriding goal is personal intellectual development, absolutely. But if you are worried about getting a good job, no. Most unfortunately, the university and employment system has a very effective built in punishment for this called the GPA. HR departments and hiring managers often filter by GPA. Some employers, like Sandia National Laboratory, have remarkably high GPA requirements. And you don't get the top GPA by challenging yourself.

      In your example, with a community college vs a university, the difference in degree would be very relevant, However, it sounds like AvailableNickname has already chosen a (4-5 year?) university and is simply asking what classes to take. When it comes to be job time, the main questions will be: Degree, GPA, coursework relevant to the job, and university reputation. Given his distaste of math I would hesitate to recommend a math intensive career path and study, though I do recommend a solid foundation.

      At a minimum, 1 year of Calculus and a semester of statistics. More if piratical. And it sure sounds like he is well into calculus. Beyond that, how about taking the classes most relevant to whatever career he would like? Simultaneously decide if it is work that he might actually enjoy and get something to put on his resume that directly relates to the job he wants.

      Also remember that you can study whatever you want and challenge yourself on your time after you finish school. When I hear somebody say "I wish I had taken more of X" I am inclined to say "Well, go study it." Be it books, local classes, or online classes, you can do independent study. Yea, it might not be as good as a real class, but don't let that stop you.

      --
      -WolvesOfTheNight
  3. You have more problems than you think by Anonymous Coward · · Score: 5, Insightful

    If you think advanced math is "anything beyond long division", you are probably going to be in trouble.

  4. 3 hours on differential equations? by phantomfive · · Score: 3, Insightful

    In the real world you're going to have problems that are much, much more difficult than 3 hours. Work through it, if for nothing else than to improve your problem solving skills. That is something you definitely will never regret.

    FWIW I had some trouble with differential equations, too. I went to the library and found a book there that explained it much better. Made my life a lot easier. If you're having trouble 'groking' advanced math then the problem might not be you, it might be your book/teacher. But if you are afraid of work, the problem is definitely you.

    --
    "First they came for the slanderers and i said nothing."
  5. Differential equations is not advanced math. by Garridan · · Score: 5, Insightful

    Mathematician here. You're learning differential equations to prepare you for lifetime of abstraction, to sharpen your skills in symbolic manipulation. Those differential equations probably won't really enter into the game... but who knows, you might end up doing game physics which is nothing but a massive differential equation solver.

    But I'm here to tell you that differential equations are not advanced math. Take a discrete math class to get a taste of what 'real' math is for a programmer. Take data structures. You'll find yourself doing formal proofs (real math), and it will be extremely applicable to the rest of your programming career. That DE class is there just to make sure you can manipulate symbols.

  6. Logic and love of computers is key by bhlowe · · Score: 4, Insightful

    If you enjoy programming and computers, don't let poor math skills stop you from doing what you like. I sucked at calculus and do very well as a programmer. Logic is the more important skill.

    1. Re:Logic and love of computers is key by RedHackTea · · Score: 3, Insightful

      Agreed. You only need more complicated math if you're going into research, getting a Masters/Doctorate degree, or game development (this can still be argued away as there are many internal tools and interface developers that don't need complicated math). It depends on your career path.

      The most that I use (as a typical 9-5 programmer) is algebra, proportions, statistics, and other simple math learned in High School or in my CS classes. Logic, data structures, etc. are far more important. Occasionally, I'll use some CS algorithms (infix notation, depth/breadth-first searches, etc.), but they're all related to CS with only a rudimentary knowledge of math needed. I've never used Trigonometry, Calculus, or anything higher on the job.

      Ignorant bosses still have this mindset of Math & CS being tightly interlinked and how Math helps greatly. It helps to a degree, but not that much. I've known programmers that had high degrees of math -- and ultimately it's just a lot of "theory" in my opinion. They didn't do a lot of practice and application. Because of the high burden of math, they were forced by their colleges to put more focus on theory. Their job performance was/is terrible. They're crap programmers, sorry. So, then the bosses decide to put them as designers and architects... that may work with buildings, but not programming. In programming, you have to know how to build something properly in order to design it properly, so again, complete crap. If you want to be a programmer, learn CS and programming. If you think that you may need math or it will help you get hired, then pass all of your math classes with a C average and focus your intention on getting A's in your CS classes (while hacking out fun coding projects on the side). Then for the little time you have left drink some Sunny D and Rum and enjoy life...

      --
      The G
  7. Really, who cares? by waddgodd · · Score: 4, Insightful

    This is an exemplar of a phenomenon that I'm really beginning to despise in higher ed, the "do I NEED this?" phenomenon. Frankly, you don't NEED any given class to do most jobs out there. To be precise, your College diploma will not prepare you in the slightest for any of the multitude of skills you actually need in the job market nor is it designed to do so.. It is designed to prove you have the flexibility and desire to learn anything that comes across your plate. Picking and choosing what's actually relevant to your presumed career path is doing the exact opposite of this. How it impacts ME in a way that makes me despise it is that this trend is also transparent to College Professors, who now have no time to actually teach those that want to learn because they spend most of the semester fielding questions like "how will I use this as a McDonald's Fry Cook (or whatever the student laughably thinks they'll be employed as after graduation)" so they can't answer the basic "where can I find out more about this fascinating bit", leading to students like me getting so frustrated at the crap that they just give up on lectures. My honest advice to you is "if you don't think it's relevant to your interests, don't take it and petition the requirement off, you'll save a lot of people a lot of hassle that way"

    --
    Just because you're paranoid doesn't mean they aren't out to get you
  8. maybe yes maybe no by OldSoldier · · Score: 4, Insightful

    First, I agree 100% with everyone who says "yes" I agree 'even more' (math joke there) with those who suggest a different computer degree where math is emphasized less. However, let me paint an oddly two-sided picture with 2 different stories.

    I have a masters in math. In class one day our professor mentioned that he consulted for the forestry (or some such) department at the school. They were trying to calculate the area of an arbitrary region so as to estimate the number of trees within that area. Problem is the area may be convex or concave. The CS department at this school was trying to solve the problem by triangling the polygon, but ran into difficulties if the area was concave. My professor suggested using Green's theorem. Moral??? On the one hand advanced math gave a much more elegant solution to this problem, on the other hand **the CS department** at this school wasn't advanced enough to suggest it on their own... so if THEY can't do it... (fill in the blank).

    Many years later I was managing a small group of contractors on a project (I was also designer for this project) and I casually mentioned during a design meeting that we could calculate the score we needed by doing a weighted average of the various datapoints we already had. One developer mentioned outright that he would need me to write up the weighted average routine in psuedocode and I suspect the other developer felt the same way but was less forthcoming about his ignorance. Floored but already stuck with these guys, but then again... they're contractors and I believe they've been able to keep themselves employed since.

    At the end of the day, I'm one of those who thinks math and computer science is like solving puzzles... I would rather hire someone who likes solving all kinds of puzzles than one who has an admitted weakness in some (but perhaps not all) puzzles. If you indeed hate math that much I think you need to do some soul searching and figure out what sub-field of CS would be best suited to you. If you go into a field that requires math and you suck at it you'll probably be eclipsed by others more adept at it. On the other hand a lot of people who like math and CS are quite content to end their careers there... so if you have a growth plan that gets you out of CS work within a few years of graduating...

  9. Re:Oh dear by mblase · · Score: 5, Insightful

    "Good at computers" ?

    you should put that on your résumé.

    That was about my reaction.

    Long bio short: I was *great* in math in high school, pretty good at calculus, but differential equations and their non-algorithmic problem solving methods just confused the heck out of me. (In hindsight, I should have asked my teachers for more help.) At the end of my freshman year I was introduced to NCSA Mosaic and then Netscape 0.9, started teaching myself HTML and, later, JavaScript, and got a job coding web sites. I still do that.

    I took to programming so well, I wished I'd tried it sooner. Turns out that programs and math proofs use the same sort of abstract logic -- get from point A to point B using these pieces.

    I always liked computers, but I don't suppose I'd describe myself as "good with computers." That means USING software, not WRITING it. Writing software requires judicious applications of logic and optimization, with varying levels of analysis and computation sprinkled in.

    And the further you get in programming, the more advanced math you need. Graphics? Uses trigonometry. Animation? Matrix algebra. You probably won't need calculus or differential equations unless you're actually doing engineering, but how do you know at this point that you won't?

    Heck, my state university wouldn't even let me get a CompSci minor without passing a class in circuit design, and you'd better believe I needed to know algebra when designing a binary multiplier.

    My point is this: computer science IS math, just with a different vocabulary. Being a CS major because you're "good with computers" is like being an auto mechanic because you're "good at driving".

    Math isn't about numbers, it's about logic and problem solving, and computer science is even more so. If you can't even find something to enjoy about simple algebra, then with all due respect, you're in the wrong field.

  10. Go back and learn the basics by Guru80 · · Score: 4, Insightful

    Firstly, it's very important. You will be kicking yourself in the ass for the next 10 years when you have to keep going back to figure out all this "crap you will never need" that you just so happen to need every month.

    Your problem seems to stem from a lack of understanding the basics according to your summary. Go back and really study them until you understand tehm; it will make life so much easier and it won't take long. Everyone these days are "good with computers" and if that is your selling point you can get hired for helpdesk support at minimum wage right now. If you want to be involved in any of the advanced CompSci areas though those fundamentals (advanced math is one of many) are absolutely necessary. The first time you can't figure out a simple algorithm because you don't understand the math behind it just stand up, shake the interviewers hand and go home, you already don't have the job.

  11. CS Departments do a poor job at this.... by Fallen+Kell · · Score: 4, Insightful

    This is one area where I feel most CS departments do a very poor job explaining why this math is important. Too many seem to simply teach the math, but not WHY they are teaching the math. They do not show practical reasons for the the math, it is more simply taught as "Well this is the math. You need to know it because you need to know math".

    This is one of the reasons why I loved the way I learned these more advanced math classes. I was initially an Electrical and Computer Engineering major. Our Freshman and Sophomore curriculum was already per-designed before we even started. There were exactly zero changes you could make to it (unless you failed a course). We had calculus, physics, chemistry, biology, (and a few engineering classes, which were essentially introductions to engineering design, debugging/measuring instrumentation like oscilloscopes, multimeters, etc., basic circuit design, and practical implementation). But, all the classes were directly integrated. Meaning that at 9am when you had your calculus class which taught you differential equations, at 10:30am in your physics class you were then using the techniques that you learned in calculus to solve real world problems. The same with the chemistry and biology. Every professor knew exactly what was being covered in the other classes, so they knew exactly when they would use that material in a practical matter in their own course. We were using calculus to derive velocity vectors of moving objects, tangential line equations, and 3 dimensional transforms, the day we learned how to use the advanced math. So we were seeing the practical reason for the math and why it was relevant in the same day that we learned it.

    For a lot of programmers, you may not need to use those techniques, especially if you are simply writing social applications, or word processors. But if you are modeling 3 or 4 dimensional objects, simulating physics, creating a game engine, writing graphical engines like photoshop/GIMP, all this advanced calculus, differential equations, and matrix operations are very relevant.

    --
    We were all warned a long time ago that MS products sucked, remember the Magic 8 Ball said, "Outlook not so good"