Part 17: Numerical Differentiation for UPSC ISS: Calculus Without Calculators

Practice on the go. Get our Android app.
Install App

Welcome to Part 17 and the opening of Module 5, updated for the UPSC ISS 2026 to 2027 cycle. With Modules 1 to 4 behind you, interpolation holds no fear. Now we enter the highest weightage block of the Numerical Analysis unit: calculus without calculators, beginning with Numerical Differentiation.

Numerical differentiation evaluates the derivative of a function at a particular value of the independent variable when only a set of discrete values of the function is given. The method: replace the unknown function by an interpolating polynomial, then differentiate the polynomial. At the starting point, the formula is (dydx)x0=1h[Δy012Δ2y0+13Δ3y0]\left(\dfrac{dy}{dx}\right)_{x_0} = \dfrac{1}{h}\left[\Delta y_0 – \dfrac{1}{2}\Delta^2 y_0 + \dfrac{1}{3}\Delta^3 y_0 – \dots\right], the series form of hD=log(1+Δ)hD = \log(1 + \Delta).

The stakes are at their peak here. Statistics Paper 1 gives 80 questions worth 200 marks in 2 hours, 2.5 marks per correct answer and about 0.83 deducted per wrong one. Numerical differentiation and integration together form the single largest question block of the roughly 20 Numerical Analysis questions, which is why Module 5 is the biggest scoring module of the series.

This post is Part 17 of the Numerical Calculus Guide (Module 5), inside our UPSC ISS Numerical Analysis Complete Guide. New to the exam? Start at the UPSC ISS hub.

The Story of Rakesh and the Rocket Launch

Rakesh, a young ISS officer deputed to ISRO, watches the telemetry system record the rocket’s velocity at equal 10 second intervals:

tt (seconds): 0, 10, 20, 30, 40 vv (metres per second): 0, 200, 600, 1200, 2000

The Mission Director shouts: what was the exact acceleration at the moment of lift off, t=0t = 0?

Acceleration is the derivative of velocity, but Rakesh has no algebraic equation like v=3t2v = 3t^2 to differentiate. He has only a table of numbers. His answer: fit a Newton Gregory Forward polynomial, since t=0t = 0 sits at the beginning of the table, and differentiate the formula itself.

Have you ever been handed a table of numbers in a practical and asked for the rate of change? How did you solve it? Tell us in the comments.
0
Have you ever been handed a table of numbers in a practical and asked for the rate of change? How did you solve it? Tell us in the comments.x

The Two Step Method and the Golden Rule

Step 1, approximate: replace the unknown continuous function with a suitable interpolating polynomial. Step 2, differentiate: differentiate that polynomial as many times as needed.

The golden rule of formula choice, exactly parallel to interpolation: near the beginning of the table use Newton Gregory Forward; near the end use Newton Gregory Backward; near the middle use Stirling or Bessel; for unequal intervals differentiate Newton’s Divided Difference or Lagrange’s polynomial.

The Magic Formulas at x=x0x = x_0

At the exact starting point, u=xx0h=0u = \dfrac{x – x_0}{h} = 0, and the differentiated forward formula collapses beautifully:(dydx)x=x0=1h[Δy012Δ2y0+13Δ3y014Δ4y0+]\left(\frac{dy}{dx}\right)_{x = x_0} = \frac{1}{h}\left[\Delta y_0 – \frac{1}{2}\Delta^2 y_0 + \frac{1}{3}\Delta^3 y_0 – \frac{1}{4}\Delta^4 y_0 + \dots\right]

The second derivative at the same point:(d2ydx2)x=x0=1h2[Δ2y0Δ3y0+1112Δ4y0]\left(\frac{d^2y}{dx^2}\right)_{x = x_0} = \frac{1}{h^2}\left[\Delta^2 y_0 – \Delta^3 y_0 + \frac{11}{12}\Delta^4 y_0 – \dots\right]

The denominators 1, 2, 3, 4 in the first derivative formula echo the logarithmic series. Drop a yes if you caught the hint.
0
The denominators 1, 2, 3, 4 in the first derivative formula echo the logarithmic series. Drop a yes if you caught the hint.x

StatChakravyuh Pro Tips

  1. The log E shortcut, heavily tested. No memorization needed. From Part 2, E=ehDE = e^{hD}, so hD=logE=log(1+Δ)hD = \log E = \log(1 + \Delta). Expand the logarithm: hD=ΔΔ22+Δ33hD = \Delta – \dfrac{\Delta^2}{2} + \dfrac{\Delta^3}{3} – \dots Divide by hh and the first derivative formula appears with zero calculus.
  2. Maxima and minima of tabulated data. Write the first derivative expression in terms of uu from the appropriate interpolation formula, equate it to zero, solve for the critical uu, and substitute back. Continuous calculus logic, discrete data.
  3. Sign discipline. The series alternates strictly: plus, minus, plus, minus. Half the wrong options are sign slips at the second term.

Solved Example Masterclass

Question: y=f(x)y = f(x) is tabulated as xx: 0, 1, 2, 3 and yy: 1, 2, 11, 34. Find dydx\dfrac{dy}{dx}​ at x=0x = 0.

Step 1: Parameters. The point x=0x = 0 sits at the beginning, so use the forward shortcut with h=1h = 1.

Step 2: Leading differences by mental math. Entries 1, 2, 11, 34. First differences: 1, 9, 23, so Δy0=1\Delta y_0 = 1. Second: 8, 14, so Δ2y0=8\Delta^2 y_0 = 8. Third: 6, so Δ3y0=6\Delta^3 y_0 = 6.

Step 3: Apply the formula.dydx=11[112(8)+13(6)]=14+2=1\frac{dy}{dx} = \frac{1}{1}\left[1 – \frac{1}{2}(8) + \frac{1}{3}(6)\right] = 1 – 4 + 2 = -1

Final Answer: 1-1. Cross check: the constant third differences reveal the cubic f(x)=x3+x2x+1f(x) = x^3 + x^2 – x + 1, whose derivative 3x2+2x13x^2 + 2x – 1 indeed equals 1-1 at zero. A calculus problem finished with additions and subtractions.

Common Traps to Avoid

Trap 1: Using the forward derivative shortcut for a point at the end of the table. The backward formula owns that territory.

Trap 2: Dropping the 1h\dfrac{1}{h}​ factor when h1h \neq 1. The derivative scales with the interval.

Trap 3: Forgetting the alternating signs. Write the coefficient row 1,12,+13,141, -\tfrac{1}{2}, +\tfrac{1}{3}, -\tfrac{1}{4}​ before substituting numbers.

Frequently Asked Questions

  1. What is the purpose of numerical differentiation?

    To find the derivative of a function at a specific point when only a discrete table of values is available and the algebraic form of the function is unknown.

  2. Which formula suits a derivative near the end of a table?

    For equally spaced data near the end, differentiate the Newton Gregory Backward interpolation formula.

  3. How do we find the maximum or minimum of a tabulated function?

    Write the first derivative from the appropriate interpolation formula, set it to zero, solve for the critical point, and substitute back, exactly as in continuous calculus.

  4. What relation connects the operators D and Δ?

    hD=log(1+Δ)hD = \log(1 + \Delta). Expanding the logarithmic series gives the numerical differentiation formula directly.

  5. Can numerical differentiation handle unequal intervals?

    Yes. Fit Newton’s Divided Difference or Lagrange’s polynomial first, then differentiate that polynomial with respect to xx.

Take the Next Step with StatChakravyuh

Join the Free UPSC ISS WhatsApp Community. Every part of this series, plus the Module 5 Practice PDF with 60 MCQs, is delivered there first. 👉 Join the WhatsApp Community now

Enroll in the Free UPSC ISS Course. Structured lessons and practice sets built on the Practice Improve Repeat system, at zero cost. 👉 Enroll in the Free Course

Coming up in Part 18: we flip differentiation on its head. Numerical Integration begins with the mother of all rules, the General Quadrature Formula.

Help other aspirants
UPSC ISS 2027 · Complete Chakravyuh

Stop buying tests one by one. Get all 6 papers in one package.

Complete Chakravyuh is the complete UPSC ISS test series for 2027. More than 6000 questions across all 6 papers, with every descriptive answer evaluated within 3 days. Practice. Improve. Repeat.

6000+Questions
All 6Papers Covered
6 + 1Courses in One
3 DaysAnswer Evaluation
₹7,499 ₹15,999 Regular price till 30 September 2026

Have a doubt or suggestion? Message us on WhatsApp

Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
0
Got a similar doubt? Discuss here.x
()
x