0% found this document useful (0 votes)
31 views22 pages

Energy and Power Signal Analysis

(i) The chapter introduces signals and systems. It defines energy signals and their properties including how amplitude scaling, time shifting, summing non-overlapping signals, and time scaling affect the energy of a signal. (ii) It shows that the power of a signal composed of a sum of sinusoids with distinct frequencies is equal to the sum of the squares of the coefficients. (iii) For a given signal, it asks to sketch various transformed versions involving time shifting, time scaling, and time reversing. (iv) For a signal composed of additions and transformations of the given signal x(t), it asks to express other signals in terms of x(t) and its transformed versions.

Uploaded by

Ram D
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
31 views22 pages

Energy and Power Signal Analysis

(i) The chapter introduces signals and systems. It defines energy signals and their properties including how amplitude scaling, time shifting, summing non-overlapping signals, and time scaling affect the energy of a signal. (ii) It shows that the power of a signal composed of a sum of sinusoids with distinct frequencies is equal to the sum of the squares of the coefficients. (iii) For a given signal, it asks to sketch various transformed versions involving time shifting, time scaling, and time reversing. (iv) For a signal composed of additions and transformations of the given signal x(t), it asks to express other signals in terms of x(t) and its transformed versions.

Uploaded by

Ram D
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Chapter 1

Signals and Systems

1.1 Prove each of the following statements. In each case, let energy signal x1 (t) have energy
E[x1 (t)], let energy signal x2 (t) have energy E[x2 (t)], and let T be a nonzero, finite, real-
valued constant.
(i) Prove E[T x1 (t)] = T 2 E[x1 (t)]. That is, amplitude scaling a signal by constant T scales
the signal energy by T 2 .
(ii) Prove E[x1 (t)] = E[x1 (t − T )]. That is, shifting a signal does not affect its energy.
(iii) If (x1 (t) 6= 0) ⇒ (x2 (t) = 0) and (x2 (t) 6= 0) ⇒ (x1 (t) = 0), then prove E[x1 (t) +
x2 (t)] = E[x1 (t)] + E[x2 (t)]. That is, the energy of the sum of two nonoverlapping
signals is the sum of the two individual energies.
(iv) Prove E[x1 (T t)] = 1/|T |E[x1 (t)]. That is, time-scaling a signal by T reciprocally scales
the signal energy by 1/|T |.
Solution 1.1 Given that
Z ∞
E[x1 (t)] = Ex1 = |x1 (t)|2 dt
−∞

(i) The energy contained in the signal T x1 (t) is given by


Z ∞ Z ∞
2 2
E[T x1 (t)] = |T x1 (t)| dt = T |x1 (t)|2 dt = T 2 Ex1
−∞ −∞

(ii) The energy contained in the signal, x1 (t − T ), is given by


Z ∞
E[x1 (t − T )] = |x1 (t − T )|2 dt
−∞

A change of variables is performed by letting t − T = τ , which also yields dt = dτ , τ = −∞ as


t = −∞, and τ = ∞ as t = ∞. Therefore,
Z ∞
E[x1 (t − T )] = |x(τ )|2 dτ = E[x1 (t)] = Ex1
−∞

(iii) The energy contained in the signal x1 (t) + x2 (t) is given by


Z ∞ Z ∞
E[x1 (t) + x2 (t)] = |x1 (t) + x2 (t)|2 dt = [x1 (t) + x2 (t)]2 dt
−∞ −∞
Z ∞
= [x21 (t) + x22 (t) + 2x1 (t)x2 (t)]dt
−∞

Since x1 (t) and x2 (t) are nonoverlapping signals, i.e. x1 (t)x2 (t) = 0, we have
Z ∞
E[x1 (t) + x2 (t)] = [x21 (t) + x22 (t)]dt
−∞
Z ∞ Z ∞
= [x21 (t)]dt + [x22 (t)]dt = Ex1 + Ex2
−∞ −∞
2 Signals and Systems

(iv) Case-I: T > 0. The energy contained in the signal, x1 (T t), is given by
Z ∞ Z ∞
2
E[x1 (T t)] = |x1 (T t)| dt = x21 (T t)dt
−∞ −∞
1
A change of variables is performed by letting T t = τ , which also yields dt = T dτ , τ = −∞ as
t = −∞, and τ = ∞ as t = ∞. Therefore,
1 ∞ Ex1
Z
E[x1 (T t)] = |x1 (τ )|2 dτ =
T −∞ T
Case-II: T < 0. The energy contained in the signal, x1 (−T t), is given by
Z ∞ Z ∞
E[x1 (−T t)] = |x1 (−T t)|2 dt = x21 (−T t)dt
−∞ −∞

A change of variables is performed by letting −T t = τ , which also yields dt = − T1 dτ , τ = ∞ as


t = −∞, and τ = −∞ as t = ∞. Therefore,
1 −∞ 1 ∞ Ex1
Z Z
E[x1 (T t)] = − |x1 (τ )|2 dτ = |x1 (τ )|2 dτ =
T ∞ T −∞ T
Hence, E[x1 (T t)] = 1/|T |E[x1 (t)].

1.2 Show that the power of a signal


n
X n
X
x(t) = Ck ejωk t is Px = |Ck |2
k=m k=m

assuming all frequencies to be distinct, that is, ωi 6= ωk for all i 6= k.

Solution 1.2 The power contained in the signal x(t) is given by


Z T /2 X 2
n
1 T /2 1
Z
Px = lim |x(t)|2 dt = lim Ck ejωk t dt

T →∞ T −T /2 T →∞ T −T /2


k=m
n
1 T /2 X
Z
2
|Ck |2 ejωk t dt

= lim
T →∞ T −T /2
k=m
Z T /2 X n
1
= lim |Ck |2 dt
T →∞ T −T /2
k=m
n n
1 X X
= lim T |Ck |2 = |Ck |2
T →∞ T
k=m k=m

1.3 For the signal x(t) illustrated in Fig. 1.35(a), sketch

Fig. 1.35(a)

(i) x(t − 4) (ii) x(t/1.5) (iii) x(−t)


(iv) x(2t − 4) (v) x(2 − t)
Signals and Systems 3

Solution 1.3
x(t - 4) x(t/1.5)
4
4

2 2

t t
0 2 4 6 –6 –4 –2 0 2 3 4
(a) (b)
x(2t – 4)
x(–t)
4 4

2 2

t t
–2 0 2 4 0 2 3 4
(c) (d)
x(2 – t)

t
0 2 4 6
(e)

Fig. S1.1

1.4 In Fig.1.42, express signals x1 (t), x2 (t) and x3 (t) in terms of signal x(t) and its time-shifted,
time-scaled, or time-reversed versions.

Fig. 1.42

Solution 1.4
x1 (t) = x(t + 1) + x(−t + 1)
The signal x(t + 1) and x(−t + 1) are shown in Fig. S1.2(a).
4 Signals and Systems

Now, define a signal y(t) = x(t) + x(−t + 1).


x2 (t) = y(t) + y(−t)
= x(t) + x(−t + 1) + x(−t) + x(t + 1)

The signal y(t) and y(−t) are


 shown in Fig S1.2(b).
Define a signal z(t) = y 2t + x 2t .

x3 (t) = z(t) + z(−t)


       
t t t t
=y +x +y − +x −
2 2 2 2
           
t t t t t t
x3 (t) = x +x − +1 +x +x − +x +1 +x −
2 2 2 2 2 2
       
t t t t
x3 (t) = 2x + 2x − +x − +1 +x +1
2 2 2 2

The signal z(t) and z(−t) are shown in Fig. S1.2(c).


x(t + 1) x(–t + 1)

1 1

t t
–1 0 0 1
(a)
y(t) y(–t)

1 1

t t
0 1 –1 0
(b)
z(t) z(–t)

2 2

1 1

t t
0 1 2 –2 –1 0
(c)

Fig. S1.2

1.5 Simplify
 the following
 expressions:
sin t
(i) δ(t)
t2 + 2
 
ω+2
(ii) δ(ω)
ω2 + 9
(iii) [e−t cos(3t − 60o )]δ(t)
 
1
(iv) δ(ω + 3)
jω + 2
 
sin kω
(v) δ(ω)
ω

Solution 1.5 Since x(t)δ(t) = x(0)δ(t), we have


   
sin t sin 0
(i) δ(t) = δ(t) = 0
t2 + 2 0+2
Signals and Systems 5
   
ω+2 0+2 2
(ii) δ(ω) = δ(ω) = δ(ω)
ω2 + 9 0+9 9
1
(iii) [e−t cos(3t − 60o )]δ(t) = [e0 cos(0 − 60o )]δ(t) = cos(−60o)δ(t) = δ(t)
    2
1 1
(iv) δ(ω + 3) = δ(ω + 3)
jω + 2 −3j + 2
   
sin kω sin 0
(v) δ(ω) = δ(ω) = δ(ω)
ω 0

1.6 Evaluate
Z ∞the
 following integrals:
2 3
(i) t− δ(t − 1)dt
3 2
Z−∞
∞  
2 3
(ii) (t − 1)δ t− dt
−∞ 3 2
Z −2     
−t+1 2π 3
(iii) e + sin t δ t− dt
−3 3 2
Z 2    
2π 3
(iv) e−t+1 + sin t δ t− dt
3 2
Z−3

(v) e−5t+1 δ ′ (t − 5)dt
−∞

Solution 1.6 ∞    
2 3 2 3 2 3 5
Z
(i) t− δ(t − 1)dt = t− = − =−
−∞ 3 2 3 2 t=1 3 2 6
 1
(ii) Since δ(at + b) = δ a(t + b/a) = δ(t + b/a), we have
|a|
Z ∞   Z ∞    
2 3 3 9 3 3 9 15
(t − 1)δ t− dt = (t − 1) δ t − dt = (t − 1) 9 = −1 =

−∞ 3 2 −∞ 2 4 2 t= 4 2 4 8
3
(iii) Since t = 2 is not in the interval −3 < t < −2, the shifting property of the impulse function
yields
−2     
2π 3
Z
e−t+1 + sin t δ t− dt = 0
−3 3 2
(iv) 2        
2π 3 2π
Z
−t+1 −t+1
e + sin t δ t− dt = e + sin t
−3 3 2 3 t= 3
   2
3 2π 3
= e− 2 +1 + sin
3 2
1 1
= [e− 2 + sin(π)] = e− 2
(v) Z ∞ Z ∞
d −5t+1
Z ∞
e−5t+1 δ ′ (t − 5)dt = − e δ(t − 5)dt = 5 e−5t+1 δ(t − 5)dt
−∞ −∞ dt −∞

−5t+1
= 5e t=5
= 5e−24

1.7 (a) If xe (t) and x0 (t) are even and odd components of a real signal x(t), then show that
Z ∞
xe (t)x0 (t)dt = 0
(b) Show that −∞
Z ∞ Z ∞
x(t)dt = xe (t)dt
−∞ −∞
6 Signals and Systems

Solution 1.7
(a) Consider the LHS
Z ∞ ∞   
x(t) + x(−t) x(t) − x(−t)
Z
xe (t)x0 (t)dt = dt
−∞ −∞ 2 2
Z ∞
1
= [x2 (t) − x2 (−t)]dt
4 −∞
Z ∞ Z ∞ 
1
= x2 (t)dt − x2 (−t)dt
4 −∞ −∞
Z ∞ Z ∞ 
1
= x2 (t)dt − x2 (τ )dτ
4 −∞ −∞
Z ∞ Z ∞ 
1
= x2 (t)dt − x2 (t)dt = 0
4 −∞ −∞

(b) Consider the LHS


Z ∞ Z ∞
x(t)dt = [xe (t) + xo (t)]dt
−∞ −∞
Z ∞ Z ∞
= xe (t)dt + xo (t)dt
−∞ −∞

Using property no.3 (page. 52) of even and odd signals, we have
Z ∞ Z ∞ Z ∞
x(t)dt = xe (t)dt + 0 = xe (t)dt
−∞ −∞ −∞

1.8 Find and sketch the even and the odd components of the following:
(i) u(t) (ii) r(t) = tu(t) (iii) sin(ω0 t)u(t) (iv) cos(ω0 t)u(t)

Solution 1.8
(i) See part (a) of Example 1.24.
(
(ii) t t≥0
r(t) = tu(t) =
0 t<0

Replacing t with −t in the above expression, we get


(
−t −t ≥ 0 −→ t ≤ 0
r(−t) = −tu(−t) =
0 −t < 0 −→ t > 0

Applying Eqs. (1.59) and (1.51) to get the even and odd part of r(t) respectively.
(
t
1 t≥0
re (t) = [r(t) + r(−t)] = 2−t
2 2 t<0

and
(
t
1 2 t≥0
ro (t) = [r(t) − r(−t)] = t
2 2 t<0

The signal r(t), r(−t), re (t), and r0 (t) are shown in Fig. S1.3(a).

(iii) Consider the given signal


(
sin(ω0 t) t > 0
x(t) = sin(ω0 t)u(t) =
0 t<0
Signals and Systems 7

Replacing t with −t in the above expression, we get


(
sin(−ω0 t) −t > 0 −→ t < 0
x(−t) = sin(−ω0 t)u(−t) =
0 −t < 0 −→ t > 0

Applying Eqs. (1.59) and (1.51) to get the even and odd part of x(t) respectively.
(
1
1 1 1 sin(ω0 t) t>0
xe (t) = [x(t) + x(−t)] = sin(ω0 t)u(t) + sin(−ω0 t)u(−t) = 21
2 2 2 2 sin(−ω0 t) t<0

and
1 1 1
xo (t) = [x(t) − x(−t)] = sin(ω0 t)u(t) − sin(−ω0 t)u(−t)
2 2 2
1 1
= sin(ω0 t)u(t) + sin(ω0 t)u(−t)
2 2
1 1
= sin(ω0 t)[u(t) + u(−t)] = sin(ω0 t)
2 2

The signals sin(ω0 t)u(t), sin(−ω0 t)u(−t), xe (t) and x0 (t) are shown in Fig. S1.3(b).

(iv) Consider the given signal


(
cos(ω0 t) t>0
x(t) = cos(ω0 t)u(t) =
0 t<0

Replacing t with −t in the above expression, we get


(
cos(ω0 t) −t > 0 −→ t < 0
x(−t) = cos(−ω0 t)u(−t) = cos(ω0 t)u(−t) =
0 −t < 0 −→ t > 0

Applying Eqs. (1.59) and (1.51) to get the even and odd part of x(t) respectively.
1 1 1
xe (t) = [x(t) + x(−t)] = cos(ω0 t)u(t) + cos(ω0 t)u(−t)
2 2 2
1 1
= cos(ω0 t)[u(t) + u(−t)] = cos(ω0 t)
2 2
and
(
1
1 1 1
xo (t) = [x(t) − x(−t)] = cos(ω0 t)u(t) − cos(ω0 t)u(−t) = 2 cos(ω0 t) t>0
2 2 2 − 21 cos(ω0 t) t<0

The signals cos(ω0 t)u(t), cos(ω0 t)u(−t), xe (t) and x0 (t) are shown in Fig. S1.3(c).
r (t) r(–t) r e(t) r o(t)

1 1 1
1
½ ½
–2 –1
t t t t
0 1 –1 0 –2 –1 0 1 2 0 –½ 1 2
–1

(a)

Fig. S1.3
8 Signals and Systems

sin (ωot)u(t) sin (–ωot)u(t) xe(t)

1 1
½
t t t
0 0 0 –½
–1 –1

xo(t)

½
0–½ t

(b)
cos (ωot)u(t) cos (–ωot)u(–t) xe(t)
1 1 ½

0 t t t
–½
–1 –1
xo(t)

½
t

(c)

Fig. S1.3 (continued)

1.9 An aperiodic signal is defined as x(t) = sin(πt)u(t), where u(t) is the continuous-time step
function. Is the odd portion of this signal, x0 (t), periodic? Justify your answer.

Solution 1.9 Consider the given signal


(
sin(πt) t>0
x(t) = sin(πt)u(t) =
0 t<0

Replacing t with −t in the above expression, we get


(
sin(−πt) −t > 0 −→ t < 0
x(−t) = sin(−πt)u(−t) =
0 −t < 0 −→ t > 0

The odd part of x(t) is given by

1
xo (t) = [x(t) − x(−t)]
2
1 1
= sin(πt)u(t) − sin(−πt)u(−t)
2 2
1 1
= sin(πt)u(t) + sin(πt)u(−t)
2 2
1
= sin(πt)[u(t) + u(−t)]
2
1
xo (t) = sin(πt)
2

The odd part xo (t) = 12 sin(πt) is periodic with period T = 2π


ω = 2π
π = 2.
Signals and Systems 9

1.10 The output of the system, y(t), is related to the input x(t) as
 Z t 
y(t) = cos 2πfc t + k x(τ )dτ
−∞

where k is a constant parameter.


(a) Show that the system is nonlinear.
(b) Show that the system is time-variant.
Solution 1.10
(a) To determine whether or not a system is linear, we consider two arbitrary inputs x1 (t) and x2 (t).
 Z t 
x1 (t) → y1 (t) = cos 2πfc t + k x1 (τ )dτ
−∞
 Z t 
x2 (t) → y2 (t) = cos 2πfc t + k x2 (τ )dτ
−∞
 Z t 
x3 (t) → y3 (t) = cos 2πfc t + k x3 (τ )dτ
−∞

Let x3 (t) be a linear combination of x1 (t) and x2 (t). That is,

x3 (t) = ax1 (t) + bx2 (t)

where a and b are arbitrary constants. If the system is linear, then

y3 (t) = ay1 (t) + by2 (t)

Consider the LHS of the above equation


 Z t 
y3 (t) = cos 2πfc t + k x3 (τ )dτ
−∞
 Z t 
= cos 2πfc t + k [ax1 (τ ) + bx2 (τ )]dτ
−∞
 Z t Z t 
= cos 2πfc t + a k x1 (τ )dτ + b k x2 (τ )dτ
−∞ −∞
6= ay1 (t) + by2 (t)

Since LHS 6= RHS, we conclude that the system is nonlinear.

(b) Let x1 (t) be an arbitrary input to the system, and let


 Z t 
y1 (t) = cos 2πfc t + k x1 (τ )dτ
−∞

be the corresponding output. Then consider a second input obtained by shifting x1 (t) in time:

x2 (t) = x1 (t − t0 )

The output corresponding to this input is


 Z t 
y2 (t) = cos 2πfc t + k x2 (τ )dτ
−∞
 Z t 
= cos 2πfc t + k x1 (τ − t0 )dτ
−∞
 Z t−t0 
y2 (t) = cos 2πfc t + k x1 (τ )dτ
−∞
10 Signals and Systems

Now, consider
 Z t 
y1 (t) = cos 2πfc t + k x1 (τ )dτ
−∞
 Z t−t0 
y1 (t − t0 ) = cos 2πfc (t − t0 ) + k x1 (τ )dτ
−∞
6= y2 (t)
We see that y2 (t) 6= y1 (t − t0 ), and therefore, this system is time-variant.

1.11 The system that follow have input x(n) and output y(n). For each system, determine whether
it is (i) memoryless, (ii) stable, (iii) causal, (iv) linear, and (v) time-invariant.
(a) y(n) = loge [x(n)]
(b) y(n) = log10 [|x(n)|]
(c) y(n) = median{x(n − 1), x(n), x(n + 1)}
(d) y(n) = Trun[x(n)], where Trun[x(n)] denotes the integer part of x(n) obtained by
truncation.
(e) y(n) = Round[x(n)], where Round[x(n)] denotes the integer part of x(n) obtained by
rounding.
(f) y(n) = |x(n)|
(g) y(n) = sgn[x(n)]
Solution 1.11
(a) (i) Consider the given input-output relation of the system.
y(n) = loge [x(n)]
y(0) = loge [x(0)]
y(1) = loge [x(1)]
y(−1) = loge [x(−1)]
The present output depends on the present input only. We may conclude, this system is a memoryless
(static) system.
(ii) Assume that the input signal x(n) satisfies the condition
|x(n)| ≤ Bx < ∞ for all n.
We then find that
|y(n)| = |loge [x(n)]|
= |loge [Bx ]|
= By < ∞
We conclude that in this system if any input is bounded by an arbitrary positive number Bx , the
corresponding output is bounded. Thus, the given system is stable.
(iii) Consider the given input-output relation of the system.
y(n) = loge [x(n)]
y(0) = loge [x(0)]
y(1) = loge [x(1)]
y(−1) = loge [x(−1)]
The present output depends on the present input only. We may conclude, this system is a causal
system.
(iv) To determine whether or not a system is linear, we consider two arbitrary inputs x1 (n) and x2 (n).
x1 (n) → y1 (n) = loge [x1 (n)]
x2 (n) → y2 (n) = loge [x2 (n)]
x3 (n) → y3 (n) = loge [x3 (n)]
Signals and Systems 11

Let x3 (n) be a linear combination of x1 (n) and x2 (n). That is,

x3 (n) = ax1 (n) + bx2 (n)

where a and b are arbitrary scalars. If the system is linear, then

y3 (n) = ay1 (n) + by2 (n)

Consider the LHS of the above equation

y3 (n) = loge [x3 (n)]


= loge [ax1 (n) + bx2 (n)]
6= ay1 (n) + by2 (n)

Since LHS 6= RHS, we conclude that the system is non-linear.


(v) Let x1 (n) be an arbitrary input to the system, and let

y1 (n) = loge [x1 (n)]

be the corresponding output. Then consider a second input obtained by shifting x1 (n) in time:

x2 (n) = x1 (n − n0 )

The output corresponding to this input is

y2 (n) = loge [x2 (n)]


= loge [x1 (n − n0 )]
Now, consider
y1 (n) = loge [x1 (n)]
y1 (n − n0 ) = loge [x1 (n − n0 )]

Since y2 (n) = y1 (n − n0 ), thus this system is time-invariant.


(b) (i) Consider the given input-output relation of the system.

y(n) = log10 [|x(n)|]


y(0) = log10 [|x(0)|]
y(1) = log10 [|x(1)|]
y(−1) = log10 [|x(−1)|]

The present output depends on the present input only. We may conclude, this system is a memoryless
(static) system.
(ii) Assume that the input signal x(n) satisfies the condition

|x(n)| ≤ Bx < ∞ for all n.

We then find that


|y(n)| = |log10 [|x(n)|]|
= |log10 [|Bx |]|
= By < ∞

We conclude that in this system if any input is bounded by an arbitrary positive number Bx , the
corresponding output is bounded. Thus, the given system is stable.
(iii) Consider the given input-output relation of the system.

y(n) = log10 [|x(n)|]


y(0) = log10 [|x(0)|]
y(1) = log10 [|x(1)|]
y(−1) = log10 [|x(−1)|]
12 Signals and Systems

The present output depends on the present input only. We may conclude, this system is a causal
system.
(iv) To determine whether or not a system is linear, we consider two arbitrary inputs x1 (n) and x2 (n).

x1 (n) → y1 (n) = log10 [|x1 (n)|]


x2 (n) → y2 (n) = log10 [|x2 (n)|]
x3 (n) → y3 (n) = log10 [|x3 (n)|]

Let x3 (n) be a linear combination of x1 (n) and x2 (n). That is,

x3 (n) = ax1 (n) + bx2 (n)

where a and b are arbitrary constants. If the system is linear, then

y3 (n) = ay1 (n) + by2 (n)

Consider the LHS of the above equation

y3 (n) = log10 [|x3 (n)|]


= log10 [|ax1 (n) + bx2 (n)|]
6= ay1 (n) + by2 (n)

Since LHS 6= RHS, we conclude that the system is non-linear.


(v) Let x1 (n) be an arbitrary input to the system, and let

y1 (n) = log10 [|x1 (n)|]

be the corresponding output. Then consider a second input obtained by shifting x1 (n) in time:

x2 (n) = x1 (n − n0 )

The output corresponding to this input is

y2 (n) = log10 [|x2 (n)|]


= log10 [|x1 (n − n0 )|]
Now, consider

y1 (n) = log10 [|x1 (n)|]


y1 (n − n0 ) = log10 [|x1 (n − n0 )|]

Since y2 (n) = y1 (n − n0 ), thus this system is time-invariant.


(c) Median filtering is implemented by sliding a window of odd length over the input sequence x(n)
one sample at a time. At the nth instant, the input samples inside the window are rank ordered from
the smallest to the largest in values, and the sample at the middle is the median value. For example,
median{2, −3, 7, −10, 5} = 5.
(i) Consider the given input-output relation of the system.

y(n) = median{x(n − 1), x(n), x(n + 1)}

To calculate the median value, the past, present and future inputs are required. Consequently, the
present output depends on the present, past and future inputs. We may conclude, this system is a
with-memory (dynamic) system.
Signals and Systems 13

(ii) For a bounded input x(n), the output y(n) of this system is always bounded. Thus, the given
system is stable.
(iii) To calculate the median value, the past, present and future inputs are required. Consequently,
the present output depends on the present, past and future inputs. We may conclude, this system is a
noncausal system.
(iv) Median filtering is a nonlinear operation. Consider the following sequences as the input to a
median filter:

x1 (n) = {3, 5, 9} and x2 (n) = {2, −2, −2}

The corresponding outputs of the median filter are

y1 (n) = median{3, 5, 9} = 5 and y2 (n) = median{2, −2, −2} = −2

Now consider another input sequence

x3 (n) = x1 (n) + x2 (n) = {5, 3, 7}

Then the corresponding output is

y3 (n) = median{5, 3, 7} = 5

On the other hand

y1 (n) + y2 (n) = 3 6= y3 (n)

Hence median filtering is a nonlinear operation.


(v) Let x1 (n) be an arbitrary input to the system, and let

y1 (n) = median{x1 (n − 1), x1 (n), x1 (n + 1)}

be the corresponding output. Then consider a second input obtained by shifting x1 (n) in time:

x2 (n) = x1 (n − n0 )

The output corresponding to this input is

y2 (n) = median{x2 (n − 1), x2 (n), x2 (n + 1)}


= median{x1 (n − n0 − 1), x1 (n − n0 ), x1 (n − n0 + 1)}

Now, consider

y1 (n) = median{x1 (n − 1), x1 (n), x1 (n + 1)}


y1 (n − n0 ) = median{x1 (n − n0 − 1), x1 (n − n0 ), x1 (n − n0 + 1)}

Since y2 (n) = y1 (n − n0 ), thus this system is time-invariant.


(d) (i) Consider the given input-output relation of the system.

y(n) = Trun[x(n)]
y(0) = Trun[x(0)]
y(1) = Trun[x(1)]
y(−1) = Trun[x(−1)]

The present output depends on the present input only. We may conclude, this system is a memoryless
(static) system.
(ii) Assume that the input signal x(n) satisfies the condition

|x(n)| ≤ Bx = 5.3 < ∞ for all n.


14 Signals and Systems

We then find that

|y(n)| = |Trun[x(n)]|
= |Trun[5.3]|
= 5 = By < ∞

We conclude that in this system if any input is bounded by an arbitrary positive number Bx , the
corresponding output is bounded. Thus, the given system is stable.
(iii) Consider the given input-output relation of the system.

y(n) = Trun[x(n)]
y(0) = Trun[x(0)]
y(1) = Trun[x(1)]
y(−1) = Trun[x(−1)]

The present output depends on the present input only. We may conclude, this system is a causal
system.
(iv) To determine whether or not a system is linear, we consider two arbitrary inputs x1 (n) = 5.3
and x2 (n) = 6.8.

x1 (n) → y1 (n) = Trun[x1 (n)] = Trun[5.3] = 5


x2 (n) → y2 (n) = Trun[x2 (n)] = Trun[6.8] = 6
x3 (n) → y3 (n) = Trun[x3 (n)]

Let x3 (n) be a linear combination of x1 (n) and x2 (n). That is,

x3 (n) = x1 (n) + x2 (n) = 5.3 + 6.8 = 12.1

If the system is linear, then

y3 (n) = y1 (n) + y2 (n)

Consider the LHS of the above equation

y3 (n) = Trun[x3 (n)]


= Trun[x1 (n) + x2 (n)] = Trun[12.1] = 12

On the other hand

y1 (n) + y2 (n) = 5 + 6 = 11 6= y3 (n)

Since LHS 6= RHS, we conclude that the system is non-linear.


(v) Let x1 (n) be an arbitrary input to the system, and let

y1 (n) = Trun[x1 (n)]

be the corresponding output. Then consider a second input obtained by shifting x1 (n) in time:

x2 (n) = x1 (n − n0 )

The output corresponding to this input is

y2 (n) = Trun[x2 (n)]


= Trun[x1 (n − n0 )]
Now, consider
y1 (n) = Trun[x1 (n)]
y1 (n − n0 ) = Trun[x1 (n − n0 )]
Signals and Systems 15

Since y2 (n) = y1 (n − n0 ), thus this system is time-invariant.


(e) (i) Consider the given input-output relation of the system.

y(n) = Round[x(n)]
y(0) = Round[x(0)]
y(1) = Round[x(1)]
y(−1) = Round[x(−1)]

The present output depends on the present input only. We may conclude, this system is a memoryless
(static) system.
(ii) Assume that the input signal x(n) satisfies the condition

|x(n)| ≤ Bx = 5.7 < ∞ for all n.

We then find that

|y(n)| = |Round[x(n)]|
= |Round[5.7]|
= 6 = By < ∞

We conclude that in this system if any input is bounded by an arbitrary positive number Bx , the
corresponding output is bounded. Thus, the given system is stable.
(iii) Consider the given input-output relation of the system.

y(n) = Round[x(n)]
y(0) = Round[x(0)]
y(1) = Round[x(1)]
y(−1) = Round[x(−1)]

The present output depends on the present input only. We may conclude, this system is a causal
system.
(iv) To determine whether or not a system is linear, we consider two arbitrary inputs x1 (n) = 5.3
and x2 (n) = 6.4.
x1 (n) → y1 (n) = Round[x1 (n)] = Round[5.3] = 5
x2 (n) → y2 (n) = Round[x2 (n)] = Round[6.4] = 6
x3 (n) → y3 (n) = Round[x3 (n)]

Let x3 (n) be a linear combination of x1 (n) and x2 (n). That is,

x3 (n) = x1 (n) + x2 (n) = 5.3 + 6.4 = 11.7

If the system is linear, then


y3 (n) = y1 (n) + y2 (n)

Consider the LHS of the above equation


y3 (n) = Round[x3 (n)]
= Round[x1 (n) + x2 (n)] = Round[11.7] = 12

On the other hand


y1 (n) + y2 (n) = 5 + 6 = 11 6= y3 (n)

Since LHS 6= RHS, we conclude that the system is non-linear.


(v) Let x1 (n) be an arbitrary input to the system, and let

y1 (n) = Round[x1 (n)]


16 Signals and Systems

be the corresponding output. Then consider a second input obtained by shifting x1 (n) in time:
x2 (n) = x1 (n − n0 )
The output corresponding to this input is
y2 (n) = Round[x2 (n)]
= Round[x1 (n − n0 )]
Now, consider
y1 (n) = Round[x1 (n)]
y1 (n − n0 ) = Round[x1 (n − n0 )]
Since y2 (n) = y1 (n − n0 ), thus this system is time-invariant.
(f) (i) Consider the given input-output relation of the system.
y(n) = |x(n)|
y(0) = |x(0)|
y(1) = |x(1)|
y(−1) = |x(−1)|
The present output depends on the present input only. We may conclude, this system is a memoryless
(static) system.
(ii) Assume that the input signal x(n) satisfies the condition
|x(n)| ≤ Bx < ∞ for all n.
We then find that
y(n) = |[x(n)]|
= By = Bx < ∞
We conclude that in this system if any input is bounded by an arbitrary positive number Bx , the
corresponding output is bounded. Thus, the given system is stable.
(iii) Consider the given input-output relation of the system.
y(n) = |x(n)|
y(0) = |x(0)|
y(1) = |x(1)|
y(−1) = |x(−1)|
The present output depends on the present input only. We may conclude, this system is a causal
system.
(iv) To determine whether or not a system is linear, we consider two arbitrary inputs x1 (n) = 5 and
x2 (n) = −6.
x1 (n) → y1 (n) = |x1 (n)| = |5| = 5
x2 (n) → y2 (n) = |x2 (n)| = | − 6| = 6
x3 (n) → y3 (n) = |x3 (n)|
Let x3 (n) be a linear combination of x1 (n) and x2 (n). That is,
x3 (n) = x1 (n) + x2 (n) = 5 − 6 = −1
If the system is linear, then
y3 (n) = y1 (n) + y2 (n)
Signals and Systems 17

Consider the LHS of the above equation

y3 (n) = |x3 (n)|


= |x1 (n) + x2 (n)| = | − 1| = 1

On the other hand

y1 (n) + y2 (n) = 5 + 6 = 11 6= y3 (n)

Since LHS 6= RHS, we conclude that the system is non-linear.


(v) Let x1 (n) be an arbitrary input to the system, and let

y1 (n) = |x1 (n)|

be the corresponding output. Then consider a second input obtained by shifting x1 (n) in time:

x2 (n) = x1 (n − n0 )

The output corresponding to this input is

y2 (n) = |x2 (n)|


= |x1 (n − n0 )|
Now, consider
y1 (n) = |x1 (n)|
y1 (n − n0 ) = |x1 (n − n0 )|

Since y2 (n) = y1 (n − n0 ), thus this system is time-invariant.


(
1 x(n) > 0
(g) y(n) = sgn[x(n)] =
−1 x(n) < 0
(i) Consider the given input-output relation of the system.

y(n) = sgn[x(n)]
y(0) = sgn[x(0)]
y(1) = sgn[x(1)]
y(−1) = sgn[x(−1)]

The present output depends on the present input only. We may conclude, this system is a memoryless
(static) system.
(ii) Since
(
1 x(n) > 0
y(n) = sgn[x(n)] =
−1 x(n) < 0

We conclude that in this system if any input is bounded, the corresponding output is always bounded.
Thus, the given system is stable.
(iii) Consider the given input-output relation of the system.

y(n) = sgn[x(n)]
y(0) = sgn[x(0)]
y(1) = sgn[x(1)]
y(−1) = sgn[x(−1)]
18 Signals and Systems

The present output depends on the present input only. We may conclude, this system is a causal
system.
(iv) To determine whether or not a system is linear, we consider two arbitrary inputs x1 (n) = 5 and
x2 (n) = −3.

x1 (n) → y1 (n) = sgn[x1 (n)] = sgn[5] = 1


x2 (n) → y2 (n) = sgn[x2 (n)] = sgn[−3] = −1
x3 (n) → y3 (n) = sgn[x3 (n)]

Let x3 (n) be a linear combination of x1 (n) and x2 (n). That is,

x3 (n) = x1 (n) + x2 (n) = 5 − 3 = 2

If the system is linear, then

y3 (n) = y1 (n) + y2 (n)

Consider the LHS of the above equation

y3 (n) = sgn[x3 (n)]


= sgn[x1 (n) + x2 (n)] = sgn[2] = 1

On the other hand

y1 (n) + y2 (n) = 1 − 1 = 0 6= y3 (n)

Since LHS 6= RHS, we conclude that the system is non-linear.


(v) Let x1 (n) be an arbitrary input to the system, and let

y1 (n) = sgn[x1 (n)]

be the corresponding output. Then consider a second input obtained by shifting x1 (n) in time:

x2 (n) = x1 (n − n0 )

The output corresponding to this input is

y2 (n) = sgn[x2 (n)]


= sgn[x1 (n − n0 )]

Now, consider

y1 (n) = sgn[x1 (n)]


y1 (n − n0 ) = sgn[x1 (n − n0 )]

Since y2 (n) = y1 (n − n0 ), thus this system is time-invariant.

1.12 Sketch the following signals:


(i) x1 (t) = u(t) + 5u(t − 1) − 2u(t − 2)
(ii) x2 (t) = r(t) − r(t − 1) − u(t − 2)
(iii) x3 (t) = 2u(t) + δ(t − 1)
(iv) x4 (t) = u(t)u(t − 2)
(v) x1 (t)x2 (t + 12 )
Signals and Systems 19

Solution 1.12
x1(t)

x2(t)
6

1 1

t t
0 1 2 3 0 1 2
(i) (ii)
x3(t) x4(t)

2 1

t t
0 1 0 1 2
(iii) (iv)
x1(t) x2(t + ½)

1
½
t
0 ½ 1 1.5
(v)

Fig. S1.4

1.13 A discrete-time signal is shown in Fig.1.43. Sketch and label each of the following signals:

Fig. 1.43
(i) x(n − 4) (ii) x(3 − n) (iii) x(3n)
(iv) x(3n + 1) (v) x(n)u(3 − n) (vi) x(n − 2)δ(n − 2)
(vii) 12 x(n) + 12 (−1)n x(n) (viii) x(n − 1)2

Solution 1.13
x(n – 4)
x(3 – n)

1
½ ½ ½
½
0 1 n n
2 3 45 6 7 0 1 2 3 45 6 7
–½ –½
–1 –1

(i) (ii)

Fig. S1.5
20 Signals and Systems

x(3n + 1)
x(3n)
1 1
½ ½
–1 n
0 1 2 3 n
–½ –2 –1 0 1 2

(iii) (iv)
x(n) u(3 – n) x(n – 2)d(n – 2)

1 1
½ ½
–4 –3 n n
–2 –1 0 1 2 3 0 1 2 3 4
–½

(v) (vi)
x[(n – 1)2]
1 1
½
–4 n
–3 –2 –1 0 1 2 n
0 1 2 3 4
–1

(vii) (viii)

Fig. S1.5 (continued)

1.14 Find the derivative of the waveforms in Fig.1.40 and write the equations for the derivatives
using shifted step and/or impulse functions.

Fig. 1.40
Signals and Systems 21

Solution 1.14

(a)
E 2E 2E E
r(t) −
x1 (t) = r(t − T ) + r(t − 3T ) − r(t − 4T )
T T T T
dx1 (t) ′ E 2E 2E E
= x1 (t) = u(t) − u(t − T ) + u(t − 3T ) − u(t − 4T )
dt T T T T
x′1 (t) is shown in Fig. S1.6(a)

(b)
x2 (t) = r(t) − r(t − 2) − u(t − 2)
dx2 (t)
= x′2 (t) = u(t) − u(t − 2) − δ(t − 2)
dt
x′2 (t) is shown in Fig. S1.6(b)

(c)
x3 (t) = 1.5u(t) + 0.5u(t − 1) − 2u(t − 2)
dx3 (t) ′
x3 (t) = 1.5δ(t) + 0.5δ(t − 1) − 2δ(t − 2)
=
x′3 (t) is shown in Fig. S1.6(c)

(d)
1 1
x4 (t) = u(t) + r(t) − r(t − 2) − 2u(t − 2)
2 2
dx4 (t) ′ 1 1
= x4 (t) = δ(t) + u(t) − u(t − 2) − 2δ(t − 2)
dt 2 2
x′4 (t) is shown in Fig. S1.6(d)
x2′(t)
x 1′(t)

1
E/T
t
t 0 1 2
0 T 2T 3T 4T
–E/T –1

(a) (b)
x3′(t)
1
x4′(t)

0.5 1
t 0.5
0 1 2
t
0 1 2

–2
–2
(c) (d)

Fig. S1.6
1.15 Show that if x(n) is periodic with period N , then
n
X n+N
X
x(k) = x(k)
k=n0 k=n0 +N
22 Signals and Systems

Solution 1.15 Consider the RHS


n+N
X
x(k)
k=n0 +N

A change of variables is performed by letting k − N = m, which also yields k = m + N , m = n0


as k = n0 + N , and m = n as k = n + N . Therefore,
n
X
x(m + N )
m=n0

Since x(m + N ) = x(m), we have


n
X n
X
x(m) = x(k) = LHS
m=n0 k=n0

Common questions

Powered by AI

The Dirac delta function δ(t) acts as an impulse, simplifying integrals by picking the value of the function it multiplies at the point where its argument is zero. In the integrals, it evaluates the functions at specified 'impulse' locations, which have significant implications in signal processing, allowing discrete sampling of continuous signals .

To demonstrate a system's nonlinearity, consider two arbitrary inputs x1(t) and x2(t). For the system to be linear, a linear combination of x1(t) and x2(t) should lead to a linear combination of their outputs. Specifically, for inputs x3(t) = ax1(t) + bx2(t), the output should be y3(t) = ay1(t) + by2(t). If y3(t) does not equal ay1(t) + by2(t), the system is nonlinear. In the case of the system y(t) = cos(2πfct + k∫x(τ)dτ), substituting and expanding shows the inequalities do not hold, proving it is nonlinear .

The integral of xe(t)x0(t) over all time (i.e., from negative infinity to positive infinity) equating to zero implies orthogonality between the even and odd components of a real signal. This property signifies that the energy of a real signal can be completely separated between its even and odd parts, having no overlapping contribution when multiplied and integrated over all time .

A system described by y(n) = Round[x(n)] is nonlinear because the operation of rounding does not satisfy the superposition principle. For instance, if x1(n) and x2(n) are inputs, y1(n) + y2(n) (rounded outputs) does not equal y3(n) = Round(x3(n)), where x3(n) = x1(n) + x2(n). The outputs do not linearly combine, confirming nonlinearity .

A system is causal if the output at any time n depends only on current and past inputs, not future ones. In the system y(n) = |x(n)|, the output depends strictly on the present input x(n), meeting the causality criterion, as no future values are needed to compute y(n).

The signal is time-variant because the output depends on the lower limit of integration, which is present time t. When we apply a time shift to the input, the output does not simply shift by the same amount due to the integral over time up to that precise moment. Therefore, a time shift in the input does not result in an identical shift of the output, proving the system is time-variant .

The odd component of a signal x(t) can be found as xo(t) = 1/2[x(t) - x(-t)]. An aperiodic signal does not repeat over time. However, the odd component xo(t) = 1/2 sin(πt) of the given signal x(t) = sin(πt)u(t) is determined to be periodic, with a period T determined by the argument of the sine function, demonstrating that an aperiodic signal can have periodic components .

The shift property of the impulse function δ(t - t0) allows the evaluation of an integral by shifting the function being integrated to the point t0, effectively sampling it at that point. This is applied in signal processing to isolate and analyze specific time-domain characteristics of signals without affecting other portions .

BIBO stability in a signal system refers to the condition that any bounded input will produce a bounded output. Mathematically, if |x(n)| ≤ Bx for all n, then a system is stable if |y(n)| ≤ By, where Bx and By are finite bounds. This means that the system's output remains finite as long as the input is finite. This is a crucial consideration for the practical stability of signal processing systems .

A system is time-invariant if shifting the input signal in time results in an equally shifted output signal, without the shape of the output changing. One way to test this is to apply a time-shifted input x(n-n0) and check if the output y(n-n0) equals the system output for time-shifted input, y2(n). If y2(n) = y1(n-n0), where y1(n) is the output corresponding to the original input x1(n), then the system is time-invariant .

You might also like