Equality on the Closure
Moderate Real Analysis question for IIT JAM · CSIR-NET · GATE. Choose an option, check your answer, then read the detailed solution.
Question RA-024
Let $f,g:\mathbb R\to\mathbb R$ be continuous functions. Suppose $f(x)=g(x)$ for all $x$ in some non-empty open set $U\subseteq\mathbb R$. Which of the following must be true?
Detailed Solution
Define $$ h(x)=f(x)-g(x). $$ Since $f$ and $g$ are continuous, $h$ is continuous on $\mathbb R$. The given condition $$ f(x)=g(x)\qquad\text{for all }x\in U $$ means that $$ h(x)=0\qquad\text{for all }x\in U. $$ We now consider any point $a\in\overline{U}$. By the definition of closure, there exists a sequence $(x_n)$ with $$ x_n\in U $$ for every $n$ and $$ x_n\to a. $$ Since $h$ is continuous, $$ h(a)=\lim_{n\to\infty}h(x_n). $$ But $x_n\in U$, so $$ h(x_n)=0 $$ for every $n$. Hence $$ h(a)=\lim_{n\to\infty}0=0. $$ Therefore, $$ f(a)=g(a) $$ for every $a\in\overline{U}$. Thus, $$ \boxed{f\equiv g\text{ on }\overline{U}}. $$ Equality outside $\overline{U}$ is not forced. For example, take $$ U=(0,1), $$ and define $$ f(x)=0,\qquad g(x)= \begin{cases} 0,&0\le x\le1,\\ (x-1)^2,&x>1. \end{cases} $$ Both functions are continuous, and they agree on $\overline U=[0,1]$, but they differ for $x>1$. Now consider the remaining options. A is false because equality on a non-empty open set does not imply equality on all of $\mathbb R$. C is false because continuity does provide equality at every boundary point of $U$, as shown above. D is false because an interval containing $U$ may extend beyond $\overline U$, where $f$ and $g$ need not agree. Therefore, the only statement that must be true is $$ \boxed{\mathrm{B}}. $$Concepts tested: ContinuityClosure of a SetBoundary PointsSequential Characterization of ContinuityContinuous FunctionsEquality Sets
💬 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
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 →Functions Where Every Local Minimum Is Global
If a continuous function's local minima are always global minima, must it have just one dip?
Attempt Question →