I have a question about the boundedness theorem:
http://en.wikipedia.org/wiki/Extreme_value_theorem
The boundedness theorem which states that a continuous function $f$ in the closed interval $[a,b]$ is bounded on that interval. That is, there exist real numbers $m$ and $M$ such that: $m \le f(x) \le M\quad\text{for all }x \in [a,b]$
Is there a function on a closed interval that doesn't reach its boundaries ? in other words, is there a function on a closed interval where $m,M\neq f(x)$ ?
I'm asking about a function with or without cases, preferably both.
There's $f(x)=\frac 1 x$ on $[0,1]$ but $f(1)=1$, and it's not defined for zero.
Define a function $f$ over $[0,1]$ such that
$f(0)=\frac{1}{2}$
$f(1)=\frac{1}{2}$
inbetween, $f(x)=1-x$
If you resent case-like definitions, try Fourier series.
The previous function can also be defined by the formula $$f(x)=\frac12 +2 \sum_{k=1}^\infty \left( \frac{1-\cos(2\pi k)}{4k^2\pi^2}\cos(2\pi kx)+\frac{2k\pi-\sin(2k\pi)}{4k^2\pi^2}\sin(2\pi kx)\right)$$