3

I came need to take the derivative of the following convolution: $$ \int_{-\infty}^\infty \operatorname{sgn}(x-y)e^{-|x-y|}f(y) \, dy $$

However, the derivative of the kernel only exists in the sense of distributions, i.e. $$ -\frac{d}{dx}\operatorname{sgn}(x-y)e^{-|x-y|}=2\delta(x-y)e^{-|x-y|}-e^{-|x-y|} $$

My question is: According to this post, one cannot directly take the derivatives under the integral sign. So for my situation here, how am I supposed to do the differentiation?

Xuxu
  • 1,194

2 Answers2

3

HINT:

Split the integral as $$\int_{-\infty}^{\infty} \text{sgn} (x-y)e^{-|x-y|}f(y) \, dy = \int_{-\infty}^x e^{-(x-y)}f(y)\,dy-\int_x^{\infty} e^{(x-y)}f(y) \, dy$$ and use Leibnitz's Rule for differentiating under an integral.

SPOILER ALERT: SCROLL OVER SHADED AREA TO SEE ANSWER

$$\begin{align}\frac{d}{dx}\int_{-\infty}^{\infty} \text{sgn} (x-y)e^{-|x-y|}f(y) \, dy&=f(x)-\int_{-\infty}^x e^{-(x-y)}f(y)\,dy+f(x)-\int_x^{\infty} e^{(x-y)}f(y) \, dy\\\\&=2f(x)-\int_{-\infty}^{\infty} e^{-|x-y|}f(y) \, dy\end{align}$$

Mark Viola
  • 184,670
  • Please let me know how I can improve my answer. I really want to give you the best answer I can. – Mark Viola Aug 07 '15 at 21:52
  • @ Dr. MV Yes your answer matches what I formally obtained. However, I am just wondering whether there is an explanation to validate my completely formal way of taking distributional derivatives under the convolution. – Xuxu Aug 12 '15 at 20:09
  • @user52919 There is an explanation, but it obviously does not fall into classical analysis. Rather, it relies on the theory of Generalized Functions, or Distributions. Here, we have $-\frac{d}{dx}\langle g(x),f \rangle =-\langle g'(x),f \rangle =\langle g(x),f' \rangle =\int_{-\infty}^{\infty}\text{sgn}(x-y)e^{-|x-y|}f'(y)dy$. Carrying out this last operation yields the expected result. – Mark Viola Aug 12 '15 at 20:19
1

Let $g(x) = \operatorname{sgn}(x)e^{-|x|}$ and let $\delta$ be Dirac's delta "function". The problem is to find $(g*f)'(x)$.

$$ (g*f)'(x) = \underbrace{(\delta'*(g*f))(x) = ((\delta'*f)*g)(x)} = (f'*g)(x). \tag 1 $$

The thing $\underbrace{\text{in the middle}}$ has no meaning outside the context of some theory in which we can speak of $\delta'$. But the equality $$(g*f)'(x)=(f'*g)(x) \tag 2$$ is meaningful, and so can be true or false, outside such a context. If the whole chain of equalities $(1)$ is true in the Dirac context, then can $(2)$ be false in the context in which it can be understood without knowing of Dirac?

Here I'd say I'm rusty in that stuff and would crack open a book and remind myself of which hypotheses are needed for which conclusions to hold and ask whether those are satisfied.

That's how I would initially approach the problem.

  • In the theory of distributions, $\delta'$ is defined such that $\langle \delta',f\rangle=-\langle \delta,f'\rangle=-f(0)$. So, one can proceed along those lines in one chooses. The OP is asking, I believe, for some way forward for integrating under the integral sign. One can use classical analysis in a straightforward way here and not rely on Generalized Functions. – Mark Viola Aug 07 '15 at 20:38