HOME/NOTES/CONCEPT

Maxima and Minima Complete JEE Notes

Ritesh Raj · 1 Aug 2026
Aa
14 min read10 sectionsConcept

Maxima and minima is where every other calculus idea gets used at once — monotonicity, the second derivative, continuity, and for the harder JEE questions, the Newton–Leibnitz formula for differentiating an integral. These notes build the tests from the definition, prove why each works, and then run the eight shapes the question takes in a paper.

What an extremum actually is

The words extremum, extremal and turning value all mean the same thing: a maximum or a minimum value.

Local maximum at x=ax=aLocal minimum at x=bx=b
1. Definitionf(a)f(a) is greater than every value ff takes in the immediate neighbourhood of aaf(b)f(b) is less than every value ff takes in the immediate neighbourhood of bb
2. Symbolicallyf(a)>f(a+h)f(a)>f(a+h) and f(a)>f(ah)f(a)>f(a-h)f(b)<f(b+h)f(b)<f(b+h) and f(b)<f(bh)f(b)<f(b-h)
3. Holds forsome sufficiently small h>0h>0some sufficiently small h>0h>0
4. Reading the graphthe curve rises up to aa, then fallsthe curve falls down to bb, then rises
5. Necessary conditionf(a)=0f'(a)=0 if ff is differentiable at aaf(b)=0f'(b)=0 if ff is differentiable at bb
Local maximum and local minimum compared with their immediate neighbours
Four things students routinely get wrong
  1. Maximum and minimum values here are local (relative) — they compare f(a)f(a) only with its immediate neighbours, not with the whole domain.
  2. A local maximum value need not be the greatest value on the interval, and a local minimum need not be the least.
  3. A function can have several of each, and a minimum value may be larger than some maximum value elsewhere on the curve.
  4. For a continuous function, maxima and minima alternate: between two consecutive maxima there is a minimum, and vice versa.

Stationary points, and why f=0f'=0 is not enough

If ff is differentiable at aa and has a local extremum there, then f(a)=0f'(a)=0. Points where the derivative vanishes are called stationary points — the instantaneous rate of change momentarily ceases.

But the converse fails. f(a)=0f'(a)=0 is necessary, not sufficient. If ff' keeps the same sign on both sides of aa, the function is simply increasing (or decreasing) through a flat spot, and f(a)f(a) is not an extreme value at all. Such a point is a point of inflection.

The first order derivative test

The test is a sign change, not a vanishing.

  • If f(ah)>0f'(a-h)>0 and f(a+h)<0f'(a+h)<0, then x=ax=a is a local maximum: ff' goes ++\to-.
  • If f(bh)<0f'(b-h)<0 and f(b+h)>0f'(b+h)>0, then x=bx=b is a local minimum: ff' goes +-\to+.
  • If ff' has the same sign on both sides, xx is neither — it is a point of inflection.
First derivative test: the sign of f prime must change

Example 1. For f(x)=(x2)4(x+1)3f(x)=(x-2)^4(x+1)^3, decide each statement: (I) maximum at x=27x=\dfrac27; (II) minimum at x=2x=2; (III) point of inflection at x=1x=-1.

SHOW SOLUTION

Step 1: Differentiate by the product rule.

f(x)=4(x2)3(x+1)3+3(x+1)2(x2)4.f'(x)=4(x-2)^3(x+1)^3+3(x+1)^2(x-2)^4.

Step 2: Take out the common factor. Both terms share (x2)3(x+1)2(x-2)^3(x+1)^2:

f(x)=(x2)3(x+1)2[4(x+1)+3(x2)]=(x2)3(x+1)2(7x2).f'(x)=(x-2)^3(x+1)^2\big[4(x+1)+3(x-2)\big]=(x-2)^3(x+1)^2(7x-2).

Step 3: Critical points. f(x)=0f'(x)=0 at x=1x=-1, x=27x=\dfrac27 and x=2x=2.

Step 4: Sign chart. Note (x+1)2(x+1)^2 has an even power, so it never flips the sign; only (x2)3(x-2)^3 and (7x2)(7x-2) do.

Interval(x2)3(x-2)^3(x+1)2(x+1)^2(7x2)(7x-2)ff'
x<1x<-1-++-++
1<x<27-1<x<\frac27-++-++
27<x<2\frac27<x<2-++++-
x>2x>2++++++++

Step 5: Read it off.

  • At x=27x=\dfrac27: ++\to-, so a local maximum. (I) TRUE.
  • At x=2x=2: +-\to+, so a local minimum. (II) TRUE.
  • At x=1x=-1: no sign change, so a point of inflection. (III) TRUE.

Answer: all three are correct.

Example 2 (IIT-JEE 1993). If y=alogx+bx2+xy=a\log x+bx^2+x has extremum values at x=1x=-1 and x=2x=2, find aa and bb.

SHOW SOLUTION

Step 1: Differentiate.

dydx=ax+2bx+1.\frac{dy}{dx}=\frac ax+2bx+1.

Step 2: Impose both conditions. An extremum needs dydx=0\dfrac{dy}{dx}=0 there:

at x=1:a2b+1=0  a+2b1=0,\text{at }x=-1:\quad -a-2b+1=0\ \Longrightarrow\ a+2b-1=0, at x=2:a2+4b+1=0  a+8b+2=0.\text{at }x=2:\quad \frac a2+4b+1=0\ \Longrightarrow\ a+8b+2=0.

Step 3: Subtract.

(a+8b+2)(a+2b1)=6b+3=0  b=12.(a+8b+2)-(a+2b-1)=6b+3=0\ \Longrightarrow\ b=-\frac12.

Step 4: Back-substitute. a+2(12)1=0a+2\left(-\dfrac12\right)-1=0 gives a=2a=2.

Answer: a=2, b=12\boxed{a=2,\ b=-\dfrac12}

The second and nnth order derivative tests

Once f(c)=0f'(c)=0, the quickest classification uses higher derivatives.

  • f(c)<0f''(c)<0 \Rightarrow local maximum at cc;
  • f(c)>0f''(c)>0 \Rightarrow local minimum at cc;
  • f(c)=0f''(c)=0 \Rightarrow inconclusive — go further.

The general statement covers every case at once.

nnth order derivative test. Suppose f(c)=f(c)==f(n1)(c)=0f'(c)=f''(c)=\dots=f^{(n-1)}(c)=0 but f(n)(c)0f^{(n)}(c)\ne0. Then:

  • nn even and f(n)(c)<0f^{(n)}(c)<0 \Rightarrow local maximum;
  • nn even and f(n)(c)>0f^{(n)}(c)>0 \Rightarrow local minimum;
  • nn odd \Rightarrow neither — it is a point of inflection.
Odd order gives no extremum, even order does
Why odd order fails

Near cc the function behaves like f(c)+f(n)(c)n!(xc)nf(c)+\dfrac{f^{(n)}(c)}{n!}(x-c)^n. An even power (xc)n(x-c)^n keeps the same sign on both sides, so the function sits entirely above or entirely below f(c)f(c) — an extremum. An odd power changes sign, so the function is above on one side and below on the other. That is exactly the "even power does not flip the sign" rule from the sign chart, seen from the other direction.

Example 3 (IIT-JEE 1995). On [0,1][0,1], at which point does x25(1x)75x^{25}(1-x)^{75} take its maximum value?

SHOW SOLUTION

Step 1: Differentiate by the product rule.

f(x)=25x24(1x)75+x2575(1x)74(1).f'(x)=25x^{24}(1-x)^{75}+x^{25}\cdot 75(1-x)^{74}(-1).

Step 2: Factor out the common part 25x24(1x)7425x^{24}(1-x)^{74}:

f(x)=25x24(1x)74[(1x)3x]=25x24(1x)74(14x).f'(x)=25x^{24}(1-x)^{74}\big[(1-x)-3x\big]=25x^{24}(1-x)^{74}(1-4x).

Step 3: Critical points on [0,1][0,1]. x=0x=0, x=14x=\dfrac14, x=1x=1.

Step 4: Sign chart. On (0,1)(0,1) both x24x^{24} and (1x)74(1-x)^{74} are positive (even powers), so the sign of ff' is the sign of 14x1-4x: positive for x<14x<\dfrac14, negative for x>14x>\dfrac14.

Step 5: Conclude. ff' changes ++\to- at x=14x=\dfrac14, so that is the maximum. The endpoints give f(0)=f(1)=0f(0)=f(1)=0, so it is the absolute maximum too.

Answer: x=14\boxed{x=\dfrac14}

Example 4. Find the maximum ordinate of a point on the graph of f(x)=sinx(1+cosx)f(x)=\sin x\,(1+\cos x).

SHOW SOLUTION

Step 1: Rewrite using the double angle.

f(x)=sinx+sinxcosx=sinx+12sin2x.f(x)=\sin x+\sin x\cos x=\sin x+\frac12\sin 2x.

Step 2: Differentiate twice.

f(x)=cosx+cos2x,f(x)=sinx2sin2x.f'(x)=\cos x+\cos 2x,\qquad f''(x)=-\sin x-2\sin 2x.

Step 3: Solve f=0f'=0. Using cos2x=2cos2x1\cos 2x=2\cos^2x-1,

2cos2x+cosx1=0  (2cosx1)(cosx+1)=0,2\cos^2x+\cos x-1=0\ \Longrightarrow\ (2\cos x-1)(\cos x+1)=0,

so cosx=12\cos x=\dfrac12 or cosx=1\cos x=-1, giving x=π3, π, 5π3x=\dfrac\pi3,\ \pi,\ \dfrac{5\pi}{3} in one period.

Step 4: Classify with ff''.

f ⁣(π3)=sinπ32sin2π3<0  maximum,f''\!\left(\frac\pi3\right)=-\sin\frac\pi3-2\sin\frac{2\pi}{3}<0\ \Rightarrow\ \text{maximum},

f''\!\left(\frac{5\pi}{3}\right)=-\sin\frac{5\pi}{3}-2\sin\frac{10\pi}{3}>0\ \Rightarrow\ \text{minimum}.$$ ### Step 5: Evaluate at the maximum. $$f\!\left(\frac\pi3\right)=\sin\frac\pi3\left(1+\cos\frac\pi3\right)=\frac{\sqrt3}{2}\cdot\frac32=\boxed{\frac{3\sqrt3}{4}}$$

Newton–Leibnitz formula

Many JEE questions define a function by an integral and then ask for its extrema. You never evaluate that integral — you differentiate it.

Newton–Leibnitz formula. If ff is continuous and g,hg,h are differentiable, then ddxg(x)h(x)f(t)dt  =  f(h(x))h(x)    f(g(x))g(x).\frac{d}{dx}\int_{g(x)}^{h(x)} f(t)\,dt \;=\; f\big(h(x)\big)\,h'(x)\;-\;f\big(g(x)\big)\,g'(x).

Why it is true. Let FF be an antiderivative of ff, so g(x)h(x)f(t)dt=F(h(x))F(g(x))\displaystyle\int_{g(x)}^{h(x)}f(t)\,dt=F(h(x))-F(g(x)) by the fundamental theorem. Differentiating by the chain rule and using F=fF'=f gives f(h(x))h(x)f(g(x))g(x)f(h(x))h'(x)-f(g(x))g'(x).

The case you will use ninety per cent of the time has a constant lower limit and h(x)=xh(x)=x:

ddxaxf(t)dt=f(x).\frac{d}{dx}\int_{a}^{x} f(t)\,dt=f(x).

The whole method in three lines

Given F(x)=axϕ(t)dtF(x)=\displaystyle\int_a^x \phi(t)\,dt:

  1. F(x)=ϕ(x)F'(x)=\phi(x) — just replace tt by xx. No integration.
  2. Find the zeros of ϕ\phi and build a sign chart, exactly as for any other function.
  3. Odd multiplicity flips the sign, even multiplicity does not. Count only the sign changes.

The integral itself is never computed. This is why examiners can build monstrous-looking integrands: the difficulty is entirely in the sign chart.

Example 5. For f(x)=0xsinttdtf(x)=\displaystyle\int_0^x \frac{\sin t}{t}\,dt with x>0x>0, classify the point x=nπx=n\pi.

SHOW SOLUTION

Step 1: Differentiate by Newton–Leibnitz.

f(x)=sinxx.f'(x)=\frac{\sin x}{x}.

Step 2: Critical points. For x>0x>0 the denominator never vanishes, so f(x)=0f'(x)=0 needs sinx=0\sin x=0, i.e. x=nπx=n\pi for nNn\in\mathbb N.

Step 3: Second derivative by the quotient rule.

f(x)=xcosxsinxx2.f''(x)=\frac{x\cos x-\sin x}{x^2}.

Step 4: Evaluate at x=nπx=n\pi. There sinnπ=0\sin n\pi=0 and cosnπ=(1)n\cos n\pi=(-1)^n, so

f(nπ)=nπ(1)n0(nπ)2=(1)nnπ.f''(n\pi)=\frac{n\pi(-1)^n-0}{(n\pi)^2}=\frac{(-1)^n}{n\pi}.

Step 5: Read the sign. For nn odd, f(nπ)<0f''(n\pi)<0 — a local maximum. For nn even, f(nπ)>0f''(n\pi)>0 — a local minimum.

Answer: maximum or minimum according as nn is odd or even respectively.

Example 6. Let f(x)=0x(sintcost)(et2)(t1)3(t2)5dtf(x)=\displaystyle\int_0^x(\sin t-\cos t)\left(e^t-2\right)(t-1)^3(t-2)^5\,dt for 0<x40<x\le 4. How many points of local maximum does ff have?

SHOW SOLUTION

Step 1: Differentiate. By Newton–Leibnitz, replace tt by xx:

f(x)=(sinxcosx)(ex2)(x1)3(x2)5.f'(x)=(\sin x-\cos x)\left(e^{x}-2\right)(x-1)^3(x-2)^5.

Step 2: Find every zero in (0,4](0,4].

  • sinx=cosx  tanx=1  x=π40.785\sin x=\cos x\ \Rightarrow\ \tan x=1\ \Rightarrow\ x=\dfrac\pi4\approx0.785 and x=5π43.927x=\dfrac{5\pi}{4}\approx3.927;
  • ex=2  x=loge20.693e^{x}=2\ \Rightarrow\ x=\log_e 2\approx0.693;
  • (x1)3=0  x=1(x-1)^3=0\ \Rightarrow\ x=1;
  • (x2)5=0  x=2(x-2)^5=0\ \Rightarrow\ x=2.

Step 3: Check the multiplicities. Every factor here has odd multiplicity — the two trigonometric and exponential zeros are simple, and the powers 33 and 55 are odd. So ff' changes sign at all five points.

Step 4: Fix the sign on one interval, then alternate. Take x=0.5x=0.5, which is left of every zero:

(sin0.5cos0.5)<0,(e0.52)<0,(0.51)3<0,(0.52)5<0,(\sin 0.5-\cos 0.5)<0,\quad \left(e^{0.5}-2\right)<0,\quad (0.5-1)^3<0,\quad (0.5-2)^5<0,

four negatives, so f(0.5)>0f'(0.5)>0. With five sign changes the pattern across the five points is

+        +        +    +\;\big|\;-\;\big|\;+\;\big|\;-\;\big|\;+\;\big|\;-

Step 5: Count the ++\to- transitions. They occur at x=loge2x=\log_e 2, x=1x=1 and x=5π4x=\dfrac{5\pi}{4} — three of them. (The +-\to+ transitions at π4\dfrac\pi4 and 22 are minima.)

Answer: 3\boxed{3} points of local maximum.

Sign chart for the Newton-Leibnitz example showing three local maxima

Example 7 (JEE Main 2026, 28 Jan Shift 2). Let ff be differentiable with f(x)=12x+0xe(xt)f(t)dtf(x)=1-2x+\displaystyle\int_0^x e^{(x-t)}f(t)\,dt, and let g(x)=0x(f(t)+2)15(t4)6(t+12)17dtg(x)=\displaystyle\int_0^x\big(f(t)+2\big)^{15}(t-4)^6(t+12)^{17}dt. If pp and qq are the points of local minimum and local maximum of gg, find p+q|p+q|.

SHOW SOLUTION

Step 1: Pull the xx out of the integral. The factor ext=exete^{x-t}=e^x e^{-t}, so

\ \Longrightarrow\ e^{-x}f(x)=(1-2x)e^{-x}+\int_0^x e^{-t}f(t)\,dt.$$ Now the integral has no $x$ inside it, only in the limit. ### Step 2: Differentiate both sides by Newton–Leibnitz. $$e^{-x}f'(x)-e^{-x}f(x)=-2e^{-x}-(1-2x)e^{-x}+e^{-x}f(x).$$ Dividing by $e^{-x}$ and tidying, $$f'(x)-2f(x)=2x-3.$$ **Step 3: Solve the linear differential equation.** The integrating factor is $e^{-2x}$, so $$\frac{d}{dx}\left(e^{-2x}f\right)=(2x-3)e^{-2x}.$$ Integrating by parts, $\displaystyle\int(2x-3)e^{-2x}dx=(1-x)e^{-2x}$, hence $f(x)=(1-x)+Ce^{2x}$. **Step 4: Fix the constant.** Putting $x=0$ in the original relation gives $f(0)=1$, and the formula gives $1+C$, so $C=0$ and $$f(x)=1-x.$$ **Step 5: Differentiate $g$ by Newton–Leibnitz.** Since $f(t)+2=3-t$, $$g'(x)=(3-x)^{15}(x-4)^6(x+12)^{17}=-(x-3)^{15}(x-4)^6(x+12)^{17}.$$ **Step 6: Sign chart.** Zeros at $x=-12,3,4$. The power $6$ on $(x-4)$ is **even**, so no sign change there; the powers $15$ and $17$ are odd. | Interval | $-(x-3)^{15}$ | $(x-4)^6$ | $(x+12)^{17}$ | $g'$ | |---|---|---|---|---| | $x<-12$ | $+$ | $+$ | $-$ | $-$ | | $-12<x<3$ | $+$ | $+$ | $+$ | $+$ | | $3<x<4$ | $-$ | $+$ | $+$ | $-$ | | $x>4$ | $-$ | $+$ | $+$ | $-$ | **Step 7: Read the extrema.** At $x=-12$: $-\to+$, local **minimum**, so $p=-12$. At $x=3$: $+\to-$, local **maximum**, so $q=3$. At $x=4$ nothing happens. ### Step 8: Compute. $$|p+q|=|-12+3|=\boxed{9}$$

Extrema where the function is not differentiable

Nothing in the definition of a local extremum mentions continuity or differentiability — it only compares f(a)f(a) with its neighbours. So a corner, a jump, or an isolated point can perfectly well be an extremum.

Six discontinuous cases: minimum, maximum and neither

The rule is simply: look at the value f(a)f(a), and compare it with the values on either side. If f(a)f(a) sits below both, it is a minimum; above both, a maximum; between them, neither.

Example 8. Let f(x)={x3+x2+10x,x<03sinx,x0f(x)=\begin{cases}x^3+x^2+10x, & x<0\\ -3\sin x, & x\ge0\end{cases}. Classify x=0x=0.

SHOW SOLUTION

Step 1: Check continuity. Both pieces give 00 at x=0x=0: the left limit is 00, the right limit is 3sin0=0-3\sin 0=0, and f(0)=0f(0)=0. So ff is continuous there.

Step 2: Left-hand derivative.

f(0)=limh0f(h)f(0)h=limh0h3+h210hh=10.f'(0^-)=\lim_{h\to0}\frac{f(-h)-f(0)}{-h}=\lim_{h\to0}\frac{-h^3+h^2-10h}{-h}=10.

Step 3: Right-hand derivative.

f(0+)=limh0f(h)f(0)h=limh03sinhh=3.f'(0^+)=\lim_{h\to0}\frac{f(h)-f(0)}{h}=\lim_{h\to0}\frac{-3\sin h}{h}=-3.

Step 4: Classify. The two are unequal, so ff is not differentiable at 00 — but that does not matter. What matters is the sign: f(0)>0f'(0^-)>0 means ff is rising into 00, and f(0+)<0f'(0^+)<0 means it falls away after. The value at 00 beats both sides.

Answer: x=0x=0 is a point of local maximum, even though f(0)f'(0) does not exist.

Global (absolute) maximum and minimum

Local extrema compare with neighbours; global extrema compare with the whole interval. On a closed interval [a,b][a,b] a continuous function always attains both, and they can only occur at a critical point inside or at an end point.

Global extrema at end points versus at critical points

The algorithm.

  1. Check ff is continuous on [a,b][a,b].
  2. List the end points a,ba,b and every critical value c1,c2,,cnc_1,c_2,\dots,c_n inside.
  3. Evaluate ff at all of them.
  4. The largest value found is the absolute maximum; the smallest is the absolute minimum.

Note step 3: you evaluate and compare, you do not classify. There is no need for the second derivative test in a global problem.

Example 9. Find the global maximum of f(x)=log10(4x312x2+11x3)f(x)=\log_{10}\left(4x^3-12x^2+11x-3\right) on [2,3][2,3].

SHOW SOLUTION

Step 1: Work with the inside. log10\log_{10} is strictly increasing, so ff is largest exactly where g(x)=4x312x2+11x3g(x)=4x^3-12x^2+11x-3 is largest.

Step 2: Factorise gg. Since g(1)=412+113=0g(1)=4-12+11-3=0, (x1)(x-1) divides it:

g(x)=(x1)(4x28x+3)=(x1)(2x1)(2x3).g(x)=(x-1)\left(4x^2-8x+3\right)=(x-1)(2x-1)(2x-3).

Step 3: Check for critical points inside [2,3][2,3]. g(x)=12x224x+11g'(x)=12x^2-24x+11, whose discriminant is 576528=48>0576-528=48>0, with roots x=1±130.42, 1.58x=1\pm\dfrac{1}{\sqrt3}\approx0.42,\ 1.58 — both outside [2,3][2,3]. So gg has no critical point in the interval and is monotonic there.

Step 4: Evaluate at the end points.

g(2)=(1)(3)(1)=3,g(3)=(2)(5)(3)=30.g(2)=(1)(3)(1)=3,\qquad g(3)=(2)(5)(3)=30.

Step 5: Conclude. The maximum of gg on [2,3][2,3] is 3030, at x=3x=3, so

fmax=log1030=log10(3×10)=1+log103f_{\max}=\log_{10}30=\log_{10}(3\times10)=\boxed{1+\log_{10}3}

Example 10 (JEE Main 2026, 04 Apr Shift 2). Find max0xπ(16sinx2cos3x2)\displaystyle\max_{0\le x\le\pi}\left(16\sin\frac x2\cos^3\frac x2\right).

SHOW SOLUTION

Step 1: Simplify with double angles.

16sinx2cos3x2=8(2sinx2cosx2)cos2x2=8sinx1+cosx2=4sinx(1+cosx).16\sin\frac x2\cos^3\frac x2=8\left(2\sin\frac x2\cos\frac x2\right)\cos^2\frac x2=8\sin x\cdot\frac{1+\cos x}{2}=4\sin x\,(1+\cos x).

Step 2: Expand and differentiate. Writing E=4sinx+2sin2xE=4\sin x+2\sin 2x,

dEdx=4cosx+4cos2x=8cos3x2cosx2.\frac{dE}{dx}=4\cos x+4\cos 2x=8\cos\frac{3x}{2}\cos\frac x2.

Step 3: Critical points on [0,π][0,\pi]. cos3x2=0\cos\dfrac{3x}{2}=0 gives x=π3x=\dfrac\pi3; cosx2=0\cos\dfrac x2=0 gives x=πx=\pi.

Step 4: Evaluate at critical points and end points.

E(0)=0,E(π)=0,E ⁣(π3)=43232=33.E(0)=0,\qquad E(\pi)=0,\qquad E\!\left(\frac\pi3\right)=4\cdot\frac{\sqrt3}{2}\cdot\frac32=3\sqrt3.

Step 5: Pick the largest.

33\boxed{3\sqrt3}

Using extrema to count the roots of a cubic

For f(x)=x3+ax2+bx+cf(x)=x^3+ax^2+bx+c we have f(x)=3x2+2ax+bf'(x)=3x^2+2ax+b, with discriminant D=4a212bD=4a^2-12b.

  • D<0D<0: f>0f'>0 everywhere, so ff is strictly increasing and crosses the xx-axis exactly once. In particular the cubic has no extremum precisely when a23ba^2\le 3b.
  • D>0D>0: ff' has two roots α<β\alpha<\beta, giving a local maximum at α\alpha and a local minimum at β\beta. The number of real roots is then decided by the two turning values:
    • f(α)f(β)<0f(\alpha)\,f(\beta)<0 \Rightarrow three distinct real roots,
    • f(α)f(β)=0f(\alpha)\,f(\beta)=0 \Rightarrow three real roots, two of them equal,
    • f(α)f(β)>0f(\alpha)\,f(\beta)>0 \Rightarrow one real root and two complex.
  • D=0D=0: f(x)=3(xα)2f'(x)=3(x-\alpha)^2, so f(x)=(xα)3+kf(x)=(x-\alpha)^3+k. If k=0k=0 there is a triple root; otherwise exactly one real root.
Three cases for the roots of a cubic decided by its turning values

Example 11. For which values of aa does x33x+a=0x^3-3x+a=0 have three distinct real roots?

SHOW SOLUTION

Step 1: Find the turning points. With f(x)=x33x+af(x)=x^3-3x+a,

f(x)=3x23=3(x1)(x+1),f'(x)=3x^2-3=3(x-1)(x+1),

so α=1\alpha=-1 (local maximum) and β=1\beta=1 (local minimum).

Step 2: Evaluate the turning values.

f(1)=1+3+a=a+2,f(1)=13+a=a2.f(-1)=-1+3+a=a+2,\qquad f(1)=1-3+a=a-2.

Step 3: Apply the condition. Three distinct real roots need f(α)f(β)<0f(\alpha)f(\beta)<0:

(a+2)(a2)<0.(a+2)(a-2)<0.

Step 4: Solve. A product of two brackets is negative when they have opposite signs, giving

a(2,2)\boxed{a\in(-2,2)}

Check. At a=0a=0 the equation x33x=0x^3-3x=0 has roots 0,±30,\pm\sqrt3 — three distinct. At a=2a=2 it becomes (x1)2(x+2)=0(x-1)^2(x+2)=0, only two distinct. At a=3a=3 there is one real root. The boundary is exactly right.

Standard results worth memorising

These come up so often that deriving them each time is wasted minutes.

SituationResult
f(x)=sinmxcosnxf(x)=\sin^m x\cos^n xmaximum at x=tan1mnx=\tan^{-1}\sqrt{\dfrac mn}
Rectangle of given perimeterthe square has the largest area
Rectangle of given areathe square has the least perimeter
Cone of maximum volume inscribed in a sphere of radius rrheight =4r3=\dfrac{4r}{3}
Cylinder of maximum volume inscribed in a sphere of radius aaheight =2a3=\dfrac{2a}{\sqrt3}
Cylinder of maximum volume in a cone of height hh, semi-vertical angle α\alphaheight =h3=\dfrac h3, volume =427πh3tan2α=\dfrac{4}{27}\pi h^3\tan^2\alpha
x+kxx+\dfrac kx for x,k>0x,k>0minimum 2k2\sqrt k at x=kx=\sqrt k

Example 12. Find the volume of the greatest cylinder that can be inscribed in a cone of height 3030 cm and semi-vertical angle 3030^\circ.

SHOW SOLUTION

Step 1: Set up the geometry. The cone has base radius R=30tan30=303=103R=30\tan 30^\circ=\dfrac{30}{\sqrt3}=10\sqrt3.

Step 2: Relate the cylinder's height to its radius. By similar triangles, a cylinder of radius rr has height

y=30(1r103).y=30\left(1-\frac{r}{10\sqrt3}\right).

Step 3: Write the volume as one variable.

V=πr2y=30πr23πr3.V=\pi r^2y=30\pi r^2-\sqrt3\,\pi r^3.

Step 4: Differentiate and solve.

dVdr=60πr33πr2=3πr(203r)=0  r=203.\frac{dV}{dr}=60\pi r-3\sqrt3\pi r^2=3\pi r\left(20-\sqrt3\,r\right)=0\ \Longrightarrow\ r=\frac{20}{\sqrt3}.

(This is less than R=10317.3R=10\sqrt3\approx17.3, so it is admissible.)

Step 5: Confirm it is a maximum and evaluate. d2Vdr2=60π63πr\dfrac{d^2V}{dr^2}=60\pi-6\sqrt3\pi r, which at r=203r=\dfrac{20}{\sqrt3} is 60π120π<060\pi-120\pi<0. The height is y=30(123)=10y=30\left(1-\dfrac23\right)=10, so

V=π(203)2(10)=π400310=4000π3 cm3V=\pi\left(\frac{20}{\sqrt3}\right)^2(10)=\pi\cdot\frac{400}{3}\cdot10=\boxed{\frac{4000\pi}{3}\ \text{cm}^3}

Check. A numerical sweep over rr peaks at 4188.794188.79, and 4000π3=4188.79\dfrac{4000\pi}{3}=4188.79. Agrees.

Quick recall

SituationWhat to do
Asked for local extremaf=0f'=0, then sign chart — the sign must change
f(c)=0f'(c)=0 and f(c)=0f''(c)=0Keep differentiating: first non-zero order, even \Rightarrow extremum, odd \Rightarrow inflection
An even power in the factorised ff'It does not flip the sign; that root is not an extremum
ff defined by axϕ(t)dt\displaystyle\int_a^x\phi(t)\,dtNewton–Leibnitz: f(x)=ϕ(x)f'(x)=\phi(x), then sign chart. Never integrate
Variable limits on both endsf(h(x))h(x)f(g(x))g(x)f\big(h(x)\big)h'(x)-f\big(g(x)\big)g'(x)
Asked for the greatest/least value on [a,b][a,b]Evaluate at critical points and both end points, then compare
ff has a corner or jumpCompare f(a)f(a) with its neighbours directly; differentiability is irrelevant
Cubic, asked how many real rootsTurning values f(α)f(\alpha), f(β)f(\beta): product <0<0 three roots, =0=0 repeated, >0>0 one
Cubic, asked for no extremuma23ba^2\le 3b for x3+ax2+bx+cx^3+ax^2+bx+c
Solid inscribed in a solidReduce to one variable by similar triangles, then differentiate
Before you move on

Two habits decide this chapter. First, a vanishing derivative is not an extremum — the sign has to change, which is why every even power in the factorised ff' is a trap deliberately placed. Second, when a function is defined by an integral, do not integrate: Newton–Leibnitz hands you ff' directly, and the entire question is then an ordinary sign chart.


Practise these on doMath, and read the JEE Main 2026 shift-wise analyses to see how many marks Application of Derivatives carried this year.

[ SHARE ] WhatsApp
[ practice these chapters ]
Reinforce this post with live problems on doMath.
Continuity & DifferentiabilityApplication of DerivativesDefinite Integration
PreviousMonotonic Functions Increasing, Decreasing, Concavity and InflectionNext Relation Between AM, GM and HM Complete JEE Notes with Proofs
← Back to all notes