Real Analysis · Advanced

Squaring a function continuous at only one point

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

Real AnalysisContinuityAdvancedCSIR-NET · UGC-NET2 September 2026

Question RA-009

Let $f:\mathbb R\to\mathbb R$ be continuous at $x=0$ only. Define $g:\mathbb R\to\mathbb R$ by $g(x)=[f(x)]^2$. Which of the following is necessarily true about $g$?

Detailed Solution

Since $f$ is continuous at $0$ and squaring is a continuous operation, the composition $g=f^2$ is guaranteed continuous at $0$. This rules out (C). To see that $g$ can be continuous well beyond just $x=0$, take the classical example $f(x)=x$ for rational $x$ and $f(x)=-x$ for irrational $x$, which is continuous only at $x=0$; here $g(x)=[f(x)]^2=x^2$ for every $x$ (rational or irrational), so $g$ is continuous on all of $\mathbb R$ — showing option (A)'s claim ("only at $x=0$") is not forced. Since $g$ is guaranteed continuous at $0$ and may (as this example shows) be continuous elsewhere too, (B) is the correct general statement. Differentiability at $0$, as claimed in (D), is not guaranteed in general by continuity and squaring alone. Thus the correct option is $\boxed{\mathrm{B}}$.
Concepts tested: Continuity at a pointComposition of functionsPointwise discontinuous 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 →