Calculus is another big branch of mathematics that has many use cases in the real world. In this guide, I will give you a solid understanding of basic calculus concepts that you should know for learning other calculus concepts used in AI and Data Science.
What Is Calculus?
Calculus is a branch of mathematics that deals with the study of change and motion. it provides a framework for understanding how something changes with respect to another thing (how quantities change and interact with each other).
key Concepts in Calculus:
- Limits
- Derivative
- Integral
Limits
limits help us to see what happens to function when reaches a certain value. You would think, we can get the answer by solving the equation.
Lets think, , So what happened when = 2:
We know that can not be defined(Undefined). That’s where limits help us to find what happened to when reached 2. Let’s take another approach to understand this,
What happened if x = 2.1:
What happened if x = 2.01:
You can see when is close to 2 the output result also gets closer to 4. We can express this by using Limits:
Infinity Limits
What if x reaches to big positive value like or a big negative value like Then, the function result will be infinity. Also if the function is divided by a big positive value like then the function result will be 0 or near 0. We can express these two situations using Infinity limits:
If is close to (big positive value) then the function result also would be a (positive infinity):
If x is close to (big negative value) then the function result would be a (big positive infinity) Because :
Also Because when the divisor is bigger then the dividend result gets closer to 0. like
Derivatives
The derivative is a function that gives us the slope of the function or the rate at which the function is changing at a particular point. In other words, The derivative of a function represents the rate of change of that function at a particular pointThe process of finding the derivative of some function is called Differentiation. The derivative of a function f(x) is represented as f'(x)
If
Where symbols and are differentiation operators that indicate the operation of differentiation.
There are several rules and techniques that are commonly used when calculating derivatives of functions in differential calculus. Here are some of the fundamental rules:
Power Rule
For example, the derivative of a function can be calculated as:
Here 2x means that at x, the function f(x) is increasing at a rate of x^2 units per unit change in x. if x = 2 f(x) is increasing at a rate of 4.
We can also use limits to express this:
Constant Multiple Rule
For example:
Sum Rule
Product Rule
Quotient Rule
These are some of the rules you should apply when calculating the derivative of a function. For a better understanding of derivatives and their outputs. Let’s look at the differentiation with a graph of a function:

Tangent Line – The line that touches the curve at a particular point. (Here C)
Secant Line – The line that touches two points in the curve.
Here, “The slope of the tangent line is equal to the derivative of the function.” So:
For example, If
Here value 12 means that at the point where x = 2, the rate of change of the function is 12, or the slope of the tangent line to the graph at x = 2 would be equal to 12. This indicates that the instantaneous rate of change of the function f(x) at x = 2 is 12 units per unit change in x. In other words, if you were to make an infinitesimally small change in x near x=2, the corresponding change in the function f(x) would be approximately 12 times the change in x
Let’s calculate
When
You can see when two points get closer to 2(C point) the value also gets closer to 12. We can express this using the limits:
Integral
Integral represents the total area under the curve of the function with respect to the independent variable, and the process of finding the Integral of some function is called Integration. Integration is the reverse process of differentiation.
The integral of a function f(x) is denoted as ∫f(x)dx. Where f(x) is the integrand and dx represents the infinitesimal change in the independent variable x.
For example:
These are the fundamental concepts you must grasp to understand the essential calculus concepts used in the AI field, which I’ll be discussing in Calculus Part-2
Throughout this article, we have learned calculus, and its basic concepts: Limits, Derivatives, Integrals, and use of them. These are the essential knowledge required to learn complex concepts in calculus used in AI and Data Science. And now you can learn those complex concepts confidently.