Question 10
Let and on . Compare the continuous average inner product with its equally spaced sampling version: The sampled form may fail to be positive definite on functions even though it is positive definite on the vectors of sampled values.
Tasks
Compute the continuous Gram matrix of ; a Gram matrix has entries consisting of all pairwise inner products.
For , list both sample vectors and compute the sampled Gram matrix. Exhibit a nonzero continuous function in their span with zero sampled norm, and sketch the curves with the common sampled points.
For integer , derive using a finite geometric sum. Express every entry of the sampled Gram matrix in terms of .
Find the smallest integer for which the sampled Gram matrix equals the continuous one. Check every smaller candidate and explain why exactness for this pair does not imply exactness for all continuous functions.
Show solutionHide solution
Question 10 – Solution
Strategy. Distinguish continuous orthogonality from orthogonality of a finite set of sampled values.
Step 1: Compute the continuous matrix. Product-to-sum gives , while each sine has average square . Hence .
Step 2: Identify the four-point alias. At , both functions give . Thus The nonzero function vanishes at every sample, so its sampled norm is zero, although its continuous squared norm is one. The samples have lost the distinction.
Step 3: Derive the exact sampling formulas. Put . If divides , every summand equals one. Otherwise and . Taking real parts yields when , and otherwise. Product-to-sum now gives
Step 4: Find the smallest exact sample count. For the off-diagonal entry is ; for it is . For , the second diagonal entry is zero. For the off-diagonal entry is . None matches . For , none of is divisible by seven, so and seven is the smallest allowed count. This is exact only for the tested products: for example, vanishes at all seven sample points but has continuous average square .
See the diagram in the original worksheet below.