9
Calculus in R
Calculus is a branch of mathematics that studies the relationship between two quantities, connected via a function, from either a micro or a macro perspective. Taking a microscopic lens, such a relationship (often denoted by y = f(x)) manifests in the form of a very small change in the output y given an infinitesimal change in the input x. When switching to the macro perspective, the relationship becomes the cumulative change in y as x changes. The micro perspective corresponds to differential calculus, and the macro perspective corresponds to integral calculus, both introduced in this chapter.
By the end of this chapter, you will have grasped essential concepts in differential and integral calculus. Practical implementations ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access