Take the 2-minute tour ×
Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

It is known that given any closed and bounded $X \subseteq \mathbb{R}^n$ and a bounded continuous function $f : X \to \mathbb{R}$, $f(X)$ has a minimum value and maximum value. This can be proved by noting that $X$ is compact and so its continuous image $f(X)$ is also compact.

However, if $f$ is continuous at all points in $X$ except for a finite number of singularities, does $f(X)$ still necessarily have a minimum value and maximum value?

share|improve this question
1  
Take $x\mapsto x^{-1}$ on $[-1,1]$! –  albmiz-mth Feb 2 '13 at 13:31
1  
Or $f(x)=x$, for $0<x<1$; $f(0)=f(1)=1/2$. –  David Mitra Feb 2 '13 at 13:33
1  
Sorry, I forgot to mention that $f$ has to be bounded as well! –  Herng Yi Feb 2 '13 at 13:44

2 Answers 2

up vote 4 down vote accepted

From David Mitra's comment, just take $f(x)=x$ for $0<x<1$ and define $f(0)=f(1)=1/2$. There is no maximum since for every $\varepsilon>0$, the set $(1-\varepsilon,1)\neq\varnothing$ and similarly for no minimum.

share|improve this answer

Let $f:[-1,1]$ be given by $f(-1)=f(1)=0$ and $f(x)=x$ otherwise. Then $f$ is bounded but has no maximum and has no minimum.

share|improve this answer
    
I forgot to add in the important detail that $f$ has to be bounded, but I've edited it into the question. –  Herng Yi Feb 2 '13 at 13:42

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.