2
$\begingroup$

How can I prove that the following triangular kernel function defined in $[0, 1] \subset R^1$

$k(x, x') = (1 - 2|x-x'|)$

is a positive semidefinite function?

It turns out to be psd function when using a numerical simulation tool (Matlab) by checking psd of a kernel matrix..

I found out that $k(x, x') = (1 - |x-x'|)^+$ is a psd function using Bochner's theorem. Also the lower bound of isotropic kernel $k$ to be psd in $R^1$ is -1..

$\endgroup$
3
  • 1
    $\begingroup$ Can't you just compute the Fourier transform of $1-2|t|$ (on $[-1,1]$) and check if it's non-negative. $\endgroup$ Commented Aug 25, 2014 at 14:39
  • $\begingroup$ I checked the Fourier transform and the result wasn't non-negative.. $\endgroup$ Commented Aug 25, 2014 at 14:46
  • 1
    $\begingroup$ So doesn't that prove that $k$ is not positive definite (since Bochner's theorem gives a characterization)? $\endgroup$ Commented Aug 25, 2014 at 15:10

1 Answer 1

1
$\begingroup$

Actually the Fourier coefficients of $1 - 2 |t|$ on $[-1,1]$ are $$ \int_{-1}^1 (1 - 2 |t|) \exp(-\pi i t n)\; dt = \cases{ 0 & for even $n$\cr 8/(n^2 \pi^2) & for odd $n$\cr}$$ so as a kernel on $[0,1]$ this is positive semidefinite, i.e. the operator on $L^2[0,1]$ given by $$ Tf(x) = \int_0^1 k(x,y) f(y)\; dy$$ is positive semidefinite. However, as a kernel on $\mathbb R$ (extended to be $0$ outside $[0,1]\times [0,1]$) it is not positive semidefinite.

$\endgroup$
1
  • $\begingroup$ I have two more questions. Is there any reason why you use the Fourier series instead of the Fourier transform? The second is that why is the (extended) kernel function not psd? Thank you in advance! $\endgroup$ Commented Aug 25, 2014 at 18:34

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .