Exact discretization, tight frames and recovery via D D -optimal designs Felix Bartel, Lutz Kämmerer, Kateryna Pozharska, Martin Schäfer, Tino Ullrich Abstract D D -optimal designs originate in statistics literature as an approach for optimal experimental designs. In numerical analysis points and weights resulting from maximal determinants turned out to be useful for quadrature and interpolation. Also recently, two of the present authors and coauthors investigated a connection to the discretization problem for the uniform norm. Here we use this approach of maximizing the determinant of a certain Gramian matrix with respect to points and weights for the construction of tight frames and exact Marcinkiewicz-Zygmund inequalities in L 2 L_{2} . We present a direct and constructive approach resulting in a discrete measure with at most N ≤ n 2 + 1 N\leq n^{2}+1 atoms, which discretely and accurately subsamples the L 2 L_{2} -norm of complex-valued functions contained in a given n n -dimensional subspace. This approach can as well be used for the reconstruction of functions from general RKHS in L 2 L_{2} where one only has access to the most important eigenfunctions. We verifiably and deterministically construct points and weights for a weighted least squares recovery procedure and pay in the rate of convergence compared to earlier optimal, however probabilistic approaches. The general results apply to the d d -sphere or multivariate trigonometric polynomials on 𝕋 d \mathbb{T}^{d} spectrally supported on arbitrary finite index sets I ⊂ ℤ d I\subset\mathds{Z}^{d} . They can be discretized using at most | I | 2 − | I | + 1 |I|^{2}-|I|+1 points and weights. Numerical experiments indicate the sharpness of this result. As a negative result we prove that, in general, it is not possible to control the number of points in a reconstructing lattice rule only in the cardinality | I | |I| without additional condition on the structure of I I . We support our findings with numerical experiments. 2010 MSC 41A25, 65D32, 94A20 1 Introduction In this paper we investigate D -optimal designs, which are the result of optimizing the determinant of rescaled Gramian matrices. This approach is known from optimal experimental designs in statistics literature [ 20 ] or in point constructions for quadrature and interpolation, like Fekete points where one maximizes the determinant of the Vandermonde matrix [ 32 , 8 , 6 , 7 ] . We take a frame-theoretical viewpoint and obtain novel results for quadrature and frame analysis. These two perspectives are connected in the following way: Let \bm{\varphi}(x)=(\varphi_{1}(x),\dots,\varphi_{n}(x))^{\top}\in\mathds{C}^{n} for \varphi_{1},\dots,\varphi_{n}\colon\Omega\to\mathds{C} be linearly independent continuous functions on a compact domain \Omega . Then 1. V_{n}=\Span\{\varphi_{1},\dots,\varphi_{n}\}\subset C(\Omega) represents an n -dimensional space of complex-valued functions on a domain \Omega and 2. (\bm{\varphi}(x))_{x\in\Omega}\subset\mathds{C}^{n} is a continuous {\mathds{C}}^{n} -frame indexed by x\in\Omega . A D -optimal design is a discretization with respect to a probability measure \varrho^{\ast}=\sum_{i=1}^{M_{\varrho}}\varrho_{i}\delta_{x_{i}} which maximizes a certain Gramian determinant, i.e., \varrho^{\ast}=\Argmax_{\varrho}\det\Big(\sum_{i=1}^{M_{\varrho}}\varrho_{i}\bm{\varphi}(x_{i})\cdot\bm{\varphi}(x_{i})^{\ast}\Big)\,. (1.1) We utilize this technique in two different variations and obtain twofold results. 1.1 Parseval subframes and exact discretization For a given (continuous) probability measure \mu on \Omega one may ask for an exact discretization thereof. In particular, we seek points x_{1},\dots,x_{N}\in\Omega and weights \varrho_{1},\dots,\varrho_{N}\geq 0 (summing up to 1 ) forming an exact L_{2} -Marcinkiewicz-Zygmund (MZ) inequality [ 38 ] for V_{n} , i.e., \int_{\Omega}|f(x)|^{2}\;\mathrm{d}\mu(x)=\sum_{i=1}^{N}\varrho_{i}|f(x_{i})|^{2}\quad\text{for all}\quad f\in V_{n}\,. (1.2) We present an approach using specific D -optimal designs to obtain ( 1.2 ) with at most N=\dim(\Span\{\varphi_{k}\overline{\varphi_{l}}\}_{k,l=1}^{n})+1\leq n^{2}+1 (1.3) points and weights. In addition we give numerical evidence on the sharpness of this result. More generally, in Proposition 3.1 , we present four elementary equivalent conditions under which a system of continuous linearly independent functions \varphi_{1},\dots,\varphi_{n} defined on a compact topological space turns out to be discretely orthonormal with respect to a suitably chosen measure. We do this by combining an averaging argument with compactness to show that the optimizer of a certain D -optimal design procedure ( 1.1 ) (involving \varphi_{1},\dots,\varphi_{n} ) exists and has an objective value of one. In a second step we use a version of Caratheodory’s theorem in order to give the bound ( 1.3 ) on the required number N of points, see Proposition 2.8 , which allows for subsampling convex (conic) combinations of (complex) Hermitian matrices. Caratheodory subsampling has been considered before by several authors, see [ 8 , 34 , 44 ] . The latter reference also comments on its implementation. We further include L_{p} -MZ inequalities for even p>2 which supports the findings in [ 23 ] . We also contribute to Open Problem 10 in [ 16 ] , i.e., we give an algorithmic method for constructing an exact L_{p} -MZ inequality with positive weights, cf. Corollary 4.4 . Earlier works in this direction rely on the classical 1957 Tschakaloff theorem [ 50 ] , a corner stone for the theory of exact quadrature formulas for spaces of polynomials, see also Shapiro [ 47 , Thm. 3.1.1] , Novak [ 42 ] , and Putinar [ 45 ] for more general versions. From the results above we even obtain an extended version of the classical Tschakaloff theorem for complex-valued functions, see Theorem 4.3 . In Section 5 , we apply the general results in two specific contexts. First, we state a general result for the d -sphere \mathds{S}^{d} in Theorem 5.5 for even exponents p\geq 2 . As a consequence we obtain in Theorem 5.6 , that there exist points \bm{x}^{1},\dots,\bm{x}^{N}\in\mathds{S}^{d} forming an exact (weighted) integration rule for the polynomials \Pi_{m} up to degree m on the d -sphere, i.e., \int_{\mathds{S}^{d}}f(\bm{x})\;\mathrm{d}\mu(\bm{x})=\sum_{i=1}^{N}w_{i}f(\bm{x}^{i})\quad\text{for all}\quad f\in\Pi_{m} with N\leq\dim\Pi_{m}\leq\Big(\frac{9m}{d}\Big)^{d}\,. Quadrature formulas of the above type with equal weights are called t -designs (or m -design according to our notation, where m is the degree of the polynomial) introduced in [ 18 ] . The equal weight condition makes this problem much harder and only a limited number of constructions of spherical designs are known. However, there are also approaches to obtain spherical designs being exact up to machine precision numerically, cf. [ 54 , 25 ] . In general the existence of spherical designs is known with the optimal asymptotic rate N\geq C_{d}m^{d} , cf. [ 5 , Thm. 1] . This matches the number of points in our weighted result. In Corollary 5.1 we state that ( 1.2 ) holds for trigonometric polynomials with frequencies in any arbitrary finite index set I\subset\mathds{Z}^{d} . For D(I)\coloneqq\{\bm{k}-\bm{\ell}:\bm{k},\bm{\ell}\in I\} the difference set, we find N\leq|D(I)|\leq|I|^{2}-|I|+1 points and positive weights such that the exact MZ inequality ( 1.2 ) holds for all f\in V(I):=\operatorname{span}\{\exp(2\pi i\langle\bm{k},\cdot\rangle):\bm{k}\in I\} . In general, these points (x_{i})_{i=1}^{N} should have a very irregular structure. In fact, we show in Corollary 5.3 that at least for lattice rules it is not possible to control the number of points only in the cardinality of the index set |I| (without additional conditions on I as in [ 30 ] ). This contradicts [ 51 , Thm. 4.1] and contributes to Open Problem 2 in [ 16 ] . Also here the question arises whether all of this can be done with equal weights w_{i}=1/N . In case of trigonometric polynomials such a discretization is always possible with a large enough N depending on the “largest” frequency in I . However, it is still not known, whether the equal-weighted ( 1.2 ) can be arranged for any index set I with a number of points N only depending on the cardinality of |I| . We leave this as an open problem. As our approach is algorithmic, we propose three algorithms in Section 3 . Algorithm 1 and Algorithm 2 are two different ways to determine N\leq n^{2}+1 points (x_{i})_{i} and weights (\varrho_{i})_{i} such that ( 1.2 ) holds true. Algorithm 3 transforms the basis of V_{n} to \{\psi_{1},\dots,\psi_{n}\} and determines (x_{i})_{i} such that the corresponding system of vectors \bm{\psi}(x_{i})=(\psi_{1}(x_{i}),\ldots,\psi_{n}(x_{i}))^{\top}\in\mathds{C}^{n} constitutes an equal norm tight frame in \mathds{C}^{n} with respect to some discrete probability measure \varrho=\sum_{i=1}^{N}\varrho_{i}\delta_{x_{i}} . Several numerical experiments with Algorithm 2 are conducted in Section 6 with outcomes aligning with our theoretical findings: 1. In Experiment 1 we indicate the numerical applicability of our approach as we recover known lattice point constructions. Furthermore, we compute exact MZ points in settings, where we know that all lattice rules of that size fail as discussed above. 2. In Experiment 2 we investigate a dimensional dependence and observe that for a fixed number of random frequencies fewer points suffice with increasing dimension. This suggests a certain “blessing of dimension” in this particular setting. A similar effect was considered in [ 25 ] for the sphere \mathds{S}^{d} . 3. Experiment 3 indicates the necessity of the oversampling N=|D(I)| in general as we do not find exact MZ inequalities with fewer points for this particular choice of frequencies in I . We do not have a rigorous proof. Theoretical lower bounds indicating at least the quadratic scaling in the number of samples are given in [ 16 , Thm. 3.3, 3.4] . In terms of the language of finite frames ( 1.2 ) can be rephrased as finding a weighted Parseval subframe (\sqrt{\varrho_{i}}\bm{\varphi}(x_{i})))_{i=1}^{N} such that \|\bm{a}\|_{2}^{2}=\int_{\Omega}|\langle\bm{a},\bm{\varphi}(x)\rangle|^{2}\;\mathrm{d}\mu(x)=\sum\limits_{i=1}^{N}\varrho_{i}|\langle\bm{a},\bm{\varphi}(x_{i})\rangle|^{2}\quad\text{for all}\quad\bm{a}\in\mathds{C}^{n}\,. Note, that the problem of the discretization of continuous frames is deeply studied in literature. Here we refer to [ 24 ] , [ 23 ] and the references therein. 1.2 Equal norm subframes In the well-known paper by Kiefer and Wolfowitz [ 32 ] the authors prove the equivalence of two different optimization problems. The D -optimal design for an n -dimensional subspace of real-valued functions V_{n}\subset C(\Omega) on the one hand and the min-max problem for the corresponding Christoffel function \eta_{n}(x)=\sum_{k=1}^{n}|\varphi_{k}(x)|^{2} on the other hand. This is the problem of finding a Borel probability measure \mu on \Omega which minimizes \sup_{f\in V_{n}\setminus\{0\}}\|f\|^{2}_{\infty}/\|f\|^{2}_{L_{2}(\mu)} . The latter is sometimes called G -optimal design, see Bos [ 7 ] . The equivalence in [ 32 ] is useful in a different context. In the recent paper [ 34 ] two of the authors with coauthors extended the technique in [ 32 ] to complex-valued functions (where the continuity is even lacking) and the optimal measure turns out to be discrete (Tschakaloff’s theorem [ 50 ] , [ 45 ] is not required). Based on the proof in [ 34 ] we prove in Theorem 3.5 the existence of a discrete probability measure \lambda=\sum_{i=1}^{N}\lambda_{i}\delta_{x_{i}} with N\leq n^{2}+1 and a related linear transformation \bm{A}_{\lambda} with \bm{\psi}=\bm{A}_{\lambda}^{-1/2}\cdot\bm{\varphi} such that for a given arbitrary finite (continuous) frame (\bm{\varphi}(x))_{x}\subset\mathds{C}^{n} it holds \|\bm{a}\|_{2}^{2}=\sum\limits_{i=1}^{N}\lambda_{i}|\langle\bm{a},\bm{\psi}(x_{i})\rangle|^{2}\quad,\quad\bm{a}\in\mathds{C}^{n}\,, with the additional feature that \|\bm{\psi}(x)\|_{2}\leq\sqrt{n} for all x\in\Omega and \|\bm{\psi}(x)\|_{2}=\sqrt{n} on \operatorname{supp}\lambda . This relates to equal norm tight frames (ENTF), which play an important role in the frame community, see Remark 3.8 . The corresponding algorithm is formulated in Algorithm 3 . 1.3 Guaranteed and verifiable recovery of functions We consider a recovery problem, which has been first addressed by Wasilkowski and Woźniakowski [ 53 ] in 2001 and drew a lot of attention in the past 6 years [ 35 , 40 , 21 , 3 ] . We aim for the problem to practically find stable recovery algorithms based on suitable sample points and weights which recover verifiably any function from the unit ball of a reproducing kernel Hilbert space (RKHS) H(k) with a prescribed accuracy in L_{2}(\mu) . Here we consider a further restriction which is certainly motivated from practical computation. We only have access to the kernel function and the n most important (largest) singular values and corresponding eigenfunctions of the corresponding integral operator. The main result reads as follows. We construct a linear sampling recovery operator S^{k,\mu}_{n,N} depending on the kernel k(\cdot,\cdot):\Omega\times\Omega\to\mathds{C} and the target measure \mu which uses N\leq n^{2}+1 many sample points such that \sup\limits_{\|f\|_{H(k)\leq 1}}\|f-S^{k,\mu}_{n,N}f\|_{L_{2}(\mu)}^{2}\leq 3\sum\limits_{j\geq n+1}\sigma_{j}^{2}\leq 3\,c_{n}(H(k),C(\Omega))^{2}\,, (1.4) where c_{n}(H(k),C(\Omega)) denotes the n -Gelfand number of the embedding I:H(k)\to C(\Omega) c_{n}(H(k),C(\Omega))=\inf_{\begin{subarray}{c}\theta\colon\mathds{C}^{n}\to C(\Omega)\\ L\in\mathcal{L}(H(k),\mathds{C}^{n})\end{subarray}}\sup_{\|f\|_{H(k)}\leq 1}\|f-\theta\circ L(f)\|_{C(\Omega)}\,. Our attempt will be to construct an exact discretization for the space of the most important eigenfunctions. In special cases like periodic functions this is done using, e.g., rank- 1 lattices for the given frequency sets in \mathds{Z}^{d} , like hyperbolic crosses, in [ 30 ] . As this specific approach does not work in general, we rely on optimal D -designs working in the most general context. Notation As usual, \mathds{N} , \mathds{Z} , \mathds{R} , \mathds{C} denote the natural (without zero), integer, real, and complex numbers. If not indicated otherwise \log(\cdot) denotes the natural logarithm. \mathds{C}^{n} shall denote the complex n -space and \mathds{C}^{m\times n} the set of complex m\times n -matrices. Vectors and matrices are usually typesetted boldface. We use {\bm{y}}^{\ast}:=\overline{\bm{y}}^{\top} . In general, the adjoint of a matrix \bm{L}\in\mathds{C}^{m\times n} is denoted by \bm{L}^{\ast} . For the spectral norm we use \|\bm{L}\|_{2\to 2} , whereas the Frobenius norm is denoted with \|\bm{L}\|_{F} . For a compact topological space \Omega we use C(\Omega) for the space of complex-valued continuous functions on \Omega . 2 Auxiliary tools Proposition 2.1 . Let \psi_{1},\dots,\psi_{m}\colon\Omega\to\mathds{C} be orthonormal with respect to a measure \mu on \Omega . Let further \bm{\psi}(x):=(\psi_{1}(x),\dots,\psi_{m}(x))^{\top}\in\mathds{C}^{m} . Then for fixed M\in\mathds{N} with M\geq m we have \displaystyle\int_{\Omega}\dots\int_{\Omega}\det\Big(\frac{1}{M}\sum_{i=1}^{M}\bm{\psi}(x_{i})\cdot\bm{\psi}(x_{i})^{\ast}\Big)\;\mathrm{d}\mu(x_{1})\dots\;\mathrm{d}\mu(x_{M}) \displaystyle\quad=\frac{M}{M}\frac{M-1}{M}\cdots\frac{M-m+1}{M}\,. Proof. By Leibniz’ formula for the determinant we have \displaystyle\det\Big(\frac{1}{M}\sum_{i=1}^{M}\bm{\psi}(x_{i})\cdot\bm{\psi}(x_{i})^{\ast}\Big) \displaystyle=\sum_{\sigma\in S_{m}}\sgn(\sigma)\prod_{k=1}^{m}\frac{1}{M}\sum_{i=1}^{M}\psi_{k}(x_{i})\overline{\psi_{\sigma(k)}(x_{i})} \displaystyle=M^{-m}\sum_{i_{1},\dots,i_{m}=1}^{M}\sum_{\sigma\in S_{m}}\sgn(\sigma)\cdot\psi_{1}(x_{i_{1}})\overline{\psi_{\sigma(1)}(x_{i_{1}})}\cdots\psi_{m}(x_{i_{m}})\overline{\psi_{\sigma(m)}(x_{i_{m}})}\,. (2.1) We now show that the inner sum evaluates to zero whenever some i_{l}=i_{k} for some 1\leq l\neq k\leq m . Without loss of generality assume i_{1}=i_{2}=j . We split S_{m} into the permutations with positive and negative sign by using \sgn(\sigma\circ(1\;2))=-\sgn(\sigma) , i.e., \displaystyle S_{m} \displaystyle=\{\sigma\in S_{m}:\sgn(\sigma)=1\}\;\dot{\cup}\;\{\sigma\in S_{m}:\sgn(\sigma)=-1\} \displaystyle=\{\sigma\in S_{m}:\sgn(\sigma)=1\}\;\dot{\cup}\;\{\sigma\circ(1\;2)\in S_{m}:\sgn(\sigma)=1\}\,. For the inner sum of ( 2.1 ) it follows in case i_{1}=i_{2}=j \displaystyle\sum_{\sigma\in S_{m}}\sgn(\sigma)\cdot\psi_{1}(x_{j})\overline{\psi_{\sigma(1)}(x_{j})}\cdot\psi_{2}(x_{j})\overline{\psi_{\sigma(2)}(x_{j})}\cdots\psi_{m}(x_{i_{m}})\overline{\psi_{\sigma(m)}(x_{i_{m}})} \displaystyle\quad=\sum_{\begin{subarray}{c}\sigma\in S_{m}\\ \sgn(\sigma)=1\end{subarray}}\psi_{1}(x_{j})\overline{\psi_{\sigma(1)}(x_{j})}\cdot\psi_{2}(x_{j})\overline{\psi_{\sigma(2)}(x_{j})}\cdots\psi_{m}(x_{i_{m}})\overline{\psi_{\sigma(m)}(x_{i_{m}})} \displaystyle\qquad-\psi_{1}(x_{j})\overline{\psi_{\sigma(2)}(x_{j})}\cdot\psi_{2}(x_{j})\overline{\psi_{\sigma(1)}(x_{j})}\cdots\psi_{m}(x_{i_{m}})\overline{\psi_{\sigma(m)}(x_{i_{m}})} \displaystyle\quad=0\,. Thus, in ( 2.1 ) we only need to sum over pairwise different indices i_{l}\neq i_{k} for 1\leq l,k\leq m . It remains to apply the integrals. Using Fubini’s theorem gives \displaystyle\int_{\Omega}\dots\int_{\Omega}\det\Big(\frac{1}{M}\sum_{i=1}^{M}\bm{\psi}(x_{i})\cdot\bm{\psi}(x_{i})^{\ast}\Big)\;\mathrm{d}\mu(x_{1})\dots\;\mathrm{d}\mu(x_{M}) \displaystyle=M^{-m}\sum_{\begin{subarray}{c}i_{1},\dots,i_{m}=1\\ i_{l}\neq i_{k}\end{subarray}}^{M}\sum_{\sigma\in S_{m}}\sgn(\sigma)\cdot\int_{\Omega}\psi_{1}(x_{i_{1}})\overline{\psi_{\sigma(1)}(x_{i_{1}})}\;\mathrm{d}\mu(x_{i_{1}})\cdots\int_{\Omega}\psi_{m}(x_{i_{m}})\overline{\psi_{\sigma(m)}(x_{i_{m}})}\;\mathrm{d}\mu(x_{i_{m}}) \displaystyle=M^{-m}\sum_{\begin{subarray}{c}i_{1},\dots,i_{m}=1\\ i_{l}\neq i_{k}\end{subarray}}^{M}\sum_{\sigma\in S_{m}}\sgn(\sigma)\cdot\delta_{1,\sigma(1)}\cdots\delta_{m,\sigma(m)} \displaystyle=M^{-m}\sum_{\begin{subarray}{c}i_{1},\dots,i_{m}=1\\ i_{l}\neq i_{k}\end{subarray}}^{M}1\,. The number of elements in \{i_{1},\dots,i_{m}=1,\dots,M:i_{l}\neq i_{k}\} evaluates to M(M-1)\cdots(M-m+1) , which shows the assertion. ∎ Remark 2.2 . The previous result is a special case of a general result relating the expectation of the determinant of a random matrix and the determinant of the expectation of a matrix, see [ 19 , Lemma 2.3] . As things simplify in our case we give an elementary proof for the convenience of the reader. Corollary 2.3 . Let \psi_{1},\dots,\psi_{m}\colon\Omega\to\mathds{C} be orthonormal with respect to a probability measure \mu and \bm{\psi}(x)=(\psi_{1}(x),\dots,\psi_{m}(x))^{\top} . Then for all \varepsilon>0 there exists an M\in\mathds{N} and x_{1},\dots,x_{M}\in\Omega such that \displaystyle\det\Big(\frac{1}{M}\sum_{i=1}^{M}\bm{\psi}(x_{i})\cdot\bm{\psi}(x_{i})^{\ast}\Big)\geq 1-\varepsilon\,. Proof. In Proposition 2.1 we computed the mean of the determinant for m orthonormal functions and M points to be M(M-1)\cdots(M-m+1)/M^{m} . Since \mu is assumed to be a probability measure here, there must therefore exist M points x_{1},\dots,x_{M}\in\Omega such that this value is actually attained or exceeded. Consequently, as this value tends to 1 for a growing number of points M , the assertion follows. ∎ Proposition 2.4 . Let \psi_{1},\dots,\psi_{m}\colon\Omega\to\mathds{C} be functions. As above we put \bm{\psi}(x):=(\psi_{1}(x),\dots,\psi_{m}(x))^{\top}\in\mathds{C}^{m} . Further, let M\in\mathds{N} , \alpha_{1},\dots,\alpha_{M}\geq 0 with \alpha_{1}+\dots+\alpha_{M}=1 , and x_{1},\dots,x_{M}\in\Omega . Then \sqrt[m]{\det\Big(\sum_{i=1}^{M}\alpha_{i}\bm{\psi}(x_{i})\cdot\bm{\psi}(x_{i})^{\ast}\Big)}\leq\frac{1}{m}\Tr\Big(\sum_{i=1}^{M}\alpha_{i}\bm{\psi}(x_{i})\cdot\bm{\psi}(x_{i})^{\ast}\Big)\leq\frac{1}{m}\sup\limits_{x\in\Omega}\sum\limits_{k=1}^{m}|\psi_{k}(x)|^{2}\,. Proof. The first inequality is a consequence of the inequality between arithmetic and geometric mean. For a positive semi-definite Hermitian matrix \bm{A}\in\mathds{C}^{m\times m} with eigenvalues \lambda_{1}(\bm{A}),\dots,\lambda_{m}(\bm{A})\geq 0 , we have \sqrt[m]{\det(\bm{A})}=\Big(\prod_{k=1}^{m}\lambda_{k}(\bm{A})\Big)^{1/m}\leq\frac{1}{m}\sum_{k=1}^{m}\lambda_{k}(\bm{A})=\frac{\Tr(\bm{A})}{m}\,. For the second inequality, we compute the trace of the given matrix via its diagonal entries \displaystyle\Tr\Big(\sum_{i=1}^{M}\alpha_{i}\bm{\psi}(x_{i})\cdot\bm{\psi}(x_{i})^{\ast}\Big) \displaystyle=\sum_{k=1}^{m}\sum_{i=1}^{M}\alpha_{i}[\bm{\psi}(x_{i})\cdot\bm{\psi}(x_{i})^{\ast}]_{k,k} \displaystyle=\sum_{i=1}^{M}\alpha_{i}\sum_{k=1}^{m}|\psi_{k}(x_{i})|^{2} \displaystyle\leq\Big(\sum_{i=1}^{M}\alpha_{i}\Big)\sup_{x\in\Omega}\sum_{k=1}^{m}|\psi_{k}(x)|^{2}\,. Taking \alpha_{1}+\dots+\alpha_{M}=1 into account, the proof is complete. ∎ Lemma 2.5 (A version of Lemma 10 from [ 34 ] ) . Let \psi_{1},\dots,\psi_{m}\colon\Omega\to\mathds{C} be functions and denote \bm{\psi}(x)=(\psi_{1}(x),\dots,\psi_{m}(x))^{\top} . Then it holds \dim_{\mathds{C}}(\Span_{\mathds{C}}\{\psi_{1},\dots,\psi_{m}\})=\dim_{\mathds{C}}(\Span_{\mathds{C}}\{\bm{\psi}(x)\colon x\in\Omega\})\,, where we consider a linear space of functions on the left-hand side. On the right-hand side a subspace of \mathds{C}^{m} is considered. Lemma 2.6 . Let \psi_{1},\dots,\psi_{m}\colon\Omega\to\mathds{C} be functions and denote \bm{\psi}(x)=(\psi_{1}(x),\dots,\psi_{m}(x))^{\top} . For the set \mathcal{M}:=\{\bm{\psi}(x)\cdot\bm{\psi}(x)^{*}\colon\ x\in\Omega\}\, (2.2) of complex-valued Hermitian matrices in \mathds{C}^{m\times m} it holds \dim_{\mathds{C}}(\Span_{\mathds{C}}\{\psi_{k}\overline{\psi_{l}}\}_{k,l=1}^{m})=\dim_{\mathds{C}}(\Span_{\mathds{C}}\mathcal{M})=\dim_{\mathds{R}}(\Span_{\mathds{R}}\mathcal{M})\leq m^{2}\,. Proof. We consider the set ( 2.2 ) of matrices with the entries \psi_{k}(x)\overline{\psi_{l}(x)} , k,l=1,\dots,m . These matrices can also be interpreted as vectors \tilde{\bm{\psi}}(x):=(f_{1}(x),\dots,f_{m^{2}}(x))^{\top}\in\mathds{C}^{m^{2}} with component functions f_{j}:\Omega\to\mathds{C} , j=1,\dots,m^{2} . Further, \tilde{\mathcal{M}}:=\{\tilde{\bm{\psi}}(x)\colon\ x\in\Omega\} can be identified with \mathcal{M} . With Lemma 2.5 we then obtain \dim_{\mathds{C}}(\Span_{\mathds{C}}\{\psi_{k}\overline{\psi_{l}}\}_{k,l=1}^{m})=\dim_{\mathds{C}}(\Span_{\mathds{C}}\{f_{j}\}_{j=1}^{m^{2}})=\dim_{\mathds{C}}(\Span_{\mathds{C}}\tilde{\mathcal{M}})=\dim_{\mathds{C}}(\Span_{\mathds{C}}\mathcal{M})\,, where \dim_{\mathds{C}}(\Span_{\mathds{C}}\{f_{j}\}_{j=1}^{m^{2}})\leq m^{2} is obvious. Further, the space \Span_{\mathds{C}}\mathcal{M} can be decomposed as a direct sum of \Span_{\mathds{R}}\mathcal{M} and \mathrm{i}\cdot\Span_{\mathds{R}}\mathcal{M} , i.e., \Span_{\mathds{C}}\mathcal{M}=\Span_{\mathds{R}}\mathcal{M}\oplus_{\mathds{R}}\mathrm{i}\cdot\Span_{\mathds{R}}\mathcal{M}\,. For this, note that \Span_{\mathds{R}}\mathcal{M} is an \mathds{R} -linear space of Hermitian matrices, whereas \mathrm{i}\cdot\Span_{\mathds{R}}\mathcal{M} is an \mathds{R} -linear space consisting of skew-Hermitian matrices. Therefore \Span_{\mathds{R}}\mathcal{M}\cap(\mathrm{i}\cdot\Span_{\mathds{R}}\mathcal{M})=\{0\} , and for the dimensions we deduce \dim_{\mathds{R}}(\Span_{\mathds{R}}\mathcal{M})=\dim_{\mathds{R}}(\mathrm{i}\cdot\Span_{\mathds{R}}\mathcal{M}) and \dim_{\mathds{C}}(\Span_{\mathds{C}}\mathcal{M})=\frac{1}{2}\dim_{\mathds{R}}(\Span_{\mathds{C}}\mathcal{M})=\frac{1}{2}\dim_{\mathds{R}}(\Span_{\mathds{R}}\mathcal{M}\oplus_{\mathds{R}}\mathrm{i}\cdot\Span_{\mathds{R}}\mathcal{M})=\dim_{\mathds{R}}(\Span_{\mathds{R}}\mathcal{M})\,. The proof is finished. ∎ Remark 2.7 . Note that in general for complex-valued functions \psi_{1},\dots,\psi_{m}\colon\Omega\to\mathds{C} , in contrast to the set \mathcal{M} of Hermitian matrices, we have \dim_{\mathds{C}}(\Span_{\mathds{C}}\{\psi_{k}\overline{\psi_{l}}\}_{k,l=1}^{m})\neq\dim_{\mathds{R}}(\Span_{\mathds{R}}\{\psi_{k}\overline{\psi_{l}}\}_{k,l=1}^{m}). The poof of Lemma 2.6 heavily depends on the structure of sets in the underlying spans. A simple example is the system \psi_{1}=1 , \psi_{2}=\mathrm{i} , for which one gets \dim_{\mathds{C}}(\Span_{\mathds{C}}\{\psi_{k}\overline{\psi_{l}}\}_{k,l=1}^{2})=1\neq 2=\dim_{\mathds{R}}(\Span_{\mathds{R}}\{\psi_{k}\overline{\psi_{l}}\}_{k,l=1}^{2}). Proposition 2.8 (Caratheodory subsampling for Hermitian matrices) . Let \psi_{1},\dots,\psi_{m}\colon\Omega\to\mathds{C} be functions and denote \bm{\psi}(x)=(\psi_{1}(x),\dots,\psi_{m}(x))^{\top} . Further, let M\in\mathds{N} , \alpha_{1},\dots,\alpha_{M}\geq 0 and x_{1},\dots,x_{M}\in\Omega such that \bm{A}=\sum_{i=1}^{M}\alpha_{i}\bm{\psi}(x_{i})\cdot\bm{\psi}(x_{i})^{\ast}\,. Let further N=\dim(\Span\{\psi_{k}\overline{\psi_{l}}\}_{k,l=1}^{m})\leq m^{2} . Then the following holds. 1. There exists a subset \{y_{1},\dots,y_{N}\}\subset\{x_{1},\dots,x_{M}\}\subset\Omega of the initial nodes and weights \beta_{1},\dots,\beta_{N}\geq 0 such that \bm{A} can be represented as \bm{A}=\sum_{i=1}^{N}\beta_{i}\bm{\psi}(y_{i})\cdot\bm{\psi}(y_{i})^{\ast}\,. 2. If additionally \alpha_{1}+\dots+\alpha_{M}=1 then we have a subset \{z_{1},\dots,z_{N+1}\}\subset\{x_{1},\dots,x_{M}\}\subset\Omega and weights \gamma_{1},\dots,\gamma_{N+1}\geq 0 satisfying \gamma_{1}+\dots+\gamma_{N+1}=1 with \bm{A}=\sum_{i=1}^{N+1}\gamma_{i}\bm{\psi}(z_{i})\cdot\bm{\psi}(z_{i})^{\ast}\,. Proof. The convex hull of the set ( 2.2 ) of matrices \mathcal{M} is defined via \conv\mathcal{M}:=\bigg\{\sum_{i=1}^{M}\alpha_{i}\bm{\psi}(x_{i})\cdot\bm{\psi}(x_{i})^{*}\colon\,M\in\mathds{N},\,\alpha_{i}\geq 0,\,\sum_{i=1}^{M}\alpha_{i}=1,\,x_{i}\in\Omega\bigg\} and clearly lies in \Span_{\mathds{R}}\mathcal{M} . Consequently, it can be considered a convex subset of \mathds{R}^{N} (see Lemma 2.6 ). By Caratheodory’s theorem, see [ 46 , Thm. 1.1.4] , we have that each element of a convex hull, which is a subset of \mathds{R}^{N} , can be represented as a convex combination of N+1 elements. By the above identification this reduction transfers to \conv\mathcal{M} and proves (ii). Considering instead of \conv\mathcal{M} the conic hull and, respectively, dropping the condition that the coefficients \alpha_{i} sum up to one, a similar reduction can be shown with a straight forward modification of the proof. Without the convexity assumption we may even reduce to N summands (instead of N+1 ). This gives (i). ∎ 3 Discrete orthogonality and tight frames via D -optimal designs We are now heading for conditions under which a given system of linearly independent, bounded and continuous functions \varphi_{1},\dots,\varphi_{n}\colon\Omega\to\mathds{C} turns out to be (discretely) orthonormal with respect to some probability measure \mu on \Omega . We will prove a characterization first, which is interesting on its own. In case the characteristic function \mathds{1}_{\Omega} belongs to V_{n}:=\operatorname{span}_{\mathds{C}}\{\varphi_{1}(\cdot),\dots,\varphi_{n}(\cdot)\} we may define \eta_{n}(x):=\frac{\sum_{k=1}^{n}|\varphi_{k}(x)|^{2}}{n}, which is a continuous function on \Omega bounded away from zero (otherwise the \mathds{1}_{\Omega} -function would have zeros). In case the \mathds{1}_{\Omega} -function is not contained in V_{n} we blow up the space to V_{n+1}:=\operatorname{span}_{\mathds{C}}\{\varphi_{1}(\cdot),\cdots,\varphi_{n}(\cdot),\varphi_{n+1}:=\mathds{1}_{\Omega}\}\,. In this case we obtain a basis \{\varphi_{1}(\cdot),\cdots,\varphi_{n}(\cdot),\mathds{1}_{\Omega}\} and the corresponding Christoffel-type function \eta_{n+1}(x)\coloneqq\frac{1+\sum_{k=1}^{n}|\varphi_{k}(x)|^{2}}{n+1}, which is again bounded away from zero and continuous at any x\in\Omega . Next, consider a discrete (atomic) measure on \Omega \varrho:=\sum_{i=1}^{M_{\varrho}}\varrho_{i}\delta_{x_{i}}\,, (3.1) where the non-negative weights (\varrho_{i})_{i} sum up to one and the points (x_{i})_{i}\subset\Omega are fixed. Further, define \langle f,g\rangle_{\varrho}\coloneqq\sum\limits_{i=1}^{M_{\varrho}}\varrho_{i}f(x_{i})\overline{g(x_{i})} and the m\times m Gramian \bm{A}_{\varrho}:=\Big(\Big\langle\frac{\varphi_{k}}{\sqrt{\eta_{m}}},\frac{\varphi_{l}}{\sqrt{\eta_{m}}}\Big\rangle_{\varrho}\Big)_{k,l=1}^{m}\,, (3.2) where either m:=n or m:=n+1 depending on the cases above. The matrix \bm{A}_{\varrho} can then also be represented in the form \bm{A}_{\varrho}=\sum_{i=1}^{M_{\varrho}}\varrho_{i}\bm{\psi}(x_{i})\cdot\bm{\psi}(x_{i})^{*} with \bm{\psi}(x):=(\psi_{1}(x),\dots,\psi_{m}(x))^{\top} and \psi_{k}(x):=\varphi_{k}(x)/\sqrt{\eta_{m}(x)}\quad,\quad k=1,\dots,m\,. (3.3) This transition from the functions \varphi_{k} to the functions \psi_{k} performs the “change of measure”. Let us finally consider the corresponding set \mathcal{M} from ( 2.2 ) in the proof of Proposition 2.8 . This is clearly a compact set of rank-1 matrices \bm{\psi}(x)\cdot\bm{\psi}(x)^{*}\in\mathds{C}^{m\times m} if \Omega is assumed to be compact due to the continuity of the mapping x\mapsto\bm{\psi}(x)\cdot{\bm{\psi}}(x)^{*} . Besides, each element of \mathcal{M} is Hermitian and positive semi-definite with real determinant, i.e., \det(\bm{\psi}(x)\cdot\bm{\psi}(x)^{*})\geq 0 for all x\in\Omega . Furthermore, by Proposition 2.8 the convex hull remains closed and bounded and hence compact. The determinant is a continuous mapping on \mathds{C}^{m\times m} , which implies the existence of a maximizer \bm{A}_{\alpha}=\sum_{i=1}^{M_{\alpha}}\alpha_{i}\bm{\psi}(x_{i})\cdot\bm{\psi}(x_{i})^{*}\in\conv\mathcal{M} which satisfies (for weights \varrho as in ( 3.1 ) and \bm{A}_{\varrho} as in ( 3.2 )) \det(\bm{A}_{\alpha})=\max\limits_{\varrho}\det(\bm{A}_{\varrho})=\sup\limits_{\bm{M}\in\conv\mathcal{M}}\det(\bm{M})\,. (3.4) From Proposition 2.4 we obtain that \det(\bm{A}_{\alpha})\leq 1 since \sum_{k=1}^{m}|\psi_{k}(x)|^{2}=m . The subsequent proposition characterizes the property that a set of given continuous functions turns out to be orthonormal with respect to a suitably chosen Borel probability measure \mu . This result might be of independent interest. Note, that in case the constant function belongs to their span, i.e., \sum_{i=1}^{n}\gamma_{i}\varphi_{i}=\mathds{1}_{\Omega} , the condition \sum_{i=1}^{n}|\gamma_{i}|^{2}=1 is required. However, this can be guaranteed by a simple rescaling of the basis functions. Proposition 3.1 . Let \Omega be a compact topological space and \varphi_{1},\dots,\varphi_{n}\colon\Omega\to\mathds{C} linearly independent continuous functions on \Omega . Let further N=\dim(\Span\{\varphi_{k}\overline{\varphi_{l}}\}_{k,l=1}^{n}) . The following assertions are equivalent. 1. We have {\bm{I}}_{n}\in\conv\bigg\{(\varphi_{k}(x)\overline{\varphi_{l}(x)})_{k,l=1}^{n}\colon\,x\in\Omega\bigg\}\,. 2. There exist N+1 points x_{1},\dots,x_{N+1}\in\Omega and non-negative weights with \mu_{1}+\dots+\mu_{N+1}=1 such that (ii a) the system (\varphi_{l})_{l=1}^{n} is orthonormal with respect to discrete measure \varrho=\sum_{i=1}^{N+1}\mu_{i}\delta_{x_{i}} , i.e., \sum\limits_{i=1}^{N+1}\mu_{i}\varphi_{k}(x_{i})\overline{\varphi_{l}(x_{i})}=\delta_{k,l}\,,\quad k,l=1,\dots,n; (ii b) we have \min\limits_{(x_{i})_{i},(\mu_{i})_{i}}\Big\|\sum_{i=1}^{N+1}\mu_{i}\bm{\varphi}(x_{i})\cdot\bm{\varphi}(x_{i})^{*}-{\bm{I}}_{n}\Big\|_{F}=0 (3.5) for the minimization problem with respect to the Frobenius norm \|\cdot\|_{F} . Here \bm{\varphi}(x)=(\varphi_{1}(x),\dots,\varphi_{n}(x))^{T} . 3. There exists a Borel probability measure \mu on \Omega such that \int_{\Omega}\varphi_{k}(x)\overline{\varphi_{l}(x)}\;\mathrm{d}\mu(x)=\delta_{k,l}\,,\quad k,l=1,\dots,n, i.e., the system (\varphi_{l})_{l=1}^{n} is orthonormal with respect to the measure \mu . 4. The representation \mathds{1}_{\Omega}=\sum_{i=1}^{m}\gamma_{i}\varphi_{i} holds true with \sum_{i=1}^{m}|\gamma_{i}|^{2}=1 (Recall that \varphi_{n+1}:=\mathds{1}_{\Omega} in case m=n+1 .) and the maximizer \bm{A}_{\alpha} in ( 3.4 ) satisfies one of the following two (equivalent) conditions: (iv a) \det(\bm{A}_{\alpha})=1\,, (iv b) \bm{A}_{\alpha}=\bm{I}_{m}\,. Proof. Step 1. Using Proposition 2.8 yields (i) \Longrightarrow (ii). The implications (ii a) \Longleftrightarrow (ii b) \Longrightarrow (iii) are immediate. Step 2. We prove (iii) \Longrightarrow (iv). First, note that in case m=n indeed 1=\int_{\Omega}\mathds{1}_{\Omega}(x)\;\mathrm{d}\mu(x)=\sum_{k,l=1}^{m}\gamma_{k}\overline{\gamma_{l}}\int_{\Omega}\varphi_{k}\overline{\varphi_{l}(x)}\;\mathrm{d}\mu(x)=\sum_{k,l=1}^{m}\gamma_{k}\overline{\gamma_{l}}\delta_{k,l}=\sum_{k=1}^{m}|\gamma_{k}|^{2}\,. In case m=n+1 we have \sum_{i=1}^{m}|\gamma_{i}|^{2}=1 due to \gamma_{m}=1 and \gamma_{1}=\dots=\gamma_{n}=0 . Second, we already know that the maximizer \bm{A}_{\alpha} in ( 3.4 ) exists and satisfies \det(\bm{A}_{\alpha})\leq 1 . From Corollary 2.3 applied to the functions \psi_{k} , k=1,\dots,m , with the corresponding measure \eta_{m}(\cdot)\mathrm{d}\mu(\cdot) we obtain that \det(\bm{A}_{\alpha})\geq 1-\varepsilon for all \varepsilon>0 and hence \det(\bm{A}_{\alpha})\geq 1 , which proves (iv a). Further, from Proposition 2.4 , it follows that \frac{1}{m}\sum_{k=1}^{m}\lambda_{k}(\bm{A}_{\alpha})=1 due to \sum_{k=1}^{m}|\psi_{k}(x)|^{2}=m . Therefore, the geometric mean of the eigenvalues of \bm{A}_{\varrho} equals the arithmetic mean (see Proposition 2.4 ) which is only possible for equal eigenvalues. This implies \lambda_{1}=\cdots=\lambda_{m}=1 and hence \bm{A}_{\alpha}=\bm{I}_{m} since \bm{I}_{m} is the only Hermitian matrix that has all eigenvalues 1, i.e., the statement (iv b). Step 3. It remains to prove the implication (iv) \Longrightarrow (i). First note that if (iv a) is fulfilled for a maximizer \bm{A}_{\alpha} also (iv b) is fullfilled by the arguments in Step 2. Now we distinguish the cases m=n+1 and m=n . In case m=n+1 we obtain from \varphi_{n+1}\equiv 1 , 1=\Big\langle\frac{\varphi_{m}}{\sqrt{\eta_{m}}},\frac{\varphi_{m}}{\sqrt{\eta_{m}}}\Big\rangle_{\alpha}=\sum\limits_{i=1}^{M_{\alpha}}\frac{\alpha_{i}}{\eta_{m}(x_{i})}\,. (3.6) In addition, we obtain for 1\leq k,l\leq n \delta_{k,l}=\Big\langle\frac{\varphi_{k}}{\sqrt{\eta_{m}}},\frac{\varphi_{l}}{\sqrt{\eta_{m}}}\Big\rangle_{\alpha}=\sum\limits_{i=1}^{M_{\alpha}}\frac{\alpha_{i}}{\eta_{m}(x_{i})}\varphi_{k}(x_{i})\overline{\varphi_{l}(x_{i})}\,. (3.7) Together with ( 3.6 ) this gives (i). The case m=n is a bit more involved, since in this case we may not have \varphi_{k}\equiv 1 for any k=1,\dots,n . Clearly, ( 3.7 ) is still satisfied. To obtain an analogon to ( 3.6 ), we now exploit the condition \mathds{1}_{\Omega}=\sum_{i=1}^{n}\gamma_{i}\varphi_{i} with \sum_{i=1}^{n}|\gamma_{i}|^{2}=1 . Indeed, then 1=\sum_{k,l=1}^{n}\gamma_{k}\overline{\gamma_{l}}\delta_{k,l}=\sum_{k,l=1}^{n}\sum\limits_{i=1}^{M_{\alpha}}\gamma_{k}\overline{\gamma_{l}}\frac{\alpha_{i}}{\eta_{n}(x_{i})}\varphi_{k}(x_{i})\overline{\varphi_{l}(x_{i})}=\sum\limits_{i=1}^{M_{\alpha}}\frac{\alpha_{i}}{\eta_{n}(x_{i})}\,. The proof is finished. ∎ Algorithm 1 Construction of a discrete Parseval frame Input: \Omega compact topological space and Borel probability measure \mu \varphi_{1},\dots,\varphi_{n}\colon\Omega\to\mathds{C} mutually orthonormal and continuous functions on \Omega w.r.t. \mu Output: (x_{i})_{i} and (\mu_{i})_{i} satisfying ( 3.9 ) and \mu_{i} summing up to 1 , i=1,\dots,N+1 1: put N\coloneqq\dim(\Span\{\varphi_{k}\overline{\varphi}_{l}\}_{k,l=1}^{n}) 2: if \mathds{1}_{\Omega}\in\Span_{\mathds{C}}\{\varphi_{1},\dots,\varphi_{n}\} then 3: put m\coloneqq n 4: else 5: put \varphi_{n+1}\coloneqq\mathds{1}_{\Omega} and m\coloneqq n+1 6: end if 7: put \tilde{N}\coloneqq\dim(\Span\{\varphi_{k}\overline{\varphi}_{l}\}_{k,l=1}^{m}) 8: put \eta_{m}(x)\coloneqq\frac{1}{m}\sum_{k=1}^{m}|\varphi_{k}(x)|^{2} and \bm{\varphi}(x)\coloneqq(\varphi_{1}(x),\dots,\varphi_{m}(x))^{\top} 9: put \mathcal{M}\coloneqq\Big\{\frac{\bm{\varphi}(x)\cdot\bm{\varphi}(x)^{\ast}}{\eta_{m}(x)}:x\in\Omega\Big\} 10: find x_{1},\dots,x_{\tilde{N}+1}\in\Omega and \alpha_{1},\dots,\alpha_{\tilde{N}+1}\geq 0 with \alpha_{1}+\dots+\alpha_{\tilde{N}+1}=1 such that \det\Big(\sum_{i=1}^{\tilde{N}+1}\alpha_{i}\frac{\bm{\varphi}(x_{i})\cdot\bm{\varphi}(x_{i})^{\ast}}{\eta_{m}(x_{i})}\Big)=\max_{\bm{M}\in\conv\mathcal{M}}\det(\bm{M})=1 11: if N=\tilde{N} then 12: put \mu_{i}\coloneqq\alpha_{i}/\eta_{m}(x_{i}) for i=1,\dots,N+1 13: else 14: use Caratheodory subsampling to reduce the number of points to N+1 and calculate corresponding weights \mu_{i} summing up to 1 15: end if 16: return (x_{i})_{i} and (\mu_{i})_{i} Algorithm 2 Construction of a discrete Parseval frame Input: \Omega compact topological space and Borel probability measure \mu \varphi_{1},\dots,\varphi_{n}\colon\Omega\to\mathds{C} mutually orthonormal and continuous functions on \Omega w.r.t. \mu Output: (x_{i})_{i} and (\mu_{i})_{i} satisfying ( 3.9 ) and \mu_{i} summing up to 1 , i=1,\dots,N+1 1: \bm{\varphi}(x)\coloneqq(\varphi_{1}(x),\dots,\varphi_{n}(x))^{\top} 2: put N\coloneqq\dim(\Span\{\varphi_{k}\overline{\varphi}_{l}\}_{k,l=1}^{n}) 3: find x_{1},\dots,x_{N+1}\in\Omega and \mu_{1},\dots,\mu_{N+1}\geq 0 with \mu_{1}+\dots+\mu_{N+1}=1 such that \Big\|\sum_{i=1}^{N+1}\mu_{i}\bm{\varphi}(x_{i})\cdot\bm{\varphi}(x_{i})^{\ast}-\bm{I}_{n}\Big\|_{F}^{2}=0 4: return (x_{i})_{i} and (\mu_{i})_{i} Remark 3.2 . If \Omega is a finite set and \varphi_{1},\dots,\varphi_{n}:\Omega\to\mathds{C} linearly independent vectors in \mathds{C}^{|\Omega|} then the characterization in Proposition 3.1 remains valid. Remark 3.3 . 1. In the language of the frame community the result in Proposition 3.1 essentially tells us that if we start with a continuous Parseval frame (\bm{\varphi}(x))_{x\in\Omega} in the sense that ( \mu Borel probability measure, see also Definition 1.2 in [ 24 ] ) \|\bm{a}\|_{2}^{2}=\int_{\Omega}|\langle\bm{a},\bm{\varphi}(x)\rangle|^{2}\;\mathrm{d}\mu(x)\quad,\quad\bm{a}\in\mathds{C}^{n}\,, (3.8) then there are non-negative weights \mu_{i} , which sum up to one, and points x_{i} such that \|\bm{a}\|_{2}^{2}=\sum\limits_{i=1}^{N+1}\mu_{i}|\langle\bm{a},\bm{\varphi}(x_{i})\rangle|^{2}\quad,\quad\bm{a}\in\mathds{C}^{n}\,. (3.9) In other words, the frame is still Parseval with respect to a discrete probability measure with at most N+1 atoms. We do not just prove their existence, we rather give concrete methods how to obtain these points and weights, cf. Algorithm 1 and Algorithm 2 . 2. Note, that in the classical frame setting the system of vectors \bm{\varphi}_{\mu}(x_{i})=\sqrt{\mu_{i}}(\varphi_{1}(x_{i}),\dots,\varphi_{n}(x_{i}))^{\top}\in\mathds{C}^{n}\quad,\quad i=1,\dots,N+1, (3.10) constructed in Proposition 3.1 , constitutes a discrete Parseval frame in \mathds{C}^{n} . Hence, there is a relation to the notion of “scalable frames” as introduced in [ 10 , 37 , 11 ] . Let us emphasize that the property in ( 3.9 ) is stronger, since we require \sum_{i=1}^{N+1}\mu_{i}=1 . Remark 3.4 . If we have \mathds{1}_{\Omega}\in V_{n} from the start (and therefore m=n in ( 3.2 )), the condition (i) in Proposition 3.1 , namely {\bm{I}}_{n}\in\conv\{(\varphi_{k}(x)\overline{\varphi_{l}(x)})_{k,l=1}^{n}\colon\,x\in\Omega\} , is equivalent to \displaystyle\mathrm{(i^{\prime})} \displaystyle{\bm{I}}_{n}\in\operatorname{cone}\bigg\{(\varphi_{k}(x)\overline{\varphi_{l}(x)})_{k,l=1}^{n}\colon\,x\in\Omega\bigg\}\,, i.e., we need not require the summability to 1 of the coefficients explicitly. In this case, the number of points needed in (ii) can be reduced to N . 3.1 Equal norm tight frames with respect to a probability measure Assume that \varphi_{1},\ldots,\varphi_{n}:\Omega\to\mathds{C} are orthonormal functions on a domain \Omega with respect to some probability measure \mu on \Omega or, in other words, that the corresponding system of vectors \bm{\varphi}(x)=(\varphi_{1}(x),\ldots,\varphi_{n}(x))^{\top}\in\mathds{C}^{n} represents a Parseval frame in \mathds{C}^{n} . In this setting condition (iii) of Proposition 3.1 is fulfilled and from the previous consideration we learned that, as long as the set \mathcal{M} in ( 2.2 ) is a compact subset of \mathds{C}^{n\times n} , we always find a discrete probability measure \varrho=\sum_{i=1}^{M_{\varrho}}\varrho_{i}\delta_{x_{i}} via special D -optimal designs preserving the orthogonality. These are essentially the statements of Proposition 3.1 and Remark 3.2 . We now again start with a system of functions \varphi_{1},\ldots,\varphi_{n}:\Omega\to\mathds{C} and, in what follows, we again require the compactness of the set \mathcal{M} from ( 2.2 ). This would be the case, for example, in the considered settings of Proposition 3.1 and Remark 3.2 , where either \Omega is finite or \Omega is a compact topological space and \varphi_{i}:\Omega\to\mathds{C} , i=1,\ldots,n , represent continuous functions. However, this time we do not demand orthonormality of the functions and thus do not need a measure \mu on \Omega in the beginning. Instead, we are satisfied with linear independence. The functions then define an n -dimensional linear function space V_{n} . Interestingly, it turned out in [ 32 , 34 ] that D -optimal designs are actually useful to additionally control the norms \|f\|_{\infty} of the functions f\in V_{n} . In fact, as we will see below, we always find a discrete probability measure \lambda=\sum_{i=1}^{N}\lambda_{i}\delta_{x_{i}} on \Omega with N\leq n^{2}+1 such that \sup\limits_{x\in\Omega}|f(x)|\leq\sqrt{n}\Big(\sum_{i=1}^{N}\lambda_{i}|f(x_{i})|^{2}\Big)^{1/2}\quad\text{for all }f\in V_{n}\,. (3.11) As above, denote with \varrho=\sum_{i=1}^{M_{\varrho}}\varrho_{i}\delta_{x_{i}} a discrete probability measure on \Omega . Putting \bm{A}_{\varrho}=\sum_{i=1}^{M_{\varrho}}\varrho_{i}\bm{\varphi}(x_{i})\cdot\bm{\varphi}(x_{i})^{*} , due to the compactness of \mathcal{M} , we then also have a maximizer \det(\bm{A}_{\lambda})=\max\limits_{\varrho}\det(\bm{A}_{\varrho})=\sup\limits_{\bm{M}\in\conv\mathcal{M}}\det(\bm{M})\,. (3.12) This time a rescaling by the Christoffel function as in ( 3.3 ) is not necessary. Taking Caratheodory’s theorem into account, the measure \lambda gives non-negative weights (\lambda_{i})_{i=1}^{N} and points (x_{i})_{i=1}^{N} with N=\dim(\Span\{\varphi_{k}\overline{\varphi}_{l}\}_{k,l=1}^{n})+1 . The following theorem states our result in the case of a compact topological space \Omega and continuous functions \varphi_{i}:\Omega\to\mathds{C} , i=1,\ldots,n , i.e., in the setting corresponding to Proposition 3.1 . An essential part of it is actually proved in [ 34 ] . Theorem 3.5 . Let \Omega denote a compact topological space and \bm{\varphi}(x)=(\varphi_{1}(x),\dots,\varphi_{n}(x))^{\top} a vector of n linearly independent continuous functions on \Omega . Further, let N=\dim(\Span\{\varphi_{k}\overline{\varphi}_{l}\}_{k,l=1}^{n}) . Algorithm 3 then results in a discrete probability measure \lambda=\sum_{i=1}^{N+1}\lambda_{i}\delta_{x_{i}} and a corresponding strictly positive definite Hermitian matrix \bm{A}_{\lambda}=\sum_{i=1}^{N+1}\lambda_{i}\bm{\varphi}(x_{i})\cdot\bm{\varphi}(x_{i})^{*} such that the new system \bm{\psi}(x):=\mathbf{A}_{\lambda}^{-1/2}\cdot\bm{\varphi}(x) satisfies \sum\limits_{i=1}^{N+1}\lambda_{i}|\langle\bm{a},\bm{\psi}(x_{i})\rangle|^{2}=\|\bm{a}\|_{2}^{2}\, (3.13) for all \bm{a}\in\mathds{C}^{n} . In addition, we have \|\bm{\psi}(x)\|_{2}\leq\sqrt{n} for any x\in\Omega and \|\bm{\psi}(x)\|_{2}=\sqrt{n} on \operatorname{supp}\lambda . Proof. The orthogonality relation in ( 3.13 ) with respect to the induced inner product coming from the discrete measure \lambda is straightforward and a consequence of \bm{\psi}=\bm{A}_{\lambda}^{-1/2}\cdot\bm{\varphi} . At this point it is not relevant that \lambda is the maximizing measure in ( 3.12 ). In fact, note that for any full rank matrix {\bm{B}}\in\mathds{C}^{n\times(N+1)} and {\bm{A}}:={\bm{B}}\cdot{\bm{B}}^{\ast} one has ({\bm{A}}^{-1/2}\cdot{\bm{B}})\cdot({\bm{A}}^{-1/2}\cdot{\bm{B}})^{\ast}={\bm{I}}_{n}\,. Applying this identity to \bm{B}=(\sqrt{\lambda_{j}}\varphi_{i}(x_{j}))_{i=1,j=1}^{n,N+1} yields ( 3.13 ). The property that \lambda is the maximizing measure becomes relevant to prove \|\bm{\psi}(x)\|_{2}\leq\sqrt{n} for all x\in\Omega . For this part we refer to [ 34 , Prop. 9] , which yields this result (with \varepsilon=0 in our context). It remains to argue that \|\bm{\psi}(x)\|_{2}=\sqrt{n} on \operatorname{supp}\lambda . First note that ( 3.13 ) can be rewritten in the form \bm{a}^{\ast}\Big(\sum\limits_{i=1}^{N+1}\lambda_{i}\bm{\psi}(x_{i})\cdot\bm{\psi}(x_{i})^{\ast}\Big)\bm{a}=\|\bm{a}\|_{2}^{2}\,. As a consequence, the sum in the brackets is the identity matrix which has trace n . We thus get n=\Tr\Big(\sum\limits_{i=1}^{N+1}\lambda_{i}\bm{\psi}(x_{i})\cdot\bm{\psi}(x_{i})^{\ast}\Big)=\sum\limits_{i=1}^{N+1}\lambda_{i}\|\bm{\psi}(x_{i})\|_{2}^{2}\,. Since \sum_{i=1}^{N+1}\lambda_{i}=1 , \lambda_{i}>0 for x_{i}\in\operatorname{supp}\lambda , and \|{\bm{\psi}}(x)\|_{2}\leq\sqrt{n} for all x\in\Omega , we obtain that \|\bm{\psi}(x_{i})\|_{2}=\sqrt{n} for x_{i}\in\operatorname{supp}\lambda . ∎ Algorithm 3 Construction of an equal norm tight frame Input: \Omega compact topological space \varphi_{1},\dots,\varphi_{n}\colon\Omega\to\mathds{C} linearly independent continuous functions on \Omega Output: (x_{i})_{i} and (\lambda_{i})_{i} satisfying ( 3.13 ) and \lambda_{i}>0 \bm{\psi}(x) such that \|\bm{\psi}(x_{i})\|_{2}=\sqrt{n} and \|\bm{\psi}(x)\|_{2}\leq\sqrt{n} for any x\in\Omega 1: \bm{\varphi}(x)\coloneqq(\varphi_{1}(x),\dots,\varphi_{n}(x))^{\top} 2: put \mathcal{M}\coloneqq\{\bm{\varphi}(x)\cdot\bm{\varphi}(x)^{\ast}:x\in\Omega\} 3: put N\coloneqq\dim(\Span\{\varphi_{k}\overline{\varphi}_{l}\}_{k,l=1}^{n}) 4: find x_{1},\dots,x_{N+1}\in\Omega and \lambda_{1},\dots,\lambda_{N+1}\geq 0 with \lambda_{1}+\dots+\lambda_{N+1}=1 such that \displaystyle\det\Big(\sum_{i=1}^{N+1}\lambda_{i}\bm{\varphi}(x_{i})\cdot\bm{\varphi}(x_{i})^{\ast}\Big)=\max_{\bm{M}\in\conv\mathcal{M}}\det(\bm{M}) 5: put \bm{A}_{\lambda}=\sum_{i=1}^{N+1}\lambda_{i}\bm{\varphi}(x_{i})\cdot\bm{\varphi}(x_{i})^{*} 6: put \bm{\psi}(x):=\mathbf{A}_{\lambda}^{-1/2}\cdot\bm{\varphi}(x) for x\in\Omega 7: filter out the indices i with \lambda_{i}>0 ; reindex accordingly 8: return \bm{\psi}(x) ; (x_{i})_{i} and (\lambda_{i})_{i} for indices i with \lambda_{i}>0 Remark 3.6 . Theorem 3.5 can be adapted to the setting of Remark 3.2 , i.e., linearly independent functions \varphi_{1},\ldots,\varphi_{n}:\Omega\to\mathds{C} on a finite set \Omega , in a straight-forward manner. Remark 3.7 . The property \|\bm{\psi}(x)\|_{2}\leq\sqrt{n} yields ( 3.11 ). Indeed, for any f\in V_{n} with f(x)=\langle\bm{a},\bm{\psi}(x)\rangle we have the estimate |f(x)|^{2}=|\langle\bm{a},\bm{\psi}(x)\rangle|^{2}\leq\|\bm{a}\|^{2}_{2}\|\bm{\psi}(x)\|^{2}_{2}\leq n\sum\limits_{i=1}^{N+1}\lambda_{i}|\langle\bm{a},\bm{\psi}(x_{i})\rangle|^{2}=n\sum\limits_{i=1}^{N+1}\lambda_{i}|f(x_{i})|^{2}\,. Remark 3.8 . The procedure described in Theorem 3.5 reminds on the way of making a given frame \bm{\varphi} tight by multiplying with \bm{A}^{-1/2} , where \bm{A}=\bm{T}_{\bm{\varphi}}^{*}\cdot\bm{T}_{\bm{\varphi}} denotes the frame matrix of \bm{\varphi} and \bm{T}_{\bm{\varphi}} its analysis operator. However, the transformed frame \bm{\psi}=\bm{A}^{-1/2}\cdot\bm{\varphi} then usually does not consist of equal norm frame elements. A subsequent normalization and corresponding reweighting would yield an equal norm tight frame of type ( 3.13 ) or ( 3.8 ) with respect to a discrete probability measure. However, the separate normalization step would typically change the coefficient space such that \operatorname{Im}(\bm{T}_{\bm{\psi}})\neq\operatorname{Im}(\bm{T}_{\bm{\varphi}}) . In Theorem 3.5 the weights and points are constructed simultaneously and result in a discrete measure and a corresponding equal norm tight frame \bm{\psi} where \operatorname{Im}(\bm{T}_{\bm{\psi}})=\operatorname{Im}(\bm{T}_{\bm{\varphi}}) . This construction thus maintains a stronger connection to the original frame. Let us emphasize that there is significant interest in the frame community for the construction of unit/equal norm tight frames (ENTF,UNTF), see [ 12 , 13 ] . 4 Application: Exact Marcinkiewicz-Zygmund inequalities and quadrature Frames have a related structure to L_{2} -MZ inequalities and tightness in frames means exactness in L_{2} -MZ inequalities. With that, we immediately obtain a method for constructing points and weights fulfilling the identity in the following theorem. Theorem 4.1 . Let \mu be a Borel probability measure on a compact topological space \Omega and V_{n} be an n -dimensional subspace of C(\Omega) , the space of continuous complex-valued functions on \Omega . Then there exists an N\leq\dim(\Span\{f\cdot\overline{g}:f,g\in V_{n}\})\leq n^{2} and N+1 points x_{1},\dots,x_{N+1}\in\Omega together with non-negative weights satisfying \sum_{i=1}^{N+1}\mu_{i}=1 such that \int_{\Omega}|f(x)|^{2}\;\mathrm{d}\mu(x)=\sum_{i=1}^{N+1}\mu_{i}|f(x_{i})|^{2}\quad\text{for all}\quad f\in V_{n}\,. (4.1) Proof. Choose an orthonormal basis in V_{n} . By Proposition 3.1 this basis is also discretely orthonormal. The statement is obtained by Parseval’s identity. ∎ The respective points and weights (the discrete measure) are determined by finding a maximizer through ( 3.4 ) taking Carathéodory subsampling into account. Exact L_{2} -MZ inequalities have a useful property. They also discretize (subsample) the corresponding inner product as the following corollary shows. Corollary 4.2 . Let \mu be a Borel probability measure on a compact topological space \Omega and V_{n} be an n -dimensional subspace of the complex-valued C(\Omega) . Then there exists an N\leq n^{2} and N+1 points x_{1},\dots,x_{N+1}\in\Omega together with non-negative weights satisfying \sum_{i=1}^{N+1}\mu_{i}=1 such that for all f,g\in V_{n} it holds \int_{\Omega}f(x)\overline{g(x)}\;\mathrm{d}\mu(x)=\sum_{i=1}^{N+1}\mu_{i}f(x_{i})\overline{g(x_{i})}\,. Proof. Due to Theorem 4.1 , for any f,g\in V_{n} the relations ( 4.1 ) hold. Hence, they also hold for f+g , f-g , f+ig and f-ig that belong to the subspace V_{n} . Using the polarization identity \displaystyle\int_{\Omega}f(x)\overline{g(x)}\;\mathrm{d}\mu(x) \displaystyle=\frac{1}{4}\left(\int_{\Omega}|f(x)+g(x)|^{2}\;\mathrm{d}\mu(x)-\int_{\Omega}|f(x)-g(x)|^{2}\;\mathrm{d}\mu(x)\right) \displaystyle\quad+\frac{\mathrm{i}}{4}\left(\int_{\Omega}|f(x)+\mathrm{i}g(x)|^{2}\;\mathrm{d}\mu(x)-\int_{\Omega}|f(x)-\mathrm{i}g(x)|^{2}\;\mathrm{d}\mu(x)\right)\,, we then obtain \displaystyle\int_{\Omega}f(x)\overline{g(x)}\;\mathrm{d}\mu(x) \displaystyle=\frac{1}{4}\left(\sum_{i=1}^{N+1}\mu_{i}|f(x_{i})+g(x_{i})|^{2}-\sum_{i=1}^{N+1}\mu_{i}|f(x_{i})-g(x_{i})|^{2}\right) \displaystyle\quad+\frac{\mathrm{i}}{4}\left(\sum_{i=1}^{N+1}\mu_{i}|f(x_{i})+\mathrm{i}g(x_{i})|^{2}-\sum_{i=1}^{N+1}\mu_{i}|f(x_{i})-\mathrm{i}g(x_{i})|^{2}\right) \displaystyle=\sum_{i=1}^{N+1}\mu_{i}f(x_{i})\overline{g(x_{i})}\,.\qed We obtain general quadrature formulas in the sense of Tchakaloff using our approach. See Tchakaloff [ 50 ] and also [ 45 ] , [ 16 , Thm. 4.1] , which works for the case of real functions and has the drawback of not being constructive. Theorem 4.3 (Tschakaloff for complex-valued functions) . Let \mu be a Borel probability measure on a compact topological space \Omega and V_{n}\subset C(\Omega) (complex-valued). Then there exists an N\leq 2n and x_{1},\dots,x_{N+1}\in\Omega such that with non-negative weights satisfying \mu_{i}+\dots+\mu_{N+1}=1 it holds \int_{\Omega}f(x)\;\mathrm{d}\mu(x)=\sum_{i=1}^{N+1}\mu_{i}f(x_{i})\quad\text{for all}\quad f\in V_{n}\,. Proof. Step 1. Applying Corollary 4.2 to V_{n}\cup\{\mathds{1}_{\Omega}\} and setting g=\mathds{1}_{\Omega} gives the stated quadrature condition with M\leq(n+1)^{2} points y_{1},\dots,y_{M+1} and weights \beta_{1},\dots,\beta_{M+1} . Step 2. In order to obtain the stated number of points, we need to apply a second Carathéodory step. For \varphi_{1},\dots,\varphi_{n} a basis of V_{N} , the points and weights from Step 1 fulfill \bm{A}(\beta_{1}\,\cdots\,\beta_{M+1})^{\top}=\bm{b} with \bm{A}=\begin{pmatrix}\operatorname{Re}(\varphi_{1}(y_{1}))&\dots&\operatorname{Re}(\varphi_{1}(y_{M+1}))\\ \operatorname{Im}(\varphi_{1}(y_{1}))&\dots&\operatorname{Im}(\varphi_{1}(y_{M+1}))\\ \vdots&\ddots&\vdots\\ \operatorname{Re}(\varphi_{n}(y_{1}))&\dots&\operatorname{Re}(\varphi_{n}(y_{M+1}))\\ \operatorname{Im}(\varphi_{n}(y_{1}))&\dots&\operatorname{Im}(\varphi_{n}(y_{M+1}))\\ \end{pmatrix}\in\mathds{R}^{2n\times M+1}\quad\text{and}\quad\bm{b}=\begin{pmatrix}\operatorname{Re}(\int_{\Omega}\varphi_{1}\;\mathrm{d}\mu)\\ \operatorname{Im}(\int_{\Omega}\varphi_{1}\;\mathrm{d}\mu)\\ \vdots\\ \operatorname{Re}(\int_{\Omega}\varphi_{n}\;\mathrm{d}\mu)\\ \operatorname{Im}(\int_{\Omega}\varphi_{n}\;\mathrm{d}\mu)\\ \end{pmatrix}\in\mathds{R}^{2n}\,. We interpret this as \bm{b} being represented by a convex combination of the column vectors of \bm{A} . Applying Carathéodory here gives N\leq 2n , non-negative real weights \mu_{1},\dots,\mu_{N+1} , and a subset of points \{x_{1},\dots,x_{N}\}\subset\{y_{1},\dots,y_{M}\} such that we have in \mathds{C}^{n} \sum\limits_{i=1}^{N+1}\mu_{i}(\varphi_{1}(x_{1}),...,\varphi_{n}(x_{n}))^{\top}=\Big(\int_{\Omega}\varphi_{1}\;\mathrm{d}\mu,...,\int_{\Omega}\varphi_{n}\;\mathrm{d}\mu\Big)^{\top}\,. The statement in Theorem 4.3 follows by linearity since any f can be represented as complex linear combination in the functions \varphi_{1},...,\varphi_{n} . ∎ Next, we show a method for constructing exact L_{p} -MZ inequalities with even p by using similar techniques as in [ 16 , Theorem 3.1] but utilizing the exact L_{2} result in Theorem 4.1 instead of Tchakaloff’s Theorem on exact quadrature. Corollary 4.4 . Let \mu be a Borel probability measure on a compact topological space \Omega and V_{n}\subset C(\Omega) (complex-valued) and p even. Then there exists an N\leq 2\binom{n+p-1}{p}\sim n^{p} and x_{1},\dots,x_{N+1}\in\Omega with non-negative weights satisfying \mu_{i}+\dots+\mu_{N+1}=1 such that \int_{\Omega}|f(x)|^{p}\;\mathrm{d}\mu(x)=\sum_{i=1}^{N+1}\mu_{i}|f(x_{i})|^{p}\quad\text{for all}\quad f\in V_{n}\,. (4.2) Proof. Using a basis of V_{n}=\Span\{\varphi_{1},\dots,\varphi_{n}\} we define the space W_{n}=\Span\Big\{\varphi_{1}^{k_{1}}\cdots\varphi_{n}^{k_{n}}:k_{1},\dots,k_{n}\in\mathds{N}_{0},\,k_{1}+\dots+k_{n}=\frac{p}{2}\Big\}\,. We have \displaystyle\dim\Big(\Span\{f\cdot g:f,g\in W_{n}\}\Big) \displaystyle=\dim\Big(\Span\Big\{\varphi_{1}^{k_{1}}\cdots\varphi_{n}^{k_{n}}:k_{1},\dots,k_{n}\in\mathds{N}_{0},\,k_{1}+\dots+k_{n}=p\Big\}\Big) \displaystyle\leq\Big|\Big\{k_{1},\dots,k_{n}\in\mathds{N}_{0}:k_{1}+\dots+k_{n}=p\Big\}\Big| \displaystyle=\binom{n+p-1}{p}\,, where the last equality is known as the number of weak compositions of the integer p into n parts. Applying Theorem 4.1 to W_{n} gives an N\leq\binom{n+p-1}{p} with points x_{1},\dots,x_{N+1}\in\Omega and non-negative weights satisfying \mu_{i}+\dots+\mu_{N+1}=1 such that \int_{\Omega}|f(x)|^{2}\;\mathrm{d}\mu(x)=\sum_{i=1}^{N+1}\mu_{i}|f(x_{i})|^{2}\quad\text{for all}\quad f\in W_{n}\,. In particular, it holds for all f^{p/2} with f\in V_{n} , which is the assertion. ∎ Corollary 4.4 contributes to [ 16 , Open problem 10] in the sense that it gives a constructive method to obtain an L_{p} -MZ inequality for even p . Note, constructiveness here is meant in the sense of [ 16 , Section 2.5] where a greedy algorithm is said to be constructive. Since we have positive weights, it goes even further to make [ 16 , Corollary 4.2] constructive. Note, in general the number of points is optimal, cf. [ 16 , Theorem 3.2] . The condition of p being an even number is necessary as it has been shown that otherwise such inequalities do not exist in general, cf. [ 16 , Prop. 3.3] . 5 Specific examples 5.1 The d -torus Let \mathbb{T}=[0,1) be a torus where the endpoints of the interval are identified. By \mathbb{T}^{d} we denote a d -dimensional torus and equip it with the normalized Lebesgue measure {\rm d}\bm{x} . Let further L_{2}:=L_{2}(\mathbb{T}^{d},{\rm d}\bm{x}) and V=V(I)\coloneqq\operatorname{span}\{\exp(2\pi\mathrm{i}\langle\bm{k},\bm{x}\rangle)\colon\bm{k}\in I\subset\mathds{Z}^{d},\ \bm{x}\in\mathbb{T}^{d}\} . In what follows, we assume that |I| is finite. Let us denote with \mathcal{D}(I):=\{\bm{k}-\bm{\ell}\penalty\ :\penalty\ \bm{k},\bm{\ell}\in I\} . Corollary 5.1 . There exist points \bm{x}^{1},\dots,\bm{x}^{N}\in\mathbb{T}^{d} and non-negative weights w_{1},\dots,w_{N} satisfying w_{1}+...+w_{N}=1 with N=|\mathcal{D}(I)|\leq|I|^{2}-|I|+1 such that for all f\in V it holds \int_{\mathbb{T}^{d}}|f(\bm{x})|^{2}\;{\mathrm{d}}\bm{x}=\sum_{i=1}^{N}w_{i}|f(\bm{x}^{i})|^{2}\,. (5.1) Proof. The statement with N+1 instead of N follows immediately from Theorem 4.1 by the fact, that \dim(\Span\{f\cdot\overline{g}:f,g\in V\})=|\mathcal{D}(I)|\leq|I|^{2}-|I|+1 . In order to reduce further to N=|\mathcal{D(I)}| points we return to the characterization in Proposition 3.1 . Recall, that for the reduction to N+1 we used Caratheodory’s theorem in Proposition 2.8 . This time we interprete the convex combination of the identity matrix \bm{I}_{n}\in\conv\mathcal{M} as a conical combination (just non-negative coefficients which do not necessarily sum up to one). With Proposition 2.8 , (i) we obtain ( 5.1 ) initially with N non-negative weights w_{i} . However, since the space V(I) contains complex monomials with modulus one everywhere we obtain w_{1}+...+w_{N}=1 by testing ( 5.1 ) with such a monomial. ∎ Next, we compare Corollary 5.1 to existing results in the torus setting. Let us emphasize that existing exact MZ-discretization results need additional restrictions on the index set. This is not the case in Corollary 5.1 . However, existing results use equal weights. This problem turns out to be much harder. 1. Equidistant points. It is known that if \sqrt[d]{n}\in\mathds{N} and I\subset\{-\sqrt[d]{n}/2,\dots,\sqrt[d]{n}/2-1\}^{d} , then the grid \bm{G} of equidistant points \bm{X}:=\{\bm{k}/\sqrt[d]{n}\colon\bm{k}\in\{1,\dots,\sqrt[d]{n}\}^{d}\} with equal weights 1/n satisfies the exact Marcinkiewicz-Zygmund inequality, i.e., for all f\in V it holds \int_{\mathbb{T}^{d}}|f(\bm{x})|^{2}\;\mathrm{d}\bm{x}=\frac{1}{n}\sum_{\bm{x}\in\bm{X}}|f(\bm{x})|^{2}\,. (5.2) Equidistant points are an example of an exact L_{2} -MZ inequality with equal weights. If I is small compared to the frequency cube \{-\sqrt[d]{n}/2,\dots,\sqrt[d]{n}/2-1\}^{d} this setting is not very useful in high dimensions d . However, if I denotes the entire frequency cube, no oversampling is needed, i.e., |I|=|\bm{G}|=n . 2. Rank-1 lattices [ 30 ] and quadratic oversampling. For a set I\subset\mathds{Z}^{d} , \max_{j=1,\dots,d}\max_{\bm{h},\bm{k}\in I}|h_{j}-k_{j}|<|I|, (5.3) there is some M\in\mathds{N} satisfying |I|\leq M\leq|\mathcal{D}(I)|\leq|I|^{2}-|I|+1 such that one can construct a rank-1 lattice \bm{X}:=\{\frac{i}{M}\bm{z}\operatorname{mod}\mathds{1}\colon i=0,\dots,M-1\} such that for all f\in V(I) ( 5.2 ) holds. Moreover, such a rank-1 lattice can be efficiently determined using a component-by-component approach, cf. [ 36 ] . It is worth mentioning that rank-1 lattices have a similar quadratic oversampling as in Corollary 5.1 . In [ 51 ] it is claimed that the additional restriction ( 5.3 ) on the index set can be dropped. In fact, it is claimed that a Korobov lattice of size M\leq 2d|\mathcal{D}(I)| always exists, such that ( 5.2 ) is true for all f\in V(I) . A closer inspection of the proof in [ 51 , Sect. 4] , however, shows that an additional assumption similar to ( 5.3 ) is used in the proof. Theorem 5.2 . Let M\in\mathds{N} , \bm{R}_{K}=\{0,1/K,...,(K-1)/K\} the full one-dimensional grid with K equidistant points and \bm{R}^{M,d}=\left(\bigcup_{K=1}^{M}\bm{R}_{K}\right)^{d} a d -dimensional rectilinear grid. Then there always exist index sets I\subset\mathds{Z}^{d} with two elements such that for all \bm{X}\subset\bm{R}^{M,d} the exact MZ inequality ( 5.1 ) is violated. Proof. We simply specify a range of sets that fulfills the assertion. Let I_{\bm{a},\bm{b}}:=\left\{\bm{a},\bm{a}+\left(\prod_{k=1}^{M}k\right)\bm{b}\right\},\qquad\bm{a}\in\mathds{Z}^{d},\bm{b}\in\mathds{Z}^{d}\setminus\{\bm{0}\}, Clearly, for any \bm{x}\in\bm{R}^{M,d} and j=1,\dots,d , there exist K_{j}\in\mathds{N}\cap[0,M] and l_{j}\in\mathds{N}\cap[0,K_{j}-1] such that x_{j}=l_{j}/K_{j} , which yields \displaystyle\exp\left(2\pi\mathrm{i}\langle\bm{a},\bm{x}\rangle\right) \displaystyle=\prod_{j=1}^{d}\exp\left(2\pi\mathrm{i}\,a_{j}x_{j}\right)=\prod_{j=1}^{d}\exp\left(2\pi\mathrm{i}\,a_{j}\frac{l_{j}}{K_{j}}\right). Due to the fact that \frac{l_{j}}{K_{j}}\left(\prod_{k=1}^{M}k\right)b_{j}\in\mathds{N}_{0} for each j , we observe \displaystyle\exp\left(2\pi\mathrm{i}\langle\bm{a},\bm{x}\rangle\right) \displaystyle=\prod_{j=1}^{d}\left(\exp\left(2\pi\mathrm{i}\,a_{j}\frac{l_{j}}{K_{j}}\right)\exp\left(2\pi\mathrm{i}\,\frac{l_{j}}{K_{j}}\left(\prod_{k=1}^{M}k\right)b_{j}\right)\right) \displaystyle=\exp\left(2\pi\mathrm{i}\left\langle\bm{a}+\left(\prod_{k=1}^{M}k\right)\bm{b},\bm{x}\right\rangle\right). As a consequence, for the function f\colon\mathbb{T}^{d}\to\mathds{C} , \bm{x}\mapsto\exp\left(2\pi\mathrm{i}\langle\bm{a},\bm{x}\rangle\right)-\exp\left(2\pi\mathrm{i}\langle\bm{a}^{\prime},\bm{x}\rangle\right) , \bm{a}^{\prime}=\bm{a}+\left(\prod_{k=1}^{M}k\right)\bm{b} ,we observe f\in V(I_{\bm{a},\bm{b}}) and that the right hand side of ( 5.1 ) is zero independent of \bm{X}\subset\bm{R}^{M,d} , while the left hand side is not. ∎ Corollary 5.3 . For any n\in\mathds{N} , n\geq 2 , and M\in\mathds{N} there are index sets I\subset\mathds{Z}^{d} , |I|=n , such that ( 5.1 ) is violated for any lattice rule with not more than M elements. Proof. First we assume the lattice rule being a rank- m lattice rule with M^{\prime}\leq M sampling nodes \bm{X} . Moreover, we assume that an expression of the lattice rule is given in canonical form, cf. [ 49 , Theorem 4.5] , which implies that each used sampling node \bm{x}\in\bm{X} can be written as \bm{x}=\frac{j_{1}\bm{z}_{1}}{M_{1}^{\prime}}+\cdots+\frac{j_{m}\bm{z}_{m}}{M_{m}^{\prime}}\operatorname{mod}\mathds{1}\,, where j_{1},\dots,j_{m}\in\mathds{N}_{0} , \bm{z}_{1},\dots,\bm{z}_{m}\in\mathds{Z}^{d} , and M^{\prime}=\prod_{j=1}^{m}M_{j}^{\prime} . Obviously, each component of each sampling node \bm{x}\in\bm{X}\subset[0,1)^{d} can be written as a rational with denominator at most M^{\prime} , which means that \bm{X}\subset\bm{R}^{M^{\prime},d}\subset\bm{R}^{M,d} and we can apply Theorem 5.2 and subsequently add arbitrary indices from \mathds{Z}^{d} to I until |I|=n is reached. ∎ Remark 5.4 . The index sets and fooling functions constructed in the proofs of Theorem 5.2 and Corollary 5.3 can also be applied to ( 4.2 ) with \Omega=\mathbb{T}^{d} , V_{n}=V(I) , and d\mu(x) the normalized Lebesgue measure. Consequently, sampling sets consisting of rational sampling nodes with bounded denominators do not provide exact L_{p} -MZ discretizations for arbitrary spans V(I) , |I|0 there exist M\leq\frac{6}{\varepsilon^{2}}|I|\log|I| uniformly drawn points \bm{x}^{1},\dots,\bm{x}^{M} such that with high probability it holds for all f\in V the tight bound (1-\varepsilon)\int_{\mathbb{T}^{d}}|f(\bm{x})|^{2}\;\mathrm{d}\bm{x}\leq\frac{1}{M}\sum_{i=1}^{M}|f(\bm{x}^{i})|^{2}\leq(1+\varepsilon)\int_{\mathbb{T}^{d}}|f(\bm{x})|^{2}\;\mathrm{d}\bm{x}\,. (5.4) Random points show the existence of L_{2} -MZ inequalities with logarithmic instead of quadratic oversampling but loose the exactness condition. 4. Constant oversampling [ 4 ] , [ 51 ] , [ 3 ] . Let b>1 and M=\lceil b|I|\rceil . Then there exist subsampled random points \bm{x}^{1},\dots,\bm{x}^{M}\in\mathbb{T}^{d} and positive weights w_{1},\dots,w_{M} such that it holds for all f\in V that \int_{\mathbb{T}^{d}}|f(\bm{x})|^{2}\;\mathrm{d}\bm{x}\leq\sum_{i=1}^{M}w_{i}|f(\bm{x}^{i})|^{2}\leq\left(\frac{\sqrt{b}+1}{\sqrt{b}-1}\right)^{2}\int_{\mathbb{T}^{d}}|f(\bm{x})|^{2}\;\mathrm{d}\bm{x}\,. Here the question arises if constant weights can be used here. Based on the groundbreaking works by Marcus, Spielman, Srivastava [ 39 ] and Nitzan, Olevskii, Ulanovskii [ 41 ] one should mention the following recent result by Kosov [ 33 , Cor. 1.3] . If \varepsilon>0 then there is a set of M points \bm{x}^{1},...,\bm{x}^{M}\in\mathbb{T}^{d} with M\leq 10^{5}\varepsilon^{-2}|I| such that ( 5.4 ) holds. All these results show discretization inequalities for the square norm with merely linear oversampling. The last one even gives a tight bound with \varepsilon -distortion. 5.2 The d -sphere Let \mathds{S}^{d}=\{\bm{x}\in\mathds{R}^{d+1}:\|\bm{x}\|=1\} be the unit sphere with dimension d and let \mu(\bm{x}) be the normalized surface measure. We have a look at the space of polynomials of degree at most m restricted to the sphere \Pi_{m}\coloneqq\Span\Big\{f:\mathds{S}^{d}\to\mathds{R}\penalty\ :\penalty\ f(\bm{x})=\bm{x}^{\bm{k}}=x_{1}^{k_{1}}\cdots x_{d}^{k_{d}},\bm{k}\in\mathds{N}_{0}^{d},\,\|\bm{k}\|_{1}\leq m\Big\}\,. These are commonly used in approximation on the sphere as they can be represented by spherical harmonics allowing for applying analytic tools and fast algorithms, cf. [ 17 ] . For the dimension of this space, we have by [ 17 , Corollary 1.1.5] \dim\Pi_{m}=\binom{m+d}{d}+\binom{m+d-1}{d}\leq\Big(\frac{9m}{d}\Big)^{d}\,, where d\leq m and \binom{n}{k}\leq(n\cdot e/k)^{k} was used in the last inequality. Theorem 5.5 . Let m\geq d , p\in\mathds{N} even. There exist points \bm{x}^{1},\dots,\bm{x}^{N} in \mathds{S}^{d} and positive weights w_{1}+\dots+w_{N}=1 with N\leq\dim(\Pi_{pm})\leq(9pm/d)^{d} such that \int_{\mathds{S}^{d}}|f(\bm{x})|^{p}\;\mathrm{d}\mu(\bm{x})=\sum_{i=1}^{N}w_{i}|f(\bm{x}^{i})|^{p}\quad\text{for all}\quad f\in\Pi_{m}\,. Proof. The proof works analogous to Corollary 4.4 : Using a basis of \Pi_{m}=\Span\{\varphi_{1},\dots,\varphi_{\dim(\Pi_{m})}\} we define the space W_{m}=\Span\Big\{\varphi_{1}^{k_{1}}\cdots\varphi_{\dim(\Pi_{m})}^{k_{n}}:k_{1},\dots,k_{n}\in\mathds{N}_{0},\,k_{1}+\dots+k_{n}=\frac{p}{2}\Big\}\,. Because of the polynomial structure, we have W_{m}=\Pi_{pm/2} . It is left to apply Theorem 4.1 to \Pi_{pm/2} and use \dim(\{f\cdot\overline{g}:f,g\in\Pi_{pm/2}\})=\dim(\Pi_{pm})\leq(9pm/d)^{d} . Because \mathds{1}_{\mathds{S}^{d}}\in\Pi_{m} for all m , the number of points can be reduced to \dim(\Pi_{pm}) instead of \dim(\Pi_{pm})+1 by the same reasoning as in Corollary 5.1 . ∎ Next, we compare Theorem 5.5 to existing results. 1. For \mathds{S}^{2} the assertion above gives the existence of an exact L_{2} -MZ inequality for N\leq(2m+1)^{2} points, which matches the lower bound of N\geq m(m+1)/2 in terms of the rate from [ 16 ] . 2. Similar to the torus, one can draw uniform points \{\bm{x}^{1},\dots,\bm{x}^{M}\}\subset\mathds{S}^{d} with M\geq C\dim(\Pi_{m})\log(\dim\Pi_{m})\varepsilon^{-2} at random to obtain an equal-weight, non-exact L_{2} -MZ inequality, i.e., (1-\varepsilon)\|f\|_{L_{2}(\mu)}^{2}\leq\frac{1}{M}\sum_{i=1}^{M}|f(\bm{x}^{i})|^{2}\leq(1+\varepsilon)\|f\|_{L_{2}(\mu)}^{2}\quad\text{for all}\quad f\in\Pi_{m}\,. This result is stated in [ 22 , Theorem 3.2] . 3. Furthermore, in [ 22 , Theorem 4.1] the existence of M points with M\leq C\dim(\Pi_{m})\varepsilon^{-d} was shown which simultaneously fulfill an equal-weight, non-exact L_{p} -MZ inequality for p\in[1,\infty] . Moving on to exact quadrature, we immediately obtain the following result. Theorem 5.6 . Let m\geq d . There exist points \bm{x}^{1},\dots,\bm{x}^{N} in \mathds{S}^{d} and positive weights w_{1}+\dots+w_{N}=1 with N\leq\dim(\Pi_{m})\leq(9m/d)^{d} such that \int_{\mathds{S}^{d}}f(\bm{x})\;\mathrm{d}\mu(\bm{x})=\sum_{i=1}^{N}w_{i}f(\bm{x}^{i})\quad\text{for all}\quad f\in\Pi_{m}\,. Proof. The proof works analogous to Theorem 4.3 . But since we have real-valued basis functions and \mathds{1}_{\mathds{S}^{d}}\in\Pi_{m} for all m , we use the conical variant of Carathéodory’s Theorem (as in Corollary 5.1 ) in order to obtain \dim(\Pi_{m}) points instead of 2\dim(\Pi_{m})+1 . ∎ Quadrature formulas of the above type with equal weights are called t -designs introduced in [ 18 ] (or m -design according to our notation, where m is the degree of the polynomial). The equal weight condition makes this problem much harder and only a limited number of constructions of spherical designs are known. However, there are also approaches to obtain spherical designs being exact up to machine precision numerically, cf. [ 54 , 25 ] . Let us also mention [ 1 ] , where the authors use a similar technique of maximizing a certain Gram determinant (for the case d=2 ) in order to computationally construct well-conditioned spherical design with a number of points M\geq(m+1)^{2} points. In general the existence of spherical designs is known with the optimal asymptotic rate M\geq C_{d}m^{d} , cf. [ 5 , Thm. 1] . This matches the number of points of our weighted result in Theorem 5.6 . 6 Numerical experiments In this section we test Algorithm 2 numerically in order to obtain points and weights forming an exact L_{2} -MZ inequality. For that let us assume a product type basis \varphi_{\bm{k}}(\bm{x})=\varphi_{k_{1}}(x_{1})\cdots\varphi_{k_{d}}(x_{d}) and, as before, \bm{\varphi}(x)=(\varphi_{\bm{k}}(\bm{x}))_{\bm{k}\in I}^{\top} for some multi-index set I . For the minimization process we use the Broyden–Fletcher–Goldfarb–Shanno (BFGS) algorithm, which is an iterative quasi-Newton optimizer for unconstrained non-linear optimization problems, in order to update the points and weights in an alternating fashion. It uses the objective function \displaystyle f(\bm{x}^{1},\dots,\bm{x}^{N+1},\alpha_{1},\dots,\alpha_{N+1})=\Big\|\sum_{i=1}^{N+1}\alpha_{i}\bm{\varphi}(\bm{x}^{i})\cdot\bm{\varphi}(\bm{x}^{i})^{\ast}-\bm{I}_{m}\Big\|_{F}^{2}=\sum_{\bm{k},\bm{l}\in I}\Big|\sum_{i=1}^{N+1}\alpha_{i}\varphi_{\bm{k}}(\bm{x}^{i})\overline{\varphi_{\bm{l}}(\bm{x}^{i})}-\delta_{\bm{k}\bm{l}}\Big|^{2}\,. and the partial derivatives: noting that for any complex numbers z_{1} and z_{2} it holds \operatorname{Re}(z_{1})\operatorname{Re}(z_{2})+\operatorname{Im}(z_{1})\operatorname{Im}(z_{2})=\operatorname{Re}(z_{1}\overline{z_{2}}) , they evaluate to \displaystyle\frac{\partial f}{\partial x_{j}^{i^{\prime}}} \displaystyle=\sum_{\bm{k},\bm{l}\in I}2\operatorname{Re}\Big(\sum_{i=1}^{N+1}\alpha_{i}\varphi_{\bm{k}}(\bm{x}^{i})\overline{\varphi_{\bm{l}}(\bm{x}^{i})}-\delta_{\bm{k},\bm{l}}\Big)\operatorname{Re}\Big(\alpha_{i^{\prime}}\varphi_{\bm{k}}(\bm{x}^{i^{\prime}})\Big(\frac{\partial}{\partial x_{j}^{i^{\prime}}}\overline{\varphi_{\bm{l}}(\bm{x}^{i^{\prime}})}\Big)+\alpha_{i^{\prime}}\Big(\frac{\partial}{\partial x_{j}^{i^{\prime}}}\varphi_{\bm{k}}(\bm{x}^{i^{\prime}})\Big)\overline{\varphi_{\bm{l}}(\bm{x}^{i^{\prime}})}\Big) \displaystyle\quad+2\operatorname{Im}\Big(\sum_{i=1}^{N+1}\alpha_{i}\varphi_{\bm{k}}(\bm{x}^{i})\overline{\varphi_{\bm{l}}(\bm{x}^{i})}-\delta_{\bm{k},\bm{l}}\Big)\operatorname{Im}\Big(\alpha_{i^{\prime}}\varphi_{\bm{k}}(\bm{x}^{i^{\prime}})\Big(\frac{\partial}{\partial x_{j}^{i^{\prime}}}\overline{\varphi_{\bm{l}}(\bm{x}^{i^{\prime}})}\Big)+\alpha_{i^{\prime}}\Big(\frac{\partial}{\partial x_{j}^{i^{\prime}}}\varphi_{\bm{k}}(\bm{x}^{i^{\prime}})\Big)\overline{\varphi_{\bm{l}}(\bm{x}^{i^{\prime}})}\Big) \displaystyle=4\alpha_{i^{\prime}}\operatorname{Re}\Big(\sum_{\bm{k},\bm{l}\in I}\overline{\varphi_{\bm{k}}(\bm{x}^{i^{\prime}})}\Big(\sum_{i=1}^{N+1}\alpha_{i}\varphi_{\bm{k}}(\bm{x}^{i})\overline{\varphi_{\bm{l}}(\bm{x}^{i})}-\delta_{\bm{k}\bm{l}}\Big)\Big(\frac{\partial}{\partial x_{j}^{i^{\prime}}}\varphi_{\bm{l}}(\bm{x}^{i^{\prime}})\Big)\Big) \displaystyle=4\alpha_{i^{\prime}}\operatorname{Re}\Big(\bm{\varphi}(\bm{x}^{i^{\prime}})^{\ast}\Big(\sum_{i=1}^{N+1}\alpha_{i}\bm{\varphi}(\bm{x}^{i})\cdot\bm{\varphi}(\bm{x}^{i})^{\ast}-\bm{I}_{m}\Big)\frac{\partial}{\partial x_{j}^{i^{\prime}}}\bm{\varphi}(\bm{x}^{i^{\prime}})\Big) and \frac{\partial f}{\partial\alpha_{i^{\prime}}}=2\operatorname{Re}\Big(\bm{\varphi}(\bm{x}^{i^{\prime}})^{\ast}\Big(\sum_{i=1}^{N+1}\alpha_{i}\bm{\varphi}(\bm{x}^{i})\cdot\bm{\varphi}(\bm{x}^{i})^{\ast}-\bm{I}_{m}\Big)\bm{\varphi}(\bm{x}^{i^{\prime}})\Big)\,. In our experiments, we use trigonometric polynomials \varphi_{\bm{k}}(\bm{x})=\exp(2\pi\mathrm{i}\langle\bm{k},\bm{x}\rangle) for different frequency index sets I\in\mathds{Z}^{d} and dimensions d . The initial draw of points is made randomly and the weights are set to be equal. The optimization procedure is done several times for different initial draws to counteract a bad draw of points. Experiment 1 For the first experiments we use dimension d=2 and three different frequency index sets: An \ell_{1} -ball with |I_{1}|=41 frequencies, a hyperbolic cross with |I_{2}|=33 frequencies, i.e., I_{1}=\Big\{\bm{k}\in\mathds{Z}^{2}:\|\bm{k}\|_{1}\leq 4\Big\}\quad\text{and}\quad I_{2}=\Big\{\bm{k}\in\mathds{Z}^{2}:\prod_{j=1}^{2}(|k_{j}|+1)\leq 6\Big\} and the third choice is based on the argumentations leading to Corollary 5.3 with |I_{3}|=10 , where we know that the minimal lattice size is 113 for exact reconstruction and our theoretical bound is \dim\{V\cdot\overline{V}\}=91 : \displaystyle I_{3}=\Big\{ \displaystyle\begin{pmatrix}0\\ 0\end{pmatrix},\begin{pmatrix}2\,671\,704\\ 2\,671\,704\end{pmatrix},\begin{pmatrix}-3\,111\,990\\ 3\,111\,990\end{pmatrix},\begin{pmatrix}-4\,145\,974\\ -4\,145\,974\end{pmatrix},\begin{pmatrix}4\,520\,742\\ -4\,520\,742\end{pmatrix}, \displaystyle\begin{pmatrix}-5\,553\,600\\ -5\,553\,600\end{pmatrix},\begin{pmatrix}-6\,867\,835\\ 6\,867\,835\end{pmatrix},\begin{pmatrix}18\,119\,640\\ 18\,119\,640\end{pmatrix}\begin{pmatrix}39\,011\,940\\ -39\,011\,940\end{pmatrix},\begin{pmatrix}-39\,021\,892\\ 39\,021\,892\end{pmatrix},\Big\}\,. As for the number of points, we seeked the smallest number such that we still have exact reconstruction up to a certain threshold, i.e., an L_{2} -MZ constant of \|\sum_{i=1}^{N+1}\alpha_{i}\bm{\varphi}(\bm{x}^{i})\cdot\bm{\varphi}(\bm{x}^{i})^{\ast}-\bm{I}_{m}\|_{2\to 2}=\varepsilon<10^{-13} . -4 0 4 -4 0 4 -5 0 5 -5 0 5 [formula] [formula] [formula] [formula] [formula] [formula] 0 1 0 1 0 1 0 1 0 1 0 1 -ball () [formula] [formula] hyperbolic cross () [formula] bad frequencies () [formula] 0.024 0.025 [formula] 0.022 0.023 [formula] 0.000 0.010 0.020 [formula] Figure 1: Experiment 1: points and weights forming an exact L_{2} -MZ inequality for frequencies in an \ell_{1} -ball (left), a hyperbolic cross (middle), and 2 -dimensional bad frequencies (right). The outcome is depicted in Figure 1 . For the \ell_{1} -ball and the hyperbolic cross we obtain very regular sets of sampling nodes with almost equal weights, reminiscent of shifted rank-1 lattices. In particular, we achieve an oversampling factor of one for the \ell_{1} -ball, i.e., n=|I_{1}|=41 , where also a reconstructing lattice is known. The third frequency set I_{3} appears to be more challenging as we were not able to find points and weights for n<91 , which suggests the sharpness of our results. It is also an example of non-equal weights. We further tried several strategies to obtain an equal-weight exact L_{2} -MZ inequality by only optimizing the points but did not succeed with our algorithm. Experiment 2 Now we want to explore a possible dimension-dependence of the needed number of points for an exact L_{2} -MZ inequality. We chose 20 random frequencies in \{-100,\dots,100\}^{d} for d=1,\dots,7 . We applied Algorithm 2 varying the number of points n\in\{20,\dots,300\} and computed the L_{2} -MZ constants of the results. For each n , we started with 50 different random initial draws of n points and used the best result. Here, also the weights are set equal to \alpha_{i}=1/n as the outcome did not differ compared to optimizing the weights as well. [formula] [formula] [formula] 0 100 200 300 [formula] [formula] [formula] 0 100 200 number of points random frequencies () [formula] number of points -dimensional bad frequencies () [formula] [formula] Figure 2: Depiction of the L_{2} -MZ constant \varepsilon=\|\sum_{i=1}^{N+1}\alpha_{i}\bm{\varphi}(\bm{x}^{i})\cdot\bm{\varphi}(\bm{x}^{i})^{\ast}-\bm{I}_{m}\|_{2\to 2} for: experiment 2 in d=1 , d=2 , d=3 , d=4 , d=5 , d=6 , and d=7 (left) and experiment 3 for d=1 with weights and without weights (right). The results are depicted in the left of Figure 2 . One can see that the threshold of finding a good L_{2} -MZ inequality is distinctly indicated by a sharp drop in the L_{2} -MZ constant \varepsilon=\|\sum_{i=1}^{N+1}\alpha_{i}\bm{\varphi}(\bm{x}^{i})\cdot\bm{\varphi}(\bm{x}^{i})^{\ast}-\bm{I}_{m}\|_{2\to 2} . This happens around in accordance of our bound with n=\dim\{V\cdot\overline{V}\}\leq 381 . Note, that for lower dimension this number may be smaller because of the fewer possibilities of differences. In particular, we have \dim\{V\cdot\overline{V}\}\approx 220 for d=1 , \dim\{V\cdot\overline{V}\}\approx 375 for d=2 . Furthermore, the results suggest a “blessing of dimensionality” as a good L_{2} -MZ inequality can be found with less points for higher dimensions. In particular, the below table shows the first n^{\star}(d) such that \varepsilon<10^{-10} with respect to the dimension d . d 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 n^{\star}(d) 241 192 129 97 78 66 56 49 44 39 36 33 31 29 27 25 24 23 20 20 \lfloor 400/d\rfloor 400 200 133 100 80 66 57 50 44 40 36 33 30 28 26 25 23 22 21 20 We added the values \lfloor 400/d\rfloor which are close to n^{\star}(d) suggesting an inverse linear dependence on the dimension. A similar effect for the sphere \mathds{S}^{d} is also discussed in [ 25 ] , where it is argued that with higher dimension there are more degrees of freedom to be utilized. Experiment 3 The third experiment aims to indicate the sharpness of our result. For that we choose d=1 and I=\{0 , 107\,062 , 124\,928 , 1\,033\,760 , 1\,414\,818 , 2\,142\,995 , 2\,820\,145 , 4\,210\,229 , 4\,645\,143 , 5\,264\,579\} . This is based on Corollary 5.3 , where we know that the minimal lattice size is 103 for exact reconstruction and our theoretical bound is \dim\{V\cdot\overline{V}\}=91 . Analogous to the second experiment, we computed the L_{2} -MZ constant varying the number of points n\in\{20,\dots,200\} . For each n , we started with 1\,000 different random initial draws of n points and used the best result. We repeated this experiment with and without optimizing the weights. The results are seen in the right of Figure 2 . The first observation is the improvement gained from utilizing non-equal weights. It seems it makes the optimization procedure more stable as we know of the existence of an exact L_{2} -MZ inequality for n=103 which the equal-weighted algorithm did not find. The weights in this case are non-equal. The second observation is the visible drop to finding an exact L_{2} -MZ inequality at n=91 , which is the same as our proposed bound for the needed number of points \dim\{V\cdot\overline{V}\} . While this does not show the non-existence of possibly even equal-weighted exact L_{2} -MZ inequalities for n\leq 90 , it is a numerical indication of the sharpness of our result. 7 Guaranteed and verifiable recovery in L_{2}(\mu) Let us consider a recovery problem, which has been first addressed by Wasilkowski and Woźniakowski [ 53 ] in 2001 and drew a lot of attention in the past 6 years [ 35 , 40 , 21 , 3 ] . In this section we will comment on the problem how to practically find stable recovery algorithms and suitable points which are guaranteed to recover any function from the unit ball in a RKHS H(k) with a prescribed accuracy in L_{2}(\mu) . In certain special case like Besov-Sobolev-spaces with dominating mixed smoothness, sparse grid and Smolyak type algorithms serve as a practical near optimal way to recover such functions, see [ 15 , Chapt. 5] . Other approaches include rank- 1 -lattice algorithms, see, e.g., [ 30 ] or [ 36 , Sect. 6] , and versions thereof [ 2 ] . The question arises whether it is possible to mimic such constructive approaches in the general setting of a reproducing kernel Hilbert space where we have access to the most important eigenfunctions of the embedding operator into L_{2}(\mu) . Our attempt will be to construct an exact L_{2} -discretization on the subspace spanned by these eigenfunctions via D -optimal designs. This is supposed to mimic the construction of a reproducing rank- 1 -lattice on spaces of trigonometric polynomials for given frequency sets in \mathds{Z}^{d} , like hyperbolic crosses, see [ 28 , 29 , 36 ] . Given a probability measure \mu on a compact topological space \Omega and a bounded, continuous Mercer kernel k(\cdot,\cdot):\Omega\times\Omega\to\mathds{C} we will construct a direct recovery algorithm for this specific situation using D -optimal designs. We start with the Mercer decomposition of the kernel k(\cdot,\cdot) which is k(x,y)=\sum\limits_{j=1}^{\infty}\sigma_{j}^{2}\psi_{j}(x)\overline{\psi_{j}(y)}\,. (7.1) Here the system (\psi_{j}(\cdot))_{j} represents the system of orthonormal (w.r.t measure \mu ) eigenfunctions of the corresponding integral operator with respect to the kernel k(\cdot,\cdot) mapping from L_{2}(\mu) to L_{2}(\mu) . The sequence (\sigma_{j}^{2})_{j\in\mathds{N}} represents the corresponding non-increasing sequence of non-negative eigenvalues satisfying \int_{\Omega}k(x,x)\,d\mu(x)=\sum_{j=1}^{\infty}\sigma_{j}^{2}<\infty\,. Let us fix n<\dim(H(k)) and assume that we have access to the first n (largest) singular values \sigma_{j} , the corresponding functions \psi_{j}(\cdot) and the truncated trace k_{n}(x,x):=\sum\limits_{j=1}^{n}\sigma_{j}^{2}|\psi_{j}(x)|^{2}\,. We construct the sampling points and the linear sampling recovery operator S^{k,\mu}_{n,N}:H(k)\to L_{2}(\mu) and start with the density function \omega_{n}(x):=\frac{1}{2}+\frac{k(x,x)-k_{n}(x,x)}{2\int_{\Omega}(k(x,x)-k_{n}(x,x))\,d\mu(x)}=\frac{1}{2}+\frac{\sum\limits_{j=n+1}^{\infty}\sigma_{j}^{2}|\psi_{j}(x)|^{2}}{2\sum\limits_{j=n+1}^{\infty}\sigma_{j}^{2}}\,. (7.2) Clearly, \int_{\Omega}\omega_{n}(x)\;\mathrm{d}\mu(x)=1 . We continue applying Proposition 3.1 to the modified system \varphi_{j}(\cdot):=\frac{\psi_{j}(\cdot)}{\sqrt{\omega_{n}(\cdot)}}\quad,\quad j=1,...,n\,. In particular, we apply Algorithm 2 to the system (\varphi_{j}(\cdot))_{j=1}^{n} and obtain points (x_{i})_{i=1}^{N} with N\leq n^{2}+1 , and weights (\lambda_{i})_{i=1}^{N} summing up to 1 such that the system matrix {\bm{A}}={\bm{D}}_{\bm{\lambda}}^{1/2}\cdot{\bm{D}}_{\bm{\gamma}}^{-1/2}\cdot{\bm{\Psi}} for the linear system \begin{pmatrix}\sqrt{\frac{\lambda_{1}}{\omega_{n}(x^{1})}}\psi_{1}(x^{1})&\dots&\sqrt{\frac{\lambda_{1}}{\omega_{n}(x^{1})}}\psi_{n}(x^{1})\\ \vdots&\ddots&\vdots\\ \sqrt{\frac{\lambda_{N}}{\omega_{n}(x^{N})}}\psi_{1}(x^{N})&\dots&\sqrt{\frac{\lambda_{N}}{\omega_{n}(x^{N})}}\psi_{n}(x^{N})\\ \end{pmatrix}\cdot\begin{pmatrix}c_{1}\\ \vdots\\ c_{n}\end{pmatrix}=\begin{pmatrix}\sqrt{\frac{\lambda_{1}}{\omega_{n}(x^{1})}}f(x^{1})\\ \vdots\\ \sqrt{\frac{\lambda_{N}}{\omega_{n}(x^{N})}}f(x^{N})\end{pmatrix} has orthonormal columns. Introducing the matrices {\bm{\Psi}}:=(\psi_{k}(x^{j}))_{j,k} , {\bm{D}}_{{\bm{\lambda}}}:=\operatorname{diag}(\lambda_{1},...,\lambda_{n}) and {\bm{D}}_{\bm{\omega}}:=\operatorname{diag}(\omega_{n}(x^{1}),...,\omega_{n}(x^{N})) we find \bm{c}=({\bm{D}}_{\bm{\lambda}}^{1/2}\cdot{\bm{D}}_{\bm{\omega}}^{-1/2}\cdot{\bm{\Psi}})^{\ast}\cdot{\bm{D}}_{\bm{\lambda}}^{1/2}\cdot{\bm{D}}_{\bm{\omega}}^{-1/2}\cdot{\bm{f}}={\bm{\Psi}}^{\ast}\cdot{\bm{D}}_{\bm{\lambda}}\cdot{\bm{D}}^{-1}_{\bm{\omega}}\cdot{\bm{f}}\,, where \bm{f}=(f(x^{1}),...,f(x^{N}))^{T}=N(f) , \bm{c}=(c_{1},\dots,c_{n})^{T} . The operator S^{k,\mu}_{n,N}:H(K)\to L_{2}(\mu) is finally given by S^{k,\mu}_{n,N}:=E_{n}\circ{\bm{A}}^{\ast}\circ{\bm{D}}_{\bm{\lambda}}^{1/2}\circ{\bm{D}}_{\bm{\omega}}^{-1/2}\circ N with N\penalty\ :\penalty\ f\mapsto(f(x^{1}),...,f(x^{N}))^{T} and E_{n}\penalty\ :\penalty\ \bm{c}\mapsto\sum_{j=1}^{n}c_{j}\psi_{j} . This implies that the computation of S^{k,\mu}_{n,N}f is possible in O(n\cdot N) arithmetic operations. Note, that N\leq n^{2}+1 , see Proposition 3.1 . In [ 21 ] the authors improve on a result in [ 40 ] and [ 3 ] and give an asymptotically sharp result in terms of the number of samples n in cases where the singular values decay fast enough. It is shown that there is an algorithm A_{n} which uses N=43200\cdot 866\cdot n points such that for all \|f\|_{H(k)}\leq 1 \|f-A_{n}(f)\|_{L_{2}(\mu)}^{2}\leq\frac{1}{n}\sum\limits_{j\geq n}\sigma_{j}^{2}\,. Despite its sharpness, the results in [ 21 , 40 ] have two main drawbacks. Although the number of samples N scales linearly in the dimension n of the subspace, the oversampling constant may be huge. In addition, the point set is highly non-constructive and only its existence is proved. Also the non-optimal results in [ 35 , 31 , 3 ] propose points which are the result of a random draw that can not be “verified”. The following theorem is a first “verifiable” attempt which guarantees the proposed accuracy. We refine an approach by Gröchenig [ 27 ] , where error estimates for function classes are obtained from given Marcinkiewicz-Zygmund families. Here we use the exact ones from Section 3 which lead to direct algorithms. Theorem 7.1 . Let \Omega be a compact topological measurable space with a Borel probability measure \mu and k(\cdot,\cdot):\Omega\times\Omega\to\mathds{C} a Mercer kernel. Then the sampling recovery algorithm S^{k,\mu}_{n,N}:H(k)\to L_{2}(\mu) defined above yields the recovery bound \sup\limits_{\|f\|_{H(k)\leq 1}}\|f-S^{k,\mu}_{n,N}f\|_{L_{2}(\mu)}^{2}\leq 3\sum\limits_{j\geq n+1}\sigma_{j}^{2}\leq 3\,c_{n}(H(k),C(\Omega))^{2}\,, (7.3) where c_{n}(H(k),C(\Omega)) denotes the n th Gelfand number of the identity operator from H(k) into C(\Omega) . In addition, S^{k,\mu}_{n,N}f uses N\leq n^{2}+1 many function samples and a value S^{k,\mu}_{n,N}f(x) can be directly and accurately computed with less than c\cdot n^{3} arithmetic operations, where c>0 is an absolute constant. Proof. Let the projection operator A_{n}:H(k)\to L_{2}(\mu) be given as A_{n}f:=\sum\limits_{j=1}^{n}\langle f,\sigma_{j}\psi_{j}\rangle_{H(k)}\sigma_{j}\psi_{j}(\cdot)\,. By a straight-forward computation we get for all x\in\Omega |f(x)-A_{n}f(x)|^{2}\leq\|f\|_{H(k)}^{2}\cdot\sum\limits_{j=n+1}^{\infty}\sigma_{j}^{2}|\psi_{j}(x)|^{2} (7.4) but also \|f-A_{n}f\|^{2}_{L_{2}(\mu)}\leq\sigma_{n+1}^{2}\|f\|^{2}_{H(k)} which will be used in the following estimation. Fix f\in H(k) with \|f\|_{H(k)}\leq 1 . By L_{2}(\mu) -orthogonality we have \begin{split}\|f-S^{k,\mu}_{n,N}f\|_{L_{2}(\mu)}^{2}&=\|f-A_{n}f\|_{L_{2}(\mu)}^{2}+\|A_{n}f-S^{k,\mu}_{n,N}f\|_{L_{2}(\mu)}^{2}\\ &=\sigma_{n+1}^{2}+\|S^{k,\mu}_{n,N}(A_{n}f-f)\|_{L_{2}(\mu)}^{2}\\ &=\sigma_{n+1}^{2}+\|E_{n}\circ{\bm{A}}^{\ast}\circ{\bm{D}}_{\bm{\lambda}}^{1/2}\circ{\bm{D}}_{\bm{\omega}}^{-1/2}\circ N(A_{n}f-f)\|^{2}_{L_{2}(\mu)}\\ &=\sigma_{n+1}^{2}+\Big\|{\bm{A}}^{\ast}\circ{\bm{D}}_{\bm{\lambda}}^{1/2}\circ{\bm{D}}_{\bm{\omega}}^{-1/2}\circ N(A_{n}f-f)\Big\|^{2}_{\ell_{2}^{n}}\\ &\leq\sigma_{n+1}^{2}+\Big\|{\bm{D}}_{\bm{\lambda}}^{1/2}\circ{\bm{D}}_{\bm{\omega}}^{-1/2}\circ N(A_{n}f-f)\Big\|^{2}_{\ell_{2}^{N}}\\ &\leq\sigma_{n+1}^{2}+\sum\limits_{i=1}^{N}\lambda_{i}\frac{|f(x^{i})-A_{n}f(x^{i})|^{2}}{\omega_{n}(x^{i})}\\ \end{split} (7.5) In the last but one estimate we used that \|{\bm{A}}^{\ast}\|_{2\to 2}=\|\bm{A}\|_{2\to 2}=1 . Taking ( 7.2 ) and ( 7.4 ) into account yields \|f-S^{k,\mu}_{n,N}f\|_{L_{2}(\mu)}^{2}\leq\sigma_{n+1}^{2}+2\sum\limits_{j=n+1}^{\infty}\sigma_{j}^{2}\sum\limits_{i=1}^{N}\lambda_{i}\leq 3\sum\limits_{j=n+1}^{\infty}\sigma_{j}^{2}\,. The second inequality in ( 7.3 ) follows from [ 14 , Lem. 3.3] and the fact that Gelfand and approximation numbers coincide in our situation, see [ 43 , Thm. 4.8] . ∎ Remark 7.2 (Point cloud constructions) . Recent approaches for obtaining point clouds involve an initial random draw, see [ 35 , 40 , 3 , 21 ] . Our approach characterizes the point set via a maximum search for determinants / Frobenius norms. In special cases, i.e., rank- 1 -lattices, one may prove better results [ 9 ] , [ 2 ] . In addition, so-called sparse grids yield another constructive approach for suitable point clouds which work particularly well in the special case of mixed smoothness RKHS, see [ 15 ] and [ 48 ] . We may further BSS-subsample [ 3 ] the points obtained in the optimization process to get a similar bound with fewer points like in [ 34 ] . The right-hand side in ( 7.3 ) keeps valid up to constants, whereas the number of point samples shrinks to N=O(n) . The subsampling is constructive. Remark 7.3 (Direct and stable recovery algorithms) . Using points from an exact L_{2} -MZ inequality gives a direct and stable method to obtain the approximation, i.e., only a multiplication with the perfectly conditioned adjoint system matrix \bm{A} is needed rather than a matrix inversion. With the naive matrix-vector multiplication, this yields a computational complexity of \mathcal{O}(n\cdot N)=\mathcal{O}(n^{3}) when using n basis functions. In contrast to that, current subsampling techniques yield N=O(n) many points with a near-optimal error behavior with respect to the number of points [ 3 , 2 ] . These points do not fulfill an exact L_{2} -MZ inequality and one usually computes the approximation by (weighted) least squares algorithms. With r iterations, this gives a computational complexity of \mathcal{O}(r\cdot n\cdot N)=\mathcal{O}(r\cdot n^{2}) . For an exact solution r=n iterations could be necessary which yields also a computational complexity of \mathcal{O}(n^{3}) . However, the error decay is exponential in r and often only 20 iterations are sufficient, cf. [ 26 , Thm. 3.1.1] , which would yield a computational complexity of \mathcal{O}(n^{2}) . Acknowledgement. KP would like to acknowledge support by the Philipp Schwartz Fellowship of the Alexander von Humboldt Foundation. TU and FB acknowledge support by the European Union, European Social Fund ESF-Plus, Saxony, where this work was part of the research project ReSIDA-H2. LK gratefully acknowledges funding by the Deutsche Forschungsgemeinschaft (DFG, German Research Foundation) – project number 380648269.