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