The closure property of positive-semidefinite kernels gives three constructions, each seen directly from the feature maps .
- Nonnegative sums: , for . Its feature map is in the Hilbert space direct sum; expanding its inner product gives .
- Pointwise products: . In the Hilbert tensor product, use : the inner product of two such elementary tensors is the product of their two inner products.
- Input-dependent weighting: for any real-valued function . Its feature map is , so signs of are allowed. Nonnegative scalar multiplication is the special case of constant ; the weighting factor is itself a rank-one positive-semidefinite kernel.
Another useful consequence is pullback: if and is a positive-semidefinite kernel on , then has feature map .
Past exam of the mathematics course of the University of Cambridge 2021 iii Paper 205 4 a Solution 2026-09-28
Regard each centered random variable as a vector in the Hilbert space . Thenso is the Gaussian kernel on the finite subset of that Hilbert space. More explicitly,Every power of the inner-product kernel is positive semidefinite, and the closure property of positive-semidefinite kernels under nonnegative sums, pointwise limits, and multiplication by one-variable factors proves that is positive definite.
Past exam of the mathematics course of the University of Cambridge 2023 iii Paper 205 1 b ii Solution Created 2026-09-28 Updated 2026-10-18
Let be independent standard Cauchy random variables. Their characteristic functions and independence giveTaking real parts yieldsFor each realization of , both products are rank-one positive-semidefinite kernels. Their sum and then their expectation remain positive semidefinite by the closure property of positive-semidefinite kernels. This is a Random Fourier feature representation of the Laplace kernel.