Signal and Systems

1.2 Transformations of the Independent Variable

Imron Rosyadi

1.2 Transformations of the Independent Variable

Introduction: Why Transformations?

A central concept in signal and system analysis is the transformation of a signal.

  • Aircraft Control Systems:
    • Pilot actions (signals) are transformed by electrical and mechanical systems.
    • Resulting in changes to thrust, control surface positions, aircraft velocity, and heading.
  • High-Fidelity Audio Systems:
    • Input signal (music) is modified.
    • To enhance desirable characteristics, remove noise, or balance components (e.g., treble & bass).

These transformations allow us to introduce basic properties of signals and systems, playing a crucial role in their definition and characterization.

Time Shift: Continuous-Time Signals

A fundamental transformation where the signal’s shape remains the same, but its position on the time t-axis changes.

  • Definition: \(x(t-t_0)\)
    • Delayed version of \(x(t)\) if \(t_0 > 0\).
    • Advanced version of \(x(t)\) if \(t_0 < 0\).
Continuous-time signals related by a time shift

Applications: - Radar, sonar, and seismic signal processing: Signals arriving at different receivers at different times due to propagation delays.

Time Shift: Discrete-Time Signals

Analogous to continuous-time, but for discrete samples.

  • Definition: \(x[n-n_0]\)
    • The signal \(x[n]\) is shifted by \(n_0\) samples.
    • If \(n_0 > 0\), it’s a delay.
    • If \(n_0 < 0\), it’s an advance.
Discrete-time signals related by a time shift

In this figure, \(n_0 > 0\), so \(x[n-n_0]\) is a delayed version of \(x[n]\). Each point in \(x[n]\) occurs later in \(x[n-n_0]\).

Time Reversal (Reflection)

This transformation reflects the signal about the origin of the independent variable (\(t=0\) or \(n=0\)).

Analogy: If \(x(t)\) is an audio recording, then \(x(-t)\) is that recording played backward.

Time Reversal (Reflection)

Continuous Time:

  • Definition: \(x(-t)\)
  • Obtained by reflection about \(t=0\).
Continuous-time signal x(t)
  1. \(x(t)\)
Continuous-time signal x(-t)
  1. \(x(-t)\)

Discrete Time:

  • Definition: \(x[-n]\)
  • Obtained by reflection about \(n=0\).
Discrete-time signal x[n]
  1. \(x[n]\)
Discrete-time signal x[-n]
  1. \(x[-n]\)

Time Scaling

This transformation compresses or stretches the signal along the time axis.

  • Definition: \(x(\alpha t)\) (or \(x[\alpha n]\))
    • Linearly Compressed if \(|\alpha| > 1\) (e.g., \(x(2t)\)). The signal plays faster.
    • Linearly Stretched if \(|\alpha| < 1\) (e.g., \(x(t/2)\)). The signal plays slower.
    • If \(\alpha < 0\), it also involves a time reversal.

Analogy: Playing an audio recording at twice the speed (\(x(2t)\)) or half the speed (\(x(t/2)\)).

Time Scaling

Continuous-time signals related by time scaling

(Top: \(x(t)\); Middle: \(x(2t)\); Bottom: \(x(t/2)\))

Combined Transformations: \(x(\alpha t + \beta)\)

Such transformations preserve the shape of \(x(t)\), but the resulting signal may be:

  • Linearly stretched if \(|\alpha|<1\)
  • Linearly compressed if \(|\alpha|>1\)
  • Reversed in time if \(\alpha<0\)
  • Shifted in time if \(\beta\) is nonzero

Combined Transformations: \(x(\alpha t + \beta)\)

Systematic Approach to \(x(\alpha t + \beta)\):

  1. Shift: First, delay or advance \(x(t)\) in accordance with the value of \(\beta\). This gives an intermediate signal, e.g., \(y(t) = x(t+\beta)\).
  2. Scale/Reverse: Then, perform time scaling and/or time reversal on the resulting signal \(y(t)\) in accordance with the value of \(\alpha\). This means replacing \(t\) with \(\alpha t\) in \(y(t)\), resulting in \(y(\alpha t) = x(\alpha t + \beta)\).

Example 1.1: Shift and Reversal

Given \(x(t)\) in Figure (a), let’s find \(x(t+1)\) and \(x(-t+1)\).

a. Original Signal: \(x(t)\)

b. Transformation 1: \(x(t+1)\)

  • This corresponds to an advance (shift to the left) by one unit along the \(t\)-axis.

c. Transformation 2: \(x(-t+1)\)

  • This signal is the time-reversed version of \(x(t+1)\).
  • It is obtained graphically by reflecting \(x(t+1)\) about the \(t\)-axis.
Signal x(t)
Signal x(t+1)
Signal x(-t+1)

Example 1.2: Time Scaling

Given \(x(t)\) in Figure (a), let’s find \(x(\frac{3}{2} t)\).

a. Original Signal: \(x(t)\)

d. Transformation: \(x(\frac{3}{2} t)\)

  • This corresponds to a linear compression of \(x(t)\) by a factor of \(\frac{2}{3}\). Since \(|\alpha| = \frac{3}{2} > 1\).
  • The value of \(x(t)\) at \(t=t_0\) occurs in \(x(\frac{3}{2} t)\) at \(t=\frac{2}{3} t_0\). E.g., \(x(1)\) is found in \(x(\frac{3}{2} t)\) at \(t=\frac{2}{3}\).
  • Since \(x(t)\) is zero for \(t<0\), \(x(\frac{3}{2} t)\) is zero for \(t<0\).
  • Since \(x(t)\) is zero for \(t>2\), \(x(\frac{3}{2} t)\) is zero for \(t > \frac{4}{3}\).
Signal x(t)
Signal x(3/2 t)

Example 1.3: Combined Shift & Scale

Suppose we want to determine \(x(\frac{3}{2} t+1)\) for the signal \(x(t)\) from Figure (a).

  1. Shift based on \(\beta=1\):
    • First, advance (shift to the left) \(x(t)\) by 1.
    • This yields the signal \(x(t+1)\), shown in Figure (b), which we analyzed in Example 1.1.
    Signal x(t+1)
    1. \(x(t+1)\)

Example 1.3: Combined Shift & Scale

  1. Scale based on \(\alpha=\frac{3}{2}\):
    • Now, take \(x(t+1)\) and substitute \(t \rightarrow \frac{3}{2}t\) to get \(x(\frac{3}{2}t+1)\).
    • This linearly compresses the signal \(x(t+1)\) by a factor of \(\frac{2}{3}\).
    • The signal \(x(t+1)\) exists for \(t \in [-1, 1]\).
    • So \(x(\frac{3}{2}t+1)\) exists for \(\frac{3}{2}t \in [-1, 1] \implies t \in [-\frac{2}{3}, \frac{2}{3}]\).
    Signal x(3/2 t + 1)
    1. \(x(\frac{3}{2} t+1)\)

Interactive Demo: Signal Transformations

Explore how time shifting, scaling, and reversal affect a signal.

Let’s use a simple triangular pulse signal.

Periodic Signals: Continuous Time

An important class of signals that repeat themselves over time.

  • Definition: A continuous-time signal \(x(t)\) is periodic if there is a positive value of \(T\) for which: \[ x(t)=x(t+T) \quad \text{for all } t \tag{1.11} \] We say \(x(t)\) is periodic with period \(T\).
A continuous-time periodic signal

Periodic Signals: Continuous Time

  • Fundamental Period (\(T_0\)): The smallest positive value of \(T\) for which \(x(t)=x(t+T)\) holds.
    • Exception: For a constant signal, the fundamental period is undefined, as it is periodic for any \(T\).
  • Aperiodic Signal: A signal that is not periodic.

Applications: Natural responses of conserved energy systems (e.g., ideal LC circuits, frictionless mechanical systems) are often periodic.

Periodic Signals: Discrete Time

Similar to continuous-time, but defined for discrete samples.

  • Definition: A discrete-time signal \(x[n]\) is periodic with period \(N\), where \(N\) is a positive integer, if: \[ x[n]=x[n+N] \quad \text{for all } n \tag{1.12} \] If this holds, \(x[n]\) is periodic with period \(N\).
A discrete-time periodic signal with fundamental period N0=3

Periodic Signals: Discrete Time

  • Fundamental Period (\(N_0\)): The smallest positive integer value of \(N\) for which \(x[n]=x[n+N]\) holds.

Example 1.4: Checking Periodicity

Consider the signal given by: \[ x(t)=\left\{\begin{array}{ll} \cos (t) & \text { if } t<0 \\ \sin (t) & \text { if } t \geq 0 \end{array}\right. \]

The signal x(t) considered in Example 1.4

Example 1.4: Checking Periodicity

Analysis:

  • We know \(\cos(t+2\pi)=\cos(t)\) and \(\sin(t+2\pi)=\sin(t)\).
  • Individually, both cosine (for \(t<0\)) and sine (for \(t \ge 0\)) parts are periodic with period \(2\pi\).
  • However, observe the discontinuity at \(t=0\).
  • For \(x(t)\) to be periodic, every feature in its shape must recur periodically.
  • The discontinuity at \(t=0\) does not recur at \(t=2\pi, 4\pi, \ldots\) or \(t=-2\pi, -4\pi, \ldots\).

Conclusion: The signal \(x(t)\) is not periodic.

Interactive Demo: Constructing Periodic Signals

Let’s visualize how periodicity works for continuous and discrete-time signals.

Even and Odd Signals

Signals can exhibit symmetry under time reversal.

  • Even Signal: Identical to its time-reversed counterpart.
    • Continuous Time: \[ x(-t)=x(t) \tag{1.14} \]
    • Discrete Time: \[ x[-n]=x[n] \tag{1.15} \]
An even continuous-time signal
  1. Even continuous-time signal

Even and Odd Signals

  • Odd Signal: The negative of its time-reversed counterpart.
    • Continuous Time: \[ x(-t)=-x(t) \tag{1.16} \]
    • Discrete Time: \[ x[-n]=-x[n] \tag{1.17} \]
    • Property: An odd signal must necessarily be \(0\) at \(t=0\) or \(n=0\) (since \(x(0) = -x(0) \implies 2x(0) = 0 \implies x(0)=0\)).
An odd continuous-time signal
  1. Odd continuous-time signal

Even-Odd Decomposition

Any signal can be uniquely broken down into a sum of an even signal and an odd signal.

For a continuous-time signal \(x(t)\):

  • Even Part: \(\mathcal{E} v\{x(t)\}\) \[ \mathcal{E} v\{x(t)\}=\frac{1}{2}[x(t)+x(-t)] \tag{1.18} \]

  • Odd Part: \(\mathcal{O} d\{x(t)\}\) \[ \mathcal{O} d\{x(t)\}=\frac{1}{2}[x(t)-x(-t)] \tag{1.19} \]

  • Decomposition: \(x(t) = \mathcal{E} v\{x(t)\} + \mathcal{O} d\{x(t)\}\)

Even-Odd Decomposition

These definitions hold analogously for discrete-time signals \(x[n]\).

Example of the even odd decomposition of a discrete-time signal

(Example of discrete-time decomposition)

Interactive Demo: Even & Odd Parts

Visualize the even and odd decomposition of a signal.

Summary

Fundamental transformations of the independent variable (time) for signals.

  • Time Shift (\(x(t \pm t_0)\) or \(x[n \pm n_0]\)): Delays or advances a signal. Crucial for understanding propagation delays.
  • Time Reversal (\(x(-t)\) or \(x[-n]\)): Reflects a signal about the origin. Important for symmetry concepts.
  • Time Scaling (\(x(\alpha t)\) or \(x[\alpha n]\)): Compresses or stretches a signal. Linked to bandwidth in frequency domain.
  • Combined Transformations (\(x(\alpha t + \beta)\)): Requires a systematic order (shift then scale/reverse).

Summary

  • Periodic Signals (\(x(t) = x(t+T)\) or \(x[n] = x[n+N]\)): Signals that repeat themselves, characterized by a fundamental period.
  • Even and Odd Signals: Signals exhibiting specific symmetry under time reversal, and any signal can be uniquely decomposed into its even and odd parts.