Take the 2-minute tour ×
Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

Here is a problem from Griffith's book Introduction to E&M.

Let $\theta(x)$ be the step function $$\theta = \begin{cases} 0, & x \le 0, \\ 1, & x \gt 0. \end{cases} $$

The question is how to prove $\frac{d\theta}{dx} = \delta(x)$.

I think since the function is discontinuous at $x = 0$, there is no definition of $\frac{d\theta}{dx}$ at the point $x = 0$ at all. Thus, how could we show the equivalence of a equation if the left part of equation is not defined at the point $x = 0$?


share|improve this question
That equality is an equality of distributions, as in en.wikipedia.org/wiki/Distribution_%28mathematics%29 If you read any introduction to distributions, you'll find the claim you want yo prove as the very first example of hopw differentiation works for distributions. –  Mariano Suárez-Alvarez Dec 11 '10 at 12:41
$\delta(x)$ is "undefined" at 0 too! –  Paul VanKoughnett Dec 11 '10 at 12:56
add comment

3 Answers

up vote 11 down vote accepted

This is a place where physicists and mathematicians would phrase the question differently. A mathematician would say that $d \theta/dx$ is undefined at $0$, and that $\delta$ is not a function. However, as Mariano says, the statement is true "in the sense of distributions".

What does that mean? A distribution is a gadget which takes as input a smooth function $g(x)$, which is zero for $|x|$ sufficiently large, and returns some real number. When we think of an ordinary function as a distribution, that makes we think of $f$ as corresponding to the gadget $F: g \mapsto \int f(x) g(x) dx$. Notice that changing $f$ at a finite number of points leaves $F$ unaltered. From a physical point of view, if $f$ is something like the value of an electric field at a point, we would never know if it had a finite discontinuity at some point, so the gadget $F$ captures everything that is physically measurable about $f$.

Now, how can we see differentiation in terms of distributions? By integration by parts, we have $\int f'(x) g(x) dx = - \int f(x) g'(x)$. So, for any distribution $F$, we define the derivative of $F$ to be the gadget $g \mapsto -F(g')$.

Now, let $F$ correspond to $\theta$, so $F(g) = \int_{- \infty}^0 g(x) dx$. The Dirac delta distribution is $\delta(g) = g(0)$. I leave it to you to show that $F'(g) = \delta(g)$, with the definitions above.

I'd be curious to see how a physicist would answer this question. I suspect that I have acted like a Frenchman.

share|improve this answer
Thanks, I have correct the typo. –  Jichao Dec 11 '10 at 14:49
You mean "$g(x)$, which is zero for $|x|$ sufficiently large" (missing absolute value). –  Hendrik Vogt Dec 11 '10 at 15:11
That's a great quote from Goethe! :) –  Mike Spivey Dec 11 '10 at 17:31
@Hendrik: Typo fixed, thanks. –  David Speyer Dec 11 '10 at 18:16
add comment

By definition, $\delta(x)$ satisfies $$\int_{-\infty}^\infty f(x)\delta(x) dx=f(0)$$ for any continuous function $f$ on $\mathbb{R}$.

By definition of derivative in distribution theory, $$ \int_{-\infty}^\infty f(x)\theta'(x) dx=-\int_{-\infty}^\infty f'(x) \theta(x) dx$$ for any $C^1$ function $f(x)$ which vanishes outside of a bounded interval.

Now $$-\int_{-\infty}^\infty f'(x) \theta(x) dx=-\int_0^\infty f'(x) dx= -f(\infty)+f(0)=f(0)=\int_{-\infty}^\infty f(x)\delta(x) dx.$$

So $\theta'(x)=\delta(x)$.

share|improve this answer
Could you explain why $f(\infty)$ is zero? –  Jichao Dec 12 '10 at 4:46
$f(\infty)=\lim_{x\to\infty}f(x)$ is 0 because $f$ is assumed to vanish outside of a bounded interval, i.e. equal to 0 for all $x$ outside of a bounded interval. This is one of the assumption in distribution theory. –  TCL Dec 12 '10 at 4:52
add comment

I'd like to add an answer that will try to justify the statement with an example. Consider the function sequence $$ f_n = \left\{\begin{align} 0 \ \ &\text{ if } |x|>1/n \\ n^2x^2/2 + nx + 1/2 &\text{ if } -1/n\leq x \leq 0\\ -n^2x^2/2 + nx + 1/2 &\text{ if } 0<x\leq 1/n \end{align}\right.. $$
These functions are differentiable everywhere, and they approximate the unit step function better and better as $n$ gets larger. If we look at the derivatives of these functions, we'll see that they are a sequence of tent functions that are getting narrower and taller, as Griffith uses to introduce the delta function.
alt text

Actually, with an appropriate mode of convergence, when a sequence of differentiable functions converge to the unit step, it can be shown that, their derivatives converge to the delta function. That's why, one may take the derivative of the unit step function to be defined as the limit of the derivatives, which is the delta function.

share|improve this answer
add comment

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.