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.
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
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
If two continuous functions agree on an open set, how far must their equality extend?
Attempt Question →Level Sets of a Continuous Function
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
If $|f(x)-f(y)|\le |x-y|^2$ for all $x,y\in\mathbb R$, what can we conclude about $f$?
Attempt Question →