Exercise 5.14

Exercise 14: Let f be a differentiable real function defined in ( a , b ) . Prove that f is convex if and only if f is monotonically increasing. Assume next that f ( x ) exists for every x ( a , b ) , and prove that f is convex if and only if f ( x ) 0 for all x ( a , b ) .

Answers

If f ( x ) exists for every x ( a , b ) , then f ( x ) 0 for all x ( a , b ) if and only if f is monotonically increasing, so the second part of the Exercise follows from the first part.

Suppose that f is convex and let a < x < y < b . By Exercise 4.23

f ( t ) f ( x ) t x f ( u ) f ( y ) u y

for t and u close to x and y , respectively. Taking limits as t x and u y , we get f ( x ) f ( y ) .

Conversely, suppose is f is monotonically increasing, let a < x < y < b , and let z = λx + ( 1 λ ) y for 0 < λ < 1 . By Theorem 5.10 there are points w 1 , w 2 such that x < w 1 < z < w 2 < y such that

f ( z ) f ( x ) z x = f ( w 1 ) f ( w 2 ) = f ( y ) f ( z ) y z f ( z ) f ( x ) ( λ 1 ) x + ( 1 λ ) y f ( y ) f ( z ) λ ( y x ) f ( z ) ( y x ) ( λ ( y x ) ) f ( x ) + ( ( 1 λ ) ( y x ) ) f ( y ) f ( λx + ( 1 λ ) y ) λf ( x ) + ( 1 λ ) f ( y )

which shows that f is convex on ( a , b ) . (The algebra above is much easier if you just take λ = 1 2 , then apply Exercise 4.24.)

User profile picture
2023-08-07 00:00
Comments