Analyzing the Setup
Welcome, student. Today, we are going to look at a problem that seems like a simple counting exercise but is actually a gateway to a profound mathematical truth. We are tasked with finding the total number of wrong answers given by a group of students, given the number of students who made 'at least i' mistakes.
Let ni be the number of students who made exactly i mistakes. We assume i ranges from 1 to k, and since no one made more than k mistakes, ni=0 for any i>k.
Let ai represent the number of students who made at least i mistakes. Because a student who made j mistakes (where j≥i) is counted in ai, we can express this relationship as:
The Mathematical Bridge
Our goal is to find the total number of wrong answers, W. If we know how many students made exactly i mistakes, the total is the sum of mistakes:
W=i=1∑ki⋅ni=1⋅n1+2⋅n2+3⋅n3+⋯+k⋅nk
We need to express ni in terms of ai. By observing the definitions of ai and ai+1, we see that:
ai−ai+1=(ni+ni+1+⋯+nk)−(ni+1+⋯+nk)=ni
Thus, for any i<k, we have ni=ai−ai+1. For the final term, nk=ak, as there are no students with k+1 mistakes.
The Telescoping Triumph
Now, let us substitute these expressions back into our total sum W:
W=1(a1−a2)+2(a2−a3)+3(a3−a4)+⋯+(k−1)(ak−1−ak)+k⋅ak
Expanding this expression, we obtain:
W=1a1−1a2+2a2−2a3+3a3−3a4+⋯+(k−1)ak−1−(k−1)ak+k⋅ak
Grouping the terms by ai, we find the coefficient for each ai:
W=1a1+(−1+2)a2+(−2+3)a3+⋯+(−(k−1)+k)ak
Final Calculation
Every single coefficient simplifies to 1. Therefore, the total number of wrong answers is simply the sum of the 'at least' counts:
It is breathtakingly simple. We started with a complex, overlapping set of data and, through the power of algebraic manipulation, arrived at a result that is nothing more than the sum of our given values.
This is the beauty of mathematics—taking a seemingly chaotic problem and finding the underlying order. Keep this intuition close; it will serve you well in your journey through JEE Advanced and beyond.