Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Why so much mathematics in CS?

Why so much mathematics in CS?

Scheduled Pinned Locked Moved The Lounge
helpquestion
53 Posts 40 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Kornfeld Eliyahu PeterK Kornfeld Eliyahu Peter

    My niece started to learn CS some 6 weeks ago. I just realized that nothing changed since I left...They still pump an enormous amount of mathematics into students. I'm aware that, good logical thought is a must-have for CS, and that good mathematics means the same, but even so! Did you learned that much mathematics as part of your studies? Was it really helpful?

    Skipper: We'll fix it. Alex: Fix it? How you gonna fix this? Skipper: Grit, spit and a whole lotta duct tape.

    A Offline
    A Offline
    Amarnath S
    wrote on last edited by
    #19

    Nothing specific to CS. All branches of Engineering - Mechanical, Civil, Aero, Electrical, Chemical, Instrumentation, etc. have significant amount of math at the University level. Being a Mechanical Engineer, my math focus was more on differential equations, whereas MIT[^] gives an entirely different focus for CS.

    1 Reply Last reply
    0
    • Kornfeld Eliyahu PeterK Kornfeld Eliyahu Peter

      My niece started to learn CS some 6 weeks ago. I just realized that nothing changed since I left...They still pump an enormous amount of mathematics into students. I'm aware that, good logical thought is a must-have for CS, and that good mathematics means the same, but even so! Did you learned that much mathematics as part of your studies? Was it really helpful?

      Skipper: We'll fix it. Alex: Fix it? How you gonna fix this? Skipper: Grit, spit and a whole lotta duct tape.

      V Offline
      V Offline
      virang_21
      wrote on last edited by
      #20

      During my CS course I learned mathematics for 5 semesters and loved it....then again it is a heredity thing i guess as my father is a mathematics teacher...

      Zen and the art of software maintenance : rm -rf * Maths is like love : a simple idea but it can get complicated.

      1 Reply Last reply
      0
      • Kornfeld Eliyahu PeterK Kornfeld Eliyahu Peter

        My niece started to learn CS some 6 weeks ago. I just realized that nothing changed since I left...They still pump an enormous amount of mathematics into students. I'm aware that, good logical thought is a must-have for CS, and that good mathematics means the same, but even so! Did you learned that much mathematics as part of your studies? Was it really helpful?

        Skipper: We'll fix it. Alex: Fix it? How you gonna fix this? Skipper: Grit, spit and a whole lotta duct tape.

        B Offline
        B Offline
        Brady Kelly
        wrote on last edited by
        #21

        I think the Science part of CS is a clue. :) Much of what we know as CS has it's roots in branches of science very close to mathematics and seriously pre-dates most modern computers. For a less maths centric approach, I would suggest a related field of study, not CS. You can't water down CS by going easy on the maths, but you can avoid too much maths by choosing a less academic and theoretical field of study.

        No object is so beautiful that, under certain conditions, it will not look ugly. - Oscar Wilde

        1 Reply Last reply
        0
        • Kornfeld Eliyahu PeterK Kornfeld Eliyahu Peter

          My niece started to learn CS some 6 weeks ago. I just realized that nothing changed since I left...They still pump an enormous amount of mathematics into students. I'm aware that, good logical thought is a must-have for CS, and that good mathematics means the same, but even so! Did you learned that much mathematics as part of your studies? Was it really helpful?

          Skipper: We'll fix it. Alex: Fix it? How you gonna fix this? Skipper: Grit, spit and a whole lotta duct tape.

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #22

          Computer science is mostly about discrete mathematics, and the rest is about continuous mathematics. So without maths there wouldn't really be anything to learn.

          1 Reply Last reply
          0
          • Kornfeld Eliyahu PeterK Kornfeld Eliyahu Peter

            My niece started to learn CS some 6 weeks ago. I just realized that nothing changed since I left...They still pump an enormous amount of mathematics into students. I'm aware that, good logical thought is a must-have for CS, and that good mathematics means the same, but even so! Did you learned that much mathematics as part of your studies? Was it really helpful?

            Skipper: We'll fix it. Alex: Fix it? How you gonna fix this? Skipper: Grit, spit and a whole lotta duct tape.

            M Offline
            M Offline
            Member 10707677
            wrote on last edited by
            #23

            Take into consideration that the persons responsible for developing the cirriculum are the same ones who may have been involved in the initial development of computer systems. When I started in the industry, the Computer Science degree courses didn't exist. In order to approach a computer system, you hade to have a degree in engineering (which explains the need for hard sciences and mathematics). By comparison, low level training for electricians include courses in logic circuits and logic reduction/substitution.

            1 Reply Last reply
            0
            • Kornfeld Eliyahu PeterK Kornfeld Eliyahu Peter

              My niece started to learn CS some 6 weeks ago. I just realized that nothing changed since I left...They still pump an enormous amount of mathematics into students. I'm aware that, good logical thought is a must-have for CS, and that good mathematics means the same, but even so! Did you learned that much mathematics as part of your studies? Was it really helpful?

              Skipper: We'll fix it. Alex: Fix it? How you gonna fix this? Skipper: Grit, spit and a whole lotta duct tape.

              G Offline
              G Offline
              Gary Wheeler
              wrote on last edited by
              #24

              My bachelor's degree program (class of 1984, computer engineering, Wright State University, go Raiders!) included 28 credit hours of math out of a 205 hour curriculum. This was 20 hours of calculus, 3 hours of matrix algebra, and a 5 hour course in differential equations. I've used the matrix algebra once, over a three month period, about 28 years ago. The part of my brain that stored that math education has been reformatted and now stores lines from old movies. The useful part of my math education was the vast amount of practice in learning how to identify, reason about, and solve problems. Everything we do is one of the infamous "word problems" that everyone in math classes despise.

              Software Zen: delete this;

              1 Reply Last reply
              0
              • B BiggerDon

                It's simple organizational politics and economics. FACT: CompSci was developed by Math Department. FACT: Because CompSci is a Math major, there are minimum requirements to be taught by the Math Department professors. Supposition: If Math Department loses control of Comp Sci major, math requirements would lessen causing Math Department to lose professors, staff and budget. Supposition: If Math Department loses professors, staff and budget then the Dean of the Math department would have less prestige and lower pay. Result: Math Department won't give it up CompSci major and the requirements for taking course in the math department stays high/ That said, many universities have business school programs with emphasis on information systems. The math requirements stop with applied calculus and statistics courses. The question is: Do you want to write compilers or business apps?

                cat fud heer

                D Offline
                D Offline
                Don V Nielsen
                wrote on last edited by
                #25

                Spot On! Do not limit everyone.

                1 Reply Last reply
                0
                • L Lost User

                  I did sum maths - in addition to the computer stuff. It divided the class but i'm positive it was integral to the course. Multiple students failed, and that's what differentiated them.

                  PooperPig - Coming Soon

                  M Offline
                  M Offline
                  MazDeBug
                  wrote on last edited by
                  #26

                  If you want to optimize algorithms then you got to know some Maths. Algorithm analysis involves Mathematics like proof by Induction etc. Dynamic Programming involves some Maths as well as well as Recursion. So Maths helps

                  1 Reply Last reply
                  0
                  • Kornfeld Eliyahu PeterK Kornfeld Eliyahu Peter

                    My niece started to learn CS some 6 weeks ago. I just realized that nothing changed since I left...They still pump an enormous amount of mathematics into students. I'm aware that, good logical thought is a must-have for CS, and that good mathematics means the same, but even so! Did you learned that much mathematics as part of your studies? Was it really helpful?

                    Skipper: We'll fix it. Alex: Fix it? How you gonna fix this? Skipper: Grit, spit and a whole lotta duct tape.

                    J Offline
                    J Offline
                    Joan M
                    wrote on last edited by
                    #27

                    Depending on the field you choose, I'm working in robotics and industrial automation and even mostly of the time maths are not needed, sometimes you can find really hard things to solve...

                    [www.tamautomation.com] | Robots, CNC and PLC machines for grinding and polishing. [YouTube channel]

                    1 Reply Last reply
                    0
                    • Kornfeld Eliyahu PeterK Kornfeld Eliyahu Peter

                      My niece started to learn CS some 6 weeks ago. I just realized that nothing changed since I left...They still pump an enormous amount of mathematics into students. I'm aware that, good logical thought is a must-have for CS, and that good mathematics means the same, but even so! Did you learned that much mathematics as part of your studies? Was it really helpful?

                      Skipper: We'll fix it. Alex: Fix it? How you gonna fix this? Skipper: Grit, spit and a whole lotta duct tape.

                      M Offline
                      M Offline
                      MKJCP
                      wrote on last edited by
                      #28

                      There's lots of paths to success out there. Math may not be necessary to be successful in the CS field but actually neither is formal education in CS (many readers cringing). I have a degree in math and write programs for a living (C# and Fortran) to perform mathematically based functions. It depends on what the focus of your programming is. In some areas it would be vital. Mostly I liken it to calisthenics for the mind. Give me 2 programmers with equal CS background and I would take the one that has a stronger math aptitude. But, I am clearly biased.

                      1 Reply Last reply
                      0
                      • C Colin Rae

                        Agree about the physics! Many, many moons ago when I started Uni I was aiming for a degree in Physics. That lasted until second year. The day my lecturer put a double integral sign up on the blackboard (I said it was long ago) was the day I knew I would have to find something else... so computing science it was!

                        J Offline
                        J Offline
                        Jan Heckman
                        wrote on last edited by
                        #29

                        And it gets plenty worse (or better, depending on your view of math) in physics after double integrals. But then, in CS, there's the C and the S, isn't there - and who would want to miss the S if it puts you effectively in a higher echelon?

                        1 Reply Last reply
                        0
                        • Kornfeld Eliyahu PeterK Kornfeld Eliyahu Peter

                          My niece started to learn CS some 6 weeks ago. I just realized that nothing changed since I left...They still pump an enormous amount of mathematics into students. I'm aware that, good logical thought is a must-have for CS, and that good mathematics means the same, but even so! Did you learned that much mathematics as part of your studies? Was it really helpful?

                          Skipper: We'll fix it. Alex: Fix it? How you gonna fix this? Skipper: Grit, spit and a whole lotta duct tape.

                          C Offline
                          C Offline
                          CAReed
                          wrote on last edited by
                          #30

                          Mathematics is the language of science and logic. Understanding it can make your understanding of the language of programming much easier. As for my own studies, since I hold a bachelor's degree in Mathematical Sciences and a master's degree in Statistics, I would say definitely I learned a lot of math in my studies and it was very instrumental in my learning of programming in general. Granted, my first programming gig was primarily because I was a statistician first and programmer second (I worked for a software house that produced mathematical and statistical libraries).

                          Christopher Reed "The oxen are slow, but the earth is patient."

                          1 Reply Last reply
                          0
                          • Kornfeld Eliyahu PeterK Kornfeld Eliyahu Peter

                            My niece started to learn CS some 6 weeks ago. I just realized that nothing changed since I left...They still pump an enormous amount of mathematics into students. I'm aware that, good logical thought is a must-have for CS, and that good mathematics means the same, but even so! Did you learned that much mathematics as part of your studies? Was it really helpful?

                            Skipper: We'll fix it. Alex: Fix it? How you gonna fix this? Skipper: Grit, spit and a whole lotta duct tape.

                            G Offline
                            G Offline
                            GenJerDan
                            wrote on last edited by
                            #31

                            The only math you need to know is that arrays start at 0. Except when they start at 1.

                            We won't sit down. We won't shut up. We won't go quietly away. YouTube and My Mu[sic], Films and Windows Programs, etc.

                            1 Reply Last reply
                            0
                            • Kornfeld Eliyahu PeterK Kornfeld Eliyahu Peter

                              My niece started to learn CS some 6 weeks ago. I just realized that nothing changed since I left...They still pump an enormous amount of mathematics into students. I'm aware that, good logical thought is a must-have for CS, and that good mathematics means the same, but even so! Did you learned that much mathematics as part of your studies? Was it really helpful?

                              Skipper: We'll fix it. Alex: Fix it? How you gonna fix this? Skipper: Grit, spit and a whole lotta duct tape.

                              A Offline
                              A Offline
                              agolddog
                              wrote on last edited by
                              #32

                              Some of it is the process taught in mathematics (or any branch of science, I suppose): how to properly analyze a problem, hypothesize, test, and re-work your hypothesis if the tests don't meet expectations. So, not so much the actual mathematics, for most developers, but that process is important. It does seem as if the developers I've come across (nearing 30 years now) with a scientific background tend to create stronger solutions than those who came out of the CIS-type side from the business college. On the other hand, sometimes the scientifically-minded people will create architectural 'masterpieces' where a simple solution would suffice. I suppose there's room for both in the world, depending on the needs of your employer/client.

                              1 Reply Last reply
                              0
                              • Kornfeld Eliyahu PeterK Kornfeld Eliyahu Peter

                                My niece started to learn CS some 6 weeks ago. I just realized that nothing changed since I left...They still pump an enormous amount of mathematics into students. I'm aware that, good logical thought is a must-have for CS, and that good mathematics means the same, but even so! Did you learned that much mathematics as part of your studies? Was it really helpful?

                                Skipper: We'll fix it. Alex: Fix it? How you gonna fix this? Skipper: Grit, spit and a whole lotta duct tape.

                                J Offline
                                J Offline
                                jelamid
                                wrote on last edited by
                                #33

                                They need to teach problem solving. The problem with most ways of teaching problem solving is grading the solution. The solution to that problem is use mathematics, it's easy to grade and it's easy to come up with problems to solve. I've used mathematics when the problem domain requires it, otherwise not so much. Not that I had too but I took, and passed, 2 years of calculus and 1 year of calculus based physics. The most useful courses I took, outside of CS, were the anthropology courses. :)

                                1 Reply Last reply
                                0
                                • Kornfeld Eliyahu PeterK Kornfeld Eliyahu Peter

                                  My niece started to learn CS some 6 weeks ago. I just realized that nothing changed since I left...They still pump an enormous amount of mathematics into students. I'm aware that, good logical thought is a must-have for CS, and that good mathematics means the same, but even so! Did you learned that much mathematics as part of your studies? Was it really helpful?

                                  Skipper: We'll fix it. Alex: Fix it? How you gonna fix this? Skipper: Grit, spit and a whole lotta duct tape.

                                  U Offline
                                  U Offline
                                  User 10677317
                                  wrote on last edited by
                                  #34

                                  All those math gives the basis to understand the "cool" things. I think for people that asks "why" more than "how to" cook recipes, those math is a must and very welcome.

                                  1 Reply Last reply
                                  0
                                  • OriginalGriffO OriginalGriff

                                    I went off to Uni (many moons ago) to study a BTech in Maths and Computer Science. At the end of my first year I failed every maths subject (getting zero in one exam, I suspect I didn't even get my own name right) and transferred to a "pure" CS after I re-did the maths exams (at home, no time pressure, all my books and notes. And friends who had passed them handy). I can say that with the exception of basic geometry the only thing I have needed any significant maths for since is low level graphics drivers (you need trig for arcs, curves, and circles). So no. It wasn't really handy. I think it's a hangover to the old, old days: when maths (and Latin) was at the root of all science and scientific thinking. You need some, yes - but nothing too advanced any more. (You need a damn sight more math for physics than for computing these days)

                                    Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...

                                    P Offline
                                    P Offline
                                    PhilLenoir
                                    wrote on last edited by
                                    #35

                                    I once had to do nested integration by parts in an Excel spreadsheet. BNF had an old Frameworks spreadsheet for calculating radiation from waste piles and they not only wanted it brought up-to-date, they wanted to pull dynamically from a database. One radioactive element breaks down to others - the math was seriously hairy. One formula couldn't fit into an Excel cell, so I created VBA functions. I remember one calculation had to be broken into smaller parts and even then I hit the maximum line continuation limit several times. [shudder/] I'm not sure that my uni math helped much though!

                                    Life is like a s**t sandwich; the more bread you have, the less s**t you eat.

                                    OriginalGriffO 1 Reply Last reply
                                    0
                                    • P PhilLenoir

                                      I once had to do nested integration by parts in an Excel spreadsheet. BNF had an old Frameworks spreadsheet for calculating radiation from waste piles and they not only wanted it brought up-to-date, they wanted to pull dynamically from a database. One radioactive element breaks down to others - the math was seriously hairy. One formula couldn't fit into an Excel cell, so I created VBA functions. I remember one calculation had to be broken into smaller parts and even then I hit the maximum line continuation limit several times. [shudder/] I'm not sure that my uni math helped much though!

                                      Life is like a s**t sandwich; the more bread you have, the less s**t you eat.

                                      OriginalGriffO Offline
                                      OriginalGriffO Offline
                                      OriginalGriff
                                      wrote on last edited by
                                      #36

                                      *cough* :splutter: :omg: The line continuation limit is 25 lines! You had single lines of code that big? :wtf: Did you run away and hide when it came time to maintain this? :laugh:

                                      Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...

                                      "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
                                      "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

                                      P 1 Reply Last reply
                                      0
                                      • OriginalGriffO OriginalGriff

                                        *cough* :splutter: :omg: The line continuation limit is 25 lines! You had single lines of code that big? :wtf: Did you run away and hide when it came time to maintain this? :laugh:

                                        Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...

                                        P Offline
                                        P Offline
                                        PhilLenoir
                                        wrote on last edited by
                                        #37

                                        I left the country

                                        Life is like a s**t sandwich; the more bread you have, the less s**t you eat.

                                        OriginalGriffO 1 Reply Last reply
                                        0
                                        • P PhilLenoir

                                          I left the country

                                          Life is like a s**t sandwich; the more bread you have, the less s**t you eat.

                                          OriginalGriffO Offline
                                          OriginalGriffO Offline
                                          OriginalGriff
                                          wrote on last edited by
                                          #38

                                          I don't blame you! Sounds like a prime candidate for Weird And Wonderful[^] though. Or are you worried that the next poor fool is going to hop on a plane and hunt you down? :laugh:

                                          Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...

                                          "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
                                          "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

                                          P 1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups