Subject: Class 12 Mathematics Chapter: Derivative from First Principles Topic: 6.1 Derivative from First Principles – Derive derivatives using first principles
The concept of the derivative is the single most important idea in calculus, and it underpins almost everything you will study in Class 12 Mathematics. Broadly speaking, the derivative of a function measures how fast the function is changing at a given point. If a function f(x) represents the distance covered by a moving car, then the derivative tells us the velocity of the car; if f(x) represents the population of a town, the derivative tells us the rate at which the population is growing. Because rates of change appear in physics, chemistry, economics, biology and engineering, the derivative has become an indispensable tool in both pure and applied mathematics.
Historically, the modern idea of the derivative was developed independently by Isaac Newton and Gottfried Wilhelm Leibniz in the seventeenth century. Newton thought of it as a fluxion describing continuous motion, while Leibniz introduced the notation dy/dx that we still use today. Both mathematicians were trying to solve the same two problems: finding the tangent to a curve at a given point, and finding the instantaneous velocity of a moving object. It was later realised that these two problems, which seem so different, are actually the same problem in disguise, and both are solved by the derivative.
In this chapter we learn to find the derivative using the first principle of differentiation. The first principle is the fundamental definition of the derivative in terms of limits, and it is the most reliable method because it does not assume any rules. From this single definition, every other rule of differentiation, such as the product rule, the quotient rule and the chain rule, can be derived. We will study the definition, understand the step-by-step procedure, work through solved examples and then interpret the derivative geometrically and physically.
Let y = f(x) be a function defined near a point x. Let h be a small change in x, so that x changes to x + h. The corresponding change in y is f(x + h) − f(x). The average rate of change of y with respect to x over the interval from x to x + h is the ratio [f(x + h) − f(x)]/h. This ratio is also the slope of the secant line joining the points (x, f(x)) and (x + h, f(x + h)).
The derivative of f at x, denoted by f'(x) or dy/dx, is defined as the limit of this average rate of change as h tends to zero:
Definition: f'(x) = lim (h → 0) [f(x + h) − f(x)] / h, provided this limit exists.
The derivative is also called the differential coefficient of f with respect to x. The process of finding the derivative is called differentiation. The derivative exists only if both the left-hand limit and the right-hand limit exist and are equal; if they are not equal, the function is said to be non-differentiable at that point.
The steps to differentiate a function from first principles are: 1. Write down f(x) and then form f(x + h) by replacing every x in f(x) with (x + h). 2. Compute f(x + h) − f(x) and simplify, cancelling the terms that do not contain h. 3. Divide the result by h and simplify the quotient as far as possible. 4. Take the limit as h tends to zero. Whatever expression remains is the derivative f'(x).
Worked Example 1: Differentiate f(x) = x² from first principles.
Step 1: f(x + h) = (x + h)² = x² + 2xh + h². Step 2: f(x + h) − f(x) = x² + 2xh + h² − x² = 2xh + h². Step 3: [f(x + h) − f(x)]/h = (2xh + h²)/h = 2x + h. Step 4: f'(x) = lim (h → 0) (2x + h) = 2x.
Therefore the derivative of x² is 2x.
Worked Example 2: Differentiate f(x) = x³ from first principles.
Step 1: f(x + h) = (x + h)³ = x³ + 3x²h + 3xh² + h³. Step 2: f(x + h) − f(x) = 3x²h + 3xh² + h³. Step 3: Divide by h: 3x² + 3xh + h². Step 4: f'(x) = lim (h → 0) (3x² + 3xh + h²) = 3x².
So d/dx (x³) = 3x². This pattern suggests the power rule, which states that the derivative of x^n is n·x^(n−1).
The first-principle method works for radicals, rational functions and trigonometric functions, but we often need algebraic tricks such as rationalisation before we can take the limit.
Worked Example 3: Differentiate f(x) = √x from first principles.
We must simplify √(x + h) − √x. Rationalise the numerator by multiplying numerator and denominator by √(x + h) + √x: [f(x + h) − f(x)]/h = [√(x + h) − √x]/h = [(x + h) − x] / [h(√(x + h) + √x)] = h / [h(√(x + h) + √x)] = 1 / [√(x + h) + √x]. Taking the limit as h → 0: f'(x) = 1 / (√x + √x) = 1/(2√x).
Worked Example 4: Differentiate f(x) = 1/x from first principles.
f(x + h) − f(x) = 1/(x + h) − 1/x = [x − (x + h)] / [x(x + h)] = −h / [x(x + h)]. Dividing by h: [f(x + h) − f(x)]/h = −1 / [x(x + h)]. f'(x) = lim (h → 0) [−1 / (x(x + h))] = −1/x².
Worked Example 5: Differentiate f(x) = sin x from first principles.
Use the trigonometric identity sin A − sin B = 2 cos[(A + B)/2] sin[(A − B)/2]: sin(x + h) − sin x = 2 cos(x + h/2) sin(h/2). Dividing by h: 2 cos(x + h/2) · [sin(h/2)/h]. Taking the limit h → 0 and using lim (θ → 0) sin θ/θ = 1: f'(x) = lim (h → 0) cos(x + h/2) · [sin(h/2)/(h/2)] = cos x · 1 = cos x.
Hence the derivative of sin x is cos x. By a similar argument, the derivative of cos x is −sin x.
Geometrically, the derivative f'(a) equals the slope of the tangent line drawn to the curve y = f(x) at the point (a, f(a)). As h → 0, the point Q(x + h, f(x + h)) slides along the curve towards P(x, f(x)), and the secant line PQ rotates to become the tangent at P. The tangent at (a, f(a)) has equation y − f(a) = f'(a)(x − a). The normal, being perpendicular to the tangent, has equation y − f(a) = −1/f'(a) whenever f'(a) is not zero.
Worked Example 6: Find the slope of the tangent to y = x² at x = 2, and write the equation of the tangent.
Since dy/dx = 2x, the slope at x = 2 is 2 × 2 = 4. The point on the curve is (2, 4). Equation of the tangent: y − 4 = 4(x − 2), which simplifies to y = 4x − 4.
Physically, if s(t) is the position of a particle at time t, then ds/dt is its instantaneous velocity. The first-principle limit describes velocity as the limit of average velocities over shorter and shorter time intervals. The derivative therefore answers two questions at once: what is the slope of the tangent to a curve, and what is the instantaneous rate of change of a quantity.
| Step | Action | Purpose |
|---|---|---|
| 1 | Write f(x + h) | Replace every x by x + h |
| 2 | Compute f(x + h) − f(x) | Find the change in y |
| 3 | Divide by h | Form the average rate of change |
| 4 | Take the limit h → 0 | Get the instantaneous rate of change |
| Function f(x) | Derivative f'(x) | Special trick used |
|---|---|---|
| x² | 2x | Expand (x + h)² |
| x³ | 3x² | Expand (x + h)³ |
| √x | 1/(2√x) | Rationalise the numerator |
| 1/x | −1/x² | Combine fractions |
| 1/√x | −1/(2x√x) | Rationalise |
| sin x | cos x | sin A − sin B identity |
| cos x | −sin x | cos A − cos B identity |
| c (constant) | 0 | f(x + h) − f(x) = 0 |
flowchart TD
A[Derivative from First Principles] --> B[Definition by Limit]
B --> C[Limit h to 0 of f of x plus h minus f of x over h]
A --> D[Four Steps]
D --> E[Find f of x plus h]
E --> F[Subtract f of x]
F --> G[Divide by h]
G --> H[Take limit h to 0]
A --> I[Applications]
I --> J[Slope of Tangent]
I --> K[Normal Line]
I --> L[Instantaneous Rate of Change]
A --> M[Worked Examples]
M --> N[Polynomials]
M --> O[Radicals]
M --> P[Rational Functions]
M --> Q[Trigonometric Functions]
The first principle of differentiation is the fundamental definition of the derivative through a limit, and it reveals the true meaning of a derivative as an instantaneous rate of change or the slope of a tangent. By mastering the step-by-step procedure and practising with polynomials, radicals, rational functions and trigonometric functions, you build a strong foundation for every other rule of differentiation. This chapter proves the results that later rules such as the power rule, product rule, quotient rule and chain rule simply package into convenient formulas, so fluency with first principles is essential for scoring well in exams.