Why this lesson matters. This chapter drew 6 questions in the seven papers from NDA II 2023 to NDA II 2026, all of them in 2025 and 2026. The number is small, but the idea of this chapter is used in every question of the next three chapters. The exam asks for the slope of a tangent, for the derivative at a point of a function that has a modulus, and for the definition of the derivative as a limit. Five real questions are solved in section 8.
What you will be able to do
- Find a derivative at a point from the definition (from first principles).
- Use the derivative as the slope of the tangent, and write the equations of the tangent and the normal.
- Use the derivative as a rate of change, such as velocity and acceleration.
- Say at which points a function with a modulus has no derivative.
Before you start you should know: limits (Chapter M5-3), continuity and corners (Chapter M5-4), and the slope and equation of a straight line (Chapter M4-2).
1. From average rate to the derivative
Take a function โfโ and two inputs, โaโ and โa + hโ. The average rate of change of โfโ between them is
\frac{f(a + h) - f(a)}{h}
On the graph this is the slope of the straight line joining the two points. Now let โhโ shrink to 0. The limit, if it exists, is the derivative of โfโ at โaโ:
f'(a) = \lim_{h \to 0} \frac{f(a + h) - f(a)}{h}
For โf(x) = x^2โ at โa = 3โ:
โ\dfrac{(3 + h)^2 - 9}{h} = \dfrac{6h + h^2}{h} = 6 + hโ, which tends to 6. So โf'(3) = 6โ.
Do the same with โxโ in place of 3: โ\dfrac{(x + h)^2 - x^2}{h} = 2x + hโ, which tends to โ2xโ. So the derivative of โx^2โ is โ2xโ at every point. Finding a derivative in this way is called differentiation from first principles.
2. Notation
If โy = f(x)โ, the derivative is written in any of these ways:
f'(x), \qquad \frac{dy}{dx}, \qquad y', \qquad \frac{d}{dx} f(x)
Its value at the point โx = aโ is written โf'(a)โ or โ\left.\dfrac{dy}{dx}\right|_{x = a}โ.
3. Derivatives to use now
Each of these comes from the definition in section 1. Learn them. The other rules are in the next chapter.
| โf(x)โ | โf'(x)โ |
|---|---|
| A constant โcโ | โ0โ |
| โx^nโ | โn x^{n-1}โ |
| โ\sin xโ | โ\cos xโ |
| โ\cos xโ | โ-\sin xโ |
| โe^xโ | โe^xโ |
| โ\ln xโ | โ\dfrac{1}{x}โ |
Two rules let you differentiate a polynomial term by term: the derivative of a sum is the sum of the derivatives, and a constant multiplier stays in front. For example,
\frac{d}{dx}\left(x^3 - 6x^2 + 9x\right) = 3x^2 - 12x + 9
4. The geometrical meaning: slope of the tangent
Take a point โPโ on a curve and a second point โQโ on the curve near it. The line โPQโ is a chord. As โQโ slides along the curve towards โPโ, the chord turns and settles on one line. That line is the tangent at โPโ. The slope of the chord is the average rate, so the slope of the tangent is the derivative.

โf'(a)โ is the slope of the tangent to โy = f(x)โ at the point โ(a, f(a))โ. If the tangent makes an angle โ\thetaโ with the positive โxโ-axis, then โf'(a) = \tan\thetaโ.
From this:
- Tangent at โ(x_1, y_1)โ: โ\;y - y_1 = m(x - x_1)โ, where โm = f'(x_1)โ.
- Normal at โ(x_1, y_1)โ: the line through the point at right angles to the tangent. Its slope is โ-\dfrac{1}{m}โ (when โm \ne 0โ).
- The tangent is parallel to the โxโ-axis exactly where โf'(x) = 0โ.
- If the slope is the same number โmโ at every point, the curve is a straight line โy = mx + cโ.
For example, on โy = x^2โ at the point โP(1, 1)โ the tangent has slope 2 and the normal has slope โ-\dfrac{1}{2}โ:

5. The physical meaning: rate of change
โ\dfrac{dy}{dx}โ is the rate at which โyโ changes when โxโ changes. A positive value means โyโ is increasing. A negative value means โyโ is decreasing.
If a body moves along a line and its distance from a fixed point at time โtโ is โsโ, then
\text{velocity } v = \frac{ds}{dt}, \qquad \text{acceleration } a = \frac{dv}{dt}
For example, if โs = 5t^2โ metres, then โv = 10tโ. At โt = 2โ seconds the velocity is 20 metres per second.
A ball thrown straight up has height โs = 20t - 5t^2โ metres after โtโ seconds, so its velocity is โv = 20 - 10tโ. The slope of the graph of โsโ shows this velocity: positive on the way up, zero at the top, negative on the way down.

The same idea works for any two quantities. The area of a circle is โA = \pi r^2โ, so โ\dfrac{dA}{dr} = 2\pi rโ. When โr = 5โ cm, the area grows by โ10\piโ square cm for each cm of radius.
6. Where the derivative does not exist
The limit in section 1 must be the same from the left (โh < 0โ) and from the right (โh > 0โ). So there is no derivative at a corner, where the slope on the left differs from the slope on the right, and no derivative at a point where the function is not continuous.
For a function with a modulus, write it without the modulus on each side of the point.
- If the quantity inside the modulus is not zero at the point, it keeps one sign near the point. Remove the modulus with that sign and differentiate.
- If the quantity inside is zero at the point and changes sign there, find the slope on each side. If the two slopes differ, the derivative does not exist.
For example, โ|x - 3|โ has slope โ-1โ for โx < 3โ and slope โ1โ for โx > 3โ. It has no derivative at โx = 3โ. At โx = 5โ its derivative is 1.
7. Worked examples
Example 1 (first principles). Find the derivative of โf(x) = x^2 + 3xโ at โx = 1โ from the definition.
โf(1) = 4โ and โf(1 + h) = (1 + h)^2 + 3(1 + h) = 4 + 5h + h^2โ.
โ\dfrac{f(1 + h) - f(1)}{h} = \dfrac{5h + h^2}{h} = 5 + hโ, which tends to 5. So โf'(1) = 5โ.
Check with the table: โf'(x) = 2x + 3โ, and โf'(1) = 5โ.
Example 2 (tangent and normal). Find the equations of the tangent and the normal to โy = x^3โ at the point โ(2, 8)โ.
โ\dfrac{dy}{dx} = 3x^2โ. At โx = 2โ the slope is โm = 12โ.
Tangent: โy - 8 = 12(x - 2)โ, that is โy = 12x - 16โ.
Normal: slope โ-\dfrac{1}{12}โ, so โy - 8 = -\dfrac{1}{12}(x - 2)โ, that is โx + 12y = 98โ.
Example 3 (horizontal tangent). At which point of the curve โy = x^2 - 4x + 5โ is the tangent parallel to the โxโ-axis?
โ\dfrac{dy}{dx} = 2x - 4โ. This is 0 when โx = 2โ. Then โy = 4 - 8 + 5 = 1โ. The point is โ(2, 1)โ.

Example 4 (motion). A particle moves along a line so that โs = t^3 - 6t^2 + 9tโ, with โsโ in metres and โtโ in seconds. Find its velocity and acceleration at โt = 2โ. When is it at rest?
โv = \dfrac{ds}{dt} = 3t^2 - 12t + 9โ. At โt = 2โ: โv = 12 - 24 + 9 = -3โ metres per second. The minus sign means it is moving backwards.
โa = \dfrac{dv}{dt} = 6t - 12โ. At โt = 2โ: โa = 0โ.
At rest means โv = 0โ: โ3(t - 1)(t - 3) = 0โ, so โt = 1โ and โt = 3โ seconds.
8. From the real papers
These five questions are from the Mathematics papers of NDA & NAVAC of 2025 and 2026. Try each for 75 seconds before reading the solution.
NDA I 2025, Q77. The slope of the tangent to the curve โy = f(x)โ at โ(x, f(x))โ is 4 for every real number โxโ and the curve passes through the origin. What is the nature of the curve?
(a) A straight line passing through โ(1, 4)โโโ(b) A straight line passing through โ(-1, 4)โโโ(c) A parabola with vertex at origin and focus at โ(2, 0)โโโ(d) A parabola with vertex at origin and focus at โ(1, 0)โ
Solution. The slope is the same number, 4, at every point, so the curve is a straight line โy = 4x + cโ. It passes through the origin, so โc = 0โ and โy = 4xโ. At โx = 1โ, โy = 4โ. Answer (a).
NDA II 2025, Q87. Let the function โf(x) = |x - 3| + |x - 4|โ be defined on the interval โ[0, 5]โ. What is โ\frac{dy}{dx}โ at โx = 3.5โ equal to?
(a) 0โโ(b) 1โโ(c) 2โโ(d) 3.5
Solution. Here โyโ means โf(x)โ. Between 3 and 4, โx - 3โ is positive and โx - 4โ is negative. So โf(x) = (x - 3) + (4 - x) = 1โ, a constant. Its derivative is 0. Answer (a).
NDA II 2025, Q88. Let the function โf(x) = |x - 3| + |x - 4|โ be defined on the interval โ[0, 5]โ. Consider the following statements : I. The function is differentiable at โx = 3โ. II. The function is differentiable at โx = 4โ. Which of the statements given above is/are correct?
(a) I onlyโโ(b) II onlyโโ(c) Both I and IIโโ(d) Neither I nor II
Solution. In pieces: for โx < 3โ, โf(x) = 7 - 2xโ (slope โ-2โ); for โ3 \le x \le 4โ, โf(x) = 1โ (slope 0); for โx > 4โ, โf(x) = 2x - 7โ (slope 2). At โx = 3โ the slopes are โ-2โ and 0. At โx = 4โ they are 0 and 2. The graph has a corner at both points. Answer (d).

NDA II 2026, Q92. If โy = \left|\sin\left(\frac{\pi}{4} - x\right)\right|โ, then what is โ\frac{dy}{dx}โ at โx = \frac{\pi}{4}โ equal to?
(a) โ-1โโโ(b) โ0โโโ(c) โ1โโโ(d) It does not exist
Solution. At โx = \frac{\pi}{4}โ the quantity inside the modulus is โ\sin 0 = 0โ, and it changes sign there. Take โx = \frac{\pi}{4} + hโ: then โy = |\sin(-h)| = |\sin h|โ and โy = 0โ at โh = 0โ. So the limit to study is โ\dfrac{|\sin h|}{h}โ. For โh > 0โ it is โ\dfrac{\sin h}{h} \to 1โ. For โh < 0โ it is โ-\dfrac{\sin h}{h} \to -1โ. The two sides differ. Answer (d).
NDA II 2026, Q93. Let โfโ be a differentiable function such that โf(x + y) = f(x) + f(y)โ for all โx, y \in Rโ. Which of the following statements is/are correct? I. If โf(x) = x\,g(x)โ, then the derivative of โf(x)โ with respect to โxโ is equal to โg(0)โ. II. If โf(x) = x^2 g(x)โ, then the derivative of โf(x)โ with respect to โxโ is equal to 0. (Here โgโ is a continuous function) Select the answer using the code given below.
(a) I onlyโโ(b) II onlyโโ(c) Both I and IIโโ(d) Neither I nor II
Solution. Use the definition. From the given rule, โf(x + h) - f(x) = f(h)โ. So โf'(x) = \lim_{h \to 0} \dfrac{f(h)}{h}โ, the same for every โxโ. I: if โf(h) = h\,g(h)โ, then โ\dfrac{f(h)}{h} = g(h) \to g(0)โ, because โgโ is continuous. Correct. II: if โf(h) = h^2 g(h)โ, then โ\dfrac{f(h)}{h} = h\,g(h) \to 0โ. Correct. Answer (c).
9. Mistakes that cost marks
- Putting the number in before differentiating. To find โf'(3)โ for โf(x) = x^2โ, first find โf'(x) = 2xโ, then put โx = 3โ to get 6. If you first write โf(3) = 9โ and differentiate the constant 9, you get 0, which is wrong.
- The slope of the normal. It is โ-\dfrac{1}{m}โ, not โ-mโ and not โ\dfrac{1}{m}โ. For a tangent of slope 12 the normal has slope โ-\dfrac{1}{12}โ.
- Giving 0 as the derivative at a corner. At a corner the slopes on the two sides differ, and the derivative does not exist. Do not take the average of the two slopes.
- Mixing up โf(a)โ and โf'(a)โ. "The curve passes through โ(2, 8)โ" is a statement about โfโ. "The slope at โx = 2โ is 12" is a statement about โf'โ.
10. Quick check
Do these without help. Answers are at the end.
- Find the derivative of โf(x) = x^2โ at โx = -3โ from the definition.
- Find the slope of the tangent to โy = x^3 - xโ at โx = 1โ.
- A particle moves so that โs = 4t^2 + 3tโ (metres, seconds). Find its velocity at โt = 2โ.
- At which point of โy = x^2 - 6xโ is the tangent parallel to the โxโ-axis?
- Let โf(x) = |x - 1|โ. Does โf'(1)โ exist? What is โf'(4)โ?
11. Read and watch more, free
| What | Where | Language |
|---|---|---|
| Textbook | NCERT Class 11 Mathematics, Chapter 12 Limits and Derivatives ยท Hindi edition | English, Hindi |
| Textbook, rate of change and tangents | NCERT Class 12 Mathematics, Chapter 6 Application of Derivatives ยท Hindi edition | English, Hindi |
| Self-study notes | NIOS Mathematics, Lesson 26 Differentiation ยท Hindi edition | English, Hindi |
| Video, the idea in pictures | 3Blue1Brown: Essence of calculus (12 videos) | English |
| Video, the chapter for NDA | Defence Wallah: Fast Track 2021 (the class named DERIVATIVES, about 1 hour) | Hinglish |
| Video, short lessons from the beginning | Khan Academy India: channel playlists (the playlist named Derivatives, 28 lessons) | Hindi |
The videos were chosen from their titles, length and views; they have not yet been watched by a teacher.
Answers to the quick check
- โ\dfrac{(-3 + h)^2 - 9}{h} = \dfrac{-6h + h^2}{h} = -6 + hโ, which tends to โ-6โ.
- โ\dfrac{dy}{dx} = 3x^2 - 1โ. At โx = 1โ the slope is 2.
- โv = 8t + 3โ. At โt = 2โ, โv = 19โ metres per second.
- โ2x - 6 = 0โ gives โx = 3โ, and โy = 9 - 18 = -9โ. The point is โ(3, -9)โ.
- โf'(1)โ does not exist (slopes โ-1โ and โ1โ). Near โx = 4โ, โf(x) = x - 1โ, so โf'(4) = 1โ.
Next chapter: Rules of differentiation.