GATE / CS ARCHIVE

GATE CSE 2026 SET 2 / QUESTION 64

Counting jumps in a decimal-digit function

Engineering Mathematics & Other Topics · Calculus · Full GATE CSE 2026 Set 2 paper

GATE 2026 Set 2, Q64 2 marks · NAT
Report issue

Calculus

Question 64, GATE 2026: For r in (0,1), f(r)=1 if the second decimal digit is 2,3,6,or 7, and 0 otherwise. Count discontinuities, using the customary decimal representation not ending in recurring nines.
Tap to enlarge
Answer & solution

Official answer: 40

Givens and goal

For r in (0,1), f(r)=1 if the second decimal digit is 2,3,6,or 7, and 0 otherwise. Count discontinuities, using the customary decimal representation not ending in recurring nines.

Approach

Group neighboring hundredth intervals with the same output and count only actual changes.

Step-by-step solution

1. Fix a tenth interval with index k∈{0,…,9}. Write r=k/10+u with 0≤u<0.1, restricted to the open domain at the endpoints. Within this interval the second digit is j on u∈[j/100,(j+1)/100).
2. The output is 1 on u∈[0.02,0.04) and u∈[0.06,0.08), and 0 on the remaining parts. Adjacent digit bands 2 and 3 merge into one constant segment; bands 6 and 7 likewise merge.
3. The one-sided limits differ at exactly u=0.02,0.04,0.06,0.08. Each tenth interval therefore contributes four jumps at r=k/10+d/100, d∈{2,4,6,8}.
4. At the boundary between successive tenths, the output is 0 immediately to both sides: digit 9 on the left and digit 0 on the right. Hence those boundaries add no discontinuities. The domain excludes 0 and 1.
5. There are 10×4=40 distinct jump points. At every other point a small enough neighborhood stays in a constant-output region, establishing continuity there.
6. Terminating decimals also have recurring-nine representations. Without a convention the digit-based definition is ambiguous at some points. The standard non-recurring-nine convention makes f single-valued; at the jump points the alternative representation can change the assigned value but cannot equalize the unequal one-sided limits.

Original paper, page 41 · Answer key