--- title: "Heaviside step function" sort_title: "Heaviside step function" date: 2021-02-25 categories: - Mathematics - Physics layout: "concept" --- The **Heaviside step function** $$\Theta(t)$$, is a discontinuous function used for enforcing causality or for representing a signal switched on at $$t = 0$$. It is defined as: $$\begin{aligned} \boxed{ \Theta(t) = \begin{cases} 0 & \mathrm{if}\: t < 0 \\ 1 & \mathrm{if}\: t > 1 \end{cases} } \end{aligned}$$ The value of $$\Theta(t \!=\! 0)$$ varies between definitions; common choices are $$0$$, $$1$$ and $$1/2$$. In practice, this rarely matters, and some authors even change their definition on the fly for convenience. For physicists, $$\Theta(0) = 1$$ is generally best, such that: $$\begin{aligned} \boxed{ \forall n \in \mathbb{R}: \Theta^n(t) = \Theta(t) } \end{aligned}$$ Unsurprisingly, the first-order derivative of $$\Theta(t)$$ is the [Dirac delta function](/know/concept/dirac-delta-function/): $$\begin{aligned} \boxed{ \Theta'(t) = \delta(t) } \end{aligned}$$ The [Fourier transform](/know/concept/fourier-transform/) of $$\Theta(t)$$ is as follows, where $$\pv{}$$ is the Cauchy principal value, $$A$$ and $$s$$ are constants from the FT's definition, and $$\mathrm{sgn}$$ is the signum function: $$\begin{aligned} \boxed{ \tilde{\Theta}(\omega) = \frac{A}{|s|} \Big( \pi \delta(\omega) + i \: \mathrm{sgn}(s) \pv{\frac{1}{\omega}} \Big) } \end{aligned}$$
The use of $$\pv{}$$ without an integral is an abuse of notation, and means that this result only makes sense when wrapped in an integral. Formally, $$\pv{\{1 / \omega\}}$$ is a [Schwartz distribution](/know/concept/schwartz-distribution/).