Derivatives | First and Second Order Derivatives, Formulas and Examples
A derivative is a concept in mathematics that measures how a function changes as its input changes. For example:
- If you're driving a car, the derivative of your position with respect to time is your speed. It tells you how fast your position is changing as time passes.
- If you're looking at a graph of a curve, the derivative at any point gives the slope of the tangent line to that curve at that point, indicating the rate of change.

Table of Content
Mathematical Definition of Derivative
Derivative is defined as the rate of the instantaneous change in a quantity with respect to another quantity.
Let's say f is a real-valued function and 'a' is a point in its domain of definition. The derivative of f at a is defined as,

The above statement is subject to the condition that its limits exist.

Derivative by First Principle
The derivative defined as the limit is called the Derivative by First Principle. Derivative by First Principle is also called Derivative by Delta Method. For any function f(x), its derivative is given as:

Where,
- f′(x) represents the derivative of the function f(x) with respect to x.
- h represents the change in the x-values between the two points.
- f(x+h)−f(x) represents the change in the y-values between the two points.
- The limit as h approaches zero ensures that the secant line becomes the tangent line, providing the instantaneous rate of change of the function at the point x.
Read more about First Principles of Derivatives.
Types of Derivatives
Below are the different types of Derivatives
- First Order Derivative
- Second Order Derivative
- nth Order Derivative, based on the number of times they are differentiated.
Let's learn all the types of derivatives in detail.
First Order Derivative
First Order Derivative of a Function is defined as the rate of change of a dependent variable with respect to an independent variable.
- First Order Derivative gives the slope of the tangent drawn to the curve.
- It tells about the direction of function and explains if the function is increasing or decreasing in nature.
- The First Order Derivative can be explained in terms of Limit as follows.
f'(x) = limx→a f(x) - f(a) / x - a
- The other notations of First Order Derivative are given as dy/dx, D(y), d(f(x))/dx, and y'.
Second Order Derivative
Second Order Derivative is the derivative of First Order Derivative of a function. It is also called Derivative of Derivative.
- It basically means differentiating a function twice successively.
- The Second Order derivative of a function tells about how the slope of the curve of a function changes.
- Second Order Derivative gives an idea about the local maxima and local minima of a curve.
- It is represented as d/dx{df(x)/dx} = d2y/dx2 = f''(x)
nth Order Derivative
nth Order Derivative refers to finding successive differentiation of a function 'n' number of times. It is represented as dyn/dxn = fn(x).
Read More about Higher Order Derivatives.
Rules of Derivatives
There are certain rules to be followed while finding the derivatives of functions. Let's learn from them
Rule | Formula |
---|---|
Constant Rule | d(c)/dx = 0 |
Power Rule | d(xn)/dx = nxn-1 |
Sum and Difference Rule | d(u ± v )/dx = du/dx ± dv/dx |
Product Rule | d(u.v)/dx = u.dv/dx + v.du/dx |
Quotient Rule | d(u/v)/dx = (v.du/dx - u.dv/dx)/v2 |
Chain Rule | d[f(g(x))]/dx = f′(g(x)) ⋅ g′(x) |
Read More about Derivative Rules.
Various Derivative Techniques
Implicit Differentiation: Implicit functions involve two or more variables and uses the chain rule to differentiate the function.
Parametric Derivative: When x = f(t) and y = g(t), and both are differentiable with respect to t. Then, parametric derivative is dy/dx = (dy/dt)/(dx/dt).
Partial Derivative: For a function f(x,y), the partial derivative with respect to x is 𝛛f(x,y)/𝛛x, and with respect to y is 𝛛f(x,y)/𝛛y
- When differentiating with respect to x, treat y as constant, and vice versa.
Logarithmic Derivative: This method simplifies the differentiation of complex functions using logarithmic rules.
Read More about Derivative Formulas.
Let's consider an real life problem and its solution as follows:
Applications of Derivatives
Derivatives have got several applications such as finding the concavity of a function, finding the slope of tangent and normal, and finding the maxima and minima of a function.
Critical Point
Critical Point of a function is the point where the derivative of a function is either zero or not defined. Hence, if P is a critical point of the function then
dy/dx at P = 0 or dy/dx at P = Not Defined
Concavity of a Function
Concavity of a function simply means the opening of the curve of a function is upwards or downwards.
- If the opening of the curve is upwards then it is called Concave Up and if downwards it is called Concave Down.
- The condition for concave up is f''(x) > 0 and the condition for concave down is f''(x) < 0.
- The point at which the concavity of a function changes is called its Inflection Point.
Read More about Applications of Derivatives.
Derivatives Examples
Here are some examples of derivatives as illustration of the concept. In this, we will learn how to differentiate some commonly used functions such as sin x, cos x, tan x, sec x, cot x, and log x using different methods.
Derivative of sin x
We will find the derivative of Sin x using the First Principle.
We have f(x) = sin x. Using First Principle, the derivative is given as
f'(x) = limh→0 [f(x + h) - f(x)]/ h
Replacing f(x) with sin x and f(x + h) with sin(x + h) then we have
f'(x) = limh→0 [sin(x + h) - sin(x)]/h
Inside the bracket we sin(x + h) - sin(x), we can expand this using the formula sin C - sin D = 2 cos [(C + D)/2] sin [(C - D)/2]
⇒ f'(x) = limh→0 [2cos(x + h + x) sin(x + h - x)/2]/h
⇒ f'(x) = limh→0 [2cos(2x + h)/2 sin(h/2)]/hUsing Limit Formula
⇒ f'(x) = limh→0 [2cos(2x + h)/2] limh→0 sin(h/2)]/h/2
since, h→0, this implies h/2→0
⇒ f'(x) = limh→0 [2cos(2x + h)/2] limh/2→0 sin(h/2)]/(h/2)
we know that limx→0 sin x /x = 1 ⇒ limh/2→0 sin(h/2)]/(h/2) = 1
Hence, f'(x) = [cos (2x + 0)/2] ⨯ 1 = cos x
Hence, the Derivative of Sin x is Cos x.
Derivative of cos x
We will find derivative of Cos x using the First Principle.
We have, f(x) = cos x
By first principle, f'(x) = limh→0 [f(x + h) - f(x)]/ h
Replacing f(x) by cos x and f(x + h) by cos(x + h)
⇒ f'(x) = limh→0 [cos(x + h) - cos(x)]/ h
Expanding cos(x + h) using cos (A + B) formula,
we have, cos (x + h) cos x cos h - sin x sin h
⇒ f'(x) = limh→0 [cos x cos h - sin x sin h - cos x]/ h
⇒ f'(x) = limh→0 {(cos h - 1)/h}cos x - {sin h/h}sin x
⇒ f'(x) = (0) cos x - (1) sin x
⇒ f'(x) = -sin xHence, derivative of cos x is -sin x.
Read More,
Sample Problems on Derivatives
Here we have provided you with some solved problems on Derivatives:
Question 1: Find the derivative of the function f(x) = x2 at x = 0 using the First Principle.
Solution:

Question 2: Find the derivative of the function f(x) = x2 at x = 2 by Limit Definition.
Solution:

Question 3: Find the derivative of the function f(x) = x2 + x +1 at x = 0.
Solution:

Question 4: Find the derivative of the function f(x) = ex at x = 0.
Solution:

Articles related to Derivatives: | |
---|---|
Practice Problems on Derivatives
Problem 1:Find the derivative of the function
Problem 2: Calculate the derivative of the function g(x) = sin(x) + cos(x)
Problem 3: Determine the derivative of the function
Problem 4: Find the derivative of the function k(x) = ln(x2 + 1)
Problem 5: Compute the derivative of the function m(x) = (3x+2)/(x-1)