Part 16: Inverse Interpolation for UPSC ISS: Lagrange’s Swap and the Iterative Method

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

Welcome to Part 16, the final part of Module 4, updated for the UPSC ISS 2026 to 2027 cycle. So far the problem was always the same: given the arguments xx and their entries yy, predict a missing yy. That is direct interpolation. Today the examiner flips the script: given a value of yy, find the corresponding xx. This reverse engineering is Inverse Interpolation.

Two methods dominate: Lagrange’s inversion, where xx and yy are interchanged in Lagrange’s formula because either variable can serve as the independent one, and the iterative method of successive approximations built on Newton’s forward formula. As a bonus, inverse interpolation with y=0y = 0 hunts down real roots of equations.

The exam context stays fixed: 80 questions, 200 marks, 2 hours, 2.5 marks per question, about 0.83 deducted per wrong answer, roughly 90 seconds per question. The solved example below fits comfortably inside 30 of those seconds.

This post is Part 16 of the Unequal Intervals and Inverse Interpolation Guide (Module 4), inside our UPSC ISS Numerical Analysis Complete Guide. Full roadmap at the UPSC ISS hub.

The Story of Rahul and the Tax Milestone

Rahul, a new ISS officer in the Ministry of Finance, has income tax collection figures in thousand crores: 200 in 2018, 350 in 2020, and 600 in 2022. His director asks a flipped question: in which exact year did the collection cross 500?

The target here is y=500y = 500, and the unknown is the argument xx. This is not standard interpolation. Rahul swaps the axes in Lagrange’s formula, treats yy as the independent variable, and computes the exact crossing point in 2 minutes, no calculator involved.

Have you ever had to reverse engineer a dataset to find when a target was hit? Tell us below.
0
Have you ever had to reverse engineer a dataset to find when a target was hit? Tell us below.x

Method 1: Lagrange’s Inversion, the Easy Swap

The most popular route. From Part 15 we know Lagrange’s formula is merely a relation between two variables, and either one can be taken as independent. To find xx for a given yy, treat yy as the argument and xx as the entry, swapping their places everywhere:x=(yy1)(yy2)(y0y1)(y0y2)x0+(yy0)(yy2)(y1y0)(y1y2)x1+x = \frac{(y – y_1)(y – y_2)\cdots}{(y_0 – y_1)(y_0 – y_2)\cdots}\,x_0 + \frac{(y – y_0)(y – y_2)\cdots}{(y_1 – y_0)(y_1 – y_2)\cdots}\,x_1 + \dots

When to prefer it: when the yy values are unequally spaced, which they almost always are, or when the data has only 3 or 4 points.

Method 2: The Iterative Method of Successive Approximations

For long tables with equally spaced xx values, start from Newton’s forward formula, y=y0+uΔy0+u(u1)2!Δ2y0+y = y_0 + u\Delta y_0 + \dfrac{u(u-1)}{2!}\Delta^2 y_0 + \dots and transpose it to isolate the step value uu, since x=x0+uhx = x_0 + uh:u=yy0Δy0u(u1)2!Δ2y0Δy0u(u1)(u2)3!Δ3y0Δy0u = \frac{y – y_0}{\Delta y_0} – \frac{u(u-1)}{2!}\cdot\frac{\Delta^2 y_0}{\Delta y_0} – \frac{u(u-1)(u-2)}{3!}\cdot\frac{\Delta^3 y_0}{\Delta y_0} – \dots

How the iteration runs. First approximation: neglect higher differences and take u1=yy0Δy0u_1 = \dfrac{y – y_0}{\Delta y_0}​​. Second approximation: substitute u1u_1​ into the right side to obtain u2u_2​. Third: substitute u2u_2 to obtain u3u_3​. Continue until two successive values of uu agree, then recover x=x0+uhx = x_0 + uh.

Between the Lagrange swap and the iterative method, which feels faster for the exam hall? Drop a comment.
0
Between the Lagrange swap and the iterative method, which feels faster for the exam hall? Drop a comment.x

StatChakravyuh Pro Tips

  1. The convergence check. The iteration behaves well only when the higher differences Δ2y0,Δ3y0,\Delta^2 y_0, \Delta^3 y_0, \dots shrink rapidly. If they grow, abandon the iteration and switch to Lagrange’s inversion.
  2. The root finding hack. To find a real root of f(x)=0f(x) = 0, tabulate a few values of xx and y=f(x)y = f(x) near the suspected root, then apply inverse interpolation with y=0y = 0. The root falls out directly.
  3. The swap monopoly. Only Lagrange permits the free interchange of xx and yy. Newton’s Divided Difference and Newton Gregory formulas never allow a column swap, because the yy values will not be equally spaced. Statements based questions test exactly this contrast.

Solved PYQ Masterclass

PYQ pattern (root finding by inversion, a recurring type): The function y=f(x)y = f(x) takes the value 1-1at x=1x = 1 and +3+3 at x=2x = 2. Assuming the function is linear, find the root of f(x)=0f(x) = 0.

Mental solution.

  1. The goal: find xx when y=0y = 0. Pure inverse interpolation.
  2. Data: x0=1,y0=1x_0 = 1, y_0 = -1 and x1=2,y1=3x_1 = 2, y_1 = 3.
  3. Apply the inverted two point Lagrange formula:

x=yy1y0y1x0+yy0y1y0x1x = \frac{y – y_1}{y_0 – y_1}\,x_0 + \frac{y – y_0}{y_1 – y_0}\,x_1

  1. Substitute y=0y = 0:

x=0313(1)+0+13+1(2)=34+24=54x = \frac{0 – 3}{-1 – 3}(1) + \frac{0 + 1}{3 + 1}(2) = \frac{3}{4} + \frac{2}{4} = \frac{5}{4}

Final Answer: x=1.25x = 1.25, verified by hand, with no linear equations and no difference tables. A quick sanity check: the function changes sign between 1 and 2, so a root between them is exactly what we expect, and 1.25 sits closer to the endpoint where the function is nearer to zero.

Common Traps to Avoid

Trap 1: Reversing the xx and yy columns and feeding them into Newton’s forward formula. The yy values are almost never equally spaced, so the formula breaks silently.

Trap 2: Iterating when the differences are growing. The iteration then diverges or crawls; recognize it early and swap methods.

Trap 3: Forgetting the final conversion x=x0+uhx = x_0 + uh after finding uu in the iterative method. Options with the bare uu value are planted for exactly this slip.

Frequently Asked Questions

  1. What is inverse interpolation?

    Direct interpolation finds yy for a given xx. Inverse interpolation finds the argument xx corresponding to a given intermediate value of the function yy.

  2. Can I reverse the columns and use Newton’s forward formula?

    No. Newton’s formula needs the independent variable at strictly equal intervals, and the yy values will almost certainly be unequally spaced.

  3. Why is Lagrange’s formula the natural tool here?

    Because it is merely a relation between two variables with no spacing requirement, so yy can safely be treated as the independent variable by interchanging the two everywhere.

  4. When is the iterative method preferable?

    With a long table of equally spaced xx values whose forward differences decrease rapidly. It then avoids the heavy fractional multiplications of Lagrange’s inversion.

  5. How does inverse interpolation find roots of equations?

    A root of f(x)=0f(x) = 0 is the value of xx where y=0y = 0. Tabulate a few points near the suspected root and apply inverse interpolation with y=0y = 0 to extract it directly.

Take the Next Step with StatChakravyuh

Join the Free UPSC ISS WhatsApp Community. The Module 4 Practice PDF with 40 MCQs, a formula sheet, and the PYQ pattern collection releases in the community. 👉 Join the WhatsApp Community now

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

Module 4 is complete, and with it your entire interpolation toolkit. Next stop, Module 5: the most heavily tested section of the syllabus, Numerical Differentiation and Integration, calculus without calculators.

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