Proof of continuity of convex functions

In summary: So, {\left| {\begin{array}{*{20}{c}} 1 & a & {f(a)} \\ 1 & b & {f(b)} \\ 1 & c & {f(c)} \\\end{array}} \right|>0}. This shows that f is necessarily continuous.)
  • #1
shotputer
11
0

Homework Statement



Let a function f : R => R be convex. Show that f is necessarily continuous. Hence, there can be no convex functions that are not also continuous.

Homework Equations





The Attempt at a Solution


F is continuos if there exist [tex]\epsilon[/tex] >0 and [tex]\delta[/tex]>0 such that |x-y|< [tex]\delta[/tex] => |f(x) - f(y)| <[tex]\epsilon[/tex]

on the other hand function is convex if for some numbers a and b, with a<b an [tex]\lambda[/tex] [tex]E[/tex] (0,1) f( [tex]\lambda[/tex] a+ (1-[tex]\lambda[/tex] b) [tex]\leq[/tex] [tex]\lambda[/tex] f(a) + (1-[tex]\lambda[/tex]) f(b)

so basicaly that is what I have, I got hint that we should use this definition of continuity... but I don't have idea where to start...
help, pleease...
 
Physics news on Phys.org
  • #2
The statement does not work if f is defined on [a, c] since

f(x) = 0 for x in [0,1)
f(1) = 1 for x=1

is a valid convex function (and continuous on (0,1)). A strictly convex function can be generated by a strictly convex function on [0,1) with f(1+) < 1. It does work for f on (a,c).

I can give you two directions, but it still needs a lot of work.

1) This is something I found on the web. Directly, let f be a convex function on (a,c) with a<b<c. The draw a line m1 through a and b, and another line m2 through a and c. We know f((a,b)) < m1 and f((b,c)) < m2. Show that the convex function lies between the two lines (m2 < f((a,b)) and f((b,c) < m1). I have yet to prove this. Then the intersection is be, and the function approaches b from both sides. Hence it is continuous at b.

Like I said, proving the function lines between both lines is something I have not done, but worth a try.

2. I have a professor who uses the contrapositive, but we need a couple of assumptions, and it still is not easy.

If f is a convex function on (a,c) then it must be bounded below (a or c can be + inf, think csc x on (-pi/2 pi/2). The proof is hard, but a sketch is easy to see ( Try drawing a convex function with a or c going to -inf).

Next, we have to show that convex function with a minimum on a bounded interval (csc), has at most, a countable number of discontinuities with intervals. (Could we construct a function defined on (a,c) but discontinuous on all (a,c)). I have not figured that out. If someone can do this, then the statement is not true. Now there are pathelogical functions that are continuous on an uncountable set (irrational numbers) and discontinuous on the rational set. If we can show that the construct is continuous on an interval, then the proof becomes easier "to see".

If a function f on (a,c) is discontinuous at b, and there exist intervals (b-d1,b) and (b,b+d2) such that the function is continuous, then f is not convex.

f must be convex for (b-d1,b) and (b,b+d2). However, from (b-d1 to b+d2) there will be points above the line. This needs to be proven.



ftdhk.
 
  • #3
Here is a proof that convex function is necessarily continuous. This proof is actually a complement of the first direction of ftdhk' post. As s/he said, we need only have to prove that the function lies between the two lines. As indicated by ftdhk, we prove it on an open interval [itex]I[/itex]. Assume [itex]a<b<c[/itex], we want to prove [itex]\frac{f(b) - f(a)}{b - a} \le \frac{f(c) - f(a)}{c - a} \le \frac{f(c) - f(b)}{c - b}[/itex]. Let [itex]\lambda=\frac{c - b}{c - a}[/itex], then [itex]1-\lambda=\frac{b - a}{c - a}[/itex] and [itex]b=\lambda a+(1-\lambda)c[/itex]. By the definition of convex function, [itex]f(b)\leq \lambda f(a)+(1-\lambda)f(c)=\frac{c - b}{c - a}f(a)+\frac{b - a}{c - a}f(c)[/itex]. Multiplying [itex]c-a[/itex] (>0) on both sides, we get [itex](c-b)f(a)+(b-a)f(c)-(c-a)f(b)\geq0[/itex]. Express this in determinant form, we have [itex]\left| {\begin{array}{*{20}{c}}
1 & a & {f(a)} \\
1 & b & {f(b)} \\
1 & c & {f(c)} \\
\end{array}} \right|\geq0[/itex]. But [itex]\left| {\begin{array}{*{20}{c}}
1 & a & {f(a)} \\
1 & b & {f(b)} \\
1 & c & {f(c)} \\
\end{array}} \right|=\left| {\begin{array}{*{20}{c}}
1 & a & {f(a)} \\
0 & {b - a} & {f(b) - f(a)} \\
0 & {c - a} & {f(c) - f(a)} \\
\end{array}} \right|=(b-a)(f(c)-f(a))-(c-a)(f(b)-f(a))\geq0[/itex]. This is just [itex]\frac{f(b) - f(a)}{b - a} \le \frac{f(c) - f(a)}{c - a}[/itex]. Similarly, [itex]\left| {\begin{array}{*{20}{c}}
1 & a & {f(a)} \\
1 & b & {f(b)} \\
1 & c & {f(c)} \\
\end{array}} \right| = \left| {\begin{array}{*{20}{c}}
0 & {a - c} & {f(a) - f(c)} \\
0 & {b - c} & {f(b) - f(c)} \\
1 & c & {f(c)} \\
\end{array}} \right|=(a-c)(f(b)-f(c))-(b-c)(f(a)-f(c))\geq0[/itex], This is equivalent to [itex]\frac{f(c) - f(a)}{c - a} \le \frac{f(c) - f(b)}{c - b}[/itex]. Then we obtain the desired inequalities. From this inequalities, we can prove that [itex]f(x)[/itex] stands above the line connecting [itex](a,f(a))[/itex] and [itex](b,f(b))[/itex] for all x outside (a,b): suppose c>b and the value on the line of c is [itex]l(c)[/itex], then [itex]\frac{f(b) - f(a)}{b - a} = \frac{l(c) - f(b)}{c - b}[/itex]. If [itex]f(c)<l(c)[/itex], then [itex]\frac{f(c) - f(b)}{c - b}< \frac{l(c) - f(b)}{c - b}=\frac{f(b) - f(a)}{b - a}[/itex], which violates the inequality just proved. The same argument applies for c<a. This justifies the assertion that the function f lies between two piecewise linear lines, and [itex]\lim \limits_{x \to b} f(x) = f(b)[/itex] by the so-called "squeeze theorem", which is just the fact that f is continuous at b, and then on the whole [itex]I[/itex] since b is an arbitrary element of [itex]I[/itex].
 

1. What is a convex function?

A convex function is a mathematical function that satisfies the property that the line segment between any two points on the graph of the function lies above or on the graph. In other words, the function is "curved upwards," and any two points on the graph will have a line connecting them that does not intersect the graph.

2. What is the importance of continuity in convex functions?

Continuity is essential in convex functions because it guarantees that the function will have a unique global minimum. This means that there is only one point where the function reaches its lowest value, making it easier to optimize and solve mathematical problems involving convex functions.

3. How is continuity proved in convex functions?

The proof of continuity in convex functions involves showing that the function is continuous at every point within its domain. This is typically done by using the definition of continuity, which states that for a function to be continuous at a point, the limit of the function at that point must equal the value of the function at that point. In the case of convex functions, this limit will always exist and be equal to the function value due to the unique global minimum property.

4. Can convex functions have multiple local minima?

No, convex functions cannot have multiple local minima. This is because the definition of a convex function requires that any line segment connecting two points on the graph must lie above or on the graph. If there were multiple local minima, there would be points on the graph where the line segment connecting them would intersect the graph, violating the convexity property.

5. What are some real-life applications of convex functions?

Convex functions have many applications in fields such as economics, engineering, and computer science. Some examples include portfolio optimization in finance, designing efficient transportation routes, and finding the shortest path between two points in a network. Convex functions are also used in machine learning and data science for optimization and regression problems.

Similar threads

  • Calculus and Beyond Homework Help
Replies
9
Views
1K
  • Calculus and Beyond Homework Help
Replies
22
Views
323
  • Calculus and Beyond Homework Help
Replies
10
Views
302
  • Calculus and Beyond Homework Help
Replies
6
Views
1K
  • Calculus and Beyond Homework Help
Replies
8
Views
2K
  • Calculus and Beyond Homework Help
Replies
6
Views
1K
  • Calculus and Beyond Homework Help
Replies
27
Views
710
  • Calculus and Beyond Homework Help
Replies
5
Views
1K
  • Calculus and Beyond Homework Help
Replies
4
Views
1K
  • Calculus and Beyond Homework Help
Replies
12
Views
1K
Back
Top