One variable differential calculus
Concept of derivative
Increment
Example. The increment of
Average rate of change
The study of a function
Example - Area of a square. Let
If at any given time the side of the square is
What is the average rate of change in the interval
Geometric interpretation of the average rate of change
The average rate of change of a function
Instantaneous rate of change
Often it is interesting to study the rate of change of a function, not in an interval, but in a point.
Knowing the tendency of change of a function in an instant can be used to predict the value of the function in nearby instants.
Definition - Instantaneous rate of change and derivative. The instantaneous rate of change of a function
When this limit exists, the function
Example - Area of a square. Let us take again the function
If at any given time the side of the square is
Thus,
Interpretation of the derivative
The derivative of a function
indicates an increasing tendency ( increases as increases). indicates a decreasing tendency ( decreases as increases).
Example. A derivative
Geometric interpretation of the derivative
We have seen that the average rate of change of a function
The instantaneous rate of change or derivative of a function
Kinematic applications: Linear motion
Assume that the function
Remark. It also makes sense when
Kinematic interpretation of the average rate of change
In this context, if we take the instants
Example. A vehicle makes a trip from Madrid to Barcelona. Let
Kinematic interpretation of the derivative
In the same context of the linear motion, the derivative of the function
that is known, as long as the limit exists, as the instantaneous velocity or simply velocity of the trajectory
That is, the derivative of the object position with respect to time is a vector field that is called velocity along the trajectory
Example. Following with the previous example, what indicates the speedometer at any instant is the modulus of the instantaneous velocity vector at that moment.
Algebra of derivatives
Properties of the derivative
If
If
If
Derivative of a composite function
Example. If
On the other hand,
Derivative of the inverse of a function
Example. The inverse of the exponential function
Sometimes it is easier to apply the chain rule to compute the derivative of the inverse of a function. In this example, as
Analysis of functions
Analysis of functions: increase and decrease
The main application of derivatives is to determine the variation (increase or decrease) of functions. For that we use the sign of the first derivative.
Theorem. Let
- If
then is increasing on . - If
then is decreasing on .
If
Example The function
Example. Let us analyze the increase and decrease of the function
Analysis of functions: relative extrema
As a consequence of the previous result we can also use the first derivative to determine the relative extrema of a function.
Theorem - First derivative test. Let
- If
on an open interval extending left from and on an open interval extending right from , then has a relative maximum at . - If
on an open interval extending left from and on an open interval extending right from , then has a relative minimum at . - If
has the same sign on both an open interval extending left from and an open interval extending right from , then has an inflection point at .
Example. The function
Example. Consider again the function
Analysis of functions: concavity
The concavity of a function can be determined by de second derivative.
Theorem. Let
- If
then is concave up (convex) on . - If
then is concave down (concave) on .
Example. The function
Example. Let us analyze the concavity of the same function of previous examples
Function approximation
Approximating a function with the derivative
The tangent line to the graph of a function
Thus, the increment of a function

Example - Area of a square. In the previous example of the function
Approximating a function by a polynomial
Another useful application of the derivative is the approximation of functions by polynomials.
Polynomials are functions easy to calculate (sums and products) with very good properties:
- Defined in all the real numbers.
- Continuous.
- Differentiable of all orders with continuous derivatives.
Goal Approximate a function
Approximating a function by a polynomial of order 0
A polynomial of degree 0 has equation
As the polynomial should coincide with the function at
Therefore, the polynomial of degree 0 that best approximate

Approximating a function by a polynomial of order 1
A polynomial of order 1 has equation
Among all the polynomials of degree 1, the one that best approximates
and coincide at : , and have the same rate of change at : .
The last condition guarantees that
Imposing the previous conditions we have
, .
Therefore, the polynomial of degree 1 that best approximates

Approximating a function by a polynomial of order 2
A polynomial of order 2 is a parabola with equation
Among all the polynomials of degree 2, the one that best approximate
and coincide at : , and have the same rate of change at : . and have the same concavity at : .
The last condition requires the function
Imposing the previous conditions we have
, . .
Therefore, the polynomial of degree 2 that best approximates

Approximating a function by a polynomial of order
A polynomial of order
Among all the polynomials of degree
, , , .
The successive derivatives of
Imposing the previous conditions we have
, , , .
Taylor polynomial of order
Definition - Taylor polynomial. Given a function
Example. Let us approximate the function
The equation of the Taylor polynomial of order
And substituting into the polynomial equation we get

Maclaurin polynomial of order
The Taylor polynomial equation has a simpler form when the polynomial is calculated at
Definition - Maclaurin polynomial. Given a function
Example. Let us approximate the function
The Maclaurin polynomial equation of order
And substituting into the polynomial equation we get

Maclaurin polynomials of elementary functions
Taylor remainder and Taylor formula
Taylor polynomials allow to approximate a function in a neighborhood of a value
Definition - Taylor remainder. Given a function
The Taylor remainder measures the error int the approximation of
This expression is known as the Taylor formula of order
It can be proved that
which means that the remainder