Real Analysis · Advanced

Level sets of continuous functions

Advanced Real Analysis question for CSIR-NET · GATE. Choose an option, check your answer, then read the detailed solution.

Real AnalysisContinuityAdvancedCSIR-NET · GATE17 August 2026

Question RA-001

Let $f:\mathbb R\to\mathbb R$ be continuous. Define $A=\{x\in\mathbb R:f(x)=c\}$ for a fixed $c\in\mathbb R$. Which of the following is a complete and correct description of $A$?

Detailed Solution

Since $A=f^{-1}(\{c\})$ is the preimage of the closed set $\{c\}$ under a continuous function, $A$ is always closed — but the full picture is stronger than just this. For any closed set $F\subseteq \mathbb R$, the function $f(x)=\operatorname{dist}(x,F)$ is continuous, and $f^{-1}(\{0\})=F$ exactly. So every closed subset of $\mathbb R$ — including complicated sets like a Cantor-type set, which is closed, uncountable, and has empty interior — arises as a level set of some continuous function. This makes (C) the complete characterization; (A) is true but incomplete on its own, since it doesn't capture that $A$ can be as intricate as any closed set. (B) and (D) are false: $A$ need not be a finite union of intervals (a Cantor-type level set is a counterexample), and $A$ need not be countable (a Cantor set is uncountable, and a constant function has $A=\mathbb R$). Thus the correct option is $\boxed{\mathrm{C}}$.
Concepts tested: Level setsClosed setsPreimages under continuous functions
💬 Discuss this problem
Have a doubt or a different approach? Continue the mathematics discussion on Telegram.
Join Telegram Discussion

Keep Practising

More Real Analysis Questions

Equality on the Closure

ModerateIIT JAM · CSIR-NET · GATE2 Oct 2026

If two continuous functions agree on an open set, how far must their equality extend?

Attempt Question →

Level Sets of a Continuous Function

AdvancedIIT JAM · CSIR-NET · GATE26 Sep 2026

What can be said about the sets where a continuous function lies above, equals, or falls below the identity function?

Attempt Question →

A Quadratic Modulus of Continuity Forces Constancy

AdvancedCSIR-NET · GATE18 Sep 2026

If $|f(x)-f(y)|\le |x-y|^2$ for all $x,y\in\mathbb R$, what can we conclude about $f$?

Attempt Question →