PYQ Vault

CBSE Class 12 Maths · Continuity and Differentiability

Second Order Derivatives

Differentiating a function twice, proving a relation between a function and its first and second derivatives, and clearing a root or a fraction before the second differentiation.

Why this matters

42 questions, seventeen of them from board papers from 2023 to 2026. Most are proofs: y(d²y/dx²) + (dy/dx)² = 0 for y = √(ax + b) and d²y/dx² = cos x/(1 − sin x)² for y = tan x + sec x (2023), x²y″ + xy′ = 2 for y = (log x)² and (x² + 1)²y″ + 2x(x² + 1)y′ = 2 for y = (tan⁻¹x)² (2024), x(x + 1)²y₂ + (x + 1)²y₁ = 2 (2025) and d²y/dx² + u²y = 0 (2026). There are also MCQs on y = A cos 4t + B sin 4t (2023) and on y = sin⁻¹x (2024, 2025), a case study value f″(1) (2023) and parametric second derivatives (2024, 2026). The textbook adds Examples 35 to 38, Exercise 5.7 and Miscellaneous Exercise Q15, Q17, Q18 and Q22.

Concept 1 of 3: Finding the second derivative

The second derivative is the derivative of the derivative. Find dy/dx, tidy it, and differentiate once more with the same rules.

Definition

  • d2ydx2=ddx(dydx)\dfrac{d^2y}{dx^2} = \dfrac{d}{dx}\left(\dfrac{dy}{dx}\right), also written f′′(x)f''(x), D2yD^2y, y′′y'' or y2y_2.
  • Simplify dydx\dfrac{dy}{dx} before differentiating again; a product needs the product rule a second time (NCERT Example 35).
  • For a value at a point, find f′′(x)f''(x) first, then substitute.
  • In terms of y: for y=sin⁡−1xy = \sin^{-1}x, dydx=sec⁡y\dfrac{dy}{dx} = \sec y, so d2ydx2=ddy(sec⁡y)⋅dydx=sec⁡2ytan⁡y\dfrac{d^2y}{dx^2} = \dfrac{d}{dy}(\sec y) \cdot \dfrac{dy}{dx} = \sec^2 y\tan y.
  • For a parametric pair, use d2ydx2=ddt(dydx)dtdx\dfrac{d^2y}{dx^2} = \dfrac{d}{dt}\left(\dfrac{dy}{dx}\right)\dfrac{dt}{dx}, as on the parametric page.

Second order derivative

d2ydx2=ddx(dydx)\frac{d^2y}{dx^2} = \frac{d}{dx}\left(\frac{dy}{dx}\right)

Worked example

Find d2ydx2\dfrac{d^2y}{dx^2} if y=x2exy = x^2e^x.
Practise this conceptself-check · 3 quick reps

The same idea in a real exam question:

CBSE Class 12 · 2023 · 65/1/1 · 38 (ii)Moderate

Example 1 · Continuity and Differentiability · Second Order Derivatives

The equation of the path traced by a roller-coaster is given by the polynomial f(x)=a(x+9)(x+1)(x−3)f(x) = a(x + 9)(x + 1)(x - 3). If the roller-coaster crosses y-axis at a point (0,−1)(0, -1), answer the following :
Find f′′(x)f''(x) at x = 1.

Squaring is not differentiating twice

d2ydx2\dfrac{d^2y}{dx^2} is not (dydx)2\left(\dfrac{dy}{dx}\right)^2. For y=x3y = x^3, y′′=6xy'' = 6x, but (y′)2=9x4(y')^2 = 9x^4.

Substituting too early

Find f′′(x)f''(x) as a function before you put in the point. A number put in early has derivative 0.

Concept 2 of 3: Proving a relation between y and its derivatives

Functions such as Asin⁡x+Bcos⁡xA\sin x + B\cos x or Ae2x+Be3xAe^{2x} + Be^{3x} satisfy a fixed relation whatever the constants are. Differentiate twice and look for the original y inside the result.

Definition

  • Find dydx\dfrac{dy}{dx} and d2ydx2\dfrac{d^2y}{dx^2}.
  • Group the terms of d2ydx2\dfrac{d^2y}{dx^2} so that y appears: for y=Asin⁡x+Bcos⁡xy = A\sin x + B\cos x, d2ydx2=−(Asin⁡x+Bcos⁡x)=−y\dfrac{d^2y}{dx^2} = -(A\sin x + B\cos x) = -y (NCERT Example 36).
  • Or substitute y, dydx\dfrac{dy}{dx} and d2ydx2\dfrac{d^2y}{dx^2} into the left side and show it simplifies to the right side (NCERT Example 37).
  • The final relation must not contain the arbitrary constants A and B.

NCERT Example 36

y=Asin⁡x+Bcos⁡x⇒d2ydx2+y=0y = A\sin x + B\cos x \Rightarrow \frac{d^2y}{dx^2} + y = 0

Worked example

If y=Ae2x+Be−3xy = Ae^{2x} + Be^{-3x}, show that d2ydx2+dydx−6y=0\dfrac{d^2y}{dx^2} + \dfrac{dy}{dx} - 6y = 0.
Practise this conceptself-check · 3 quick reps

The same idea in a real exam question:

CBSE Class 12 · 2026 · 65/5/1 · 22 (b)Moderate

Example 2 · Continuity and Differentiability · Second Order Derivatives

If y=Pcos⁡ux+Qsin⁡uxy = P \cos ux + Q \sin ux, show that d2ydx2+u2y=0\dfrac{d^2y}{dx^2} + u^2 y = 0.

Constants left in the answer

A relation like y′′+y=0y'' + y = 0 holds for every A and B. If A or B is still in your last line, regroup the terms until y appears.

The sign of k

If d2ydx2=−9y\dfrac{d^2y}{dx^2} = -9y and the question writes d2ydx2−ky=0\dfrac{d^2y}{dx^2} - ky = 0, then k=−9k = -9, not 9. Compare term by term with the printed form.

Concept 3 of 3: Clear the root or fraction before differentiating again

For y=sin⁡−1xy = \sin^{-1}x the first derivative has a square root in it. Multiply it across, or square, before the second differentiation; then only the product rule is needed and the inverse function disappears.

Definition

  • After the first derivative, multiply out the denominator: dydx=11−x2\dfrac{dy}{dx} = \dfrac{1}{\sqrt{1 - x^2}} becomes 1−x2dydx=1\sqrt{1 - x^2}\dfrac{dy}{dx} = 1, or, squared, (1−x2)(dydx)2=1(1 - x^2)\left(\dfrac{dy}{dx}\right)^2 = 1 (NCERT Example 38).
  • Differentiate this relation by the product rule. A factor 2dydx2\dfrac{dy}{dx} common to every term may be cancelled where dydx≠0\dfrac{dy}{dx} \ne 0.
  • Squaring first also removes a root in y itself: y=ax+by = \sqrt{ax + b} gives y2=ax+by^2 = ax + b.
  • Multiply through at the end to match the form the question asks for.

NCERT Example 38

y=sin⁡−1x⇒(1−x2)d2ydx2−xdydx=0y = \sin^{-1}x \Rightarrow (1 - x^2)\frac{d^2y}{dx^2} - x\frac{dy}{dx} = 0

Worked example

If y=(sin⁡−1x)2y = (\sin^{-1}x)^2, show that (1−x2)d2ydx2−xdydx=2(1 - x^2)\dfrac{d^2y}{dx^2} - x\dfrac{dy}{dx} = 2.
Practise this conceptself-check · 3 quick reps

The same idea in a real exam question:

CBSE Class 12 · 2024 · 65/5/3 · Q27Hard

Example 3 · Continuity and Differentiability · Second Order Derivatives

If y=(tan⁡−1x)2\mathrm{y} = (\tan^{-1}x)^2, show that (x2+1)2d2ydx2+2x(x2+1)dydx=2(x^2 + 1)^2\dfrac{\mathrm{d}^2\mathrm{y}}{\mathrm{d}x^2} + 2x(x^2 + 1)\dfrac{\mathrm{d}\mathrm{y}}{\mathrm{d}x} = 2.

Differentiating the root again

Differentiating 11−x2\dfrac{1}{\sqrt{1 - x^2}} by the chain rule gives x(1−x2)3/2\dfrac{x}{(1 - x^2)^{3/2}}, which then has to be rearranged into the required form. Multiplying out first reaches it in one step.

Cancelling a factor that can be zero

When you divide by 2dydx2\dfrac{dy}{dx}, write that dydx≠0\dfrac{dy}{dx} \ne 0. It is one line and it completes the argument.

Summary — formulas & gotchas at a glance

A revision cheat-sheet for the formulas and gotchas above. Click any concept name to jump back to its full explanation.

Formulas (3)

Watch out for (6)

Test yourself on Continuity and Differentiability

20 past CBSE Class 12 questions from this chapter, timed at 30 minutes and marked the way the exam marks it. You see your score and every answer the moment you finish. Free to start.