Salta al contenuto
Note per Studenti Continuous-Time Unit Step and Dirac Impulse Report

Continuous-Time Unit Step and Dirac Impulse

In questa pagina 4

Continuous-time unit step and the problem with δ(t)\delta(t)

Continuous unit step (a.k.a. continuous Heaviside function):

1(t):={1,t≥00,t<0\mathbf{1}(t) := \begin{cases}1, & t\ge 0\\ 0, & t<0\end{cases}

The graph has an infinite slope at t=0t=0 (mathematicians leave 1(t)\mathbf{1}(t) undefined at t=0t=0).

The continuous unit impulse (a.k.a. Dirac delta "function" or Dirac impulse) is drawn as an arrow at t=0t=0 going towards +∞+\infty. The tempting definition "δ(t)=+∞\delta(t) = +\infty for t=0t=0, 00 for t≠0t\ne0" is wrong (crossed out in the lecture): δ(t)\delta(t) is not even a function in the classic sense, so we need to be more rigorous.

Definition of the Dirac impulse

Definition (Dirac impulse). It is the generalized function defined by imposing the sifting property for any given signal x(⋅)x(\cdot), i.e. δ(t)\delta(t) is such that

∫−∞+∞δ(τ) x(τ) dτ=x(0).\int_{-\infty}^{+\infty}\delta(\tau)\,x(\tau)\,d\tau = x(0).

This implicit definition is quite obscure. A more intuitive way to construct δ(t)\delta(t): there are infinitely many, here are three. Take n∈N∖{0}n\in\mathbb{N}\setminus\{0\}.

Way 1: rectangular impulse

fn(t)={n,∣t∣≤12n0,otherwisef_n(t) = \begin{cases} n, & |t|\le\frac{1}{2n}\\ 0, & \text{otherwise}\end{cases}

 f_n(t)
   n |      +------+          height n, base [-1/(2n), 1/(2n)]
     |      |//////|          area A[f_n] = n * (1/n) = 1 for all n
 ----+------+------+----> t   (as n grows: taller and narrower)
          -1/2n   1/2n

The area is A[fn]=1A[f_n] = 1 for all nn, and δ(t)=lim⁡n→+∞fn(t)\delta(t) = \lim_{n\to+\infty}f_n(t) because, defining

Tfn[x]:=∫−∞+∞fn(τ)x(τ) dτ=n∫−12n12nx(τ) dτ,\mathcal{T}_{f_n}[x] := \int_{-\infty}^{+\infty}f_n(\tau)x(\tau)\,d\tau = n\int_{-\frac{1}{2n}}^{\frac{1}{2n}}x(\tau)\,d\tau,

one gets lim⁡n→+∞∣x(0)−Tfn[x]∣=0\displaystyle\lim_{n\to+\infty}\left|x(0)-\mathcal{T}_{f_n}[x]\right| = 0. This is called convergence in distribution; it is proved below for topologically continuous signals.

Way 2: Gaussian impulse

Let pn(t)∼N ⁣(0,1n)p_n(t)\sim\mathcal{N}\!\left(0,\frac1n\right) be the Gaussian probability density with zero mean and variance σ2=1n\sigma^2=\frac1n:

pn(t)=n2π e−n2t2.p_n(t) = \frac{\sqrt n}{\sqrt{2\pi}}\,e^{-\frac{n}{2}t^2}.

Again lim⁡n→+∞∣x(0)−∫−∞+∞pn(τ)x(τ) dτ∣=0\displaystyle\lim_{n\to+\infty}\left|x(0)-\int_{-\infty}^{+\infty}p_n(\tau)x(\tau)\,d\tau\right| = 0.

Way 3: sinc impulse

The (normalized) sinc function is

sinc⁡(t)={sin⁡(πt)πt,t≠01,t=0\operatorname{sinc}(t) = \begin{cases}\dfrac{\sin(\pi t)}{\pi t}, & t\ne0\\[2mm] 1, & t=0\end{cases}

with E∞[sinc⁡(t)]=1E_\infty[\operatorname{sinc}(t)] = 1, area A[sinc⁡(t)]=1A[\operatorname{sinc}(t)] = 1, and sinc⁡(t)=sinc⁡(−t)\operatorname{sinc}(t)=\operatorname{sinc}(-t) for all t∈Rt\in\mathbb{R}. The generalized pulse Asinc⁡ ⁣(t−t0T)A\operatorname{sinc}\!\left(\frac{t-t_0}{T}\right), with A>0A>0, T>0T>0, t0∈Rt_0\in\mathbb{R}, has its main lobe centered at t0t_0 with zeros at t0±Tt_0\pm T and peak value AA.

The lecture sets gn(t):=sinc⁡(nt)g_n(t) := \operatorname{sinc}(nt) and states that again lim⁡n→+∞∣x(0)−∫−∞+∞gn(τ)x(τ) dτ∣=0\lim_{n\to+\infty}\left|x(0)-\int_{-\infty}^{+\infty}g_n(\tau)x(\tau)\,d\tau\right| = 0. (Remark: the area of sinc⁡(nt)\operatorname{sinc}(nt) is 1/n1/n, so for the limit to hold with unit area the pulse must be scaled by nn, i.e. nsinc⁡(nt)n\operatorname{sinc}(nt); the page writes sinc⁡(nt)\operatorname{sinc}(nt).)

Important relations (learn this to solve exercises)

δ(t)=ddt1(t),1(t)=∫−∞tδ(τ) dτ=∫0+∞δ(t−τ) dτ.\delta(t) = \frac{d}{dt}\mathbf{1}(t), \qquad \mathbf{1}(t) = \int_{-\infty}^{t}\delta(\tau)\,d\tau = \int_{0}^{+\infty}\delta(t-\tau)\,d\tau .

Exercise. Let fn(t)=nrect⁡(nt)f_n(t) = n\operatorname{rect}(nt). Prove these two properties by showing that gn(t):=∫−∞tfn(τ) dτg_n(t) := \int_{-\infty}^{t}f_n(\tau)\,d\tau converges to 1(t)\mathbf{1}(t) as n→+∞n\to+\infty.

Sketch of the solution: gn(t)=0g_n(t)=0 for t<−12nt<-\frac1{2n}, gn(t)=n(t+12n)g_n(t) = n\left(t+\frac1{2n}\right) for ∣t∣≤12n|t|\le\frac1{2n} (a ramp of slope nn), and gn(t)=1g_n(t)=1 for t>12nt>\frac1{2n}; as n→+∞n\to+\infty the ramp region shrinks to t=0t=0, so gn(t)→1(t)g_n(t)\to\mathbf{1}(t) for every t≠0t\neq0.

Properties of the Dirac impulse

Theorem. Let X=C0(−∞,+∞)X=\mathcal{C}^0(-\infty,+\infty) be the set of continuous signals. If x(t)∈Xx(t)\in X then lim⁡n→+∞∣x(0)−Tfn[x]∣=0\displaystyle\lim_{n\to+\infty}\left|x(0)-\mathcal{T}_{f_n}[x]\right|=0.

Proof. By the mean value theorem there exists tn∈[−12n,12n]t_n\in\left[-\frac1{2n},\frac1{2n}\right] such that

n∫−12n12nx(τ) dτ=n[12n−(−12n)]x(tn)=x(tn).n\int_{-\frac1{2n}}^{\frac1{2n}}x(\tau)\,d\tau = n\left[\frac1{2n}-\left(-\frac1{2n}\right)\right]x(t_n) = x(t_n).

It follows that

lim⁡n→+∞Tfn[x]=lim⁡n→+∞x(tn)=lim⁡tn→0x(tn)=x(0),\lim_{n\to+\infty}\mathcal{T}_{f_n}[x] = \lim_{n\to+\infty}x(t_n) = \lim_{t_n\to0}x(t_n) = x(0),

where the last step uses the continuity of xx and the fact that the interval over which fn(t)=nf_n(t)=n becomes [0,0][0,0] as n→+∞n\to+\infty. ■\blacksquare

We can now define the functional Tδ\mathcal{T}_\delta over C(−∞,+∞)\mathcal{C}(-\infty,+\infty) by Tδ[x]:=x(0)\mathcal{T}_\delta[x]:=x(0). Therefore Tfn[x]→n→+∞Tδ[x]\mathcal{T}_{f_n}[x]\xrightarrow{n\to+\infty}\mathcal{T}_\delta[x] (sifting property).

Unit area and sampling

  • If x(t)≡1x(t)\equiv1 for all tt then Tδ[x]=1\mathcal{T}_\delta[x]=1, namely ∫−∞+∞δ(τ) dτ=1\displaystyle\int_{-\infty}^{+\infty}\delta(\tau)\,d\tau = 1 (unit area).
  • Notice that Txδ=Tx(0)δ\mathcal{T}_{x\delta}=\mathcal{T}_{x(0)\delta}: for any test function ξ\xi, ∫−∞+∞x(τ)δ(τ) ξ(τ) dτ=x(0)ξ(0)=∫−∞+∞x(0)δ(τ) ξ(τ) dτ.\int_{-\infty}^{+\infty}x(\tau)\delta(\tau)\,\xi(\tau)\,d\tau = x(0)\xi(0) = \int_{-\infty}^{+\infty}x(0)\delta(\tau)\,\xi(\tau)\,d\tau . Hence x(t) δ(t)=x(0) δ(t)(sampling property),x(t)\,\delta(t) = x(0)\,\delta(t)\qquad\text{(sampling property)}, an informal way to write Txδ=Tx(0)δ\mathcal{T}_{x\delta}=\mathcal{T}_{x(0)\delta}.

More non-trivial properties

  1. Shift and general sifting. Recall the shift operator UT[x(t)]=x(t−T)U_T[x(t)] = x(t-T); then UT[δ(t)]=δ(t−T)U_T[\delta(t)] = \delta(t-T) (an arrow at t=Tt=T), and TUT[δ][x]=x(T)\mathcal{T}_{U_T[\delta]}[x] = x(T) is the generalization of sifting: ∫−∞+∞x(τ) δ(τ−T) dτ=x(T).\int_{-\infty}^{+\infty}x(\tau)\,\delta(\tau-T)\,d\tau = x(T).
  2. Linearity. ∫−∞+∞[α1x1(τ)+α2x2(τ)] δ(τ−T) dτ=α1x1(T)+α2x2(T),\int_{-\infty}^{+\infty}[\alpha_1x_1(\tau)+\alpha_2x_2(\tau)]\,\delta(\tau-T)\,d\tau = \alpha_1x_1(T)+\alpha_2x_2(T), so Tδ[x]\mathcal{T}_\delta[x] is a linear functionala map from signals to numbers that respects linear combinationsLinear Functionals →, independently of the shift TT applied to δ(t)\delta(t).
  3. Scaling of the argument (integral form). For α≠0\alpha\ne0, ∫−∞+∞x(τ) δ(ατ) dτ=1∣α∣ x(0).\int_{-\infty}^{+\infty}x(\tau)\,\delta(\alpha\tau)\,d\tau = \frac{1}{|\alpha|}\,x(0). Proof: set s=ατs=\alpha\tau; then the integral becomes ∫−∞+∞x ⁣(sα)∣α∣ δ(s) ds=x(0)∣α∣\displaystyle\int_{-\infty}^{+\infty}\frac{x\!\left(\frac{s}{\alpha}\right)}{|\alpha|}\,\delta(s)\,ds=\frac{x(0)}{|\alpha|}. ■\blacksquare
  4. Scaling of the argument. δ(αt)=1∣α∣δ(t)\delta(\alpha t)=\dfrac{1}{|\alpha|}\delta(t) for all α∈R∖{0}\alpha\in\mathbb{R}\setminus\{0\}. Proof: fn(αt)→n→+∞1∣α∣δ(t)f_n(\alpha t)\xrightarrow{n\to+\infty}\frac{1}{|\alpha|}\delta(t).
  5. Parity. A corollary of 4 (with α=−1\alpha=-1) is δ(−t)=δ(t)\delta(-t)=\delta(t): the impulse is even.

The derivatives of δ(t)\delta(t) are treated in Derivatives of the Dirac Impulsethe unit doublet and higher-order derivatives of the Dirac impulse defined through integration by parts, the product formula between a derivative of the impulse and a signal, and worked exercises on derivatives of discontinuous signals.Derivatives of the Dirac Impulse →; the discrete analogue is in Discrete-Time Unit Step and Kronecker Impulsedefinition of the discrete unit step and the Kronecker impulse, their relation as discrete derivative and accumulation, and the unit-area, sampling and sifting properties of the impulse.Discrete-Time Unit Step and Kronecker Impulse →. The impulse is the key to the Continuous-Time Convolutioncontinuous-time impulse response and the convolution integral for LTI systems, conditions for its existence in L1 and L2, its properties and the step response of the first-order system h(t) = e^{-gamma t} 1(t).Continuous-Time Convolution →.

Versione ripasso

  • Unit step: 1(t)=1\mathbf{1}(t)=1 for t≥0t\ge0, 00 for t<0t<0 (undefined at 00 for mathematicians).
  • Dirac impulse: not a function; the generalized function defined by sifting: ∫−∞+∞δ(τ)x(τ) dτ=x(0)\int_{-\infty}^{+\infty}\delta(\tau)x(\tau)\,d\tau=x(0). The naive "+∞+\infty at 00" definition is wrong.
  • Constructions (limits for n→+∞n\to+\infty): rectangle fn(t)=nf_n(t)=n on ∣t∣≤12n|t|\le\frac1{2n} (area 11); Gaussian pn(t)=n2πe−n2t2p_n(t)=\frac{\sqrt n}{\sqrt{2\pi}}e^{-\frac n2t^2} (variance 1n\frac1n); sinc impulse (needs the factor nn to keep unit area). Convergence is "in distribution".
  • Theorem: for continuous xx, Tfn[x]=n∫−1/2n1/2nx→x(0)\mathcal{T}_{f_n}[x]=n\int_{-1/2n}^{1/2n}x\to x(0) (mean value theorem plus continuity).
  • Key relations: δ(t)=ddt1(t)\delta(t)=\frac{d}{dt}\mathbf{1}(t); 1(t)=∫−∞tδ(τ)dτ\mathbf{1}(t)=\int_{-\infty}^t\delta(\tau)d\tau.
  • Properties: unit area; sampling x(t)δ(t)=x(0)δ(t)x(t)\delta(t)=x(0)\delta(t); shifted sifting ∫x(τ)δ(τ−T)dτ=x(T)\int x(\tau)\delta(\tau-T)d\tau=x(T); linearity of the sifting functional; δ(αt)=1∣α∣δ(t)\delta(\alpha t)=\frac1{|\alpha|}\delta(t); δ\delta is even.
  • Typical mistakes: forgetting the factor 1∣α∣\frac1{|\alpha|} (with the absolute value) when the argument is scaled, e.g. ddt1(2t−1)=δ ⁣(t−12)\frac{d}{dt}\mathbf{1}(2t-1)=\delta\!\left(t-\frac12\right); treating δ\delta as a function with value +∞+\infty.

Teoria collegata