Why this lesson matters. This chapter drew 20 questions in the seven papers from NDA II 2023 to NDA II 2026, and at least two in every paper. The exam asks where a function has a local maximum or minimum, what the greatest or least value of an expression is, and which of two or three statements about โf'โ and โf''โ are correct. Several of these need no calculus at all, only the fact that a square is never negative. Six real questions are solved in section 9.
What you will be able to do
- Find the local maxima and minima of a function with the first or the second derivative test.
- Find the greatest and least values of a function on a closed interval.
- Find a maximum or minimum without calculus, where a shorter way exists.
- Turn a word problem into a function of one variable and find its maximum or minimum.
Before you start you should know: the rules of differentiation and second order derivatives (Chapter M5-6), and the sign line for โf'(x)โ (Chapter M5-7).
1. Local maximum and local minimum
A function has a local maximum at โx = cโ if โf(c)โ is greater than the values at all nearby points. It has a local minimum at โx = cโ if โf(c)โ is less than the values at all nearby points.
On the graph: a local maximum is a hill top and a local minimum is a valley bottom. A graph can have several hills and valleys, so a local maximum need not be the greatest value of the function.

This curve is worked out in Example 1.
Keep two things apart:
- the point of maximum is the value of โxโ, here โcโ;
- the maximum value is the value of the function there, โf(c)โ.
Read the question to see which one is asked.
2. Where to look: critical points
At a hill top or a valley bottom of a smooth curve the tangent is flat. So at a local maximum or minimum of a differentiable function,
f'(c) = 0
The points where โf'(x) = 0โ, or where โf'(x)โ does not exist, are called critical points. A maximum or minimum inside an interval can occur only at a critical point. But not every critical point is a maximum or a minimum, so each one must be tested.
A corner can also be a maximum or minimum: โ|x|โ has its minimum at โx = 0โ, where it has no derivative.
3. The first derivative test
Look at the sign of โf'(x)โ just to the left and just to the right of the critical point โcโ.
| Sign of โf'(x)โ as โxโ increases through โcโ | At โx = cโ there is |
|---|---|
| Changes from โ+โ to โ-โ (up, then down) | a local maximum |
| Changes from โ-โ to โ+โ (down, then up) | a local minimum |
| Does not change | neither |
The standard example of "neither" is โf(x) = x^3โ at โx = 0โ: โf'(0) = 0โ, but โf'(x) = 3x^2โ is positive on both sides.
4. The second derivative test
This test is usually faster. Let โf'(c) = 0โ.
| If | Then at โx = cโ there is |
|---|---|
| โf''(c) < 0โ | a local maximum |
| โf''(c) > 0โ | a local minimum |
| โf''(c) = 0โ | no conclusion: use the first derivative test |
To remember it: at a hill top the slope is going from positive to negative, so the slope is decreasing and โf''โ is negative.

5. Greatest and least values on a closed interval
A continuous function on a closed interval โ[a, b]โ always has a greatest value and a least value. Each occurs either at a critical point inside the interval or at an end point. So:
- Find the critical points in โ(a, b)โ.
- Work out โfโ at each critical point and at the two end points โaโ and โbโ.
- The biggest of these numbers is the greatest value. The smallest is the least value.
No second derivative is needed here.
On an open interval a function may have no greatest or least value. For โf(x) = xโ on โ(-1, 1)โ the values come as close to 1 as we like but never reach it.

6. Maxima and minima without calculus
Many exam questions are faster without differentiating.
| Tool | What it gives | Example |
|---|---|---|
| Complete the square | โ(x - h)^2 + kโ has least value โkโ, at โx = hโ | โx^2 - 4x + 7 = (x - 2)^2 + 3โ: least value 3 |
| Sine and cosine together | โa\sin x + b\cos xโ lies from โ-\sqrt{a^2 + b^2}โ to โ\sqrt{a^2 + b^2}โ | โ3\sin x + 4\cos xโ: greatest value 5 |
| A square is never negative | โ(p - q)^2 \ge 0โ, so โ2pq \le p^2 + q^2โ | If โp^2 + q^2 = 64โ, then โpq \le 32โ |
| Two positive numbers with a fixed sum | Their product is greatest when they are equal | Sum 20: greatest product โ10 \times 10 = 100โ |
| Two positive numbers with a fixed product | Their sum is least when they are equal | Product 36: least sum โ6 + 6 = 12โ |
7. Word problems in four steps
- Name the quantity to be made greatest or least, and write a formula for it.
- Use the condition in the question to write the formula in one variable.
- Differentiate, put the derivative equal to 0, and solve.
- Check that it is a maximum or a minimum (the sign of the second derivative is enough), and answer what was asked: the point or the value.
8. Worked examples
Example 1 (second derivative test). Find the local maximum and minimum values of โf(x) = x^3 - 3x + 2โ.
โf'(x) = 3x^2 - 3 = 3(x - 1)(x + 1)โ, zero at โx = -1โ and โx = 1โ. โf''(x) = 6xโ.
At โx = -1โ: โf'' = -6 < 0โ, a local maximum. The value is โf(-1) = -1 + 3 + 2 = 4โ.
At โx = 1โ: โf'' = 6 > 0โ, a local minimum. The value is โf(1) = 1 - 3 + 2 = 0โ.
Example 2 (closed interval). Find the greatest and least values of โf(x) = 2x^3 - 3x^2 - 12x + 5โ on โ[-2, 4]โ.
โf'(x) = 6x^2 - 6x - 12 = 6(x - 2)(x + 1)โ. The critical points are โx = -1โ and โx = 2โ, both inside the interval.
| โxโ | โ-2โ | โ-1โ | โ2โ | โ4โ |
|---|---|---|---|---|
| โf(x)โ | โ1โ | โ12โ | โ-15โ | โ37โ |
The greatest value is 37, at the end point โx = 4โ. The least value is โ-15โ, at โx = 2โ.

Example 3 (a fraction). Find the least value of โf(x) = x + \dfrac{4}{x}โ for โx > 0โ.
โf'(x) = 1 - \dfrac{4}{x^2}โ, which is zero when โx^2 = 4โ, so โx = 2โ (as โx > 0โ). โf''(x) = \dfrac{8}{x^3}โ, positive at โx = 2โ: a minimum. The least value is โf(2) = 2 + 2 = 4โ.
Without calculus: โxโ and โ\dfrac{4}{x}โ are positive numbers with fixed product 4, so their sum is least when they are equal, โx = 2โ.

Example 4 (word problem). The sum of two positive numbers is 20. Find the numbers if their product is as great as possible.
Let one number be โxโ. The other is โ20 - xโ, and the product is โP = x(20 - x) = 20x - x^2โ.
โ\dfrac{dP}{dx} = 20 - 2x = 0โ gives โx = 10โ. โ\dfrac{d^2P}{dx^2} = -2 < 0โ, so it is a maximum.
The numbers are 10 and 10, and the greatest product is 100.
The same method answers a question on area. A wire of length 20 cm is bent into a rectangle with sides โxโ and โ10 - xโ. Its area is โA = x(10 - x)โ, and โ\dfrac{dA}{dx} = 10 - 2x = 0โ gives โx = 5โ. The largest rectangle is the square, with area 25 square cm.

Example 5 (no calculus). Find the greatest and least values of โ3\sin x + 4\cos xโ.
โ\sqrt{3^2 + 4^2} = 5โ. The greatest value is 5 and the least value is โ-5โ.
9. From the real papers
These six questions are from the Mathematics papers of NDA & NAVAC from 2023 to 2026. Try each for 75 seconds before reading the solution.
NDA II 2023, Q48. Given that โ4x^2 + y^2 = 9โ. What is the maximum value of โxyโ?
(a) โ\frac{9}{4}โโโ(b) โ\frac{3}{2}โโโ(c) โ\frac{4}{9}โโโ(d) โ\frac{2}{3}โ
Solution. A square is never negative: โ(2x - y)^2 \ge 0โ gives โ4xy \le 4x^2 + y^2 = 9โ. So โxy \le \dfrac{9}{4}โ, and this value is reached when โy = 2xโ. Answer (a).
NDA I 2024, Q84. Let โf(x) = \frac{x}{\ln x}โ; โ(x > 1)โ Consider the following statements : 1. โf''(e) = \frac{1}{e}โ 2. โf(x)โ attains local minimum value at โx = eโ 3. A local minimum value of โf(x)โ is โeโ Which of the statements given above are correct?
(a) 1 and 2 onlyโโ(b) 2 and 3 onlyโโ(c) 1 and 3 onlyโโ(d) 1, 2 and 3
Solution. โf'(x) = \dfrac{\ln x - 1}{(\ln x)^2} = \dfrac{1}{\ln x} - \dfrac{1}{(\ln x)^2}โ, zero at โx = eโ. Differentiate again: โf''(x) = -\dfrac{1}{x(\ln x)^2} + \dfrac{2}{x(\ln x)^3}โ. At โx = eโ, โ\ln e = 1โ, so โf''(e) = -\dfrac{1}{e} + \dfrac{2}{e} = \dfrac{1}{e}โ: 1 is correct. Since โf'(e) = 0โ and โf''(e) > 0โ, there is a local minimum at โx = eโ: 2 is correct. Its value is โf(e) = \dfrac{e}{1} = eโ: 3 is correct. Answer (d).
NDA I 2025, Q74. Let โABCโ be a triangle right-angled at โBโ and โAB + AC = 3โ units. What is the maximum area of the triangle?
(a) โ\sqrt{3}/2โ square unitโโ(b) โ\sqrt{3}โ square unitsโโ(c) โ\sqrt{6}/2โ square unitsโโ(d) โ\sqrt{6}โ square units
Solution. โACโ is the hypotenuse. Let โAB = cโ, so โAC = 3 - cโ and โBC^2 = (3 - c)^2 - c^2 = 9 - 6cโ. The area is โ\dfrac{1}{2} \cdot AB \cdot BCโ, so its square is โ\dfrac{1}{4}c^2(9 - 6c) = \dfrac{1}{4}(9c^2 - 6c^3)โ. The area is greatest when its square is greatest. The derivative of โ9c^2 - 6c^3โ is โ18c - 18c^2โ, zero at โc = 1โ, where it changes from positive to negative: a maximum. Then โAB = 1โ, โBC = \sqrt{3}โ and the area is โ\dfrac{\sqrt{3}}{2}โ. Answer (a).
NDA II 2025, Q100. Consider the following statements : StatementโI : The function โf(x) = \frac{x^3 + 128}{x}โ has a minimum value 48 at โx = 4โ. StatementโII : As โxโ increases through 4, โf'(x)โ changes sign from positive to negative. Which one of the following is correct in respect of the above statements?
(a) Both StatementโI and StatementโII are correct and StatementโII explains StatementโIโโ(b) Both StatementโI and StatementโII are correct but StatementโII does not explain StatementโIโโ(c) StatementโI is correct but StatementโII is not correctโโ(d) StatementโI is not correct but StatementโII is correct
Solution. Write โf(x) = x^2 + \dfrac{128}{x}โ. Then โf'(x) = 2x - \dfrac{128}{x^2}โ, zero when โx^3 = 64โ, so โx = 4โ. โf''(x) = 2 + \dfrac{256}{x^3}โ and โf''(4) = 6 > 0โ: a local minimum, with value โf(4) = 16 + 32 = 48โ. Statement I is correct. At a minimum โf'โ changes from negative to positive, not from positive to negative, so Statement II is not correct. Answer (c).
NDA I 2026, Q75. Consider the following statements in respect of the function โf(x) = xโ in the interval โ(-1, 1)โ : I. The function attains maximum value. II. The function attains minimum value. 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. The interval is open, so โ-1โ and โ1โ are not in it. The values of โf(x) = xโ come as close to 1 as we like but never reach 1, so there is no maximum. In the same way there is no minimum. Answer (d).
NDA II 2026, Q96. For the curve โy = xe^{2x}โ
(a) minimum occurs at โx = -2โโโ(b) minimum occurs at โx = -1โโโ(c) minimum occurs at โx = -1/2โโโ(d) maximum occurs at โx = -1/2โ
Solution. By the product rule โ\dfrac{dy}{dx} = e^{2x} + 2xe^{2x} = e^{2x}(1 + 2x)โ. Since โe^{2x}โ is never zero, the only critical point is โx = -\dfrac{1}{2}โ. For โx < -\dfrac{1}{2}โ the factor โ1 + 2xโ is negative and for โx > -\dfrac{1}{2}โ it is positive. The sign changes from โ-โ to โ+โ: a minimum. Answer (c).

10. Mistakes that cost marks
- Giving the point when the value is asked, or the value when the point is asked. In Example 1 the local maximum is at โx = -1โ, and the maximum value is 4.
- Turning the second derivative test round. โf''(c) < 0โ means a maximum. โf''(c) > 0โ means a minimum.
- Forgetting the end points. On a closed interval the greatest or least value is often at an end point, as in Example 2.
- Taking every point with โf'(c) = 0โ as a maximum or minimum. โx^3โ has โf'(0) = 0โ and has neither at โx = 0โ.
11. Quick check
Do these without help. Answers are at the end.
- Find the points of local maximum and local minimum of โf(x) = x^3 - 12xโ, and the values there.
- Find the least value of โx^2 - 8x + 20โ.
- Find the greatest value of โ5\sin x + 12\cos xโ.
- Find the greatest and least values of โf(x) = x^2โ on โ[-3, 2]โ.
- The sum of two positive numbers is 12. What is the greatest possible value of their product?
12. Read and watch more, free
| What | Where | Language |
|---|---|---|
| Textbook | NCERT Class 12 Mathematics, Chapter 6 Application of Derivatives ยท Hindi edition | English, Hindi |
| Self-study notes | NIOS Mathematics, Lesson 29 Application of Derivatives ยท Hindi edition | English, Hindi |
| Video, the chapter for NDA | Defence Wallah: Fast Track 2021 (the class named APPLICATIONS OF DERIVATIVES, about 1 hour 50 minutes) | Hinglish |
| Video, a longer class for NDA | NDA Vijay by Unacademy: Maths Free Milestone Batch (the class named Applications of Derivatives, about 4 hours 15 minutes) | Hinglish |
| Video, every textbook problem | Magnet Brains: Class 12 Maths complete course (the 37 videos of Chapter 6) | Hinglish |
| Past NDA questions | ExamSIDE: Application of Derivatives | English |
The videos were chosen from their titles, length and views; they have not yet been watched by a teacher.
Answers to the quick check
- โf'(x) = 3(x - 2)(x + 2)โ and โf''(x) = 6xโ. Local maximum at โx = -2โ, value 16. Local minimum at โx = 2โ, value โ-16โ.
- โx^2 - 8x + 20 = (x - 4)^2 + 4โ. The least value is 4, at โx = 4โ.
- โ\sqrt{5^2 + 12^2} = 13โ.
- The critical point is โx = 0โ. โf(-3) = 9โ, โf(0) = 0โ, โf(2) = 4โ. Greatest value 9, least value 0.
- The product is greatest when the numbers are equal: โ6 \times 6 = 36โ.
Next chapter: Integration: the idea and standard integrals.