0% found this document useful (0 votes)
3 views

HW3

Homework 3 for AMATH 563 is due on May 12, 2023, and requires submission via Canvas. The assignment includes theoretical problems related to RKHS and graph Laplacians, as well as computational exercises involving eigenvalue problems and approximations on specified domains. Students are encouraged to collaborate but must submit their own work, adhering to strict academic integrity policies.

Uploaded by

cepem13540
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views

HW3

Homework 3 for AMATH 563 is due on May 12, 2023, and requires submission via Canvas. The assignment includes theoretical problems related to RKHS and graph Laplacians, as well as computational exercises involving eigenvalue problems and approximations on specified domains. Students are encouraged to collaborate but must submit their own work, adhering to strict academic integrity policies.

Uploaded by

cepem13540
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

Homework 3

AMATH 563, Spring 2023

Due on May 12, 2023 at midnight.

Directions, Reminders and Policies


• You must upload a pdf file of your HW to Canvas by the due date.
• Make sure your solutions are well-written, complete, and readable.
• I suggest you use LATEX(Overleaf is a great option) to prepare your HW and typeset your mathematical
equations.
• If you prefer to hand in a handwritten solution then simply scan and upload the pdf.
• Remember you have two extension tokens that you can use for a day extension for your HWs throughout
the quarter.
• I encourage collaborations and working with your colleagues to solve HW problems but you should only
hand in your own work. We have a zero tolerance policy when it comes to academic misconduct and
dishonesty including: Cheating; Falsification; Plagiarism; Engaging in prohibited behavior; Submitting
the same work for separate courses without the permission of the instructor(s); Taking deliberate action
to destroy or damage another person’s academic work. Such behavior will be reported to the
UW Academic Misconduct office without warning.

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,

𝜑(𝑓 ) = ⟨𝐾𝜑, 𝑓 ⟩. (2)

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, . . . , 𝑚}.

(c) Define the bounded linear operator

𝜑 : ℋ → R𝑚 , 𝜑 (𝑓 ) := (𝜑1 (𝑓 ), . . . , 𝜑𝑚 (𝑓 ))𝑇 ,

and consider the (generalized) interpolation problem


{︃
minimize𝑢∈ℋ ‖𝑢‖
subject to 𝜑 (𝑢) = y.

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).

˜ = 𝐷−1/2 (𝐷 − 𝑊 )𝐷−1/2 be the


3. Let 𝐿 = 𝐷 − 𝑊 ∈ R𝑛×𝑛 be the unnormalized Laplacian and let 𝐿
normalized Laplacian. Show that

˜ iff v = 𝐷1/2 u where u solves the generalized eigenvalue problem


(a) (𝜆, v) is an eigenpair of 𝐿
𝐿u = 𝜆𝐷u.
(b) Show that if 𝐺 is a disconnected graph without isolated vertices and with 𝑀 -connected components
then 𝐿˜ has an 𝑀 -dimensional null-space spanned by the weighted set functions 𝐷1/2 1𝐺 where
𝑗
1𝐺𝑗 is the indicator vector of the 𝑗-th connected component 𝐺𝑗 .
˜ are uniformly bounded. Can you say
(c) Show that 𝜆𝑗 ≤ 2 for all 𝑗 ≤ 𝑛, i.e., the eigenvalues of 𝐿
the same about the eigenvalues of 𝐿? Hint: Look up the Courant-Fisher-Weyl characterization of
eigenvalues.

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

𝜓(x) = cos(𝑛𝜋𝑥1 ) cos(𝑘𝜋𝑥2 ),

solve the Neumann eigenvalue problem for the operator ℒ, i.e.,

ℒ𝜓 = 𝜆(𝑛, 𝑘)𝜓, 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

𝑄 := [q1 | . . . |q4 ] ∈ R𝑚×4 , 𝜓 1 , . . . , 𝜓 4 ] ∈ R𝑚×4 ,


Ψ := [𝜓

and the projectors


𝑃𝑄 := 𝑄𝑄𝑇 , 𝑃Ψ := ΨΨ𝑇 .
Then compute the error
error(𝑚) := ‖𝑃𝑄 𝑃Ψ − 𝑃𝜓 𝑃𝑄 ‖𝐹 .
For each value of 𝑚, compute this error over at least 30 trials where the points in 𝑋 are redrawn at
random. Present a loglog plot of the average error as a function of 𝑚.
4. Hopefully the above results have convinced you that the spectrum of 𝐿 converges to that of ℒ as
𝑚 → ∞, albeit slowly. We now use this observation to approximate the spectrum of ℒ on non-standard
domains Ω. Let Ω be the L-shaped domain
(︁ )︁
Ω = [0, 1]2 ∪ ([1, 2] × [0, 1]) ∪ ([0, 1] × [1, 2]),

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 𝐿.

You might also like