Re:Ask HN: What is calculus used for in Computer Science?
by _jn on Friday October 06, 2017 @07:11PM
(#15421129)
The US high school curriculum tries to provide different courses in a way that may be great for creative subjects or languages, but simply doesn’t work well for math. The level of interconnection (eg uses of calculus in probability theory and geometry) means that basic calculus (limits, continuity, one-variable derivatives and integrals) really should be an integral (sorry, couldn’t resist) part of a curriculum in which it is largely ignored.
I know, I haven't answered your question yet. I have used Calculus, even much more advanced calculus, in computer science applications such as using it to calculate the salient region of interest in a photograph, for example. But in reality, I rarely use it. That being said, studying calculus and higher forms of mathematics have given me a broader sense of how to best solve problems. They give me the ability to see a problem and realize that brute force isn't the only answer to the problem. Mathematics shows that solutions can be nuanced and beautiful. Calculus is a good start in seeing that. Applying that ability to look at a problem and find nuanced and beautiful solutions is key to good software development.
Again, I am not sure that actually answers your question. But I find calculus to be mind expanding. I hope you'll enjoy it as much as I have.
Now if you'd like to see an actual application of calculus being used in computer science you might want to read about Richard Feynman at Thinking Machines Corporation: http://longnow.org/essays/richard-feynman-connection-machine... . One of the quotes from the article always makes me smile: "By the end of that summer of 1983, Richard had completed his analysis of the behavior of the router, and much to our surprise and amusement, he presented his answer in the form of a set of partial differential equations."
There is also a rather funny urban legend/joke about teaching Calculus in the US versus other countries:
"A certain well known mathematical from the USSR, we'll call him Professor P.T. (these are not his initials...), upon his arrival at Harvard University, was scheduled to teach Math 1a (the first semester of freshman calculus.) He asked his fellow faculty members what he was supposed to teach in this course, and they told him: limits, continuity, differentiability, and a little bit of indefinite integration.
The next day he came back and asked, 'What am I supposed to cover in the second lecture?'"
Enjoy learning Calculus!