A diagonal feature map

Two inputs map to ϕ(x1)=(2,0)\phi(x_1)=(2,0) and ϕ(x2)=(0,3)\phi(x_2)=(0,3). Write the Gram matrix and its eigenvalues.

The products are 44, 00 and 99, so KS=diag⁡(4,9)K_S=\operatorname{diag}(4,9). The eigenvalues are 44 and 99. The off-diagonal zeros record orthogonal features.