Definition (periodic signal). A signal x(⋅) is said to be periodic if there exists T∈R, T>0 (continuous time) or K∈N∖{0} (discrete time) such that
cont.: x(t+T)=x(t)∀t∈R,disc.: x(k+K)=x(k)∀k∈Z.
T (or K) is called a period.
Example (mass-spring system). A mass m hangs from a spring of constant K; x(t) is the displacement from the rest position. With x˙(t)=dtdx(t) and x¨(t)=dt2d2x(t), the dynamics is mx¨(t)+Kx(t)=0. For initial conditions t0=0, x(t0)=x0, x˙(t0)=0, the solution is
x(t)=x0cos(mKt),
with period
T=K/m2π=2πKm.
Continuous-time case: fundamental period
Definition (fundamental period). It is the smallest T0>0 for which x(t) is still periodic.
Caveat. If x(t)≡constant then T0 is indeterminate, but still we can say that x(t) is somewhat "periodic of any period".
Definition (aperiodic signal). A signal having no period is called aperiodic.
Example (aperiodic signal).
x(t)={sint,−sint,t≥0t<0
In the plot of the course the graph has a hump of height 1 at t=2π on [0,π] and the mirror hump on [−π,0], then it goes negative beyond ±π. The signal is not periodic (it is the example of an aperiodic signal given in the lecture).
Discrete-time case: fundamental period
Definition (fundamental period). It is the smallest K0∈N∖{0} for which x(k) is still periodic. It may be that K0=1: if this happens then x(k) is constant.
Caveat. Discrete-time constant signals have a well-defined period: it is K=1.
Sum of periodic signals
Question. Given {x1(t)}, {x2(t)} periodic of period T1, T2 respectively, with x1(t)=constant and x2(t)=constant, is there a condition to establish whether x(t):=x1(t)+x2(t) is periodic?
Answer. Yes. If there exist m,n∈Z such that mT1=nT2, then {x(t)} is periodic of period
T=mT1=nT2.
A sufficient condition to establish periodicity of the sum is
T2T1=mn∈Q,
where Q is the set of rational numbers. It is also a necessary condition if we further assume that one of the two signals is continuous, in the sense of limt→t0x(t)=x(t0) for all t0∈Dom(x), provided that Dom(x) is nondegenerate.
Example.x1(t) periodic ⇒x2(t)=−x1(t)+constant is periodic.
Exercise (find the fundamental period).
x(t)=cos2t: T0=π.
x(t)=costsint=tant: T0=π.
x(t)=2cos(10t−1)−sin(4t+4): the two terms have periods T1=102π=5π and T2=42π=2π. Observe that 5T1=π=2T2, so T0=π.
Discrete-time case. Here the situation is completely different! If {x1(k)} and {x2(k)} are periodic of period K1, K2 respectively, then x(k)=x1(k)+x2(k) is always periodic, because K=l.c.m.(K1,K2) is a period.
Caveat.K may or may not be the fundamental period, but many times it is.
Periodic repetition
Definition (periodic repetition). Given x(⋅)={x(t)∣−∞<t<+∞}, its periodic repetition is
repT[x]=n=−∞∑+∞x(t−nT),T∈R,T>0.
If the series converges for all t∈R, then repT[x(t)] is by construction periodic of period T.
Definition (support and bounded-support signal). The set {t∣x(t)=0} is called the support of x. If there exist a,b finite such that x(t)≡0 for all t∈/[a,b], then x is said to be a bounded-support signal.
If x has bounded support and T≥(b−a), then the repetitions x(t−nT) do not "overlap" and repT[x] coincides with one of the shifted copies of x over any interval of length T.
Example. A signal x(t) supported on [−1,2] (length 3). Its repetition with T=4 (the subscript is handwritten and read here as 4, consistent with the copies drawn on [−5,−2], [−1,2], [3,6]) is made of non-overlapping copies of x separated by gaps of length T−(b−a)=1, where repT[x] is zero.
Periodic:x(t+T)=x(t) for all t with T>0 (continuous), or x(k+K)=x(k) for all k with K∈N∖{0} (discrete). Fundamental period: the smallest such T0 (or K0). Without any period: aperiodic.
Sum, continuous time: if mT1=nT2 for integers m,n, i.e. T1/T2=n/m∈Q, then x1+x2 is periodic with T=mT1=nT2 (sufficient; also necessary if one signal is continuous). E.g. 2cos(10t−1)−sin(4t+4): T1=5π, T2=2π, 5T1=2T2=π, T0=π. cos2t and tant have T0=π.
Sum, discrete time: always periodic, K=lcm(K1,K2) (not always the fundamental period).
Periodic repetition:repT[x]=∑n=−∞+∞x(t−nT), periodic of period T. Support={t∣x(t)=0}; bounded support if x≡0 outside [a,b]; if T≥b−a the copies do not overlap.
Periodic signals:E[T]=∫[T]∣x∣2; E∞=0 if x≡0 almost everywhere, otherwise +∞ (so L2 contains no nonzero periodic signal). P∞=P[T]=T1∫[T]∣x∣2; discrete: P∞=K1∑n=0K−1∣x(n)∣2.
Example: P∞[cos(4πk)]=21 (K0=8, use cos2α=21+cos2α).
Typical mistakes: using the continuous-time rational-ratio test for discrete-time sums; taking a period that is not the smallest as the fundamental one; computing E∞ of a periodic signal (it is +∞).