# Concaveness and continuity

hermanni
Hi all,
I have the following question: Suppose f: [0, ∞) $\rightarrow$ℝ and f is concave , nondecreasing and bounded on [ 0, ∞) . Does it follow that f is continuous on [ 0, ∞) ? Thanks in advance, H.

## Answers and Replies

Homework Helper
hi hermanni! tell us what you think, and then we'll comment! (start by writing out the definition of "concave")

DonAntonio
Hi all,
I have the following question: Suppose f: [0, ∞) $\rightarrow$ℝ and f is concave , nondecreasing and bounded on [ 0, ∞) . Does it follow that f is continuous on [ 0, ∞) ? Thanks in advance, H.

A step function is non-decreasing, convex (or concave) and we can make it bounded, but won't be continuous. For example
$$f(x)=0\,\,,\,if\,\, x\in [0,1)\,,\,f(x)=1\,\,,\,if\,\, x\geq 1\,$$

DonAntonio

Staff Emeritus
Homework Helper
How is a step function convex??

DonAntonio
How is a step function convex??

Very simple: it fulfills the definition of concave upwards (if the steps go up) or concave downwards (steps down), just as a constant

function does as well.

DonAntonio

Staff Emeritus
Homework Helper
Very simple: it fulfills the definition of concave upwards (if the steps go up) or concave downwards (steps down), just as a constant

function does as well.

DonAntonio

I don't see how. Take the function

$$f:]-1,1[\rightarrow \mathbb{R}:x\rightarrow \left\{\begin{array}{l} 0~\text{if}~x\leq 0\\ 1 ~\text{if}~x>0 \end{array}\right.$$

This is the function you mean right??

According to the definition, this function is convex if for all $x,y\in ]-1,1[$ and $t\in [0,1]$ holds that

$$f(tx+(1-t)y)\leq tf(x)+(1-t)f(y)$$

But take x=-1/2, y=1/2 and t=1/4, then

$$f(tx+(1-t)y)=1$$

while

$$tf(x)+(1-t)f(y)=3/4$$

and this does not satisfy the inequality.

Furthermore, it violates the following theorem: http://planetmath.org/ContinuityOfConvexFunctions.html [Broken]

Last edited by a moderator:
DonAntonio
I don't see how. Take the function

$$f:]-1,1[\rightarrow \mathbb{R}:x\rightarrow \left\{\begin{array}{l} 0~\text{if}~x\leq 0\\ 1 ~\text{if}~x>0 \end{array}\right.$$

This is the function you mean right??

No, my function's defined on the convex non-negative ray $\,[0,\infty)\,$
According to the definition, this function is convex if for all $x,y\in ]-1,1[$ and $t\in [0,1]$ holds that

$$f(tx+(1-t)y)\leq tf(x)+(1-t)f(y)$$

But take x=-1/2, y=1/2 and t=1/4, then

$$f(tx+(1-t)y)=1$$

while

$$tf(x)+(1-t)f(y)=3/4$$

and this does not satisfy the inequality

Furthermore, it violates the following theorem: http://planetmath.org/ContinuityOfConvexFunctions.html [Broken]

Point taken, but eventhough my example indeed doesn't quite fit in the traditional definition, I will change it slightly and still

will we get a counterexample:

$$f(0)=0\,,\,f(x)=1\,\,,\,\forall\,x>0$$

The above function is convex upwards in $\,[0,\infty)\,$ but not continuous there.

DonAntonio

Last edited by a moderator:
Staff Emeritus
Homework Helper
OK, but I think the OP cares more about convex downwards...

DonAntonio
OK, but I think the OP cares more about convex downwards...

No problem: interchange zero and one in my last message's definition.

DonAntonio

Staff Emeritus
Homework Helper
That's not nondecreasing 