Haar wavelet functions are defined as
\begin{equation} \psi (x)={\begin{cases}1\quad &0\leq x<{\frac {1}{2}},\\ -1&{\frac {1}{2}}\leq x<1,\\ 0&{\mbox{otherwise.}} \end{cases}} \end{equation}
$$\psi_{j,k}(x):=\psi(2^jx−k)$$
We are interested in finding the closed-form expression for $f(j_1,j_2,k_1,k_2,y)$ of the convolution:
\begin{equation} \int _{\mathbb {R}}\psi _{j_{1},k_{1}}(x)\psi _{j_{2},k_{2}}(y-x)\,dx=f(j_1,j_2,k_1,k_2,y). \end{equation}
Because $\psi_{j_1,k_1}(x)$ is nonzero only in the interval $$x\in I_{n_1,k_1} =\frac{1}{2^{n_1}} [ k_1, k_1+1),$$ and $\psi_{j_2,k_2}(y-x)$ is nonzero only in the interval $$x\in J_{n_2,k_2}(y): =y+\frac{1}{2^{n_2}} (-(k_2+1), -k_2],$$ Thus a necessary condition for $f$ to be nonzero is that the intervals $I_{n_1,k_1},J_{n_2,k_2}(y)$ overlap.
Thanks!


If $f(x) = 1_{[0,a]}-1_{[-a,0]}, g(x) = 1_{[0,b]}-1_{[-b,0]}$ then $$h(x) = f\ast g(x), \qquad h'(x) = f \ast g'(x) = 2 f(x)-f(x+b)-f(x-b)$$
$$ h(x) = \int_{-\infty}^x h'(y)dy = 2F(x)-F(x+b)-F(x-b), \\ F(x) = \int_{-\infty}^x f(y)dy = a(|x/a|-1) 1_{|x| < a}$$