CalculusΒΆ
Calculus is a branch of mathematics that gives tools to study rate of change of functions trough two main areas: derivatives and integrals
DerivativesΒΆ
The derivative of a function is related to its rate of change. The rate of change tells you how much the output of the function changes when a change is done to the input. It is calculated as the ratio between a change in the output and the corresponding change in the input.
You measure the distance traveled (in meters) of a moving train as a function of time (in seconds), as represented in Figure.

Distance is represented as a function of time. Now, say that you record the speed of the train.

The slope in the left panel corresponds to the rate of change of the function at this point. For instance, if you take the red slope, you can see that in one unit of time, the distance traveled is 2 meters (for instance, between π₯=0 and π₯=1 , you go from π¦=β1 to π¦=1 ).
Mathematically, the plot in the right figure shows the derivative of the function plotted in the left figure. The derivative of a function π with respect to π₯ is the rate of change of π as a function of π₯. The derivative of π is another function which takes π₯ as input and returns the slope of the tangent line of π at this value of π₯.
LimitsΒΆ
that the derivative at a point of a function is the slope of the tangent line at this point. We consider that the distance between these two points, usually called Ξπ₯.

Mathematically, the difference between the two points on the curve when Ξπ₯ approaches zero is denoted as
This is the concept of limit: this expression is read as βthe limit of \(f(x + \Delta x) - f(x)\) as \(\Delta x\) approaches zeroβ.
\(f(x + \Delta x) - f(x) as \Delta x\) approaches zeroβ.
Calculating Derivatives
The rate of change is given by the slope of the tangent line.

When Delta x approaches zero, this is the differentiation equation, used to calculate the derivative of the function f with respect to x. It is denoted as:
With the Leibniz notation, you write:
Derivatives of Linear And Nonlinear FunctionsΒΆ
You can extract rules from the fact that a function derivative corresponds to its rate of change.
Constant Function
The rate of change of a function is equal to zero when y does not depend on x (when the value of y is the same for any x). For instance, take the function f(x) = 4.