Related Concepts: 1.01 Signals, Systems & Singularity Functions | 1.03 Signal Classification I — Theory & Periodicity | 1.04 Signal Classification II — Symmetry, Energy & Power

1.02 Elementary Operations on Signals

Focus & Objective

Continuous and discrete signals undergo mathematical transformations along their horizontal (independent variable) axis. Shifting, scaling, and reversal are heavily tested, both individually and in combination.


1. Core Operations on the Independent Variable (Time)

Manipulating the independent variable (time for continuous, or index for discrete) alters when and how fast a signal occurs without changing its amplitude.

1.1 Time Shifting

Time shifting delays or advances the signal along the horizontal axis. It does not change the shape or width of the signal.

  • Time Delay (Right Shift): Mathematically represented as where . The signal occurs later.
  • Time Advance (Left Shift): Mathematically represented as where . The signal occurs earlier.
left = -6; right = 6
top = 2; bottom = -0.5
---
y = 1 | -1 < x < 1 | BLUE | SOLID
y = 1 | 2 < x < 4 | RED | DASHED
y = 1 | -4 < x < -2 | GREEN | DASHED
(0, 1) | label:x(t) | BLUE
(3, 1) | label:x(t-3) [Delay] | RED
(-3, 1) | label:x(t+3) [Advance] | GREEN

self-question why right shift is called delay when its like in advance in x axis?


1.2 Time Scaling

Time scaling speeds up or slows down the signal by multiplying the time variable.

  • Compression: Mathematically represented as where . The signal occurs faster, shrinking horizontally. (e.g., is twice as fast, taking half the time).
  • Expansion: Mathematically represented as where . The signal occurs slower, stretching horizontally. (e.g., takes twice as long).

Below is the original triangle (blue), compressed (red dashed), and expanded (green dotted):

left = -5; right = 5
top = 1.5; bottom = -0.5
---
y = 1 - 0.5*abs(x) | -2 < x < 2 | BLUE | SOLID
y = 1 - abs(x) | -1 < x < 1 | RED | DASHED
y = 1 - 0.25*abs(x) | -4 < x < 4 | GREEN | DOTTED
(0, 1.1) | label:x(t) | BLUE
(0, 0.7) | label:x(2t) | RED
(0, 0.3) | label:x(t/2) | GREEN

1.3 Time Reversal (Folding)

Time reversal flips the signal across the vertical axis ().

  • Mathematical Representation: .
  • Whatever happened at now happens at . If a signal is symmetric about , then (an even signal), and reversal has no visible effect.

Below is an asymmetrical original signal (blue) and its reversed version (red):

left = -3; right = 3
top = 1.5; bottom = -0.5
---
y = 0.5*x | 0 < x < 2 | BLUE | SOLID
y = -0.5*x | -2 < x < 0 | RED | SOLID
(1.5, 0.8) | label:x(t) | BLUE
(-1.5, 0.8) | label:x(-t) | RED

2. Processing of Discrete Signals

High-Yield PYQ

  • [PYQ 2019, 2018, 2017, 2015]: What is signal? Explain the operations performed on the independent variables in the processing of discrete signals mathematically and graphically. (12 Marks)

When answering for discrete signals , the operations must use integer indices and sample-by-sample representations.

2.1 Discrete Time Shifting

  • Mathematical: . If , the sequence is shifted right (delayed) by samples. If , it is shifted left (advanced) by samples.

  • Graphical (ASCII Representation):

x[n]:
     3 |     o
     2 |   o |
     1 | o | |
-------+-+-+-+-+--> n
       0 1 2 3
 
y[n] = x[n-2] (Delayed by 2):
     3 |         o
     2 |       o |
     1 |     o | |
-------+-+-+-+-+-+--> n
       0 1 2 3 4

2.2 Discrete Time Reversal (Folding)

  • Mathematical: . The sequence is mirrored around the origin .
  • Graphical (ASCII Representation):
x[n]:
     2 |   o
     1 | o |
-------+-+-+-+--> n
       0 1 2
 
y[n] = x[-n] (Folded):
     2 | o
     1 | | o
-------+-+-+-+--> n
      -2 -1 0

2.3 Discrete Time Scaling

Unlike continuous time scaling, discrete time scaling is non-trivial because the independent variable must remain an integer.

  • Down-sampling (Decimation / Compression): where is an integer . The system keeps only every -th sample and discards the rest. This results in data loss.
  • Up-sampling (Interpolation / Expansion): only for indices where is an integer. For all other values, . This inserts zeros between every sample.
x[n] = {0, 1, 2, 3, 4} for n=0..4:
     4 |         o
     3 |       o |
     2 |     o | |
     1 |   o | | |
-------+-+-+-+-+-+--> n
       0 1 2 3 4
 
y[n] = x[2n] (Decimated by M=2; sample 1 and 3 are lost):
     4 |     o
     2 |   o |
-------+-+-+-+--> n
       0 1 2
 
y[n] = x[n/2] (Interpolated by M=2; zeros inserted):
     4 |                 o
     3 |             o   |
     2 |         o   |   |
     1 |     o   |   |   |
-------+-+-+-+-+-+-+-+-+-+--> n
       0 1 2 3 4 5 6 7 8

3. Combined Operations & Sketching

Order of Operations

To avoid boundary errors when sketching , always follow this sequence:

  1. Shift First: Plot the delayed or advanced signal .
  2. Scale Second: Replace with to compress or expand.
  3. Reverse Last (if ): Flip the entire scaled result across the vertical -axis.

Sketching PYQ 1

Question: Sketch the following signal: (2024, 2019)

Step-by-Step Solution:

  1. Base Signal: The ramp function , starting at origin with slope = 1.
  2. Amplitude Scaling: . Slope is now 4.
  3. Time Shifting: . Shift the starting point right to . The formula is for .
  4. Time Scaling (Compression): .
    • Starting point: .
    • The new slope: Amplitude factor Compression factor .
    • Mathematical formula: for .
left = -1; right = 2
top = 10; bottom = -2
---
y = 12*x - 4 | x > 1/3 | RED | SOLID
y = 0 | x <= 1/3 | RED | SOLID
(0.333, 0) | label:t=1/3 | RED
(1, 8) | label:Slope = 12 | RED

Sketching PYQ 2

Question: Sketch the following signal: (2015)

Step-by-Step Solution:

  1. Factor terms inside: to prevent scaling-shifting confusion.
  2. Base Signal: , starting at 0, slope 1.
  3. Time Reversal: . The ramp now goes to the left (exists for ).
  4. Time Scaling (Expansion): . The ramp expands, slope becomes shallower ().
  5. Time Shifting: Shift right by 4 units .
    • Boundary: .
    • Due to reversal, signal exists for .
    • Value at is .
    • Value at is .
    • Value at is .
left = -2; right = 6
top = 4; bottom = -1
---
y = -0.5*x + 2 | x < 4 | GREEN | SOLID
y = 0 | x >= 4 | GREEN | SOLID
(4, 0) | label:t=4 | GREEN
(0, 2) | label:(0, 2) | GREEN

Sketching PYQ 3

Question: Sketch the signal: (2021)

Step-by-Step Solution:

  1. is a step function turning ON (+1) at .
  2. is a negative step turning OFF (-1 subtraction) at .
  3. Summing them creates a rectangular window pulse of width 2 between and .
left = 3; right = 9
top = 2; bottom = -1
---
y = 1 | 5 < x < 7 | PURPLE | SOLID
y = 0 | x < 5 | PURPLE | SOLID
y = 0 | x > 7 | PURPLE | SOLID
(5, 0) | open | PURPLE
(5, 1) | open | PURPLE
(7, 0) | open | PURPLE
(7, 1) | open | PURPLE