Signal and Systems

1.4 The Unit Impulse and Unit Step Functions

Imron Rosyadi

1.4 The Unit Impulse and Unit Step Functions

Introduction

The unit impulse and unit step functions are fundamental signals in Continuous and Discrete Time.

  • They serve as building blocks for representing other complex signals.
  • Crucial for understanding System Responses (e.g., Impulse Response).

1.4.1 The Discrete-Time Unit Impulse Sequence (\(\delta[n]\))

The discrete-time unit impulse (or unit sample) is defined as:

\[ \delta[n]= \begin{cases}0, & n \neq 0 \\ 1, & n=0\end{cases} \quad \text{(Equation 1.63)} \]

It represents a single, instantaneous event at \(n=0\).

Mathematical Concept

  • A single point with value 1 at \(n=0\).
  • All other points are 0.
  • Analogous to a very short click or tap.

1.4.1 The Discrete-Time Unit Impulse Sequence (\(\delta[n]\))

Interactive Plot

1.4.1 The Discrete-Time Unit Step Sequence (\(u[n]\))

The discrete-time unit step is defined by:

\[ u[n]= \begin{cases}0, & n<0 \\ 1, & n \geq 0\end{cases} \quad \text{(Equation 1.64)} \]

It represents a signal that turns on at \(n=0\) and stays on.

Engineering Application

  • Often used to model a switch being turned on.
  • Represents the initiation of a process.

1.4.1 The Discrete-Time Unit Step Sequence (\(u[n]\))

Relationship Between \(\delta[n]\) and \(u[n]\) (Difference)

The discrete-time unit impulse is the first difference of the discrete-time step:

\[ \delta[n]=u[n]-u[n-1] \quad \text{(Equation 1.65)} \]

This means you can generate an impulse from two shifted step functions.

Concept Illustrated

graph LR
    A["u[n]"] --> B{Delay by 1};
    B --> C["u[n-1]"];
    A --> D{Subtract};
    C --> D;
    D --> E["$$\delta[n]$$"];

Relationship Between \(\delta[n]\) and \(u[n]\) (Difference)

Interactive Demonstration

Relationship Between \(\delta[n]\) and \(u[n]\) (Running Sum)

Conversely, the discrete-time unit step is the running sum of the unit impulse:

\[ u[n]=\sum_{m=-\infty}^{n} \delta[m] \quad \text{(Equation 1.66)} \]

This means you can build up a step function by accumulating impulses.

Mathematical Form \[ u[n]=\sum_{k=0}^{\infty} \delta[n-k] \quad \text{(Equation 1.67)} \] - Or, a superposition of delayed impulses. - Emphasizes accumulation.

Relationship Between \(\delta[n]\) and \(u[n]\) (Running Sum)

Interactive Demonstration: Running Sum

Sampling Property of \(\delta[n]\)

The unit impulse can be used to sample the value of a signal at a specific point.

\[ x[n] \delta[n]=x[0] \delta[n] \quad \text{(Equation 1.68)} \]

More generally, for a delayed impulse: \[ x[n] \delta\left[n-n_{0}\right]=x\left[n_{0}\right] \delta\left[n-n_{0}\right] \quad \text{(Equation 1.69)} \]

This property is extremely powerful for signal analysis.

Example: What is \(x[n]\delta[n-3]\) if \(x[n] = \cos(\frac{\pi n}{4})\)? \(x[n]\delta[n-3] = x[3]\delta[n-3] = \cos(\frac{3\pi}{4})\delta[n-3] = -\frac{\sqrt{2}}{2}\delta[n-3]\)

1.4.2 The Continuous-Time Unit Step Function (\(u(t)\))

The continuous-time unit step function is defined as:

\[ u(t)= \begin{cases}0, & t<0 \\ 1, & t>0\end{cases} \quad \text{(Equation 1.70)} \]

Note: \(u(t)\) is discontinuous at \(t=0\).

Physical Interpretation

  • Represents an abrupt change in a system.
  • E.g., turning on a power supply, applying a force.

1.4.2 The Continuous-Time Unit Step Function (\(u(t)\))

Interactive Plot

The Continuous-Time Unit Impulse Function (\(\delta(t)\))

The continuous-time unit impulse is related to the unit step by: \[ u(t)=\int_{-\infty}^{t} \delta(\tau) d \tau \quad \text{(Equation 1.71)} \]

This implies: \[ \delta(t)=\frac{d u(t)}{d t} \quad \text{(Equation 1.72)} \]

Challenge: u(t) is not formally differentiable at \(t=0\).

Continuous-Time Unit Impulse: An Idealization

To understand \(\delta(t)\), we approximate \(u(t)\) with a smooth function \(u_{\Delta}(t)\).

Approximate Unit Step (\(u_{\Delta}(t)\))

  • Rises from 0 to 1 over a small interval \(\Delta\).
  • \(\delta(t)=\lim _{\Delta \rightarrow 0} \delta_{\Delta}(t)\) (Equation 1.74)

Continuous-Time Unit Impulse: An Idealization

Derivative of Approximation (\(\delta_{\Delta}(t)\))

  • A short pulse of duration \(\Delta\).
  • Crucially: Its area is always 1.

Continuous-Time Unit Impulse (Graphical Representation)

The unit impulse \(\delta(t)\) is graphically represented by an arrow at \(t=0\), with its height indicating the area (or strength) of the impulse.

Unit Impulse

  • Infinitely tall, infinitesimally narrow.
  • Area = 1.


Continuous-time unit impulse

Scaled Impulse (\(k\delta(t)\))

  • Area = \(k\).
  • The height of the arrow is proportional to \(k\).


Scaled impulse

Relationship Between \(\delta(t)\) and \(u(t)\) (Running Integral)

The continuous-time unit step is the running integral of the unit impulse:

\[ u(t)=\int_{-\infty}^{t} \delta(\tau) d \tau \quad \text{(Equation 1.71)} \]

This highlights the accumulation of area.

Equivalent Form \[ u(t)=\int_{0}^{\infty} \delta(t-\sigma) d \sigma \quad \text{(Equation 1.75)} \]

  • Superposition of delayed impulses.

Relationship Between \(\delta(t)\) and \(u(t)\) (Running Integral)

Conceptual Illustration (Integral of \(\delta(t)\))

Sampling Property of \(\delta(t)\)

Similar to discrete-time, the continuous-time impulse has a powerful sampling property:

\[ x(t) \delta(t)=x(0) \delta(t) \quad \text{(Equation 1.76)} \]

For a delayed impulse: \[ x(t) \delta\left(t-t_{0}\right)=x\left(t_{0}\right) \delta\left(t-t_{0}\right) \]

This means multiplying a function by an impulse isolates the function’s value at the impulse’s location.

Sampling Property of \(\delta(t)\)

Demonstration: x(t) = sin(t) multiplied by $\delta(t - \pi/2)$

Example 1.7: Derivative of a Discontinuous Signal

Consider the signal \(x(t)\) (from Figure 1.40a). We want to find its derivative \(\dot{x}(t)\).

Original Signal \(x(t)\)

  • Piecewise constant.
  • Contains jump discontinuities.

Example 1.7: Derivative of a Discontinuous Signal

Derivative \(\dot{x}(t)\)

  • Zero where \(x(t)\) is constant.
  • Impulses at jump discontinuities.
  • Area of impulse = size of jump.

Example 1.7: Recovering \(x(t)\) from \(\dot{x}(t)\)

We can verify the derivative by integrating \(\dot{x}(t)\) to recover \(x(t)\). \[ x(t)=\int_{0}^{t} \dot{x}(\tau) d \tau \quad \text{(Equation 1.77)} \]

Each impulse contributes its area to the running sum (integral).

Integral Steps

  • For \(t<1\): \(\int_{0}^{t} \dot{x}(\tau) d \tau = 0\)
  • For \(1<t<2\): \(\int_{0}^{t} \dot{x}(\tau) d \tau = (\text{Area at } t=1) = 2\)
  • For \(2<t<4\): \(\int_{0}^{t} \dot{x}(\tau) d \tau = (\text{Area at } t=1) + (\text{Area at } t=2) = 2 + (-3) = -1\)
  • For \(t>4\): \(\int_{0}^{t} \dot{x}(\tau) d \tau = (\text{Area at } t=1) + (\text{Area at } t=2) + (\text{Area at } t=4) = 2 + (-3) + 2 = 1\)

Example 1.7: Recovering \(x(t)\) from \(\dot{x}(t)\)

Interactive Verification (Conceptual)

Key Takeaways

Unit Impulse

  • Discrete-Time (\(\delta[n]\)): Non-zero only at \(n=0\) (value 1).
  • Continuous-Time (\(\delta(t)\)): Infinitely tall, infinitesimally narrow pulse with unit area. An idealization.

Unit Step

  • Discrete-Time (\(u[n]\)): 0 for \(n<0\), 1 for \(n \ge 0\).
  • Continuous-Time (\(u(t)\)): 0 for \(t<0\), 1 for \(t > 0\).

Relationships

  • \(\delta[n] = u[n] - u[n-1]\)
  • \(u[n] = \sum_{m=-\infty}^{n} \delta[m]\)
  • \(\delta(t) = \frac{du(t)}{dt}\) ; \(u(t) = \int_{-\infty}^{t} \delta(\tau) d\tau\)

Key Takeaways

Sampling Property

  • \(x[n]\delta[n-n_0] = x[n_0]\delta[n-n_0]\)
  • \(x(t)\delta(t-t_0) = x(t_0)\delta(t-t_0)\)

These functions are fundamental for signal representation and system analysis.