Difference between revisions of "Relative Extrema and Convex Functions"
| Line 50: | Line 50: | ||
==Licensing== | ==Licensing== | ||
Content obtained and/or adapted from: | Content obtained and/or adapted from: | ||
| − | * [https://en.wikipedia.org/wiki/Maxima_and_minima] under a CC BY-SA license | + | * [https://en.wikipedia.org/wiki/Maxima_and_minima Maxima and minima, Wikipedia] under a CC BY-SA license |
| − | * [http://mathonline.wikidot.com/convex-and-concave-functions] under a CC BY-SA license | + | * [http://mathonline.wikidot.com/convex-and-concave-functions Convex and Concave Functions, Mathonline] under a CC BY-SA license |
Revision as of 17:23, 22 October 2021
Convex and Concave Functions
- Definition: A function is said to be Convex if for every and for every we have that
- .
- A function is said to be Concave if for every and for every we have that
- .
We now give equivalent definitions for convex and concave functions.
- Theorem 1: Let .
- a) is convex on if and only if for all with we have that .
- b) is concave on if and only if for all with we have that .
We only prove (a) above. The proof of (b) is analogous.
- Proof of a): Let > be such that .
- Suppose that is convex on . Then for all we have that:
- Set , , and . Combining the first and third equations with the second equation gives us:
- Solving for gives us:
- Therefore:
- Similarly, we compute to be:
- From the convexity of we have , or equivalently:
- And hence:
- Therefore:
- Obtained by working backwards from above.
We state yet another important definition for convex and concave functions.
- Theorem 2: Let >.
- a) is convex on > if and only if for all > with > we have that >.
- b) is concave on > if and only if for all >Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle a, b, c \in I} with >Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle a <; b <; c} we have that >Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \displaystyle{\frac{f(b) - f(a)}{b - a} \geq \frac{f(c) - f(b)}{c - b}}} .
Theorem 2 gives us a nice characterization of convex functions. It tells us that a function Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle f : I \to \mathbb{R}} is convex if and only if whenever we take three points Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle a, b, c \in I} with Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle a <; b <; c} we have that the slope of the line connecting Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle (a, f(a))} and Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle (b, f(b))} is less than or equal to the sope of the line connecting Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle (b, f(b))} and Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle (c, f(c))} . In other words, the slope of the line segments connecting consecutive pairs of points on the graph of Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle f} is increasing.
We can combine theorems 1 and 2 to get a nice chain of inequalities. That is, Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle f : I \to \mathbb{R}} is convex if and only if for all Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle a, b, c \in I} with >Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle a < b < c} we have that:
Licensing
Content obtained and/or adapted from:
- Maxima and minima, Wikipedia under a CC BY-SA license
- Convex and Concave Functions, Mathonline under a CC BY-SA license