When looking at the definition of the Heaviside function it states:
$H(t) = \begin{cases} 0 &\text{if } t<0\\\frac{1}{2} &\text{if }t=0\\1 &\text{if } t>0. \end{cases}$
Where does the $\frac{1}{2}$ come from for $t=0$?
Thanks in advance!
When looking at the definition of the Heaviside function it states:
$H(t) = \begin{cases} 0 &\text{if } t<0\\\frac{1}{2} &\text{if }t=0\\1 &\text{if } t>0. \end{cases}$
Where does the $\frac{1}{2}$ come from for $t=0$?
Thanks in advance!
It is merely a convention. In my experience, it is more often defined as $$H(x)=\begin{cases}1,&x\ge 1\\0,&x<0\end{cases}$$or$$H(x)=\begin{cases}1,&x> 1\\0,&x\le0.\end{cases}$$
However, one can try to define this function as pointwise limit (as $n\to\infty$) of the family of continuous functions $$H_n(x)=\begin{cases}1,&x> \frac 1n\\0,&x<-\frac 1n\\\frac{nx+1}{2},&|x|\le \frac 1n.\end{cases}$$ This definition leads to $H(0)=\lim_{n\to\infty} H_n(0)=\frac 12$.
As @TZakrevskiy noted, it's convention. In my experience, it's done for two reasons:
(I use $\overline{\lim}$ to emphasize that the limit is really only meaningful if it's done outside of an integral that the argument of the limit is inside of).