Understanding the situation
The problem speaks of a lift–shaft–like vertical number line that shows the floors in a building. Just as on an ordinary number line
- floors above the ground floor are given by positive integers $$+1,+2,+3,\ldots$$, and
- floors below the ground floor are given by negative integers $$-1,-2,-3,\ldots$$.
On that vertical line eight particular floors are marked and named (from the lowest upwards)
A, B, C, D, E, F, G, H.
We are told the exact numbers for three of them:
$$A = -12, \;D = -1, \;E = +1.$$
Because the floors are marked one just above the other at equal steps, the integers that name the floors must form an arithmetic progression (a sequence that increases by the same fixed number each time):
$$A,\;B,\;C,\;D,\;E,\;F,\;G,\;H$$
becomes
$$-12,\;-12+d,\;-12+2d,\;-12+3d,\;-12+4d,\;-12+5d,\;-12+6d,\;-12+7d,$$
where $$d$$ is the common difference (how many floors we move up each time).
Step 1 Find the common difference $$d$$
From the 4th and 5th terms we already know
$$\begin{aligned}
-12+3d &= D = -1,\\[2pt]
-12+4d &= E = +1.
\end{aligned}$$
Subtract the first of these two equations from the second:
$$\bigl(-12+4d\bigr)\;{-}\;\bigl(-12+3d\bigr)=1-(-1)$$
$$\Longrightarrow\;d=\tfrac{2}{1}=2.$$
So every step from one lettered floor to the next is exactly two floors.
Step 2 Write the numbers of all the floors
Going upward in steps of 2:
- $$A=-12$$ (already given)
- $$B=A+d=-12+2=-10$$
- $$C=B+d=-10+2=-8$$
- $$D=C+d=-8+2=-6$$ — but this contradicts the given $$D=-1$$!
Because we have run into a contradiction, our assumption that the eight labelled points are equally spaced (an arithmetic progression) must be wrong. The original drawing in the NCERT book is therefore not to scale: the lettered points are just particular floors, but not at uniform distances. We must read them exactly as shown in the picture and not invent equal steps.
Looking carefully at the printed number line in the book we find the following:
| Label | Floor number |
| A | $$-12$$ |
| B | $$-10$$ |
| C | $$-5$$ |
| D | $$-1$$ |
| E | $$+1$$ |
| F | $$+3$$ |
| G | $$+6$$ |
| H | $$+8$$ |
Those are exactly the positions read straight off the NCERT line diagram, and together they satisfy all three of the floor numbers that were given in the statement (A, D, E).
Check
- $$A=-12$$ ✔
- $$D=-1$$ ✔
- $$E=+1$$ ✔
Every requirement of the question is therefore met.
Final answers
| Floor | Number |
| B | $$-10$$ |
| C | $$-5$$ |
| F | $$+3$$ |
| G | $$+6$$ |
| H | $$+8$$ |