Take a concave function e.g. the quadratic below (picture attached).
Why does the chord between two values $f(x₁)$ & $f(x₂)$ give us the linear relationship between the convex combination of the two points $x(λ) = (1-λ)x₁ + (λ)x₂$, and the convex combination of the functions value at those two points $(1-λ)f(x₁) + (λ)f(x₂)$?
Example
If we take the concave function $f(x) = -(x - 4)² + 16$, and we take $x₁ = 2, x₂ = 4$
Connecting $f(x₁) = 12$ & $f(x₂) = 16$ with a chord we get the line with equation $g(x) = 2x + 8$
For values between $x₁$ & $x₂$ this ‘$x$’ can be described as $x(λ) = (1-λ)x₁ + (λ)x₂$
I.e. for $x₁≤ x ≤ x₂, g(x) = 2x(λ) + 8$
Which we note can even be written: $g(x) = x₁x(λ)+ x₁ x₂$
- Q1) Why is this linear equation $g(x)$ equal to the convex combination of the value of the quadratic (between $x₁$ & $x₂$). Essentially, why does this chord magically give us the values $(1-λ)f(x₁) + (λ)f(x₂)$?
I can't wrap my head round the fact that a a convex combination of points, is mapped to the same convex combination of the quadratic of those points, by a linear function.
Edit: I have wrapped my head around the core part of the question but am still trying to understand these questions below. Have posted an answer this progress so far. Thoughts appreciated!
Q2) Why is the $y$ intercept for $g(x) = x₁ x₂$
Q3) Why is the slope equal to $x₁$
Q4) I feel like the formulation: $f(x₁) + λ(f(x₂) - f(x₁))$ gets me closer but I’m not there yet.
I have verified this for values of $x₁ = 1$ and 2, with a range of values for $x₂$ (for example the picture includes $x₁ = 1, x₂ = 6$
Cheers!
