NIMCET, GATE, CUET & CBSE test series are live — start practicing free
syllabuzAI

Higher Derivatives, Rolle's Theorem and MVT | NIMCET

Learn second and higher-order derivatives, nth derivatives of standard functions, and Rolle's theorem and Lagrange's mean value theorem with their conditions and applications, for NIMCET.

4 min read

SP

SHIVAM PRADHAN

Updated 25 October 2026

On this page

Quick answer: The second derivative d2ydx2\frac{d^2y}{dx^2} is the derivative of dydx\frac{dy}{dx}. Rolle's theorem: if f is continuous on [a, b], differentiable on (a, b) and f(a)=f(b)f(a) = f(b), then f′(c)=0f'(c) = 0 for some c in (a, b). Lagrange's mean value theorem (MVT): if f is continuous on [a, b] and differentiable on (a, b), then f′(c)=f(b)−f(a)b−af'(c) = \frac{f(b) - f(a)}{b - a} for some c in (a, b).

Rolle's theorem and the MVT are listed in the revised NIMCET calculus syllabus (see the NIMCET syllabus update).

Higher-order derivatives

NotationMeaning
y′y', dydx\frac{dy}{dx}First derivative
y′′y'', d2ydx2\frac{d^2y}{dx^2}Second derivative
y(n)y^{(n)}, dnydxn\frac{d^ny}{dx^n}nth derivative

Parametric second derivative:

d2ydx2=ddt(dydx)⋅dtdx\frac{d^2y}{dx^2} = \frac{d}{dt}\left(\frac{dy}{dx}\right) \cdot \frac{dt}{dx}

It is not d2y/dt2d2x/dt2\frac{d^2y/dt^2}{d^2x/dt^2}.

nth derivatives of standard functions

f(x)f(n)(x)f^{(n)}(x)
eaxe^{ax}aneaxa^ne^{ax}
xmx^m (n≤mn \le m)m!(m−n)!xm−n\frac{m!}{(m - n)!}x^{m - n}
sin⁡(ax+b)\sin(ax + b)ansin⁡(ax+b+nπ2)a^n\sin\left(ax + b + \frac{n\pi}{2}\right)
cos⁡(ax+b)\cos(ax + b)ancos⁡(ax+b+nπ2)a^n\cos\left(ax + b + \frac{n\pi}{2}\right)
1ax+b\frac{1}{ax + b}(−1)nn! an(ax+b)n+1\frac{(-1)^nn!\,a^n}{(ax + b)^{n + 1}}
ln⁡(ax+b)\ln(ax + b)(−1)n−1(n−1)! an(ax+b)n\frac{(-1)^{n - 1}(n - 1)!\,a^n}{(ax + b)^n}

Rolle's theorem

ConditionRequirement
1f continuous on [a, b]
2f differentiable on (a, b)
3f(a)=f(b)f(a) = f(b)
ConclusionSome c∈(a,b)c \in (a, b) with f′(c)=0f'(c) = 0

Geometric meaning: somewhere between two points at the same height, the tangent is horizontal.

Consequence: between two roots of f(x)=0f(x) = 0 there is at least one root of f′(x)=0f'(x) = 0.

Lagrange's mean value theorem

ConditionRequirement
1f continuous on [a, b]
2f differentiable on (a, b)
Conclusionf′(c)=f(b)−f(a)b−af'(c) = \frac{f(b) - f(a)}{b - a} for some c∈(a,b)c \in (a, b)

Geometric meaning: some tangent is parallel to the chord joining the endpoints.

Rolle's theorem is the special case f(a)=f(b)f(a) = f(b).

For a quadratic f(x)=px2+qx+rf(x) = px^2 + qx + r, the MVT point is always the midpoint: c=a+b2c = \frac{a + b}{2}.

Worked examples

Example 1: second derivative

If y=x3−3x2+5y = x^3 - 3x^2 + 5, find y′′y''.

y′=3x2−6xy' = 3x^2 - 6x and y′′=6x−6y'' = 6x - 6.

Example 2: implicit second derivative

If x2+y2=1x^2 + y^2 = 1, find y′′y''.

Step 1: y′=−xyy' = -\frac{x}{y}.

Step 2: y′′=−y−xy′y2=−y+x2yy2=−x2+y2y3=−1y3y'' = -\frac{y - xy'}{y^2} = -\frac{y + \frac{x^2}{y}}{y^2} = -\frac{x^2 + y^2}{y^3} = -\frac{1}{y^3}.

Example 3: Rolle's theorem

Verify Rolle's theorem for f(x)=x2−4x+3f(x) = x^2 - 4x + 3 on [1, 3] and find c.

Step 1: f is a polynomial, and f(1)=f(3)=0f(1) = f(3) = 0.

Step 2: f′(c)=2c−4=0f'(c) = 2c - 4 = 0 gives c=2∈(1,3)c = 2 \in (1, 3) ✓.

Example 4: MVT

Find c for f(x)=x3f(x) = x^3 on [0, 3].

Step 1: f(3)−f(0)3=9\frac{f(3) - f(0)}{3} = 9.

Step 2: 3c2=93c^2 = 9, so c=3∈(0,3)c = \sqrt{3} \in (0, 3).

Example 5: when the theorem fails

Does Rolle's theorem apply to f(x)=∣x∣f(x) = \lvert x\rvert on [−1, 1]?

No. Although f(−1)=f(1)f(-1) = f(1), f is not differentiable at 0, and indeed f′(x)=±1f'(x) = \pm 1 is never 0.

Summary table

IdeaKey result
nth derivative of eaxe^{ax}aneaxa^ne^{ax}
nth derivative of sin⁡x\sin xsin⁡(x+nπ2)\sin\left(x + \frac{n\pi}{2}\right)
Rollef(a) = f(b) ⇒ f′(c) = 0
MVTf′(c) = slope of the chord
Quadratic MVT pointMidpoint of [a, b]

Exam tips

  • Before applying either theorem, check continuity and differentiability; questions often hinge on a failed condition.
  • For quadratics, write c as the midpoint immediately.
  • Rolle's theorem helps count roots: between two roots of f lies a root of f′.

Next, read applications of derivatives: tangents and normals, or see the NIMCET Calculus chapter.

Common mistakes

  • Using d2y/dt2d2x/dt2\frac{d^2y/dt^2}{d^2x/dt^2} for the parametric second derivative.
  • Applying Rolle's theorem without checking f(a)=f(b)f(a) = f(b).
  • Accepting a value of c that lies outside (a, b).
  • Ignoring points where f is not differentiable.

Frequently Asked Questions

What is Rolle's theorem?

If f is continuous on [a, b], differentiable on (a, b) and f(a) = f(b), then f′(c) = 0 for some c in (a, b).

What is Lagrange's mean value theorem?

If f is continuous on [a, b] and differentiable on (a, b), then f′(c) = (f(b) − f(a))/(b − a) for some c in (a, b).

What is the geometric meaning of the mean value theorem?

There is a point where the tangent is parallel to the chord joining the endpoints.

What is the nth derivative of sin x?

sin(x + nπ/2).

Does Rolle's theorem apply to |x| on [−1, 1]?

No, because |x| is not differentiable at 0.

Concept Check

MEDIUM

Find the eigenvalues of the matrix A=(2112)A = \begin{pmatrix} 2 & 1 \\ 1 & 2 \end{pmatrix}.

Suggested for you