Note 2: Elementary Operations on Signals
Focus: Graphical and mathematical manipulation of signals. Examiners aggressively test your ability to combine shifting, scaling, and reversal in a single function. This note includes the exact theory and the step-by-step solutions for the sketching and explanation PYQs.
1. Core Operations on the Independent Variable (Time)
In signal processing, manipulating the independent variable (time for continuous, or index for discrete) alters when and how fast a signal occurs without fundamentally 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.
[Graph: Original rectangular pulse x(t) centered at origin. To its right, the delayed pulse x(t-t_0). To its left, the advanced pulse x(t+t_0)]
1.2 Time Scaling
Time scaling speeds up or slows down the signal.
- Compression: Mathematically represented as where . The signal occurs faster, so it shrinks 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).
[Graph: Original triangular signal x(t) spanning from -2 to 2. Below it, the compressed signal x(2t) spanning from -1 to 1. Below that, the expanded signal x(t/2) spanning from -4 to 4]
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 an βEvenβ signal, , so time reversal has no visible effect.
[Graph: An asymmetrical signal x(t) strictly in the positive x-axis, and its time-reversed mirror image x(-t) strictly in the negative x-axis]
2. PYQ Solution: Processing of Discrete Signals
π₯ Exact PYQ: What is signal? Explain the operations performed on the independent variables in the processing of discrete signals mathematically & graphically. [11/12 marks] (2019, 2018, 2017, 2015)
How to answer for full marks: If the examiner specifies discrete signals (), you must explain the operations using discrete sequences and note the critical difference in time scaling (down-sampling/up-sampling) which causes data loss or requires zero-padding.
1. Discrete Time Shifting:
- Mathematical: . If , the sequence is shifted right (delayed) by samples. If , it is shifted left (advanced) by samples.
- Graphical:
[Graph: Discrete sequence x[n] = {1, 2, 3} at n=0,1,2. Below it, y[n] = x[n-2] showing {1, 2, 3} at n=2,3,4]
2. Discrete Time Reversal (Folding):
- Mathematical: . The sequence is folded around the origin .
- Graphical:
[Graph: x[n] with values at n=1,2. Below it, y[n]=x[-n] with the same values mirrored at n=-1,-2]
3. Discrete Time Scaling (Crucial Difference from Continuous):
- Down-sampling (Decimation / Compression): where is an integer . The system keeps only every -th sample and discards the rest. Data is lost.
- Up-sampling (Interpolation / Expansion): only for indices where is an integer. For all other values, . This inserts zeros between every sample.
- Graphical:
[Graph: Original sequence x[n] from n=0 to 4. Decimated sequence y[n]=x[2n] showing only the 0th, 2nd, and 4th original samples at n=0, 1, 2. Expanded sequence y[n]=x[n/2] showing original samples separated by zeros]
3. PYQ Solution: Combined Operations & Sketching
When sketching a signal with combined operations like , always follow this rigid sequence to avoid critical boundary errors:
- Shift First: Draw .
- Scale Second: Replace with to compress/expand.
- Reverse Last (if negative): Flip the entire result across the y-axis.
π₯ Exact PYQ: Sketch the following signal: (2024, 2019) Step-by-Step Solution:
- Identify Base Signal: The ramp function . It starts at origin with a slope of 1.
- Amplitude Scaling: . The signal still starts at 0, but the slope is now 4.
- Time Shifting (Delay): . Shift the starting point right to . The formula is for .
- Time Scaling (Compression): .
- To find the new starting point, set the inside to zero: .
- The new slope becomes: Amplitude multiplier Time compression factor .
- Mathematical verification: for .
[Graph: x-y axis. A straight diagonal line starting at exactly x = 1/3 on the t-axis. The line shoots upward very steeply with a calculated slope of 12. Value is 0 for x < 1/3]
π₯ Exact PYQ: Sketch the following signal: (2015) Step-by-Step Solution:
- Rewrite inside the bracket: . This prevents shift-scale confusion.
- Identify Base: , starting at 0, slope 1.
- Time Reversal: . The ramp now goes to the left. It is 0 for , and grows as you move negatively (slope is -1).
- Time Scaling (Expansion): . The ramp expands. The slope becomes shallower: .
- Time Shifting: Delay by 4 units .
- Set inside to zero to find the boundary: .
- Because of the time reversal, the signal exists for .
- At , .
- At , .
- At , .
[Graph: A ramp that is 0 for all t > 4. Starting from t = 4 and moving left towards negative infinity, the line rises steadily with a slope of -0.5, passing through the y-axis at amplitude 2]
π₯ Exact PYQ: Sketch the signal: (2021) Step-by-Step Solution: This is the standard formulation of a rectangular gate pulse using step functions.
- is a step that turns ON (+1 amplitude) at .
- is a negative step that turns OFF (-1 amplitude subtraction) at .
- When added together, the signal is 1 between and , and 0 everywhere else.
[Graph: A clean rectangular block starting at x=5, ending at x=7, with a constant height of y=1]