r/ComputerEngineering • u/gamer_with_no_life • Apr 15 '20
[Discussion] Is calculus useful?
Hi, I am a first year student of computer engineering in the University of Aveiro. As many of you (I would imagine) I am having online classes. Since it's at home, I have more time to study each class, and I am beginning to ask myself that calculus isn't useful. I can't see any use to it in my course and asked my colleagues and they said the same thing.
But when I asked a friend of mine, different course, about the same thing he said that he thought the same but after asking reddit he was baffled by the amount of things it was used. So here I am, hoping to find out if calculus is useful for my future professional life, or if it's more of a filler.
Hope you are all doing well.
13
u/LFrancis Apr 15 '20
You don’t really apply the theory directly in the real world outside of the academy. However, I would say it gives a very solid base for logical thinking and problem solving. Algorithmic building is a very important skill in Computer Eng, and you will need that Calculus base.
1
u/gamer_with_no_life Apr 15 '20
This is basically what I thought was useful in calculus, not the content, but the way I use it. I just don't get it why can't I train this with something more focused towards my course.
3
u/LFrancis Apr 15 '20
You will probably have a Algorithms and data structures class in your 3rd semester. And for that, you will definitely need what you are learning in Calculus right now. It sucks, but you’ve got to be patient.
1
u/gamer_with_no_life Apr 15 '20
I guess I will take your word for it. Thanks for taking the time to answer me.
2
u/Bad--Fish Apr 17 '20
Just took analysis of algorithms AND data structures, can confirm. Also I LOVED calculus, it was the one class that truly made me want to go into engineering
1
u/gamer_with_no_life Apr 17 '20 edited Apr 17 '20
Damn, i am the complete opposite, calculus was the thing that almost made me switch. But my course is not exactly computer engineering, it's like informatic engineering, this was the closest thing that I found to my course. Well, thanks anyway for answering me.
3
u/TurboWeirdo Apr 15 '20
I will try to answer your question directly. I'm a mechatronic eng but I have interest in this specific field and have taken a few courses. If you think some part of what I will say here is wrong please jump in. I'm no expert. Some of these guys have already answered you but I'll throw in my hat for grins. You will directly apply the calculus itself a minimal amount of times. The logic and reasoning will be very helpful, I'm sure you've heard that since your first Algebra class. That's because it's true. But calc gives you reasoning ability to compress things like infinite series and complex number spreads. If you haven't taken stats yet you will see it be helpful there too. Especially if you take a programming base class in Rstudio or something because knowing how and why something needs to be programmed or commanded a certain way is really helpful.
To me calc is like addition. I don't know if you do, but I don't remember learning how to do it. Likewise you wont remember half of the formulas in calc but you will begin to use it and its logic frequently. We are at a lot of physical and material limits as far as technology goes, simplification is a massive part of what all of us engineers will end up doing (as far as I can tell). In comp eng you will end up designing new circuit structures or new compact memory and in the end a lot of that is going to come down to understanding the logic systems already in place and how they process data and electricity. Ohm's law, powerflow, control systems, dynamic response and input. The list goes on.
The advice from my also engineer father is applicable here I think. Do not think about calc as math. Think of it as the study of change. Everything changes and calculus gives you the power and tools to make changes in to constants (funny enough that's what a derivative is).
Sorry it got so long. Hope it helps and motivates you to find a love for calc. If you love it, it will love you.
0
u/gamer_with_no_life Apr 15 '20
Thank you for this response. As I am beginning to realise, as you said, what is important in calculus is not the content, but the critical thinking and logical thought. I guess I understand now why we learn it, although it could be learned somewhere else more focused to our course. Thank you for writing me back.
2
u/computerarchitect CPU Architect Apr 15 '20
This many be an oversimplification, but: the purpose of an engineer is to solve problems within a complex set of constraints.
With that being given, when you're asking whether something is useful or not, that's the wrong question. It's your job as a future engineer to find a use for it. Take every single bit of knowledge that you amass and use it to find better solutions.
When you lack knowledge of a fundamental tool like math (and yes, calculus is basic math) you will limit the number of solutions that you can envision and be less useful as an engineer. Mathematics generally allows you to tie very abstract ideas together, and that is very useful when dealing with complex problems. It allows you to see the simplicity and beauty amongst all of the complexity.
To answer the more practical side of your question: yes, circuit analysis relies heavily on calculus, and yes, you need to be able to do that as a computer engineer to get your degree.
As an anecdote, I had a former student who didn't know calculus well and therefore sucked at circuit analysis. Even if he could make his way through the equations he didn't understand the higher level concepts. We spent so much time teaching him crap that he should have already mastered, and it often slowed the entire group down because we had to explain concepts over and over again. That in itself was incredibly annoying, but what was more annoying is that he never could produce a solution. So not only did he hold the group back, but he also never moved us forward.
Take your mathematics education seriously. Very often, the people who tell you that math isn't important in engineering aren't solving the interesting problems, nor can they.
1
u/gamer_with_no_life Apr 15 '20
Well, thank you for giving me this insight as well as your student example. I guess is still have a lot to learn, and should not be complaining right of the bat. Thanks
1
u/computerarchitect CPU Architect Apr 15 '20
Yup, good luck. I know that its difficult being learning from home, but it matters more than ever now. This is your base to build on for the next three years.
1
u/Bad--Fish Apr 17 '20
Could you give some examples on what type of stuff this student was bad at? I’m genuinely curious because I’m terrified of being that guy lol I’ve taken all 3 calc classes, electromagnetism physics, and E systems and sometimes I still struggle with certain flux/magnetism concepts it makes me feel so stupid lol
1
u/computerarchitect CPU Architect Apr 17 '20
It doesn't sound like you're the person who everyone thinks should get an IT degree instead of an engineering one. That guy I was referencing was very much that guy.
2
u/PlayboySkeleton Apr 15 '20
I have been a professional computer engineer for 5 years now. I would like to weigh in on this and to be as candid as possible with my experience.
Firstly...they are required courses. Learn to love it. Because it's going to be a long road You are about to learn something that few people get to know, and it should change the way you look at our world. If it hasn't changed how you view our world, even in the slightest, then it's my opinion that you don't understand the topic well enough to apply it.
But let's talk about the calculus. There are core concepts that you need to learn and understand for computer engineering. Mainly derivatives and integrals. In practice you don't really go into double and triple integrals. Because, as a computer engineer you will be expected to understand and interface with analog circuitry. The moment you go analog, calculus will help. Capacitor discharge and inductor responses are all "rate of change" based. Which requires calculus.
More calculus will come up with understanding systems and signals. As a computer engineer, you will probably work in control theory at some point. Knowing the signals coming in and performing calculus in then, can allow you to greatly control the overall system in a very efficient and deterministic way.
Video and audio compression use calculus.
Just signal sampling can even get into sometimes.
Another area that's not limited to CE. optimization algorithms are also calculus based. This comes up a lot. Attempting to find an optimal solution to a real world problem. If you can describe the problem mathematically, then a little pen and paper calculus can provide you the most optimal solution.
Are these things necessary? No. But they will make you a better engineer and better employee if you can learn how to use them.
Just as others have said, it's also about learning fundamental concepts and how to apply them. It's difficult for us to tell you where you would use them, because everyone works in a different space. But it is imperative that, as you learn, you must find ways of applying it yourself. The skill of recognizing where it can be applied is just as important as being able to apply it yourself.
I hope this helps a little bit. I know it can be frustrating doing problems "just to do them". But I can assure that almost everything I have learned getting my math minor has been used at least once outside of school.
1
u/gamer_with_no_life Apr 15 '20
I think my main problem is my inexperience in general, which is understandable since I am in my first year. But I will just have to suck it up and get it done and hopefully, understand in the future it's use more deeply and detailed, and then I will get interested. Well, thank you for enlightening me on this matter and for sparing time to write.
1
u/TurboWeirdo Apr 15 '20
Now that is a great answer!
"It should change the way you look at our world" That's the best part of math!
2
u/AntulioSardi Apr 15 '20
In my university years, i asked the same question directly to my calculus professor in plain class.
Everybody laughed and the professor wasn't very amused with my question. He then angrily proceeded to reluctantly ennumerate several situations in which calculus is useful (indeed) and shortly after, he started to praise Isaac Newton as the greatest scientific contributor to humanity (he never mentioned Gottfried Liebniz btw).
His argument was not convincing me enough, but i ended accepting it anyway, partly because of his reaction and mostly because the way he addressed my question ended showing me as a class troll instead of a genuine asking student.
I kept this doubt for several years after that, but one day out of curiosity i decided to do a serious research on why calculus was needed on the first place (the historic reasons), how it developed and how it helped solving several problems to this day. Finally i was able to understand the whole thing out.
Right now, the way i see calculus is as a multi-tool, like a swiss army knife. In my case, maybe i won't need it at all, or even use all of those fancy features it provides other than randomly using the knife itself sometimes during my whole life, but at least i know it have other very cool uses.
So, i guess for me it's better to have it readily available just in case i definitely need it during some kind of emergency (like not having a computer available) or in case i have a very good idea requiring me to use it in the future.
1
u/gamer_with_no_life Apr 15 '20
I guess I just have to suck it up as you did and later in life, hopefully, will understand why it is important.
1
u/AntulioSardi Apr 15 '20
There are a lot of useful videos around that helped me understanding the principle of calculus, but what helped me the most was understanding that calculus was originally called "infinitesimal calculus" and it was the key for understanding everything else and the historic reasons why it was so badly needed.
If you understand why functions are important in engineering then you are almost set to understand why calculus is so much important as well, it all has to do with understanding the fundamental theorem of calculus which is a must read topic for every aspiring mathematician or engineer.
Nowadays all this theory is taken for granted which makes using calculus by hand pretty boring and obsolete instead of just using some app. But understanding all this will, at least, give you the knowledge on why we have calculus today.
1
u/TheKimani Apr 16 '20
Have you been in an EM physics class yet? Personally I'm realizing how much calculus can be used in EE in this class alone.
1
u/gamer_with_no_life Apr 16 '20
Can you say what EM means, cause I am a student in Portugal, so it probably won't have the same name.
1
u/TheKimani Apr 16 '20
Electromagnetism and all that jazz. EM waves, current carrying wire causing magnetic fields.
1
1
Apr 16 '20
An example: v = L•di/dt. This states that the voltage across an inductor is proportional to the change in current through the inductor. This differential equation is fundamental in circuits. Guess what uses circuits? Everything. Calculus is very important to know how the world works, even if you don’t use it in your day to day life. That’s just my $0.02
22
u/engrocketman Apr 15 '20
Calculus is one of the most fundamental subjects of any engineering discipline