By using this site, you agree to our Privacy Policy and our Terms of Use. Close

Forums - General - How much maths is involved in Computer programming?

nightsurge said:
Faxanadu said:
Nothing very serious.

Only Algebra, Analysis and Numerics.

Wrong. You will want to be good at Calculus, Linear Algebra (much more complicated than normal algebra, don't let it fool you), Discrete, and depending on what you're doing, Physics classes could be helpful.

Unless you think those are all easy, but at my university they were insanely difficult :S

Your correction is a bit misguided.  Taken together, it's likely that Faxanadu was referring to three rather broad areas of mathematics, so it strikes me as facetious ("Ohhh nothing much, just nearly all of mathematics").  It sounds like you haven't taken any math above second-year university.  Calculus doesn't even begin to scratch the surface of the field of Analysis.  Linear Algebra is the easiest and most well-understood part of Algebra (don't let it fool you, the "algebra" everyone learns in high school is entirely different from what mathematicians call algebra).

But you're right that Discrete is pretty darned important for programming and seems to be missing from the list.



Around the Network
Rath said:
To be honest while computer programming itself doesn't always require much in the way of mathematics it does require exactly the same sort of thinking. If you struggle with maths you're likely to struggle with programming.


I agree that it requires the same thinking but i dont agree with your last point.

Programming is nothing but a set of concepts and standards and undestanding these is fairly basic. Some poeple might argue that maths and physics is the same but i would disagree there or atleast i disagree that they easy to understand and apply practically.

However mathematics and physics carry a sort of stigma to it. Whereas programming for some reason doesnt, im not sure why but it makes it more accessible.



Intel Core i7 3770K [3.5GHz]|MSI Big Bang Z77 Mpower|Corsair Vengeance DDR3-1866 2 x 4GB|MSI GeForce GTX 560 ti Twin Frozr 2|OCZ Vertex 4 128GB|Corsair HX750|Cooler Master CM 690II Advanced|

snakenobi said:
Shinobi-san said:
I think it all depends on what you are doing.

Initially i applied to a university to do computer science...but considering that that specific university requires you to do a physics and maths course i decided not to do it. I probably could have handled it but i sure as hell would not have enjoyed it. Im currently studying at a technical university doing development software, in this course we focus on programming applications, mobile applications, websites, as well as databases and design. Computer science goes deeper than this and at the end of a computer science course ul be able to code a operating system (kinda). A lecture of mine also mentioned that game developement requires quite a bit of maths.

So id imagine the deeper you go the more mathematical it becomes, basic applications however are not so heavy on maths. And sometimes even if it you will cope with it. I find that some people who absolutely hated maths, love to program and are very good at it.

For the type of applications that you mentioned as well as websites i think you will be fine. However some universities require you to do some hectic physics and maths which you then need to pass.

the thing you are doing is the exact thing i want to do

and yes i can do maths and physics but i am not going to enjoy it like you said about urself

Then maybe you shouldnt do computer science but study something similar to what i am doing. As i understand it, if you do computer science at a traditional university physics and mathematics is required.



Intel Core i7 3770K [3.5GHz]|MSI Big Bang Z77 Mpower|Corsair Vengeance DDR3-1866 2 x 4GB|MSI GeForce GTX 560 ti Twin Frozr 2|OCZ Vertex 4 128GB|Corsair HX750|Cooler Master CM 690II Advanced|

Shinobi-san said:
snakenobi said:
Shinobi-san said:
I think it all depends on what you are doing.

Initially i applied to a university to do computer science...but considering that that specific university requires you to do a physics and maths course i decided not to do it. I probably could have handled it but i sure as hell would not have enjoyed it. Im currently studying at a technical university doing development software, in this course we focus on programming applications, mobile applications, websites, as well as databases and design. Computer science goes deeper than this and at the end of a computer science course ul be able to code a operating system (kinda). A lecture of mine also mentioned that game developement requires quite a bit of maths.

So id imagine the deeper you go the more mathematical it becomes, basic applications however are not so heavy on maths. And sometimes even if it you will cope with it. I find that some people who absolutely hated maths, love to program and are very good at it.

For the type of applications that you mentioned as well as websites i think you will be fine. However some universities require you to do some hectic physics and maths which you then need to pass.

the thing you are doing is the exact thing i want to do

and yes i can do maths and physics but i am not going to enjoy it like you said about urself

Then maybe you shouldnt do computer science but study something similar to what i am doing. As i understand it, if you do computer science at a traditional university physics and mathematics is required.

Whether you study them or not, good understanding of maths is a huge bonus in computer software and is part of what makes the difference between a mediocre and a good developer. Of course once again, it depends what kind of software you are developing...

 

As for the enjoyment part I have a hard time seeing how one can enjoy programming and hate maths at the same time. At the intellectual level they are very sinilar...



PS3-Xbox360 gap : 1.5 millions and going up in PS3 favor !

PS3-Wii gap : 20 millions and going down !

ebw said:
nightsurge said:
Faxanadu said:
Nothing very serious.

Only Algebra, Analysis and Numerics.

Wrong. You will want to be good at Calculus, Linear Algebra (much more complicated than normal algebra, don't let it fool you), Discrete, and depending on what you're doing, Physics classes could be helpful.

Unless you think those are all easy, but at my university they were insanely difficult :S

Your correction is a bit misguided.  Taken together, it's likely that Faxanadu was referring to three rather broad areas of mathematics, so it strikes me as facetious ("Ohhh nothing much, just nearly all of mathematics").  It sounds like you haven't taken any math above second-year university.  Calculus doesn't even begin to scratch the surface of the field of Analysis.  Linear Algebra is the easiest and most well-understood part of Algebra (don't let it fool you, the "algebra" everyone learns in high school is entirely different from what mathematicians call algebra).

But you're right that Discrete is pretty darned important for programming and seems to be missing from the list.

Hmm, perhaps you did not have the same Linear Algebra level as I have? Regardless, with a CS degree, you really shouldn't be taking many math classes above the 200 (or second year) level. I had 3 Calculus classes my first and second year, as well as 3 physics classes. My highest math class was 351 (or third year level) being Linear Algebra and 511 (senior level) which was a stats class for science majors.

I think you are misguiding him if you suggest that Linear Algebra is easier than high school Algebra.

But you are right, after re-reading it, it does seem that he may have been trying to be facetious/sarcastic with his reply and it went over my head at the time. :)



Around the Network

Logic is far more important in programming than math. You need to have a solid understanding of how an application should flow, how to manage data (not getting the same data multiple times, or using multiple database calls to get data you could in one call) and reusing code. Don't have 5 functions that do the same thing with slightly different parameters. Write one function that will handle all 5 different scenarios.

And for the love of god, comment your code.



Ail said:
Shinobi-san said:
snakenobi said:
Shinobi-san said:
I think it all depends on what you are doing.

Initially i applied to a university to do computer science...but considering that that specific university requires you to do a physics and maths course i decided not to do it. I probably could have handled it but i sure as hell would not have enjoyed it. Im currently studying at a technical university doing development software, in this course we focus on programming applications, mobile applications, websites, as well as databases and design. Computer science goes deeper than this and at the end of a computer science course ul be able to code a operating system (kinda). A lecture of mine also mentioned that game developement requires quite a bit of maths.

So id imagine the deeper you go the more mathematical it becomes, basic applications however are not so heavy on maths. And sometimes even if it you will cope with it. I find that some people who absolutely hated maths, love to program and are very good at it.

For the type of applications that you mentioned as well as websites i think you will be fine. However some universities require you to do some hectic physics and maths which you then need to pass.

the thing you are doing is the exact thing i want to do

and yes i can do maths and physics but i am not going to enjoy it like you said about urself

Then maybe you shouldnt do computer science but study something similar to what i am doing. As i understand it, if you do computer science at a traditional university physics and mathematics is required.

Whether you study them or not, good understanding of maths is a huge bonus in computer software and is part of what makes the difference between a mediocre and a good developer. Of course once again, it depends what kind of software you are developing...

 

As for the enjoyment part I have a hard time seeing how one can enjoy programming and hate maths at the same time. At the intellectual level they are very sinilar...

I think we have already establised what kind of software he is talking about, and from that point maths and physics is definately not required. And by maths and physics i mean higher level university stuff (which is what he meant when he asked the question).



Intel Core i7 3770K [3.5GHz]|MSI Big Bang Z77 Mpower|Corsair Vengeance DDR3-1866 2 x 4GB|MSI GeForce GTX 560 ti Twin Frozr 2|OCZ Vertex 4 128GB|Corsair HX750|Cooler Master CM 690II Advanced|

nightsurge said:
Faxanadu said:
Nothing very serious.

Only Algebra, Analysis and Numerics.

Wrong. You will want to be good at Calculus, Linear Algebra (much more complicated than normal algebra, don't let it fool you), Discrete, and depending on what you're doing, Physics classes could be helpful.

Unless you think those are all easy, but at my university they were insanely difficult :S

And as ghettolamour pointed out, it really depends on WHAT you will be programming and to what level. I'm focusing more on software engineering, AI, maybe graphical items in the future, etc.

Next time try some reading comprehension.

I poninted out that to study that stuff you have to do all the high-level math stuff, such als Algebra (Linear), Analysis (the most evil stuff) and numerics (probably what you refer to as calculus?).



Any message from Faxanadu is written in good faith but shall neither be binding nor construed as constituting a commitment by Faxanadu except where provided for in a written agreement signed by an authorized representative of Faxanadu. This message is intended for the use of the forum members only.

The views expressed here may be personal and/or offensive and are not necessarily the views of Faxanadu.

snakenobi said:

I am gonna start learning computer science but am a bit weak at Maths.

 

Whats types of maths is required and for what type of programs?

 

I mainly want to develop applications and services


I'm a classically trained Computer Scientist and I have to say maths is necessary to some degree.

Basically it depends how deep you want to go in to the subject.

If you're maths is poor you may be better off sticking to some very high level languages which will hide the complexity of programming from you.

If you want to seriously become a coding guru then I think you may struggle.

Then again they say Paul McCartney wrote all his songs without being able to read music so more power to you !!!



Faxanadu said:
nightsurge said:
Faxanadu said:
Nothing very serious.

Only Algebra, Analysis and Numerics.

Wrong. You will want to be good at Calculus, Linear Algebra (much more complicated than normal algebra, don't let it fool you), Discrete, and depending on what you're doing, Physics classes could be helpful.

Unless you think those are all easy, but at my university they were insanely difficult :S

And as ghettolamour pointed out, it really depends on WHAT you will be programming and to what level. I'm focusing more on software engineering, AI, maybe graphical items in the future, etc.

Next time try some reading comprehension.

I poninted out that to study that stuff you have to do all the high-level math stuff, such als Algebra (Linear), Analysis (the most evil stuff) and numerics (probably what you refer to as calculus?).

Yes, yes, it went over my head at the time. Check my conversation above with someone that pointed it out. :)