Real Analysis · Advanced

Running Maximum of a Continuous Function

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

Real AnalysisContinuityAdvancedCSIR-NET · GATE10 September 2026

Question RA-013

Let $f:[0,1]\to\mathbb R$ be continuous. Define $$ M(x)=\max_{0\le t\le x}f(t),\qquad x\in[0,1]. $$ Which of the following must be true?

Detailed Solution

For each $x\in[0,1]$, the maximum in $$ M(x)=\max_{0\le t\le x}f(t) $$ exists because $f$ is continuous and $[0,x]$ is compact. First, $M$ is necessarily non-decreasing. If $0\le x_1<x_2\le1$, then $$ [0,x_1]\subset[0,x_2]. $$ Therefore, $$ M(x_1)=\max_{0\le t\le x_1}f(t) \le \max_{0\le t\le x_2}f(t)=M(x_2). $$ Hence $$ \boxed{M(x_1)\le M(x_2)}, $$ so $M$ is non-decreasing. It remains to prove continuity. Since $f$ is continuous on the compact interval $[0,1]$, it is uniformly continuous. Let $\varepsilon>0$. Choose $\delta>0$ such that $$ |u-v|<\delta \quad\Longrightarrow\quad |f(u)-f(v)|<\varepsilon. $$ Take $x,y\in[0,1]$ with $x<y$ and $y-x<\delta$. Since $f$ is continuous, there exists $t_y\in[0,y]$ such that $$ M(y)=f(t_y). $$ If $t_y\le x$, then $$ M(y)=f(t_y)\le M(x). $$ But $M$ is non-decreasing, so $M(y)\ge M(x)$. Thus $$ M(y)=M(x). $$ If $t_y>x$, then $$ |t_y-x|\le y-x<\delta. $$ By uniform continuity, $$ |f(t_y)-f(x)|<\varepsilon. $$ Since $f(x)\le M(x)$, $$ M(y)=f(t_y)<f(x)+\varepsilon \le M(x)+\varepsilon. $$ Together with $M(y)\ge M(x)$, we obtain $$ 0\le M(y)-M(x)<\varepsilon. $$ Thus $$ |M(y)-M(x)|<\varepsilon $$ whenever $|y-x|<\delta$. Therefore $M$ is continuous on $[0,1]$. Hence $$ \boxed{M\text{ is continuous and non-decreasing on }[0,1].} $$ So the correct answer is $$ \boxed{\mathrm{B}}. $$ Why A is false: Continuity of $f$ does not imply differentiability of $M$. For example, let $$ f(x)=1-2\left|x-\frac12\right|. $$ Then $f$ is continuous, but $$ M(x)= \begin{cases} 2x,&0\le x\le\frac12,\\[2mm] 1,&\frac12\le x\le1, \end{cases} $$ which is not differentiable at $x=\frac12$. Why C is false: The preceding argument shows that continuity of $f$ forces continuity of its running maximum $M$. Therefore $M$ cannot have jump discontinuities. Why D is false: Even for continuous $f$, the running maximum need not be differentiable. The example above demonstrates this.
Concepts tested: Running MaximumContinuityUniform ContinuityCompactnessMonotone 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 →