PYQ Vault

HSC Maths · Differentiation

Higher Order Derivatives

Differentiating again and again: the second derivative is the derivative of dy/dx, and the nth derivative of a standard function follows a pattern you can write down.

Why this matters

65 questions, seven of them from board papers: the second derivative of x log x (2020) and of a cubic polynomial (2026), the nth derivative of log x (2025), and 'show that' relations for (tan⁻¹ x)² (2015), e^(m tan⁻¹ x) (2022), cos(m cos⁻¹ x) (2023) and sin⁻¹ x (2024). The textbook rows are Exercise 1.5, the solved examples of section 1.5 and questions from both parts of Miscellaneous Exercise 1.

Concept 1 of 4: The second derivative

dy/dx is itself a function of x, so you can differentiate it again. The result, the second derivative, tells how fast the slope is changing. Work in two clear stages: find and simplify dy/dx, then differentiate that.

Definition

  • d2ydx2=ddx(dydx)\dfrac{d^2y}{dx^2} = \dfrac{d}{dx}\left(\dfrac{dy}{dx}\right), also written y2y_2, y′′y'' or f′′(x)f''(x); and y1=dydxy_1 = \dfrac{dy}{dx}.
  • In the same way d3ydx3=ddx(d2ydx2)\dfrac{d^3y}{dx^3} = \dfrac{d}{dx}\left(\dfrac{d^2y}{dx^2}\right), and so on.
  • Simplify dydx\dfrac{dy}{dx} before differentiating again.
  • If f(x)f(x) is a polynomial of degree nn, its nnth derivative is a constant and all later derivatives are zero.

Second 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=xsin⁡xy = x\sin x.
Practise this conceptself-check · 2 quick reps

The same idea in a real exam question:

Maharashtra HSC Class 12 · 2020 · Q. 14Easy

Example 1 · Differentiation · Higher Order Derivatives

If y=xlogxy = xlogx, then find d2ydx2\frac{d^{2}y}{dx^{2}}.

Differentiating an untidy first derivative

Simplify dydx\dfrac{dy}{dx} before the second step. Differentiating a long unsimplified expression doubles the work and the chances of a sign slip.

Forgetting the product rule the second time

If dydx\dfrac{dy}{dx} contains a product such as xcos⁡xx\cos x, the second derivative needs the product rule again. Differentiating each factor on its own is wrong.

Concept 2 of 4: Second derivative of parametric and implicit functions

For parametric functions the second derivative is not the ratio of the two second derivatives with respect to t. Find dy/dx in terms of t, differentiate that with respect to t, and then divide by dx/dt, because you are differentiating with respect to x.

Definition

  • Parametric: d2ydx2=ddx(dydx)=ddt(dydx)⋅dtdx\dfrac{d^2y}{dx^2} = \dfrac{d}{dx}\left(\dfrac{dy}{dx}\right) = \dfrac{d}{dt}\left(\dfrac{dy}{dx}\right) \cdot \dfrac{dt}{dx}.
  • So: find dydx\dfrac{dy}{dx} in tt; differentiate it with respect to tt; divide by dxdt\dfrac{dx}{dt}.
  • Implicit: differentiate the expression for dydx\dfrac{dy}{dx} again, replace dydx\dfrac{dy}{dx} by its value, and use the given relation to simplify.
  • Warning: d2ydx2\dfrac{d^2y}{dx^2} is not d2y/dt2d2x/dt2\dfrac{d^2y/dt^2}{d^2x/dt^2}.

Parametric second derivative

d2ydx2=ddt(dydx)÷dxdt\frac{d^2y}{dx^2} = \frac{d}{dt}\left(\frac{dy}{dx}\right) \div \frac{dx}{dt}

Worked example

If x=acos⁡θx = a\cos\theta and y=asin⁡θy = a\sin\theta, find d2ydx2\dfrac{d^2y}{dx^2}.
Practise this conceptself-check · 2 quick reps

The same idea in a textbook question:

Balbharati textbook · Ex 1.5 Q.3 (i)Hard

Example 2 · Differentiation · Higher Order Derivatives

If x=at2x = at^2 and y=2aty = 2at then show that xyd2ydx2+a=0xy \frac{d^2y}{dx^2} + a = 0

Dividing second derivatives

d2ydx2\dfrac{d^2y}{dx^2} is not d2ydt2\dfrac{d^2y}{dt^2} divided by d2xdt2\dfrac{d^2x}{dt^2}. Differentiate dydx\dfrac{dy}{dx} with respect to tt, then divide by dxdt\dfrac{dx}{dt}.

Forgetting to divide by dx/dt

After differentiating dydx\dfrac{dy}{dx} with respect to tt, the division by dxdt\dfrac{dx}{dt} is still needed. Stopping one line early gives a wrong second derivative.

Concept 3 of 4: Showing a relation between y, y₁ and y₂

A 'show that' question with y₂ and y₁ is easiest when you clear fractions and roots before the second differentiation. Write y₁ in a form with no denominator, then differentiate both sides with the product rule, and the required relation appears.

Definition

  • Find y1y_1.
  • Clear denominators and roots: multiply across, or square, so that the relation has no fraction. For example y1=my1+x2y_1 = \dfrac{my}{1 + x^2} becomes (1+x2)y1=my(1 + x^2)y_1 = my.
  • Differentiate both sides again, using the product rule.
  • Rearrange into the required form and end with 'as required' or 'hence proved'.
  • Known results: y=sin⁡−1xy = \sin^{-1}x gives (1−x2)y2−xy1=0(1 - x^2)y_2 - xy_1 = 0; y=cos⁡(mcos⁡−1x)y = \cos(m\cos^{-1}x) gives (1−x2)y2−xy1+m2y=0(1 - x^2)y_2 - xy_1 + m^2y = 0.

Clearing the denominator

y1=my1+x2⇒(1+x2)y1=my⇒(1+x2)y2+2xy1=my1y_1 = \frac{my}{1 + x^2} \Rightarrow (1 + x^2)y_1 = my \Rightarrow (1 + x^2)y_2 + 2xy_1 = my_1

Worked example

If y=(sin⁡−1x)2y = (\sin^{-1}x)^2, show that (1−x2)y2−xy1=2(1 - x^2)y_2 - xy_1 = 2.
Practise this conceptself-check · 2 quick reps

The same idea in a real exam question:

Maharashtra HSC Class 12 · 2023 · Q. 31Hard

Example 3 · Differentiation · Higher Order Derivatives

If y=cos(mcos⁡−1x)y = cos\left( m\cos^{- 1}x \right) then show that (1−x2)d2ydx2−xdydx+m2y=0\left( 1 - x^{2} \right)\frac{d^{2}y}{dx^{2}} - x\frac{dy}{dx} + m^{2}y = 0.

Using the quotient rule twice

Differentiating a fraction for y1y_1 by the quotient rule gives a long y2y_2 that is hard to rearrange. Multiply out the denominator first; the product rule then gives the relation directly.

Cancelling y₁ without a word

When you divide every term by y1y_1 or 2y12y_1, write that y1≠0y_1 \neq 0. It is one short phrase and it completes the argument.

Concept 4 of 4: The nth derivative of standard functions

Differentiate two or three times and watch what changes: the power of the bracket, the sign, the factorial and the power of a. Write the general term that fits all of them; that is the nth derivative.

Definition

  • y=(ax+b)my = (ax + b)^m: yn=m(m−1)⋯(m−n+1) an(ax+b)m−ny_n = m(m - 1)\cdots(m - n + 1)\,a^n(ax + b)^{m - n}.
  • y=1ax+by = \dfrac{1}{ax + b}: yn=(−1)n n! an(ax+b)n+1y_n = \dfrac{(-1)^n\, n!\, a^n}{(ax + b)^{n + 1}}.
  • y=log⁡(ax+b)y = \log(ax + b): yn=(−1)n−1(n−1)! an(ax+b)ny_n = \dfrac{(-1)^{n - 1}(n - 1)!\, a^n}{(ax + b)^n}.
  • y=eax+by = e^{ax + b}: yn=aneax+by_n = a^n e^{ax + b}.
  • y=sin⁡(ax+b)y = \sin(ax + b): yn=ansin⁡(ax+b+nπ2)y_n = a^n\sin\left(ax + b + \dfrac{n\pi}{2}\right); y=cos⁡(ax+b)y = \cos(ax + b): yn=ancos⁡(ax+b+nπ2)y_n = a^n\cos\left(ax + b + \dfrac{n\pi}{2}\right).
  • y=eaxsin⁡(bx+c)y = e^{ax}\sin(bx + c): yn=(a2+b2)n2eaxsin⁡(bx+c+nα)y_n = (a^2 + b^2)^{\frac{n}{2}}e^{ax}\sin(bx + c + n\alpha), where α=tan⁡−1ba\alpha = \tan^{-1}\dfrac{b}{a}.

nth derivative of 1/(ax + b)

dndxn(1ax+b)=(−1)n n! an(ax+b)n+1\frac{d^n}{dx^n}\left(\frac{1}{ax + b}\right) = \frac{(-1)^n\, n!\, a^n}{(ax + b)^{n + 1}}

Worked example

Find the nnth derivative of y=12x+3y = \dfrac{1}{2x + 3}.
Practise this conceptself-check · 2 quick reps

The same idea in a real exam question:

Maharashtra HSC Class 12 · 2025 · Q. 21Moderate

Example 4 · Differentiation · Higher Order Derivatives

Find the nthn^{th} order derivative of logxlogx.

Mixing up the sign pattern

1ax+b\dfrac{1}{ax + b} has (−1)n(-1)^n and n!n!, but log⁡(ax+b)\log(ax + b) has (−1)n−1(-1)^{n - 1} and (n−1)!(n - 1)!, because its first derivative is already aax+b\dfrac{a}{ax + b}. Check your formula at n=1n = 1.

Forgetting the power of a

Each differentiation of the inner ax+bax + b brings out one factor aa, so the nnth derivative carries ana^n. Leaving it out is right only when a=1a = 1.

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 (4)

  • The second derivative

    Second derivative

    d2ydx2=ddx(dydx)\frac{d^2y}{dx^2} = \frac{d}{dx}\left(\frac{dy}{dx}\right)
  • Second derivative of parametric and implicit functions

    Parametric second derivative

    d2ydx2=ddt(dydx)÷dxdt\frac{d^2y}{dx^2} = \frac{d}{dt}\left(\frac{dy}{dx}\right) \div \frac{dx}{dt}
  • Showing a relation between y, y₁ and y₂

    Clearing the denominator

    y1=my1+x2⇒(1+x2)y1=my⇒(1+x2)y2+2xy1=my1y_1 = \frac{my}{1 + x^2} \Rightarrow (1 + x^2)y_1 = my \Rightarrow (1 + x^2)y_2 + 2xy_1 = my_1
  • The nth derivative of standard functions

    nth derivative of 1/(ax + b)

    dndxn(1ax+b)=(−1)n n! an(ax+b)n+1\frac{d^n}{dx^n}\left(\frac{1}{ax + b}\right) = \frac{(-1)^n\, n!\, a^n}{(ax + b)^{n + 1}}

Watch out for (8)

Test yourself on Differentiation

10 past MH HSC 12 questions from this chapter, timed at 15 minutes and marked the way the exam marks it. You see your score and every answer the moment you finish. Free to start.