1.1 Continuous-Time and Discrete-Time Signals: Introduction
Welcome to our first lecture in Signals and Systems. Today, we’ll lay the foundation by defining what signals are, how they are mathematically represented, and how we classify them based on their continuity and energy/power characteristics. This fundamental understanding is crucial for everything we’ll build upon in this course.
What is a Signal?
Signals describe patterns of variation that convey information.
Electrical Circuits : Voltage/current changes over time.
Audio/Speech : Acoustic pressure fluctuations.
Signals are essentially carriers of information. Think of them as dynamic entities where the information is encoded in how a physical quantity changes. We see examples all around us: the humble voltage in a circuit, how a car’s speed changes, the intricate pressure waves our vocal cords produce to form speech, or even the varying brightness levels that make up an image. Each of these variations holds specific information.
Mathematical Representation
Signals are mathematically described as functions of one or more independent variables. Typically, we refer to the independent variable as “time.”
Continuous-Time (CT) Signals: \(x(t)\)
Independent variable t is continuous.
Defined for a continuum of values.
Discrete-Time (DT) Signals: \(x[n]\)
Independent variable n is discrete (integers).
Defined only at discrete points.
Mathematical Representation
Continuous-Time (CT) Signals: \(x(t)\)
Examples :
Speech signal: \(P(t)\)
Wind profile vs. height: \(W(h)\)
Discrete-Time (DT) Signals: \(x[n]\)
Examples :
Weekly Dow-Jones Index: \(D[k]\)
Demographic data
Mathematically, we represent signals as functions. For this course, we’ll primarily focus on signals with a single independent variable, which we most often call “time,” even if it represents something else like height or depth.
We distinguish between two major types: Continuous-Time (CT) signals, denoted \(x(t)\) , are defined for every possible value of \(t\) , much like how voltage in a circuit changes smoothly over time.
In contrast, Discrete-Time (DT) signals, denoted \(x[n]\) , are only defined at specific, discrete points, usually integer values of \(n\) . Think of a stock market index that’s only recorded at the end of each day or week – there’s no data point in between.
Visualizing CT Signals
Continuous-Time Signal Example: \(x(t) = \cos(2\pi t)\)
Visualizing DT Signals
Discrete-Time Signal Example: \(x[n] = \cos(\frac{\pi}{4}n)\)
The visual representation is key to distinguishing these signal types. As you can see from the interactive plots: For a continuous-time signal, the graph is a smooth, unbroken curve, indicating that the signal has a value at every single point in continuous time. For a discrete-time signal, the graph consists of individual stems, or impulses, at integer points. There’s no signal defined in between these integer values. This emphasizes that discrete-time signals are sequences of values. Feel free to run and interact with these code blocks to see how they behave.
Signal Energy and Power
Motivation derives from physical systems (e.g., electrical power \(p(t) = v(t)i(t)\) across a resistor).
We extend these concepts to any signal. For a general signal \(x(t)\) or \(x[n]\) , we use \(|x|^2\) .
Total Energy over a finite interval :
CT: \(\int_{t_1}^{t_2} |x(t)|^2 dt\)
DT: \(\sum_{n=n_1}^{n_2} |x[n]|^2\)
Average Power over a finite interval :
CT: \(\frac{1}{t_2-t_1} \int_{t_1}^{t_2} |x(t)|^2 dt\)
DT: \(\frac{1}{n_2-n_1+1} \sum_{n=n_1}^{n_2} |x[n]|^2\)
The concepts of energy and power are borrowed from physics but are generalized in Signals and Systems. Even if a signal doesn’t directly represent physical energy (like velocity, or a sound wave frequency), we still use these terms to characterize its ‘strength’ or ‘intensity’ over time.
For signals that can take complex values, which we’ll encounter later, we use the magnitude squared, \(|x|^2\) , analogous to how physical power is proportional to voltage or current squared. These definitions help us quantify how much ‘content’ a signal has within a specific duration.
Total Energy (\(E_{\infty}\) ) for CT Signals
The total energy of a continuous-time signal \(x(t)\) over an infinite interval is:
\[
E_{\infty} \triangleq \lim _{T \rightarrow \infty} \int_{-T}^{T}|x(t)|^{2} d t=\int_{-\infty}^{+\infty}|x(t)|^{2} d t
\]
If \(E_{\infty} < \infty\) , the signal is a finite-energy signal .
If \(E_{\infty} = \infty\) , the signal has infinite energy .
Total Energy (\(E_{\infty}\) ) for CT Signals
Example: Finite Energy Pulse Signal
Consider a rectangular pulse \(x(t) = 1\) for \(0 \leq t \leq 1\) and \(0\) otherwise.
When we analyze signals over their entire duration, from negative to positive infinity, we use the concept of total energy. This is defined by integrating the magnitude squared of the signal over all time. A signal with finite total energy is one where this integral converges to a finite value. Such signals are typically “transient” in nature, meaning they eventually die out and don’t persist indefinitely. The rectangular pulse shown is a classic example: it only exists for a brief period, and its energy is clearly finite.
Total Energy (\(E_{\infty}\) ) for DT Signals
The total energy of a discrete-time signal \(x[n]\) over an infinite interval is:
\[
E_{\infty} \triangleq \lim _{N \rightarrow \infty} \sum_{n=-N}^{+N}|x[n]|^{2}=\sum_{n=-\infty}^{+\infty}|x[n]|^{2}
\]
If \(E_{\infty} < \infty\) , the signal is a finite-energy signal .
Total Energy (\(E_{\infty}\) ) for DT Signals
Example: Decaying Exponential
Consider \(x[n] = (0.5)^n u[n]\) , where \(u[n]\) is the unit step function (\(u[n]=1\) for \(n \ge 0\) , \(0\) for \(n < 0\) ).
For discrete-time signals, total energy is calculated by summing the squared magnitudes of all signal samples from negative to positive infinity. Like their continuous counterparts, discrete-time signals with finite total energy are those whose sum converges. The decaying exponential is a perfect illustration: as ‘n’ increases, the signal values become smaller and smaller, ensuring that the infinite sum of their squares remains finite. This is also a transient signal.
Average Power (\(P_{\infty}\) ) for CT Signals
The time-averaged power over an infinite interval for a continuous-time signal \(x(t)\) is:
\[
P_{\infty} \triangleq \lim _{T \rightarrow \infty} \frac{1}{2 T} \int_{-T}^{T}|x(t)|^{2} d t
\]
If \(E_{\infty} < \infty\) , then \(P_{\infty} = 0\) .
If \(P_{\infty} > 0\) and \(P_{\infty} < \infty\) , the signal is a finite-power signal (implying \(E_{\infty} = \infty\) ).
Average Power (\(P_{\infty}\) ) for CT Signals
Example: Sinusoidal Signal
Consider \(x(t) = A \cos(\omega t + \phi)\) . Its average power is \(P_{\infty} = A^2/2\) . Let’s test with \(x(t) = \cos(2\pi t)\) .
Average power describes how much energy, on average, is contained in a signal over an infinitely long period. It’s often more relevant for signals that persist indefinitely, such as periodic signals. If a signal has finite total energy, its average power must be zero, because you’re distributing that finite energy over an infinite duration.
However, if a signal has a constant “strength” over time, it will have finite average power but infinite total energy. Sinusoidal signals, like the cosine wave demonstrated, are prime examples. Their amplitude oscillates but never dies down, so they continuously carry power, leading to infinite total energy over infinite time, but finite average power.
Average Power (\(P_{\infty}\) ) for DT Signals
The time-averaged power over an infinite interval for a discrete-time signal \(x[n]\) is:
\[
P_{\infty} \triangleq \lim _{N \rightarrow \infty} \frac{1}{2 N+1} \sum_{n=-N}^{+N}|x[n]|^{2}
\]
If \(E_{\infty} < \infty\) , then \(P_{\infty} = 0\) .
If \(P_{\infty} > 0\) and \(P_{\infty} < \infty\) , the signal is a finite-power signal (implying \(E_{\infty} = \infty\) ).
Average Power (\(P_{\infty}\) ) for DT Signals
Example: Constant Signal
Consider \(x[n] = 4\) .
The definition of average power for discrete-time signals is conceptually identical to continuous-time, using summation instead of integration. A crucial example is a constant signal, like \(x[n]=4\) . While its total energy over infinite time is infinite (as you’re summing a non-zero value infinitely many times), its average power is simply the square of its magnitude – a finite, non-zero value. Similarly, discrete-time sinusoidal signals (like \(x[n] = \cos(\omega n)\) ) also have infinite energy but finite average power.
Signal Classification based on Energy & Power
Signals can be broadly classified into three categories:
graph LR
A[Signal x] --> B{Calc. $$E_\infty$$};
B --> C{ $$E_\infty \lt \infty$$ ?};
C -- Yes --> D[Finite Energy Signal];
D --> E[$$P_\infty = 0$$];
C -- No --> F{Calculate $$P_\infty$$};
F --> G{$$P_\infty \lt \infty$$ ?};
G -- Yes --> H[Finite Power Signal];
H --> I[$$E_\infty = \infty$$];
G -- No --> J[Neither Finite Energy nor Power];
J --> K[$$E_\infty = \infty$$];
J --> L[$$P_\infty = \infty$$];
style D fill:#ddf,stroke:#333,stroke-width:2px;
style H fill:#dfd,stroke:#333,stroke-width:2px;
style J fill:#fdd,stroke:#333,stroke-width:2px;
Finite Energy Signals : \(E_{\infty} < \infty \implies P_{\infty} = 0\) . (e.g., pulses, decaying exponentials)
Finite Power Signals : \(P_{\infty} < \infty\) and \(P_{\infty} > 0 \implies E_{\infty} = \infty\) . (e.g., periodic signals, constant signals)
Neither Finite Energy nor Finite Power : \(E_{\infty} = \infty\) AND \(P_{\infty} = \infty\) . (e.g., \(x(t)=t\) , \(x[n]=n\) )
This diagram summarizes the classification of signals based on their energy and power properties. It’s a critical distinction in signal analysis. Finite energy signals are often those that are transient and die out, such as the output of an event. Finite power signals, on the other hand, are typically continuous, persistent signals like voltage from a power supply or a recurring musical note. It’s important to understand that a signal cannot simultaneously have finite non-zero energy and finite non-zero power from these definitions over an infinite interval. There are also signals that fall into neither category, growing without bound such that both energy and power are infinite.
Key Takeaways
Signals convey information through patterns of variation.
Distinguish between Continuous-Time (\(x(t)\) ) and Discrete-Time (\(x[n]\) ) signals.
CT: Defined for a continuum of values.
DT: Defined only at discrete points (often sampled CT signals).
Signals are characterized by their Total Energy (\(E_{\infty}\) ) and Average Power (\(P_{\infty}\) ) .
Used to classify signals into finite-energy, finite-power, or neither.
To wrap up this introductory session, remember these core concepts: signals are central to how we understand and interact with the world around us. Mastering the distinction between continuous and discrete time, and being able to classify signals based on their energy and power, will provide strong foundations for the more advanced topics we’ll cover, such as convolution, Fourier analysis, and system response. Next time, we’ll delve into basic operations we can perform on signals and introduce some fundamental signal types.