1
$\begingroup$

$$\int_0^a \sin (\pi x/a)\delta(x-a/2)\sin (\pi x/a)dx$$

The context here is that I am taking the inner product $\langle \psi |H'|\psi \rangle$ (physics problem), so I believe the order matters. The dirac delta function must first operate on the right-most $\sin(\pi x/a)$, but I don't know how. Could someone help me out?

2 Answers 2

3

The dirac delta function is a function (sort of), not an operator, so the order isn't important. What is important is the following property. For all functions $f$, $$ \int_a^b f(x) \delta(x-c) dx = \begin{cases}f(c) & c \in (a,b) \\ 0 & c \notin (a,b)\end{cases} $$ Since $a/2 \in (0,a)$, for your integral we have $$ \int_0^a \sin^2\left(\frac{\pi x}{a}\right)\delta\left(x - \frac{a}{2}\right) dx = \sin^2\left(\frac{\pi}{2}\right) = 1 $$

  • 0
    For the top set of LaTeX, did you mean $f(c) \quad c \in (a,b)$?2017-02-21
  • 1
    Yes, that would be more true, wouldn't it.2017-02-21
1

It looks like you're missing a $\mathrm{d}x$ in there, but since the region of integration contains the point $a/2$, the filtering property of the delta function just gives you an answer of $$\sin^2\left(\frac{\pi}2\right)=1$$

The order doesn't matter once it's in the integral, because it's now just a product of functions (distributions, really), so multiplication is again commutative.