Why Must Convex Functions Have Convex Domains?

Click For Summary

Discussion Overview

The discussion revolves around the properties of convex functions, specifically addressing the necessity of having a convex domain for such functions and the potential for discontinuity in convex functions. Participants explore theoretical aspects and implications of these properties.

Discussion Character

  • Technical explanation
  • Conceptual clarification
  • Debate/contested

Main Points Raised

  • Some participants question why the domain of a convex function must be a convex set, suggesting that the definition requires any linear combination of points within the domain to also lie within the domain.
  • One participant proposes that convex functions can be discontinuous, using the example of a two-dimensional convex polygon to illustrate their point.
  • Another participant emphasizes that if the domain is not convex, the definition of a convex function becomes problematic, as the necessary linear combinations may not be well-defined.
  • There is a suggestion to visualize convex functions using paraboloids or contour lines to better understand the relationship between convexity of the domain and the function.
  • Participants express uncertainty about the necessity of proving the convexity of the domain before establishing the convexity of the function itself.

Areas of Agreement / Disagreement

Participants generally agree that the domain of a convex function must be convex for the function to be well-defined, but there is uncertainty regarding the implications of this requirement and the conditions under which a function can be discontinuous.

Contextual Notes

Some participants note that the discussion involves assumptions about the definitions of convexity and the implications of discontinuity, which are not fully resolved within the thread.

kingwinner
Messages
1,266
Reaction score
0
Theorems about convex functions often look like the following:
Let f: S->R where S is a convex set.
Suppose f is a convex function...


So here are my questions:

1) For a convex function, why do we always need the domain to be convex set in the first place?

2) Can a convex function be discontinuous?

Thanks for any inputs.
 
Physics news on Phys.org
kingwinner said:
Theorems about convex functions often look like the following:
Let f: S->R where S is a convex set.
Suppose f is a convex function...


So here are my questions:

1) For a convex function, why do we always need the domain to be convex set in the first place?

2) Can a convex function be discontinuous?

Thanks for any inputs.

Hey kingwinner.

For number 2 the answer is yes.

The reason is that convex sets themselves can be discontinuous. The easiest example to consider is a two-dimensional convex polygon. You can use a variety of ways to describe these and one is in term of the Jordan crossing theorem. All that really says is that if you draw a line from any point inside the polygon to any point outside, it only crosses the boundary once. You can extend this idea to any dimension for polygons in that dimension.

Its easy to just draw a linear function with two parts where the first part has a lower (but still positive) gradient than the second part and use the polygon example or otherwise to see why.

For number 1 I can't say for sure. I think you might have to prove this one.

One suggestion that I have is to consider a paraboloid (sp?) in three dimensions or an object that has a parabola of varying types as its cross section in both x-z and y-z planes. This is a simple convex function.

Now using something like contour lines you might be able to visualize a situation where a convex domain still has the property of the function being convex. Its probably not a substitute for a proper proof, but you might be able to find a counterexample quickly.
 
Definition: A real valued function f:X->R defined on a convex set X in a is called convex if, for any two points x_1 and x_2 in X and any t E [0,1],
f(t x_1 + (1-t) x_2) ≤ t f(x_1)+(1-t)f(x_2)

Look at the definition of convex function above, they always have f defined on a "convex set" in the first place, THEN they start talking about convex functions. My question is: why do we always need the domain of f to be a "convex set" in order to talk about a convex function?

Thanks.
 
kingwinner said:
Definition: A real valued function f:X->R defined on a convex set X in a is called convex if, for any two points x_1 and x_2 in X and any t E [0,1],
f(t x_1 + (1-t) x_2) ≤ t f(x_1)+(1-t)f(x_2)

Look at the definition of convex function above, they always have f defined on a "convex set" in the first place, THEN they start talking about convex functions. My question is: why do we always need the domain of f to be a "convex set" in order to talk about a convex function?

Thanks.

Because [itex]tx_1+(1-t)x_2[/itex] need to lie in the domain of the function f. Otherwise this function is not well defined.
 
micromass said:
Because [itex]tx_1+(1-t)x_2[/itex] need to lie in the domain of the function f. Otherwise this function is not well defined.

I see, that makes sense. If the domain is not a convex set, then it doesn't even make sense to talk about convex function.

So in general, to prove that a function is convex, we always have to first prove that the domain of the function is a convex set in the first place, is that right?
 
kingwinner said:
I see, that makes sense. If the domain is not a convex set, then it doesn't even make sense to talk about convex function.

So in general, to prove that a function is convex, we always have to first prove that the domain of the function is a convex set in the first place, is that right?

Indeed!
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
Replies
3
Views
3K
  • · Replies 21 ·
Replies
21
Views
2K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K