👁 Preview — Study, Practice and Revise are open; mock tests and the rest of the syllabus unlock on subscription. Unlock all · ₹4,999
← Back to Random Processes and Signal Analysis
Study mode

Autocorrelation and Power Spectral Density

Learning objective
Understand the concepts of autocorrelation and power spectral density in random processes

Introduction

In electronics and telecommunication engineering, signals often contain random or unpredictable components due to noise, interference, or inherent randomness in the source. Such signals are modeled as random processes, which are collections of random variables indexed by time. Understanding and analyzing these random signals is crucial for designing reliable communication systems, noise reduction techniques, and signal detection algorithms.

Two fundamental tools for analyzing random processes are autocorrelation and power spectral density (PSD). Autocorrelation provides insight into how a signal relates to itself over time shifts, revealing patterns and memory within the signal. PSD, on the other hand, describes how the signal's power is distributed across different frequencies, helping engineers understand the frequency content of random signals.

This section will build your understanding of these concepts from the ground up, starting with the nature of random processes, moving through the mathematical definitions and properties of autocorrelation, and culminating in the interpretation and calculation of power spectral density. Along the way, practical examples and diagrams will clarify these ideas, preparing you for both theoretical and exam challenges.

Autocorrelation

Imagine you are listening to a piece of music. If you play the same segment again after a short pause, you will notice how similar or different it sounds compared to the original. This idea of comparing a signal with a time-shifted version of itself is the essence of autocorrelation.

Definition: Autocorrelation measures the similarity between a signal and a delayed (or shifted) copy of itself as a function of the delay, called the lag. For a random process \( X(t) \), the autocorrelation function (ACF) is defined as the expected value of the product of the signal at time \( t \) and at time \( t + \tau \):

{"formula": "R_X(\\tau) = E[X(t) X(t + \\tau)]", "name": "Autocorrelation Function (Continuous)", "explanation": "Measures similarity of signal with time lag \(\\tau\)", "variables": [{"symbol": "E", "meaning": "Expectation operator"}, {"symbol": "X(t)", "meaning": "Random process at time \(t\)"}, {"symbol": "\\tau", "meaning": "Time lag"}]}

Here, \( E[\cdot] \) denotes the statistical expectation, which averages over all possible realizations of the random process. The lag \( \tau \) can be positive or negative, representing shifts forward or backward in time.

Properties of Autocorrelation Function:

  • Symmetry: \( R_X(\tau) = R_X(-\tau) \). The autocorrelation function is an even function of lag.
  • Maximum at zero lag: \( R_X(0) \) is the maximum value and represents the average power of the signal.
  • Real-valued: For real-valued signals, \( R_X(\tau) \) is always real.
  • Non-negative definiteness: The autocorrelation function ensures energy or power is non-negative.

For discrete-time random signals \( X_n \), the autocorrelation at lag \( k \) is:

{"formula": "R_X[k] = E[X_n X_{n+k}]", "name": "Autocorrelation Function (Discrete)", "explanation": "Discrete-time autocorrelation at lag \(k\)", "variables": [{"symbol": "X_n", "meaning": "Random process at discrete time \(n\)"}, {"symbol": "k", "meaning": "Integer lag"}]}

To visualize autocorrelation, consider the following diagram:

Time (t) X(t) X(t + τ) R_X(τ)

In this illustration, the blue curve represents the original signal \( X(t) \), the dashed blue curve is the time-shifted signal \( X(t + \tau) \), and the red curve shows the autocorrelation function \( R_X(\tau) \) plotted against lag \( \tau \). Notice how the autocorrelation peaks at zero lag and decreases as the lag increases, indicating less similarity as the signals shift further apart.

Power Spectral Density (PSD)

While autocorrelation describes how a signal correlates with itself over time, engineers often need to understand how the signal's power is distributed across different frequencies. This is where the power spectral density (PSD) comes in.

Definition: The PSD of a random process \( X(t) \), denoted \( S_X(f) \), represents the distribution of power per unit frequency. It tells us how much power lies within each frequency band.

The fundamental link between autocorrelation and PSD is given by the Wiener-Khinchin theorem, which states that the PSD is the Fourier transform of the autocorrelation function:

{"formula": "S_X(f) = \int_{-\infty}^{\infty} R_X(\\tau) e^{-j 2 \pi f \\tau} d\\tau", "name": "Power Spectral Density (PSD)", "explanation": "Fourier transform of autocorrelation function", "variables": [{"symbol": "f", "meaning": "Frequency"}, {"symbol": "j", "meaning": "Imaginary unit"}]}

Conversely, the autocorrelation function can be recovered by the inverse Fourier transform of the PSD:

{"formula": "R_X(\\tau) = \int_{-\infty}^{\infty} S_X(f) e^{j 2 \pi f \\tau} df", "name": "Inverse Fourier Transform", "explanation": "Autocorrelation from PSD", "variables": [{"symbol": "f", "meaning": "Frequency"}, {"symbol": "j", "meaning": "Imaginary unit"}]}

This duality means that time-domain correlation information and frequency-domain power distribution are two sides of the same coin.

To visualize PSD, consider the following plot of a random process's power distribution over frequency:

Frequency (Hz) Power S_X(f)

In this plot, the green curve represents the PSD \( S_X(f) \), showing how power is concentrated around certain frequencies. Peaks indicate dominant frequency components, while flat regions indicate uniform power distribution.

Summary of Key Concepts

{"concept": "Autocorrelation and PSD are fundamental tools to analyze random signals. Autocorrelation measures time-domain similarity, while PSD reveals frequency-domain power distribution. The Wiener-Khinchin theorem connects these two via Fourier transform.", "explanation": "Understanding these concepts helps in noise analysis, signal detection, and system design in telecommunication.", "importance": "high"}

Formula Bank

Formula Bank

Autocorrelation Function (Continuous)
\[ R_X(\tau) = E[X(t) X(t + \tau)] \]
where: \( E \) = expectation operator, \( X(t) \) = random process at time \( t \), \( \tau \) = time lag
Autocorrelation Function (Discrete)
\[ R_X[k] = E[X_n X_{n+k}] \]
where: \( X_n \) = random process at discrete time \( n \), \( k \) = integer lag
Power Spectral Density (PSD)
\[ S_X(f) = \int_{-\infty}^{\infty} R_X(\tau) e^{-j 2 \pi f \tau} d\tau \]
where: \( f \) = frequency, \( j \) = imaginary unit
Inverse Fourier Transform
\[ R_X(\tau) = \int_{-\infty}^{\infty} S_X(f) e^{j 2 \pi f \tau} df \]
where: \( f \) = frequency, \( j \) = imaginary unit
PSD of White Noise
\[ S_{WN}(f) = \frac{N_0}{2} \]
where: \( N_0 \) = noise power spectral density level
Output PSD of LTI System
\[ S_Y(f) = |H(f)|^2 S_X(f) \]
where: \( H(f) \) = frequency response of system, \( S_X(f) \) = input PSD

Worked Examples

Example 1: Autocorrelation of a Discrete Random Signal Easy
Given a discrete random signal sequence \( X = \{2, -1, 3, 0\} \), calculate the autocorrelation \( R_X[k] \) for lags \( k = 0, 1, 2 \).

Step 1: Understand the definition of discrete autocorrelation:

\( R_X[k] = E[X_n X_{n+k}] \). For a finite sequence, we approximate expectation by averaging over available products.

Step 2: Calculate \( R_X[0] \) (zero lag):

\( R_X[0] = \frac{1}{4} (2^2 + (-1)^2 + 3^2 + 0^2) = \frac{1}{4} (4 + 1 + 9 + 0) = \frac{14}{4} = 3.5 \)

Step 3: Calculate \( R_X[1] \) (lag 1):

Multiply pairs separated by 1:

\( (2)(-1) + (-1)(3) + (3)(0) = -2 -3 + 0 = -5 \)

Number of pairs = 3, so average:

\( R_X[1] = \frac{-5}{3} \approx -1.67 \)

Step 4: Calculate \( R_X[2] \) (lag 2):

Multiply pairs separated by 2:

\( (2)(3) + (-1)(0) = 6 + 0 = 6 \)

Number of pairs = 2, so average:

\( R_X[2] = \frac{6}{2} = 3 \)

Answer: The autocorrelation values are \( R_X[0] = 3.5 \), \( R_X[1] = -1.67 \), and \( R_X[2] = 3 \).

Example 2: Deriving PSD from Autocorrelation Function Medium
Given the autocorrelation function \( R_X(\tau) = e^{-\alpha |\tau|} \) where \( \alpha > 0 \), find the power spectral density \( S_X(f) \).

Step 1: Recall the PSD is the Fourier transform of \( R_X(\tau) \):

\( S_X(f) = \int_{-\infty}^{\infty} e^{-\alpha |\tau|} e^{-j 2 \pi f \tau} d\tau \)

Step 2: Split the integral into positive and negative parts:

\( S_X(f) = \int_{0}^{\infty} e^{-\alpha \tau} e^{-j 2 \pi f \tau} d\tau + \int_{-\infty}^{0} e^{\alpha \tau} e^{-j 2 \pi f \tau} d\tau \)

Step 3: Evaluate each integral:

For \( \tau \geq 0 \):

\( I_1 = \int_0^\infty e^{-\alpha \tau} e^{-j 2 \pi f \tau} d\tau = \int_0^\infty e^{-(\alpha + j 2 \pi f) \tau} d\tau = \frac{1}{\alpha + j 2 \pi f} \)

For \( \tau < 0 \):

Let \( u = -\tau \), then \( \tau = -u \), \( d\tau = -du \), limits change from \( \tau: -\infty \to 0 \) to \( u: \infty \to 0 \):

\( I_2 = \int_{-\infty}^0 e^{\alpha \tau} e^{-j 2 \pi f \tau} d\tau = \int_\infty^0 e^{-\alpha u} e^{j 2 \pi f u} (-du) = \int_0^\infty e^{-\alpha u} e^{j 2 \pi f u} du = \frac{1}{\alpha - j 2 \pi f} \)

Step 4: Sum the two integrals:

\( S_X(f) = \frac{1}{\alpha + j 2 \pi f} + \frac{1}{\alpha - j 2 \pi f} = \frac{2 \alpha}{\alpha^2 + (2 \pi f)^2} \)

Answer: The PSD is

\[ S_X(f) = \frac{2 \alpha}{\alpha^2 + (2 \pi f)^2} \]

Example 3: Analyzing White Noise PSD Medium
A white noise process has autocorrelation \( R_{WN}(\tau) = \frac{N_0}{2} \delta(\tau) \), where \( \delta(\tau) \) is the Dirac delta function. Find and interpret its power spectral density.

Step 1: Recall the PSD is the Fourier transform of the autocorrelation:

\( S_{WN}(f) = \int_{-\infty}^\infty R_{WN}(\tau) e^{-j 2 \pi f \tau} d\tau = \int_{-\infty}^\infty \frac{N_0}{2} \delta(\tau) e^{-j 2 \pi f \tau} d\tau \)

Step 2: Use the sifting property of delta function:

\( S_{WN}(f) = \frac{N_0}{2} e^{-j 2 \pi f \cdot 0} = \frac{N_0}{2} \)

Step 3: Interpretation:

The PSD is constant for all frequencies, indicating that white noise has equal power at every frequency - a flat spectrum. This means white noise contains all frequency components equally.

Answer: \( S_{WN}(f) = \frac{N_0}{2} \), a flat PSD across all frequencies.

Example 4: Effect of LTI Filtering on PSD Hard
A random signal with PSD \( S_X(f) \) passes through a linear time-invariant (LTI) system with frequency response \( H(f) = \frac{1}{1 + j 2 \pi f / f_c} \), where \( f_c \) is the cutoff frequency. Find the PSD \( S_Y(f) \) of the output signal.

Step 1: Recall the output PSD of an LTI system is:

\( S_Y(f) = |H(f)|^2 S_X(f) \)

Step 2: Calculate the magnitude squared of \( H(f) \):

\( |H(f)|^2 = \left| \frac{1}{1 + j 2 \pi f / f_c} \right|^2 = \frac{1}{1 + (2 \pi f / f_c)^2} \)

Step 3: Substitute into output PSD:

\( S_Y(f) = \frac{S_X(f)}{1 + (2 \pi f / f_c)^2} \)

Step 4: Interpretation:

The LTI system acts as a low-pass filter, attenuating higher frequencies and shaping the PSD accordingly.

Answer: The output PSD is

\[ S_Y(f) = \frac{S_X(f)}{1 + (2 \pi f / f_c)^2} \]

Example 5: Autocorrelation Properties Verification Easy
Verify the symmetry and maximum value properties of the autocorrelation function for the stationary random process with autocorrelation \( R_X(\tau) = 5 e^{-|\tau|} \).

Step 1: Check symmetry:

\( R_X(-\tau) = 5 e^{-|- \tau|} = 5 e^{-|\tau|} = R_X(\tau) \). Symmetry holds.

Step 2: Check maximum at zero lag:

\( R_X(0) = 5 e^{0} = 5 \), which is the maximum since \( e^{-|\tau|} \leq 1 \) for all \( \tau \).

Answer: The autocorrelation function is symmetric and attains its maximum value at zero lag, confirming the properties.

Tips & Tricks

Tip: Remember that autocorrelation at zero lag equals the average signal power.

When to use: Quickly estimate signal energy from autocorrelation values.

Tip: Use the symmetry property \( R_X(\tau) = R_X(-\tau) \) to reduce calculations and verify answers.

When to use: Simplify autocorrelation computations and check for errors.

Tip: Apply the Wiener-Khinchin theorem to switch between time and frequency domain representations easily.

When to use: When PSD or autocorrelation is easier to analyze or given in problems.

Tip: For white noise, recall directly that PSD is flat and equals \( N_0/2 \).

When to use: Quickly solve noise-related questions without lengthy calculations.

Tip: When dealing with LTI systems, multiply the input PSD by the squared magnitude of the system's frequency response \( |H(f)|^2 \) to find the output PSD.

When to use: To avoid complicated convolutions and save time in filtering problems.

Common Mistakes to Avoid

❌ Confusing autocorrelation with cross-correlation.
✓ Autocorrelation involves the same signal at different times; cross-correlation involves two different signals.
Why: Similar terminology and overlapping concepts cause confusion.
❌ Ignoring the symmetry property of autocorrelation function.
✓ Always use \( R_X(\tau) = R_X(-\tau) \) to simplify calculations and verify results.
Why: Students sometimes treat autocorrelation as an arbitrary function without symmetry.
❌ Forgetting that PSD is the Fourier transform of autocorrelation, not the signal itself.
✓ Apply the Wiener-Khinchin theorem correctly to link autocorrelation and PSD.
Why: Misunderstanding of domain transformations leads to incorrect PSD calculations.
❌ Assuming white noise has finite bandwidth.
✓ White noise theoretically has infinite bandwidth and flat PSD.
Why: Practical signals are band-limited, causing conceptual errors about white noise.
❌ Not squaring the magnitude of system frequency response when calculating output PSD.
✓ Use \( |H(f)|^2 \), not just \( H(f) \), to find output PSD.
Why: Confusion between amplitude response and power response leads to errors.
Curated videos per subtopic
Top YouTube explainers, AI-ranked for your exam and language. Unlocks with subscription.
Unlock

Try Practice next.

Progress tracking is paywalled — subscribe to mark subtopics as understood and save your streak.

Go to practice →
Ask a doubt
Autocorrelation and Power Spectral Density · 10 free messages
Ask me anything about this subtopic. You have 10 free messages this session — chat history isn't saved in preview.