MATH661 Homework 2 - Linear algebra tools

Posted: 08/30/21

Due: 09/08/21, 11:55PM

1Track 1

  1. Implement the classical and modified Gram-Schmidt algorithms to compute 𝑸𝑹=qr(𝑨). Test orthogonality of 𝑸 for 𝑨=randn(m,m), m=20k, k=1,2,,5.

  2. Generate point clouds that conform to two columns of your choice from Fig. 1. Compute the associated correlation matrix 𝑪 and superimpose on the plots the columns of 𝑸 from the orthogonal decomposition 𝑪=𝑸𝑹 obtained through the modified Gram-Schmidt algorithm

    Figure 1. Point clouds with associated Pearson correlation coefficients. See Wikipedia: Correlation

  3. Construct families of curves equidistant from the x1=0 and x2=0 axes in the plane using the 𝑨-norm

    ||𝒙||=(𝒙T𝑨T𝑨𝒙)1/2

    with 𝑨2×2 of full rank of your choice that is not diagonal.

2Track 2

  1. Prove the Hölder inequality: for p,q>1, 1/p+1/q=1,

    i=1m|xiyi|(i=1m|xi|p)1/p(i=1m|yi|q)1/q.
  2. Prove the Minkowski inequality: for p1,

    (i=1m|xi+yi|p)1/p(i=1m|xi|p)1/p+(i=1m|yi|p)1/p.
  3. Prove the parallelogram identity

    ||𝒙+𝒚||2+||𝒙-𝒚||2=2(||𝒙||2+||𝒚||2),

    for 𝒙,𝒚m, with |||| denoting the 2-norm.

  4. Consider 𝑨m×m, C(𝑨)=m. Prove that

    (𝒙𝑨𝑨𝒙)1/2

    is a norm.

  5. Compute the components of the saw-tooth function f(t)=f(t+2π), f(t)=t for -π<t<π, on the Fourier basis set

    {12π,costπ,sintπ,,cosktπ,sinktπ,,cosntπ,sinntπ},

    for n=4p, p=2,3,4,5. Superimpose a plot of the approximants with the saw-tooth function. Solve any linear system or least squares problems that arise by 𝑸𝑹 decomposition. Comment on the plot.

  6. Construct visual representations of the Hadamard matrices 𝑯m, m=4k+4, k{0,1,2,,7}. Construct visual representations of C(𝑯m), N(𝑯mT), C(𝑯mT), N(𝑯m) through the 𝑸𝑹-decomposition of 𝑯m.