Introduction to Signals and Systems
Introduction to Signals and Systems
Reference
Oppenheim & Willsky, Signals and Systems, Chapter 1, Sections 1.0–1.2.1
Review of Prerequisites
Basic calculus and functions
Understanding of complex numbers
Familiarity with mathematical notation
Engineering problem-solving approach
x(t) −→ CT S −→ y(t)
1
t2
g(t) = e− 2
0.8
0.6
g(t)
0.4
0.2
0
−5 −4 −3 −2 −1 0 1 2 3 4 5
t
2
Example 2. Consider a sampled Gaussian pulse as a DT signal:
0.8
0.6
x[n]
0.4
0.2
0
−6 −4 −2 0 2 4 6
n
Discrete-Time Analogs
∞ N
X 1 X
E∞ = |x[n]|2 , P∞ = lim |x[n]|2
N →∞ 2N + 1
n=−∞ n=−N
Key Categories
Energy Signal: 0 < E∞ < ∞, P∞ = 0.
Power Signal: E∞ = ∞, 0 < P∞ < ∞.
3
Example 1: Rectangular Pulse (Energy)
(
1
−1 ≤ t ≤ 1
Z
1
x(t) = ⇒ E∞ = 1 dt = 2
0 otherwise −1
4
Signals and Systems Lecture 2
Dr. Ghandi Manasra and Ahmed Rabei Fall 2025
Reference
Oppenheim & Willsky, Signals and Systems, Chapter 1, Sections 1.2.2 – 1.4
Review of Lecture 1
CT and DT signals defined
Time-domain transformations learned
Audio signal examples
Energy and power concepts
x(t)
−6 −4 −2 2 4 6 t
−1
T0 = 2
Sum of Periodic CT Signals: A sum of two periodic signals, x(t) = x1 (t) + x2 (t) with
fundamental periods T1 and T2 , is periodic if and only if the ratio of their periods is a rational
number:
T1 m
= , where m, n ∈ Z+ .
T2 n
The fundamental period is then
T0 = nT1 = mT2 ,
where m, n are the smallest such integers. This means T0 is the smallest time when the first signal
has completed m full cycles and the second signal has completed n full cycles simultaneously,
marking the moment they ”align” perfectly and the combined signal repeats.
1 2 3 4 5 6 7 8 9 10 11 12 t
−1
x2 (t) is a triangular wave with period T2 = 3
1
1 2 3 4 5 6 7 8 9 10 11 12 t
−1
Sum: x(t) = x1 (t) + x2 (t), with period T0 = lcm(2, 3) = 6
2
1 2 3 4 5 6 7 8 9 10 11 12 t
−1
−2 T0 = 6
2
Signal 1: cos(2πt) with T1 = 1
−5 −4 −3 −2 −1 1 2 3 4 5
−1
√ √
Signal 2: cos(2π 2 t) with T2 = 1/ 2
−5 −4 −3 −2 −1 1 2 3 4 5
−1
√
Aperiodic Sum: cos(2πt) + cos(2π 2 t)
2
−5 −4 −3 −2 −1 1 2 3 4 5
−1
−2
3
Discrete-Time (DT) Periodic Signals
Definition 2. A DT signal x[n] is periodic if there exists an integer N > 0 such that
x[n] = x[n + N ], ∀n ∈ Z.
0.5
8 16 24
−0.5
−1
N0 = 8
Sum of Periodic DT Signals: If x1 [n] has period N1 and x2 [n] has period N2 , their sum
x[n] = x1 [n] + x2 [n] is periodic with period N0 given by
N1 N2
N0 = lcm(N1 , N2 ) = .
gcd(N1 , N2 )
For x[n] to be periodic, both x1 [n] and x2 [n] must complete an integer number of their respective
periods simultaneously. The smallest such interval is the fundamental period N0 of the sum.
4
Example 2. N1 = 6, N2 = 9 =⇒ N0 = lcm(6, 9) = 18.
N1 = 8, N2 = 12 =⇒ N0 = lcm(8, 12) = 24.
2π
x1 [n] = cos 6 n with period N1 = 6
6 12 18 24 30 36 n
−1
2π
x2 [n] = cos 9 n with period N2 = 9
9 18 27 36 n
−1
9 18 27 36 n
−2
N0 = 18
CT average power: Z
1
Pave = |x(t)|2 dt.
T0 t0
DT average power:
1 X
Pave = |x[n]|2 .
N0
n=⟨N0 ⟩
5
2.2 Even and Odd Signals
A signal can be classified based on its symmetry with respect to the time origin.
Definition 3. Even signal: Symmetric about the vertical axis.
−4 −2 2 4t 0.4
−0.5 0.2
−1
−4 −2 2 4t
1 1
0.5 0.5
−4 −2 2 4t −4 −2 2 4t
−0.5 −0.5
−1 −1
6
Proposition 1. Any signal can be decomposed into the sum of an even part and an odd part:
0.5
0.5
1 1
sgn(t) e−|t|
Odd Part: xo (t) = 2 x(t) − x(−t) = 2
0.5
Energy of Even/Odd Parts: Because the even and odd components of a signal are orthogonal,
the total energy of a signal is the sum of the energies of its even and odd parts:
Z ∞ Z ∞ Z ∞
2 2
|x(t)| dt = |xe (t)| dt + |xo (t)|2 dt.
−∞ −∞ −∞
The same applies for DT signals by replacing integration with summation and t with n.
7
2.3 Exponential and Sinusoidal Signals
Continuous-Time (CT) Exponentials
The general form is:
x(t) = Ceat , where a, C ∈ C.
ω0 t Re
2
−1 1
−1
t
|ejω0 t | = 1
−1 1
(a) Real exponential signals. (b) Complex exponential signal.
It represents a vector of unit length rotating in the complex plane at angular frequency ω0 .
Its fundamental period is
2π
T0 = .
|ω0 |
The higher |ω0 |, the faster the vector spins, resulting in faster oscillations in the real and
imaginary parts.
This shows that sinusoids are projections of rotating complex exponentials onto the real axis.
The fundamental frequency f0 in Hertz (cycles per second) and the fundamental period T0 are
related to ω0 as:
ω0 1 2π
f0 = , T0 = = .
2π f0 ω0
8
Discrete-Time (DT) Exponentials
The general form is:
x[n] = Cαn .
6 3
4 2
2 1
−5 −2 1 4 7 10 n −5 −2 1 4 7 10 n
5
2
−5 −2 1 4 7 10 n −5 −2 1 4 7 10 n
−2
−5
9
Key Differences of DT Complex Exponentials from CT:
ω0 N = 2πm
for some integers m and N . This implies that periodicity requires ω2π0 to be a rational number.
Frequency Aliasing: Frequencies separated by integer multiples of 2π produce identical
signals:
ej(ω0 +2πk)n = ejω0 n ej2πkn = ejω0 n , for any integer k.
In contrast, for CT signals, distinct values of ω0 always produce distinct signals.
Key insight: Because frequencies alias every 2π, all unique frequency content is captured in
an interval like [−π, π). This fundamental property of discrete-time signals means we only
need to consider a frequency interval of length 2π.
Rate of oscillation is not monotonic with ω0 :
– Low frequencies (slow oscillation) occur when ω0 is near an even multiple of π (e.g.,
0, ±2π, . . .).
– High frequencies (fast oscillation) occur when ω0 is near an odd multiple of π (e.g.,
±π, ±3π, . . .).
– The fastest possible oscillation corresponds to ω0 = π, which gives:
10
2.4 Unit Impulse and Unit Step Functions
Discrete-Time (DT) Signals
Unit Impulse δ[n]: Represents a single instantaneous pulse at n = 0:
(
1, n = 0
δ[n] =
0, n ̸= 0
Unit Step u[n]: Represents a signal that switches on at n = 0 and stays on:
(
1, n ≥ 0
u[n] =
0, n < 0
1 1
−4 −3 −2 −1 1 2 3 4 n −4 −3 −2 −1 1 2 3 4 n
(a) Unit Impulse (b) Unit Step
11
Properties:
u[n]
1
−u[n − 1] n
−1
δ[n]
1
−3 −2 −1 0 1 2 3 4 5 n
12
Continuous-Time (CT) Signals
Unit Step u(t): (
1, t≥0
u(t) =
0, t<0
−3 −2 −1 0 1 2 3
Unit Impulse δ(t) (Dirac Delta Function): The CT unit impulse is an idealized function
defined by its properties under integration rather than its value. Conceptually, it is an infinitely
tall, infinitely narrow pulse at t = 0 with a total area of 1.
Formally, it can be viewed as the limit of a pulse gT (t) shrinking in width but maintaining unit
area:
δ(t) = lim gT (t).
T →0
T ↓0
gT (t) → δ(t)
6 T =1
T = 0.5
5 T = 0.25
4
−1 −0.5 0 0.5 1
13
1
−2 −1 0 1 2
Properties:
Sifting property: The impulse ”sifts out” the value of a function at a single point:
Z ∞
x(t)δ(t − t0 ) dt = x(t0 ).
−∞
Scaling property:
1 b
δ(at + b) = δ t+ .
|a| a
The impulse is even:
δ(−t) = δ(t).
14
Signals and Systems Lecture 3
Dr. Ghandi Manasra and Ahmed Rabei Fall 2025
Reference
Oppenheim & Willsky, Signals and Systems, Chapter 1, Sections 1.5–1.6; MIT OCW lecture notes
on LTI systems.
Review of Lecture 2
Elementary signals toolbox introduced
Unit impulse sifting property
Signal representation building blocks
Today: systems and properties
Systems are often interconnected to compose complex processing chains. Common interconnec-
tions include:
y1 (t)
x(t) System T1 System T2 y(t)
x(t) + y(t)
System T2
+ Forward System
x(t) y(t)
T1
−
Feedback System
T2
1. Memory
Definition 1. A system is memoryless if the output at any time depends solely on the input at
that time; otherwise, it has memory (is dynamic).
Example 1.
y[n] = x[−n]
y(t) = d
dt x(t)
y[n] = sgn(x[n])
y(t) = x(t − 1)
2
2. Invertibility
Definition 2. A system is invertible if distinct inputs produce distinct outputs, and an inverse
system T −1 exists such that T −1 {y} = x.
Example 2.
Invertible Systems: The original input x can be uniquely recovered from the output y.
– y(t) = x2 (t) (Squarer): Loses the sign of the input; x(t) = 2 and x(t) = −2 both produce
y(t) = 4.
– y[n] = nx[n]: For n = 0, y[0] = 0 regardless of the value of x[0]. Information about x[0]
is lost.
d d
– y(t) = dt x(t) (Differentiator): Loses any DC offset in the input, since dt (x(t) + C) =
d
dt x(t).
– y[n] = x[2n] (Downsampler): Loses all odd-indexed samples of the input signal.
Invertible System
3. Causality
Definition 3. A system is causal if its output at time t0 depends only on the input at the same or
previous time {x(t) : t ≤ t0 }. Otherwise, it is non-causal.
Remark 1. All real-time physical systems must be causal, as they cannot react to future events.
Example 3.
y(t) = x(t − t0 ) ( t0 ≥ 0)
y[n] = Rx[2n]
t+t
y(t) = t 0 x(τ ) dτ ( t0 > 0)
y(t) = x(−2t)
Rt
y(t) = P −∞ x(τ ) dτ
y[n] = nk=−∞ x[k]
y[n] = x[n − 1]
y(t) = x(t
( + 1)
x(3t) if t < 0
y(t) =
x(t − 1) if t ≥ 0
3
4. Stability
Definition 4 (BIBO Stability). A system is Bounded-Input, Bounded-Output (BIBO) stable
if every bounded input produces a bounded output.
Example 4.
Stable Systems: A bounded input |x| ≤ Bx produces a bounded output |y| ≤ By .
– Time Delay: y[n] = x[n − 1]. A simple shift does not alter the amplitude bounds of the
signal. RStable.
t+t
– y(t) = t 0 x(τ ) dτ . The output is bounded by |y(t)| ≤ |t0 | · Bx . Stable.
– Moving Average: y[n] = 2M1+1 M
P
k=−M x[n − k]. The output is bounded by |y[n]| ≤ Bx .
Stable.
– y(t) = ex(t) . If |x(t)| ≤ Bx , the output is bounded by |y(t)| ≤ eBx . Stable.
5. Time-Invariance
Definition 5. A system is time-invariant if a time shift in the input results in an identical time
shift in the output:
y(t) = T {x(t)} =⇒ y(t − t0 ) = T {x(t − t0 )} ∀t0 .
Remark 2. Physical systems whose properties do not change over time are time-invariant (e.g., an
RC circuit with fixed component values).
Example 5.
y(t) = x(t + f (t))
y(t) = dt
d
x(t)
y(t) = f (x(t))
y(t) = x(f (t))
y(t) = Ax(t + α)
y(t) = Ax(αt)
4
6. Linearity
Definition 6 (Linearity). A system is linear if it satisfies superposition principles. This combines
two properties:
x1 (t)
+ System y ∗ (t)
x2 (t)
×α
x(t) System y(t) α y(t)
×α
x(t) System y ∗ (t) y ∗ (t) =
?
α y(t)
Homogeneity scaling principle for linearity.
Remark 3. A necessary (but not sufficient) condition for linearity is that a zero input must produce
a zero output: T {0} = 0.
5
Example 6. Linear Systems: Obey the superposition principle T {ax1 + bx2 } = aT {x1 } +
bT {x2 }.
– y(t) = Ax(αt + β): Time scaling, shifting, and amplitude scaling are all linear operations.
d
– y(t) = dt x(t): Differentiation is a linear operator.
Rt
– y(t) = P −∞ x(τ ) dτ : Integration is a linear operator.
– y[n] = nk=−∞ x[k]: Summation is a linear operator.
– y(t) = x(f (t)): (Linear) The transformation is on the time variable, not the signal’s
amplitude.
– y(t) = x(t + f (t)): (Linear) Similar to the above, this is a time-varying shift, which is a
linear operation.
– y[n] = x[n − 1]x[n]: Fails homogeneity, as scaling the input by a scales the output by a2 .
– y[n] = x[n] + C: Fails the zero-input test; if x[n] = 0, y[n] = C ̸= 0.
– y(t) = |x(t)|: Fails homogeneity, since | − x(t)| = |x(t)| ̸= −|x(t)|.
– y(t) = ℜ{x(t)}: Fails homogeneity for complex scalars (e.g., ℜ{j ·1} = 0, but j ·ℜ{1} = j).
It is, however, additive.
– y[n] = ℑ{x[n]}: Also fails homogeneity for complex scalars.
– y(t) = x∗ (t): The complex conjugate fails homogeneity for complex scalars, since
(ax(t))∗ = a∗ x∗ (t) ̸= ax∗ (t).
– y(t) = x(t) + f (t): Fails the zero-input test if f (t) ̸= 0.
6
Signals and Systems Lecture 4
[Link] Manasra and Ahmed Rabei Fall 2025
Reference
Oppenheim & Willsky, Signals and Systems, Chapter 2, Sections 2.0–2.1
Review of Lecture 3
Six system properties defined
Linearity and time-invariance most important
LTI systems mathematically tractable
Model many real-world phenomena
Today we will see the first major payoff of focusing on LTI systems: if we know the response of
an LTI system to a single, simple input—the unit impulse—we can determine its response to any
input. This leads us to the convolution sum.
x[−1]δ[n + 1]
2
x[−1] = 1
1
x[0]δ[n]
2
x[0] = 2
1
x[1]δ[n − 1]
2
x[1] = 1
1
Sum
2
1
−2 −1 1 2 3 n
P
Figure 4.1: Signal decomposition using sifting property: x[n] = k x[k]δ[n − k].
Proposition 1 (General Sifting Property). Any discrete-time signal x[n] can be written as:
∞
X
x[n] = x[k]δ[n − k]
k=−∞
2
4.2 The Discrete-Time Convolution Sum
Now let’s see what happens when we put the signal representation into an LTI system T .
∞
( )
X
y[n] = T {x[n]} = T x[k]δ[n − k] (3)
k=−∞
Step 1: Use Linearity. The response to a weighted sum of inputs is the weighted sum of
individual responses:
X∞
y[n] = x[k]T {δ[n − k]}
k=−∞
Step 2: Use Time-Invariance. Define the impulse response h[n] = T {δ[n]}. For an LTI
system:
hk [n] = T {δ[n − k]} = h[n − k]
Step 3: Combine. Substituting back gives us the discrete-time convolution sum:
Definition 1 (Discrete-Time Convolution Sum).
∞
X
y[n] = x[k]h[n − k] = (x ∗ h)[n]
k=−∞
Remark 1. The impulse response h[n] completely characterizes the behavior of an LTI system.
Given h[n], it is possible to compute the output y[n] for any input x[n]. This is not true for
nonlinear systems.
1 1
0.5
−2 −1 0 1 2 3 4 5 −2 −1 0 1 2 3 4 5
n n
3
4.3 Examples
Convolution as Echo: Imagine h[n] as an echo pattern. For example, h[n] = {1, 0, 0, 0.5, 0, 0.2}
models original sound plus delayed echoes.
1 0.2
0.5
0.2
1 2 3 4 5 6 1 2 3 4 5 6
n n
4
4.4.1 Numerical Examples
Example 2 (Exponential Input with Unit Step Response). Given:
n−1
1
x[n] = u[n − 1], h[n] = u[n]
2
1 n
Therefore: y[n] = 2 1 − 2 u[n − 1]
−1 1 2 3 4 5 6 7 8 n
5
Example 3 (Finite Impulse Response System). Consider an LTI system with impulse response:
2
n=0
h[n] = −1 n = 1
0 otherwise
The convolution requires careful interval analysis. The non-zero intervals are:
x[n] ̸= 0 for −2 ≤ n ≤ 11
h[n] ≠ 0 for 2 ≤ n ≤ 12
This leads to five distinct intervals for the output, each requiring separate analysis of the
convolution sum limits.
6
Signals and Systems Lecture 5
Dr. Ghandi Manasra and Ahmed Rabei Fall 2025
Reference
Oppenheim & Willsky, Signals and Systems, Chapter 2, Section 2.2
Review of Lecture 4
Discrete-time convolution sum derived
Signal decomposition using impulses
LTI systems characterized by impulse response
Flip-and-slide method for computation
Today we extend the convolution concept to continuous-time LTI systems. The derivation and
intuition are identical to the discrete-time case—the only difference is that summation becomes
integration.
Intuition: We can approximate x(t) with narrow rectangular pulses of width ∆ and height x(k∆).
As ∆ → 0, these pulses become impulses, and the sum becomes an integral. The value x(τ )dτ is
the infinitesimal ”weight” of the impulse at time τ .
5.2 The Convolution Integral
Now let’s apply this impulse representation to a continuous-time LTI system T . The logic is identical
to the discrete-time case.
Z ∞
y(t) = T {x(t)} = T x(τ )δ(t − τ )dτ (1)
−∞
Step 1: Use Linearity. The response to a weighted integral of inputs is the weighted integral
of individual responses: Z ∞
y(t) = x(τ )T {δ(t − τ )}dτ
−∞
Step 2: Use Time-Invariance. Define the impulse response h(t) = T {δ(t)}. For an LTI
system:
T {δ(t − τ )} = h(t − τ )
Step 3: Combine. Substituting back gives us the convolution integral:
Definition 1 (Continuous-Time Convolution Integral).
Z ∞
y(t) = x(τ )h(t − τ )dτ = (x ∗ h)(t)
−∞
Remark 1. The impulse response h(t) completely characterizes any continuous-time LTI system.
Given h(t), we can compute the output y(t) for any input x(t). This is not true for nonlinear
systems.
4. Acoustic Echo System: In a room with hard walls, sound reflects and creates echoes. The
impulse response h(t) = δ(t) + αδ(t − T ) + α2 δ(t − 2T ) + . . . represents the direct sound plus
exponentially decaying echoes with delay T and reflection coefficient α. The room’s response to any
sound is the convolution of the input with this impulse response.
2
Input: Unit Step
x(t) = u(t)
1
1
h(t) = e−t u(t) (RC=1)
3
5.5 Numerical Examples
Example 1 (Two Rectangular Pulses). Given:
( (
1 0≤t≤1 1 0≤t≤1
x(t) = , h(t) =
0 otherwise 0 otherwise
1
Triangular result from identical rectangular pulses
0.5
Figure 5.2: Convolution of two identical rectangular pulses showing triangular result.
4
Example 2 (Exponential with Delayed Step). Given:
For t ≥ 1:
Z t−1 t−1
e−τ dτ = −e−τ 0 = 1 − e−(t−1)
y(t) = (3)
0
5
Example 3 (Two Exponentials with Different Decay Rates). Given:
For t ≥ 0:
Z t Z t
−2τ −3(t−τ ) −3t
y(t) = e ·e dτ = e eτ dτ (5)
0 0
=e −3t
[eτ ]t0 = e−3t (et − 1) = e −2t
− e−3t (6)
Figure 5.4: Convolution of two exponential functions with different decay rates.
6
Example 4 (Impulse Train with Exponential). Given:
2
X
x(t) = δ(t − n), h(t) = e−t u(t)
n=0
This gives:
t < 0: y(t) = 0
0 ≤ t < 1: y(t) = e−t
1 ≤ t < 2: y(t) = e−t + e−(t−1) = e−t (1 + e)
t ≥ 2: y(t) = e−t + e−(t−1) + e−(t−2) = e−t (1 + e + e2 )
P2
Input: Impulse train n=0 δ(t − n)
x(t)
1
7
Signals and Systems Lecture 6
Dr. Ghandi Manasra and Ahmed Rabei Fall 2025
Reference
Oppenheim & Willsky, Signals and Systems, Chapter 2, Sections 2.3–2.4
Review of Lecture 5
Convolution integral for CT systems
Flip-and-slide method for computing convolution
Physical examples of convolution
6.1 Introduction
The core result from last time is the convolution representation:
Z ∞
y(t) = x(t) ∗ h(t) = x(τ )h(t − τ )dτ
−∞
∞
X
y[n] = x[n] ∗ h[n] = x[k]h[n − k]
k=−∞
Today, those formulas become a tool to analyze memory, invertibility, causality, and stability
purely from h, and to connect to systems given by constant-coefficient differential and difference
equations.
Intuition: The overall impulse response of a cascade of LTI systems is the convolution of the
individual impulse responses. For LTI systems, the order of the cascade does not matter.
Remark 1. The commutativity and associativity of LTI systems is a very special and powerful
property. This is NOT true for nonlinear systems. A classic example: A ”square” block followed by
an ”add 3” block gives (x2 ) + 3. Reversing the order gives (x + 3)2 , which is completely different.
1 2 3 4 1 2 3 4
y1 [n] = x[n] ∗ h[n] y2 [n] = h[n] ∗ x[n]
3 3
2 2
1 1
1 2 3 4 n 1 2 3 4 n
Convolution becomes a weighted sum of delayed copies, modeling echoes and multipath channels.
2
6.3 Correlation Functions
Correlation provides a measure of similarity or dissimilarity between two signals. It is a fundamental
tool in signal processing for pattern recognition, synchronization, and noise analysis.
Discrete-Time:
∞
X ∞
X
Rxy [n] = x[k]y[k + n] = x[k − n]y[k]
k=−∞ k=−∞
Key Properties:
Discrete-Time:
∞
X ∞
X
Rxx [n] = x[k]x[k + n] = x[k − n]x[k]
k=−∞ k=−∞
Key Properties:
3
dependency, we use normalized correlation. The denominator is the geometric mean of the signal
energies.
Continuous-Time:
R∞
Rxy (t) x(τ )y(τ + t)dτ
ρxy (t) = p = qR −∞
Rxx (0)Ryy (0) ∞ R∞
|x(τ )|2 dτ |y(τ )|2 dτ
−∞ −∞
Discrete-Time:
P∞
Rxy [n] x[k]y[k + n]
ρxy [n] = p = qP k=−∞
∞
Rxx [0]Ryy [0] |x[k]|2 ∞ |y[k]|2
P
k=−∞ k=−∞
Key Properties:
Key takeaways:
The normalized correlation coefficient ρxy (t) always lies in the range of -1 to +1:
ρxy (t) = +1: Perfect positive correlation at time lag t. The two signals are identical in shape,
and one may be a positive scaled version of the other.
ρxy (t) = −1: Perfect negative correlation at time lag t. The signals have the exact same shape,
but one is inverted (a negative scaled version of the other).
ρxy (t) = 0: No correlation between the signals at that specific time lag. They are considered
orthogonal.
Values between 0 and 1: Indicate a degree of positive similarity. The closer to 1, the more
similar the signals are.
Values between -1 and 0: Suggest a degree of negative similarity. The closer to -1, the
more they are alike in shape but opposite in sign.
Example 1 (Normalized Cross-Correlation). For x(t) = e−t u(t) and y(t) = 2e−t u(t), find ρxy (t).
Solution: First, compute the autocorrelations:
Z ∞ Z ∞
−2τ 1
Rxx (0) = e dτ = , Ryy (0) = 4e−2τ dτ = 2
0 2 0
Therefore:
e−t
ρxy (t) = q = e−t
1
2 ·2
This shows perfect positive correlation at t = 0 (ρxy (0) = 1) that decays exponentially.
4
Key Applications:
This means correlation can be computed using convolution by time-reversing one of the signals.
Proof:
Z ∞
x(t) ∗ y(−t) = x(τ )y(−(t − τ ))dτ (1)
Z−∞
∞
= x(τ )y(τ − t)dτ (2)
−∞
= Rxy (t) (3)
For t < 0: Z ∞
2
Rxx (t) = (2e−3τ )(2e−3(τ +t) )dτ = e3t
−t 3
2 −3|t|
Therefore: Rxx (t) = 3e for all t.
Example 3 (Cross-Correlation of Rectangular Pulses). For x(t) = u(t) − u(t − 1) and y(t) =
u(t − 32 ) − u(t − 52 ), find Rxy (t).
The cross-correlation shows the overlap between the two rectangular pulses as one slides past
the other, with maximum correlation when they align.
5
6.3.6 Periodic Signals (Power Signals)
For periodic signals with period T (CT) or N (DT), correlation functions are also periodic:
Continuous-Time:
1 T
Z
Rxy (t) = x(τ )y(τ + t)dτ
T 0
Discrete-Time:
N −1
1 X
Rxy [n] = x[k]y[k + n]
N
k=0
For periodic signals, Rxx (0) represents the average power rather than total energy.
The system’s output can only depend on the current input if the impulse response itself is zero
everywhere except at time zero.
The system cannot respond to an impulse before the impulse is applied. The convolution integral
for a causal system simplifies to:
Z t ∞
X
y(t) = x(τ )h(t − τ )dτ, y[n] = h[k]x[n − k]
−∞ k=0
6
Demonstration: Causality Analysis
h1 [n] = u[n]
h2 [n] = u[n + 1]
Remark 2. Once the system is described by h(t), properties like causality, memorylessness,
invertibility, and stability can be checked directly from h(t) without further ambiguity; for stability
in particular, the tail of h(t) must decay so that the total ”effect” of past inputs remains finite.
7
6.4.5 Demonstration: Stability Analysis
Stable System
h1 [n] = (0.8)n u[n]
0.5
Unstable System
h2 [n] = u[n]
0.5
−1 1 2 3 4 5 6 7 8n
d
h(t) = s(t)
dt
Rt
For causal LTI systems, s(t) = 0 h(τ )dτ and differentiability almost everywhere yields h.
8
6.6 Systems Described by Differential and Difference Equations
This is the most important and practical class of LTI systems in engineering applications.
where:
Critical Requirements:
1. The differential equation alone does not completely specify the output in terms of the input.
2. We need auxiliary conditions corresponding to the values of y(t) and its first (N − 1)
derivatives at some point in time.
3. For the system to be linear, all auxiliary conditions must be zero.
4. For the system to be causal and LTI, we must assume initial rest.
Normalized Form
When M = N , we can write:
"N N
#
1 X dk x(t) X dk y(t)
y(t) = bk − ak
a0 dtk dtk
k=0 k=1
9
Example 4 (RC Circuit). Consider the first-order RC circuit:
dy
RC +y =x
dt
With initial rest, this gives:
1 −t/(RC)
h(t) = e u(t)
RC
This system is causal, stable, and has step response 1 − e−t/(RC) .
Key Properties:
1. The difference equation alone does not completely specify the output.
2. For linearity, auxiliary conditions must be zero.
3. If N ≥ 1: Infinite Impulse Response (IIR) system.
4. If N = 0: Finite Impulse Response (FIR) system.
10
Cascade Interpretation
For M = N , the difference equation can be interpreted as a cascade of two systems:
Nonrecursive (FIR) part:
XN
w[n] = bk x[n − k]
k=0
11
x[n] b0
w[n] 1/a0
+ + y[n]
b1 −a1
D + + D
b2 −a2
D + + D
.. .. .. ..
. . . .
bN −1 −aN −1
D + + D
bN −aN
D D
12
w[n]
x[n] b0 y[n]
+ +
−a1 b1
+ D +
−a2 b2
+ D +
..
.
−aN −1 bN −1
+ D +
−aN bN
+ D +
13
6.7.3 Continuous-Time Implementation Structures
The same implementation structures can be adapted for continuous-time systems by replacing delay
elements with integrators.
x(t) b0
w(t) 1/a0
+ + y(t)
R b1 −a1 R
+ +
R b2 −a2 R
+ +
.. .. .. ..
. . . .
R bN −1 −aN −1 R
+ +
R bN −aN R
w(t)
x(t) b0 y(t)
+ +
−a1 R b1
+ +
−a2 R b2
+ +
..
.
−aN −1 R bN −1
+ +
−aN R bN
+ +
Figure 6.7: Direct Form II (Canonic) implementation structure for continuous-time LCCDEs.
14
6.6.3 Key Implementation Considerations
Direct Form I Advantages:
Clear separation between feedforward and feedback
Less sensitive to coefficient quantization
Easier to understand and debug
Direct Form II Advantages:
Minimal memory usage (half the delays)
More efficient for high-order systems
Standard in many DSP libraries
Implementation Challenges:
Numerical precision issues with high-order systems
Potential for limit cycles in fixed-point implementations
Need for careful coefficient scaling
d2 y dy
m 2
+c + ky = x(t)
dt dt
where m is mass, c is damping coefficient, and k is spring constant.
This is a first-order IIR filter with cutoff frequency determined by the coefficient 0.9.
Example 10 (Echo Cancellation). An echo cancellation system:
15
6.8.3 System Analysis from LCCDEs
Stability Analysis:
Remark 3. We are only introducing these today. We will spend a significant part of the course
developing powerful techniques (Fourier, Laplace, and z-transforms) to solve these equations and
analyze the systems they represent. For now, the goal is to recognize their form and their connection
to LTI systems under the initial rest condition.
16
6.11 Summary and Next Lecture
Today, we have connected the abstract properties of LTI systems to concrete conditions on their
impulse responses. This is a critical link between theory and practice. The key takeaways are:
Next lecture: We will begin our journey into Fourier analysis. We will discover that complex
exponentials are ”eigenfunctions” of LTI systems, a property that turns the difficult operation of
convolution into simple multiplication. This will be our first step toward a new, and often much
easier, way to analyze signals and systems.
17