Summary
In this chapter, we covered the basics of calculus, including differential calculus and integral calculus. In the first section, we introduced an intuitive understanding of these two branches of calculus and covered the fundamentals of common functions and their properties. We started introducing the concept of limit and its connection to the definition of a derivative, followed by covering common derivative rules and properties. We also discussed integral calculus, including indefinite integrals and definite integrals, along with their rules and properties.
The second and third sections touched upon implementations in R. We introduced how to carry out common differentiation and integration using the D()
and antiD()
functions, with several examples illustrating their usage and conversion between the derivative function and its antiderivative.
In the next chapter, we will enter into the realm of mathematical statistics, starting with the basics of probability.