Chuyển đến nội dung

Bài 7 · Signals and Classification

Even, Odd and Periodic Signals

Decompose any signal into even and odd parts, test for periodicity, compute the fundamental period of sums of sinusoids, and handle discrete-time periodicity.

Symmetry and repetition are the two structural properties that make signals easy to analyze. A symmetric signal needs half the work; a periodic signal can be described by one cycle. This lesson shows how to test for each property and how to split a signal into symmetric pieces.

Even and odd signals

  • Even: x(-t) = x(t). The graph is a mirror image about the vertical axis. Examples: cos(w t), t^2, a centred rectangle.
  • Odd: x(-t) = -x(t). The graph is rotated by 180 degrees about the origin. Examples: sin(w t), t, t^3. An odd signal must pass through zero at t = 0 (if it is defined there).

The same definitions hold in discrete time with x[-n].

Products follow sign rules just like numbers: even times even is even, odd times odd is even, even times odd is odd. The integral of an odd signal over a symmetric interval [-a, a] is zero, and for an even signal it is twice the integral over [0, a]. The Fourier series and transform use both facts to save work.

Even-odd decomposition

Every signal is the sum of an even part and an odd part:

  • x_e(t) = ( x(t) + x(-t) ) / 2
  • x_o(t) = ( x(t) - x(-t) ) / 2

and x(t) = x_e(t) + x_o(t). For e^(t) the even part is cosh(t) and the odd part is sinh(t).

Python Splitting a signal into even and odd parts

Press Run (or Ctrl + Enter) to see the result here.

Program input · what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Periodic signals

A continuous-time signal is periodic if there is T > 0 such that x(t + T) = x(t) for all t. The smallest such T is the fundamental period T0. Every multiple 2 T0, 3 T0, ... is also a period but not the fundamental one. A constant signal is periodic with every T, so it has no fundamental period.

A sinusoid cos(2 pi f t) has period T0 = 1/f.

Sum of periodic signals

The sum of two periodic signals with periods T1 and T2 is periodic only if the ratio T1 / T2 is a rational number p / q (in lowest terms). Then the fundamental period is T0 = q T1 = p T2, the smallest time that holds a whole number of cycles of both.

Example: x(t) = cos(2 pi 3 t) + cos(2 pi 5 t) has periods 1/3 and 1/5. Equivalently, the frequencies 3 and 5 Hz are both multiples of 1 Hz, so f0 = gcd(3, 5) = 1 Hz and T0 = 1 s. By contrast cos(t) + cos(sqrt(2) t) is not periodic: the frequency ratio is irrational, so the two never realign.

Python Fundamental period of a sum of tones

Press Run (or Ctrl + Enter) to see the result here.

Program input · what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Discrete-time periodicity

A discrete signal is periodic if x[n + N] = x[n] for some positive integer N. For x[n] = cos(Omega n) this happens only when Omega / (2 pi) = k / N is a rational number. Then the fundamental period is N = N_denominator of that fraction in lowest terms. Example: cos(3 pi n / 4) has Omega / 2 pi = 3/8 and period N = 8. But cos(n) (Omega = 1) is not periodic, even though a continuous cos(t) would be. This is the first hint that discrete time has its own rules.

Python Is a discrete sinusoid periodic?

Press Run (or Ctrl + Enter) to see the result here.

Program input · what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Periodic signals are even/odd friendly

Many periodic signals used in the Fourier chapters are even or odd: a square wave centred on the origin is even, a sawtooth through the origin is odd. When you see symmetry, use it.

flowchart TB
    S["x(t)"] --> E["even part<br/>(x(t) + x(-t))/2"]
    S --> O["odd part<br/>(x(t) - x(-t))/2"]
    E --> SUM["x = even + odd"]
    O --> SUM

Every signal is the sum of a mirror-symmetric piece and a point-symmetric piece.

Check your understanding

Quick check · 5 questions

of 5 answered You scored / 5 · perfect!

  1. 1. Which signal is odd?

    (-t)^3 = -t^3, so t^3 satisfies x(-t) = -x(t). The others are even.
  2. 2. What is the even part of x(t)?

    Averaging a signal with its mirror image keeps only the symmetric component.
  3. 3. What is the fundamental period of cos(2 pi 4 t) + cos(2 pi 6 t) with t in seconds?

    The common frequency is gcd(4, 6) = 2 Hz, so the period is 1/2 s.
  4. 4. cos(n) as a discrete-time signal is:

    Omega / 2 pi = 1 / 2 pi is irrational, so no integer N makes the signal repeat.
  5. 5. What is the integral of an odd signal over [-a, a]?

    The negative area on the left cancels the positive area on the right.

Summary

  • Even: x(-t) = x(t); odd: x(-t) = -x(t). Every signal splits into even plus odd parts.
  • Periodic signals repeat after T0; a sum of periodic signals is periodic only if the period ratio is rational.
  • Common frequency (gcd) gives the fundamental frequency of a sum of harmonics.
  • Discrete sinusoids need Omega / 2 pi rational to be periodic; the period is its denominator.

Next: Energy and Power Signals

Theo dõi tiến độ của bạn

Tạo tài khoản miễn phí để đánh dấu bài đã học và tiếp tục từ chỗ bạn dừng lại trên mọi thiết bị.