Slopes of convex functions #
THIS FILE IS SYNCHRONIZED WITH MATHLIB4. Any changes to this file require a corresponding PR to mathlib4.
This file relates convexity/concavity of functions in a linearly ordered field and the monotonicity of their slopes.
The main use is to show convexity/concavity from monotonicity of the derivative.
If f : 𝕜 → 𝕜
is convex, then for any three points x < y < z
the slope of the secant line of
f
on [x, y]
is less than the slope of the secant line of f
on [x, z]
.
If f : 𝕜 → 𝕜
is concave, then for any three points x < y < z
the slope of the secant line of
f
on [x, y]
is greater than the slope of the secant line of f
on [x, z]
.
If f : 𝕜 → 𝕜
is strictly convex, then for any three points x < y < z
the slope of the
secant line of f
on [x, y]
is strictly less than the slope of the secant line of f
on
[x, z]
.
If f : 𝕜 → 𝕜
is strictly concave, then for any three points x < y < z
the slope of the
secant line of f
on [x, y]
is strictly greater than the slope of the secant line of f
on
[x, z]
.
If for any three points x < y < z
, the slope of the secant line of f : 𝕜 → 𝕜
on [x, y]
is
less than the slope of the secant line of f
on [x, z]
, then f
is convex.
If for any three points x < y < z
, the slope of the secant line of f : 𝕜 → 𝕜
on [x, y]
is
greater than the slope of the secant line of f
on [x, z]
, then f
is concave.
If for any three points x < y < z
, the slope of the secant line of f : 𝕜 → 𝕜
on [x, y]
is
strictly less than the slope of the secant line of f
on [x, z]
, then f
is strictly convex.
If for any three points x < y < z
, the slope of the secant line of f : 𝕜 → 𝕜
on [x, y]
is
strictly greater than the slope of the secant line of f
on [x, z]
, then f
is strictly concave.
A function f : 𝕜 → 𝕜
is convex iff for any three points x < y < z
the slope of the secant
line of f
on [x, y]
is less than the slope of the secant line of f
on [x, z]
.
A function f : 𝕜 → 𝕜
is concave iff for any three points x < y < z
the slope of the secant
line of f
on [x, y]
is greater than the slope of the secant line of f
on [x, z]
.
A function f : 𝕜 → 𝕜
is strictly convex iff for any three points x < y < z
the slope of
the secant line of f
on [x, y]
is strictly less than the slope of the secant line of f
on
[x, z]
.
A function f : 𝕜 → 𝕜
is strictly concave iff for any three points x < y < z
the slope of
the secant line of f
on [x, y]
is strictly greater than the slope of the secant line of f
on
[x, z]
.
If f
is convex on a set s
in a linearly ordered field, and f x < f y
for two points
x < y
in s
, then f
is strictly monotone on s ∩ [y, ∞)
.