HW3
HW3
1
Problems
Theory
1. Let (ℋ, ‖ · ‖, ⟨·, ·⟩) be an RKHS of functions from a set 𝒳 → R, with kernel 𝐾. Given a pointset
𝑋 = {𝑥1 , . . . , 𝑥𝑚 } ⊂ 𝒳 consider the interpolation problem
{︃
minimize𝑢∈ℋ ‖𝑢‖
subject to 𝑢(𝑋) = y.
Suppose the 𝑥𝑚 are distinct and that 𝐾(𝑋, 𝑋) is invertible. Prove that the minimizer 𝑢⋆ is given by
the formula
𝑢⋆ = 𝐾(·, 𝑋)𝐾(𝑋, 𝑋)−1 y. (1)
2. Let (ℋ, ‖ · ‖, ⟨·, ·⟩) be an RKHS of functions from a set 𝒳 → R, with kernel 𝐾.
(a) Let 𝜑 ∈ ℋ* , be a bounded linear functional on ℋ. Show that the function 𝐾𝜑 : 𝑥 ↦→ 𝜑(𝐾(·, 𝑥))
(this simply means the functional 𝜑 is applied to 𝐾(·, 𝑥) as a function from 𝒳 → R for each fixed
𝑥) is the Riesz representer of 𝜑 with respect to the RKHS inner product. That is,
Hint: (i) First consider the case of 𝑓 belonging to the pre-Hilbert space ℋ0 ; (ii) Observe that
by taking 𝜑 to be the pointwise evaluation functional (2) is nothing more than the reproducing
property.
(b) Consider the setting of Problem 2. Let 𝜑1 , . . . , 𝜑𝑚 ∈ ℋ* be a sequence of bounded linear functionals
on ℋ. Show that the orthogonal complement of span{𝐾𝜑1 , . . . , 𝐾𝜑𝑚 } is precisely the subspace
{𝑓 ∈ ℋ | 𝜑𝑗 (𝑓 ) = 0, 𝑗 = 1, . . . , 𝑚}.
𝜑 : ℋ → R𝑚 , 𝜑 (𝑓 ) := (𝜑1 (𝑓 ), . . . , 𝜑𝑚 (𝑓 ))𝑇 ,
Consider the matrix Θ ∈ R𝑚×𝑚 with entries Θ𝑖𝑗 = 𝜑𝑖 (𝐾𝜑𝑗 ). Prove that whenever Θ is invertible
then the minimizer 𝑢⋆ is given by the formula
𝑚
𝛼 ⋆ = Θ−1 y.
∑︁
𝑢⋆ = 𝛼𝑗⋆ 𝐾𝜑𝑗 , where
𝑗=1
Hint: Observe that if the 𝜑𝑗 = 𝛿𝑥𝑗 were pointwise evaluation functionals at a set of points
𝑋 = {𝑥1 , . . . , 𝑥𝑚 } then the above result coincides with formula (1).
Computation
Prepare a report of a maximum of four pages for this computational exercise addressing the
tasks outlined below as well as pertinent mathematical background, algorithmic details, and
your findings.
In this problem you will use a specific construction of the graph Laplacian operator to approximate the
Laplacian differential operator on arbitrary domains. In parts 1–4 you work on the unit box and verify that
the eigenvectors of the graph Laplacian converge to those of the differential operator. In part 5, you modify
the domain to an L-shaped domain. In correspondence with the literature on graph Laplacians here we
assume the eigenvalues of matrices are ordered in increasing order. Some of the calculations here can be
expensive and the matrices can become quite large. Make sure you take advantage of sparse matrices and
benchmark your code with small data sets.
1. Let Ω = [0, 1]2 ⊂ R2 and let 𝑥1 , . . . , 𝑥𝑚 be uniformly distributed random points in Ω. We define
𝑋 = {𝑥1 , . . . , 𝑥𝑚 } to be our set of scattered data points and define the weighted graph 𝐺 = {𝑋, 𝑊 }
with the weight matrix 𝑊 ∈ R𝑚×𝑚 as
(𝜋𝜀2 )−1
{︃
𝑡 ≤ 𝜀,
𝑤𝑖𝑗 = 𝜅𝜀 (‖x𝑖 − x𝑗 ‖2 ), where 𝜅𝜀 (𝑡) :=
0 𝑡 > 𝜀.
The parameter 𝜀 > 0 controls the bandwidth of the kernel 𝜅 and in turn the local connectivity of the
graph 𝐺. Throughout this assignment we choose
log(𝑚)3/4
𝜀=𝐶 ,
𝑚1/2
where 𝐶 > 0 is a constant (you should find that 𝐶 = 1 is sufficient but feel free to tune this number).
Let 𝐿 = 𝐷 − 𝑊 be the unnormalized graph Laplacian matrix of 𝐺 and fix 𝑚 = 2048. Then compute
the first four eigenvectors of 𝐿, i.e., those corresponding to the four smallest eigenvalues of 𝐿. Present
a plot of these four eigenvectors as functions over Ω; you may use 3D scatter plots or contour plots.
2. Now consider the differential operator
(︃ )︃
𝜕2𝑓 𝜕2𝑓
ℒ𝑓 ↦→ − 2 + ,
𝜕𝑥1 𝜕𝑥22
that is well-defined for functions 𝑓 : Ω ↦→ R that are twice continuously differentiable, i.e., 𝑓 ∈ 𝐶 2 (Ω).
Observe that for integers 𝑛, 𝑘 ≥ 0, the functions
ℒ𝜓 = 𝜆(𝑛, 𝑘)𝜓, in Ω,
∇𝜓 · n = 0, on Boundary of Ω.
where n denotes the outward unit normal vector on the boundary of Ω.
Now let q1 , . . . q4 ∈ R𝑚 be the eigenvectors of the graph Laplacian 𝐿 as computed in part 1, and define
the vectors 𝜓 1 , . . . , 𝜓 4 ∈ R𝑚 as follows
𝜓˜
𝑗
𝜓𝑗 = ,
˜
‖𝜓 ‖2 𝑗
˜ contain the point values of the first four eigenfunctions 𝜓(𝑥), at the vertices 𝑋.
where the entries of 𝜓 𝑗
Once again fix 𝑚 = 2048 and present a plot of the vectors 𝜓 1 , . . . 𝜓 4 akin to part 1. Inspect the plots
visually and comment on similarities and differences between q𝑗 and the 𝜓 𝑗 .
𝜓 1 , . . . , 𝜓 4 }. Choose 𝑚 = 27 , 25 , . . . , 210 . For each
3. We now wish to show that span{q1 , . . . , q4 } ≈ span{𝜓
value of 𝑚 proceed as in part 1 to generate the random points 𝑋, compute the corresponding value
of 𝜀(𝑚), and compute the four eigenvectors q1 , . . . , q4 . Also compute the vectors 𝜓 1 , . . . , 𝜓 4 as above.
Then define the matrices
i.e, the [0, 2]2 box with the top right quadrant removed. Take 𝑚 = 213 , generate uniformly random
points 𝑋 on Ω and proceed as in part 1 to plot the q7 , . . . , q10 eigenvectors of 𝐿.