On Min-Max affine approximants of convex or concave real valued functions from $\mathbb R^k$, Chebyshev equioscillation and graphics
Steven B. Damelin, David L. Ragozin, Michael Werman

TL;DR
This paper investigates Min-Max affine approximants of convex or concave functions on convex sets, extending Chebyshev equioscillation results and connecting to computer graphics rendering techniques.
Contribution
It proves the uniqueness of best affine approximants for convex functions on simplices and extends Chebyshev's theorem to higher dimensions.
Findings
Unique best affine approximant exists for convex functions on simplices.
Extension of Chebyshev equioscillation theorem to higher dimensions.
Connections to efficient rendering of projective transformations in graphics.
Abstract
We study Min-Max affine approximants of a continuous convex or concave function where is a convex compact subset of . In the case when is a simplex we prove that there is a vertical translate of the supporting hyperplane in of the graph of at the vertices which is the unique best affine approximant to on . For , this result provides an extension of the Chebyshev equioscillation theorem for linear approximants. Our result has interesting connections to the computer graphics problem of rapid rendering of projective transformations.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
11institutetext: Steven B. Damelin 22institutetext: Department of Mathematics, University of Michigan, 530 Church Street, Ann Arbor, MI 48109, USA. 22email: [email protected]: David L. Ragozin 44institutetext: Department of Mathematics, University of Washington, Seattle, WA 98195, USA. 44email: [email protected]: Michael Werman 66institutetext: Department of Computer Science, The Hebrew University, 91904, Jerusalem, Israel. 66email: [email protected]
On Min-Max affine approximants of convex or concave real valued functions from , Chebyshev equioscillation and graphics.
Steven B. Damelin
David L. Ragozin and Michael Werman
Abstract
We study Min-Max affine approximants of a continuous convex or concave function where is a convex compact subset of . In the case when is a simplex we prove that there is a vertical translate of the supporting hyperplane in of the graph of at the vertices which is the unique best affine approximant to on . For , this result provides an extension of the Chebyshev equioscillation theorem for linear approximants. Our result has interesting connections to the computer graphics problem of rapid rendering of projective transformations.
Keywords: Optimization, Control, Computer Vision.
1 Introduction
We will work in where is the column vector and denotes transpose. A function is an affine function provided there exists such that .
1.1 Min-Max approximation
In this paper, we are interested in Min-Max approximation to a continuous by affine approximants to . See for example D ; Da ; L ; Nik ; Tem . By imposing the restriction is a simplex with non-empty interior, we obtain a complete characterization of these approximants and an explicit formula for a unique best approximant. Even in the case of an interval, , our main result Theorem 2.1 provides an extension of [Da , Corollary 7.6.3]. For , our main result also provides an extension of the Chebyshev equioscillation theorem for linear approximants with an explicit unique formula for the best approximant. See Section 4. We show interesting connections of Theorem 2.1 to graphics. See Section 5.
In order to state our results, we need the following notation. For a continuous function , and simplex , we adopt the usual convention of:
[TABLE]
We will answer the following
1.2 Problem
Let be a continuous function where is a compact domain in . Find conditions on and which allow for the construction of the Min-Max affine approximation problem (1.1) to over . Equivalently, find conditions on and which allow for the explicit construction of an and a which solve
[TABLE]
2 Main result: Theorem 2.1
Our main result is
Theorem 2.1
Let be affinely independent points in so that their convex hull is a -simplex and assume is a continuous convex or concave function over . Then the Min-Max affine approximant to over is the hyperplane average , where is the affine hyperplane in and is the supporting hyperplane to the graph of parallel to .
Here denotes the affine span and any hyperplane is identified with its graph .
Theorem 2.1 belongs to an interesting class of related optimization problems which can be found for example in ANW ; Br ; Da ; D ; Korn ; L ; Mir ; Nik ; Tem .
We know of no convex domain other than a -simplex where we can generate a hyperplane as in Theorem 2.1 for which we can verify that the graph of over the domain lies entirely above or entirely below that hyperplane.
We now present two remarks regarding Theorem 2.1.
Remark 2.1 1
The following stronger version of Theorem 2.1 holds which has an identical proof as Theorem 2.1.
Theorem 2.2
Given a continuous function on a simplex with the following property: The graph of lies entirely above or below its secant hyperplane through the graph points of over the vertices of . Then an expression for the Min-Max affine approximation of on the simplex has graph given by the hyperplane where 2d is the non-zero extremum value of on . An alternative definition of is the affine interpolant to at the vertices of the simplex .
Remark 2.2 2
In this remark, we speak to a geometric description of the hyperplane average in Theorem 2.1 and write formulae for the optimal and in the notation of Problem 1.2, expression (1).
Let the vector and the scalar be defined as the solution to the following equation.
[TABLE]
Secondly define:
[TABLE]
Then set and . It is easily checked that Problem 1.2, expression (1) is optimized at .
We end this remark by saying that the computation of the optimal above costs a minimization of a convex function (a linear shift of ) over the set .
3 The proof of Theorem 2.1
The key ideas in our proof of Theorem 2.1 are the two equivalent definitions of a convex function. is convex provided and any affine independent set of points , , i.e. the graph of over the convex hull of affinely independent points lies below the convex hull of the image points , or equivalently, , , i.e. the graph of lies on or above any supporting hyperplane.
For our proof of Theorem 2.1, we advise the reader to use Figure 1 for intuition.
Proof
First assume that is convex, so its graph over lies on or below the hyperplane . Let . Then any admissible must satisfy and so this in turn means . Here, is the basis vector in so each admissible gives a downward translate of with non-empty intersection with the graph of . Since is compact and is continuous, the is actually a and so their exists at least one graph point on .
Thus is a supporting hyperplane (tangent plane if is differentiable at ). Moreover, at the points an easy computation shows . These and the construction of imply . We also observe that , , as is between and whose midplane is . Now with the above in hand we are able to argue as follows. Assume is a best affine approximating plane. Then first otherwise the maximal distance increases. On the other hand, writing for constants , we have otherwise the maximal distance increases. We deduce that . This concludes the proof of Theorem 2.1 in case is convex.
In the case that is concave, since and the graph of over lies on or above , we can repeat the convex argument replacing , and interchanging . Alternatively note is convex and one checks that the negative of the solution for is just .
Note that even if is not convex (or concave) and not even smooth the method produces a best uniform approximation for the points comprised of the points and .
4 Theorem 2.1: The case .
For , our main result Theorem 2.1 provides an extension of the classical Chebyshev equioscillation theorem, see Theorem 4.1 below, for linear approximants with an explicit unique formula for the best approximant.
We now explain this.
4.1 Chebyshev systems and Chebyshev-Markov equioscillation
We will work with the real interval where and the space of real valued continuous functions . As per convention, we denote this space by .
A set of functions , is called a Chebyshev (Haar) system on the interval if any linear combination
[TABLE]
with not all coefficients zero, has at most distinct zeros in . 111Alfred Haar, 1885-1933, was a Hungarian mathematician. In 1904 he began to study at the University of Göttingen. His doctorate was supervised by David Hilbert.
The dimensional subspace spanned by a Chebyshev system on defined by
[TABLE]
is called a Chebyshev space on .
The classical Chebyshev equioscillation theorem, see for example [Kr , Chapter 9, Theorem 4.4] and Sch is the following:
Theorem 4.1
Let and let be a Chebyschev space on an interval . Then is a best uniform approximant to on , that is satisfies
[TABLE]
if and only there exists points with such that
[TABLE]
Motivated by Theorem 4.1 we have:
4.2 Chebyshev equioscillation
Let . A Chebyshev polynomial (when it exists) of degree at least , is the polynomial which best uniformly approximates on , i.e,
2
[TABLE]
where is the set of polynomials of degree at most .
The following is often called the Chebyshev equioscillation theorem.
Theorem 4.2
Let . Then exists if there exists points with such that
[TABLE]
4.3 The case of Theorem 4.2
We now show how Theorem 4.2 with corresponds to Theorem 2.1 for .
We may assume that and for the moment we do not assume anything about . Define now a linear function from in terms of parameters and to be determined later as follows:
[TABLE]
Now since , if we assume then
[TABLE]
Thus
[TABLE]
Also,
[TABLE]
So:
[TABLE]
Thus in the case when or is a convex and differentiable function, by the mean value theorem.
It is clear that we have proved Theorem 2.1 once we are able to choose to maximize if this is possible for the given . In the case when is convex, we see that . It is clear that the argument works when is concave, which implies is convex,
In the case of , we could write
[TABLE]
[TABLE]
which is either an upward or downward hyperbola for which the secant between lies above (or below) the curve. Then following the ”mean value ” argument, leads to with derivative =slope and via our visualization leads to a line with the same slope but halfway between the secant and tangent to .
5 Connections of Theorem 2.1 to graphics
One consequence of Theorem 2.1 gives an interesting connection to graphics. We provide our ideas below.
We are given a flat object and want to render it from a given perspective, camera setup. The resulting image is a projective (AKA perspective or homography) transformation of , . Thus, each pixel (color) in , (an ordered pair in ) is transformed to a new pixel location (point) 2 via the action of
[TABLE]
Practically, to render this object which can have 10’s of millions of pixels it is useful to have a good fast approximation of the transformation not entailing division which can cause numerical instabilities. Thus, we seek affine approximants to . One known method is to simply take the affine approximant to be the linear terms of the Taylor expansion around one point, the tangent approximation.
We aim to provide a better 2d-affine approximant to than the tangent approximation. From Equation 5.1 the components of are given by
[TABLE]
From our main Theorem 2.1 we know that if we can find a triangle, , containing (a large part of) such that each is convex or concave then there exist Min-Max affine approximations to each . Then forming the affine transformation of 2-space given by
[TABLE]
provides, component wise, the best uniform affine approximants on .
Since a differentiable function is convex or concave on a domain exactly when it’s Hessian is respectively positive or negative semidefinite the following is a key tool for the application of our main result.
Proposition 5.1 5.1
A symmetric matrix is * positive or negative semidefinite according as *
The Hessian of
[TABLE]
is
[TABLE]
with determinant . The sign of depends on $Y\begin{matrix}<\
\end{matrix}\frac{\alpha\delta-\gamma}{\beta}$.
When we combine Proposition 5.1 with the Hessian of Eq. 5.4 we see that in each of the connected components of is either convex or concave. With the 2 coordinate functions of the projective transformation ( and ) we end with 6 regions in where Theorem 2.1 holds, Figure 2.
In order to transform a general projective transformation as in Eq. 5.3 to the form in Eq. 5.4, with a simple denominator, we rotate the axes so that is in the direction of and normalize so that the coefficient of in the denominator is 1.
In Figure 3 we show a few examples of the various affine approximations of projective transformations using this idea.
The first column is the original image , the second column is the image transformed by a projective transformation , modelling a new viewpoint, the third column is the transformation based on the affine approximation of using Theorem 2.1 and a user defined triangle while the fourth column is computed using a Taylor series approximation of around the image’s center. The images in column 3 should visually look closer to those in column 2 than those in column 4, the Taylor approximation.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1(1) J.H. Ahlberg, E.N. Nilson, J.F. Walsh, Theory of splines and their applications , Acad. Press (1967).
- 2(2) Y.A. Brudnyi, Approximation of functions defined in a convex polyhedron , Soviet Math. Doklady, 11. 6 (1970), (pp. 1587-1590), Dokl. Akad. Nauk SSSR, 195 (1970), (pp. 1007-1009).
- 3(3) P.J. Davis, Interpolation and approximation , New York, 1963.
- 4(4) F. Deutsch, Best approximation in inner product spaces , CMS Books in Mathematics, 2001.
- 5(5) M. Krein, A. Nudelman, The Markov Moment problem and extremal problems , AMS translation from the Russian edition of 1973.
- 6(6) N.P. Korneichuk, Extremal problems in approximation theory , Moscow (1976) (In Russian).
- 7(7) P.J. Laurent, Approximation et optimization , Hermann (1972).
- 8(8) V.L. Miroshichenko, Methods of spline functions , Moscow (1980).
