Sample for Solution Manual Modern Digital and Analog Communication Systems 5th Edition by Lathi and Ding
Sample for Solution Manual Modern Digital and Analog Communication Systems 5th Edition by Lathi and Ding
∞
2.1-1 The step function u(t) is a power signal because its energy is innite, i.e., Eu = −∞
u2 (t) dt = ∞.
2.1-2 Let us denote the signal in question by g(t) and its energy by Eg .
(c)
4π 4π 4π
1 1
Eg = sin2 t dt = dt − cos 2t dt = π + 0 = π
2π 2 2π 2 2π
(d)
2π 2π
1 2π
2 1
Eg = (2 sin t) dt = 4 dt − cos 2t dt = 4[π + 0] = 4π
0 2 0 2 0
Sign change and time shift do not aect the signal energy. Doubling the signal quadruples its energy. In the
same way, we can show that the energy of kg(t) is k2 Eg .
2.1-4
2
(a) Since x(t) is a real signal, Ex = 0
x2 (t) dt.
Solving for Fig. S2.1-4(a), we have
2 1 2
Ex = 0
(1)2 dt = 2, Ey = 0
(1)2 dt + 1
(−1)2 dt = 2
1 2
Ex+y = 0
(2)2 dt = 4, Ex−y = 1
(2)2 dt = 4
Therefore, Ex±y = Ex + Ey .
Solving for Fig. S2.1-4(b), we have
π 2π π/2 π 3π/2 2π
Ex = 0
(1)2 dt + π
(−1)2 dt = 2π, Ey = 0
(1)2 dt + π/2
(−1)2 dt + π
(1)2 dt + 3π/2
(−1)2 dt = 2π
π/2 3π/2 2π
Ex+y = 0
(2)2 dt + π/2
(0)2 dt + 3π/2
(−2)2 dt = 4π
π/2 π 3π/2 2π
Ex−y = 0
(0)2 dt + π/2
(2)2 dt + π/2
(−2)2 dt + 3π/2
(0)2 dt = 4π
Therefore, Ex±y = Ex + Ey .
π/4 π π
(b) Ex = 0
(1)2 dt + π/4
(−1)2 dt = π, Ey = 0
(1)2 dt = π
π/4 π π/4 π
Ex+y = 0
(2)2 dt + π/4
(0)2 dt = π, Ex−y = 0
(0)2 dt + π/4
(−2)2 dt = 3π
Therefore, Ex±y 6= Ex + Ey , and Ex̂±ŷ = Ex̂ ± Eŷ are not true in general.
1
2 2 2
3π
2 4 π
0 0 0
π π
2 4
-2 -2
(a) (b) (c)
x (t) + y (t )
2 2 2
π
3π
2 4 π
0 0 4 0
π
2
-2 -2
(a) (b) (c)
x (t ) − y (t)
Fig. S2.1-4
2.1-5
2
1
Pg = (t3 )2 dt = 64/7
4 −2
2
1
(a) P−g(t) = (−t3 )2 dt = 64/7
4 −2
2
1
(b) P1.5g(t) = (1.5t3 )2 dt = 144/7
4 −2
2
1
(c) Pg(−t) = (−t3 )2 dt = 64/7
4 −2
4/3
3
(d) Pg(1.5t) = ((1.5t)3 )2 dt = 64/7
8 −4/3
Comment: Changing the sign of a signal does not aect its power. Multiplication of a signal by a constant
c increases the power by a factor of c2 . Time-scaling of a signal does not change its power, though the signal
period changes.
2.1-6
T0 T0
1 2 2 C2
Pg = C cos (ω0 t + θ) dt = [1 + cos (2ω0 t + 2θ)] dt
T0 0 2T0 0
" T0 T0
#
C2 C2 C2
= dt + cos (2ω0 t + 2θ) dt = [T0 + 0] =
2T0 0 0 2T0 2
2.1-7 If ω1 = ω2 , then
2
g 2 (t) = (C1 cos (ω1 t + θ1 ) + C2 cos (ω1 t + θ2 ))
= C12 cos2 (ω1 t + θ1 ) + C22 cos2 (ω1 t + θ2 ) + 2C1 C2 cos (ω1 t + θ1 ) cos (ω1 t + θ2 )
2
T0
1 2
Pg = limT0 →∞ (C1 cos (ω1 t + θ1 ) + C2 cos (ω1 t + θ2 )) dt
T0 0
T0
C12 C2 1
= + 2 + lim 2C1 C2 cos (ω1 t + θ1 ) cos (ω1 t + θ2 ) dt
2 2 T →∞ T0 0
T0
C12 C2 1 1
+ 2 + lim 2C1 C2
= cos (2ω1 t + θ1 + θ2 ) + cos (θ1 − θ2 ) dt
2 2 T →∞ T0 0 2
C12 C22 2C1 C2
= + +0+ cos (θ1 − θ2 )
2 2 2
C12 + C12 + 2C1 C2 cos (θ1 − θ2 )
=
2
2.1-8
T /2
1
Pg = lim g(t)g ∗ (t) dt
T →∞ T −T /2
T /2 n
n X
1 X
= lim Dk D∗ r ej(ωk −ωr )t dt
T →∞ T −T /2 k=m r=m
T /2 Xn n T /2 n
1 X 1 X
= lim Dk D∗ r ej(ωk −ωr )t dt + lim |Dk |2 dt
T →∞ T −T /2 k=m r=m,r6=k T →∞ T −T /2 k=m
The integrals of the cross-product terms (when k 6= r) are nite because the integrands (functions to be
integrated) are periodic signals (made up of sinusoids). These terms, when divided by T → ∞, yield zero.
The remaining terms (k = r) yield
T /2 n n
1 X X
Pg = lim |Dk |2 dt = |Dk |2
T →∞ T −T /2 k=m k=m
2.1-9
(b) From Eq. (2.5b), the power of the sum of two sinusoids of dierent frequencies is the sum of the power
C12 C2
of individual sinusoids, regardless
√
of the phase, 2 + 22 , therefore, Pg = 25/2 + 4/2 = 12.5 + 2 = 14.5;
the rms value is Pg = 14.5.
p
√
(c) Same as (b), Pg = 25/2 + 4/2 = 12.5 + 2 = 14.5; the rms value is Pg = 14.5.
p
3
2
(f ) |g(t)| = sin2 (ω0 t)
√
Therefore, Pg = 1/2 = 0.5; the rms value is 0.5.
p
Pg =
2.1-10
2
(a) 1
12 dt = 1; the rms value is Pg = 1.
p
Pg = 4 −2
π √
(b) 1
12 dt = 15 ; the rms value is Pg = 1/ 5.
p
Pg = 10π −π
2π √
1 t 2
dt = 13 ; the rms value is Pg = 1/ 3.
(c)
p
Pg = 2π 0 2π
π/4 √
1 4t 2
dt = 16 ; the rms value is Pg = 1/ 6.
(d)
p
Pg = π −π/4 π
1
(e) 1
t2 dt = 19 ; the rms value is Pg = 1/3.
p
Pg = 3 0
1 2
= 49 ; the rms value is Pg = 2/3.
1 −1
(f ) + 2)2 dt + 2
p
Pg = 6 −2
(t −1
dt + 1
(t − 2) dt
∞ T /2
2.2-1 If a is real, then both Eg = −∞
|e−at |2 · dt = ∞ and Pg = limT →∞ 1
T −T /2
|e−at |2 · dt =
T /2
limT →∞ T1 −T /2 e−2at · dt = ∞.
If a is purely imaginary, a = iα; then, g(t) = e−iαt and |g(t)|2 = 1. Pg = limT →∞ T1 −T T /2
1 · dt =
/2
limT →∞ T T = 1. It is not an energy signal since Eg = −∞ |g(t)| · dt = ∞. Hence it is a power signal.
1 ∞ 2
2.2-2
T /2
(a) Pg = limT →∞ 1
T −T /2
t4 dt = ∞. Hence, it is not a power signal.
∞
(b) Eg = −∞
t2 dt = ∞. Hence, it is not an energy signal.
2.3-1
g2 (t) = g(t − 1) + g1 (t − 1), g3 (t) = g(t − 1) + g1 (t + 1), g4 (t) = g(t − 0.5) + g1 (t + 0.5)
The signal g5 (t) can be obtained by (i) delaying g(t) by 1 second (replace t with t − 1), (ii) then time-
expanding by a factor 2 (replace t with t/2), (iii) then multiplying by 1.5. Thus g5 (t) = 1.5g( 2t − 1).
2.3-3
4
(a) x a (t) = g(-t+1) + g(t-1)
0
0 1 2
t
(b) x b(t) = g 2 (t) + g 3 (t)
0
-1 0 1 2
t
(c) x c (t) = [g5 (t-1)] 2
2.25
0
0 1 2 3
t
Fig. S2.3-2
∞ 15 1 24 1
(t − 24) dt = 3.
2 2
(b) Eg = −∞
|g(t)|2 dt = 6 6 (t − 12) dt + 15 − 18
Based on the properties derived in Prob. 2.3-6, the energies are
(i) Eg(−t) = 3
(ii) Eg(t+2) = 3
(iii) Eg(−3t) = Eg /3 = 1
(iv) Eg(t/3) = 3Eg = 9
(v) Eg(2t+1) = Eg /2 = 1.5
(vi) Eg(2t+2) = Eg /2 = 1.5
g(t) = g(t + T )
T
g(a t) = g(a t + T ) = g a t +
a
T
f (t) = f t +
a
5
(i) g(-t)
0.5
0
-1
-24 -15 -6 0
t
(ii) g(t+2)
0.5
0
-1
0 4 13 22
t
(iii) g(-3t)
0.5
0
-1
-8 -5 -2 0
t
(iv) g(t/3)
0.5
0
-1
0 18 45 72
t
(v) g(2t+1)
0.5
0
-1
0 2.5 7 11.5
t
(vi) g(2t+2)
0.5
0
-1
0 2 6.5 11
t
Fig. S2.3-3
6
g(t-2) g(3t/4)
6 6
5 5
4 4
3 3
2 2
1 1
0 0
-2 0 2 4 -5.3333 0 2.6667
t t
g(2t-3) g(2-t)
6 6
5 5
4 4
3 3
2 2
1 1
0 0
-0.5 0 1.5 2.5 0 2 4
t t
Fig. S2.3-5
7
2.3-6
∞ ∞ ∞ ∞
E−g = [−g(t)]2 dt = g 2 (t) dt = Eg , Eg(−t) = [g(−t)]2 dt = g 2 (x) dx = Eg
−∞ −∞ −∞ −∞
∞ ∞ ∞ ∞
1
Eg(t−T ) = [g(t − T )]2 dt = g 2 (x) dx = Eg , Eg(at) = [g(at)]2 dt = g 2 (x) dx = Eg /a
−∞ −∞ −∞ a −∞
∞ ∞ ∞ ∞
1
Eg(at−b) = [g(at−b)]2 dt = 2
g (x) dx = Eg /a, Eg(t/a) = 2
[g(t/a)] dt = a g 2 (x) dt = aEg
−∞ a −∞ −∞ −∞
∞ ∞
Eag(t) = [ag(t)]2 dt = a2 g 2 (t) dt = a2 Eg
−∞ −∞
2.4-1 Using the facts that φ(t)δ(t) = φ(0)δ(t) and φ(t)δ(t − T ) = φ(T )δ(t − T ), we have
(a) tan(3π/4)
π 2 /8+1 δ(t − π4 ) = −8
π 2 +8 δ(t − π4 )
(b) 1−j
10π δ(ω + π)
(e) cos(−3π/2)
1/2 =0
2
(f) k2 δ(ω) − 4 sin π(kπ/2)
2 δ(ω + π/2) (use L'Hôpital's rule limω→0 sinkωkω = 1)
2.4-2
(a) −8
π 2 +8
(b) 1−j
10π
(c) −eπ/15
(d) 1
3
(e) 0
2
(f) k2 − 4 sin π(kπ/2)
2
Therefore,
1
δ(ω) = δ(2πf ) = δ(f )
2π
.
8
b
2.4-4 Using the fact that δ(at) = 1
|a| δ(t) (see Problem 2.4-3), and the equality a
φ(t)δ(t − T ) dt = φ(T ),
we get
(a) g(−3t + a)
(b) g(t)
(c) ej2ω
(d) 0
(e) e6 /2
(f) 5
(g) 2g(−4)
(h) cos(7π/3)
3
2.5-1
1
(a) In this case Ex = 0
dt = 1, and
1 1
1 1
c= g(t)x(t) dt = t dt = 0.5
Ex 0 1 0
(b) Thus, g(t) ≈ 0.5x(t), and the error e(t) = t − 0.5 over (0 ≤ t ≤ 1), and zero outside this interval. Also
Eg and Ee (the energy of the error) are
1 1 1
2 2
Eg = g (t) dt = t dt = 1/3 and Ee = (t − 0.5)2 dt = 1/12
0 0 0
Note that Eg = c2 Ex + Ee . To explain these results in terms of vector concepts, we observe from Fig. 2.13
that the error vector e is orthogonal to the component cx. Because of this orthogonality, the length-square
of g [energy of g(t)] is equal to the sum of the square of the lengths of c · x and e [sum of the energies of
cx(t) and e(t)].
1 1
2.5-2 In this case Eg = 0
g 2 (t) dt = 0
t2 dt = 1/3, and
1 1
1
c= x(t)g(t) dt = 3 t dt = 1.5
Eg 0 0
9
2.5-3
|e|2 = |g|2 + c2 |x|2 − 2cg · x
2c|x|2 − 2g · x = 0
2.5-4
1
(a) In this case Ex = 0
sin2 2πt dt = 0.5, and
1 1
1 1
c= g(t)x(t) dt = t sin 2πt dt = −1/π
Ex 0 0.5 0
(b) Thus, g(t) ≈ −(1/π)x(t), and the error e(t) = t + (1/π) sin 2πt over (0 ≤ t ≤ 1), and zero outside this
interval.
Also Eg and Ee (the energy of the error) are
1 1
2
Eg = g (t) dt = t2 dt = 1/3
0 0
and 1
1 1
Ee = [t + (1/π) sin 2πt]2 dt = −
0 3 2π 2
Note that Eg = c2 Ex + Ee . To explain these results in terms of vector concept we observe from Fig. 2.13 that
the error vector e is orthogonal to the component cx. Because of this orthogonality, the square of length of
g [energy of g(t)] is equal to the sum of squares of the lengths cx and f [sum of the energies of cx(t) and
e(t)].
2.5-5
(a) If x(t) and y(t) are orthogonal, then we can show that the energy of x(t) ± y(t) is Ex + Ey .
∞ ∞ ∞ ∞
|x(t) ± y(t)|2 dt = |x(t)|2 dt + |y(t)|2 dt ± x(t)y ∗ (t) dt ± x∗ (t)y(t) dt
−∞ −∞ −∞ −∞
∞ ∞
2 2
= |x(t)| dt + |y(t)| dt
−∞ −∞
The last result follows from the fact that because of orthogonality, the two integrals of the cross products
x(t)y ∗ (t) and x∗ (t)y(t) are zero. Thus the energy of x(t) + y(t) is equal to that of x(t) − y(t) if x(t) and y(t)
are orthogonal.
10
(b) We can use a similar argument to show that the energy of c1 x(t)+c2 y(t) is equal to that of c1 x(t)−c2 y(t)
if x(t) and y(t) are orthogonal. This energy is given by |c1 |2 Ex + |c2 |2 Ey .
(c) If z(t) = x(t) ± y(t), then it follows from part (a) in the preceding derivation that
Ez = Ex + Ey ± (Exy + Eyx )
2.6-1 We shall use Eq. (2.51) to compute ρn for each of the four cases. Let us rst compute the energies
of all the signals: 1
Ex = sin2 2πt dt = 0.5
0
1
(2) √ (sin 2πt) (− sin 2πt) dt = −1
(0.5)(0.5)
1
1
(3) √ 0
0.707 sin 2πt dt = 0
(0.5)(0.5)
h 1 i
1 0.5
(4) √ 0
0.707 sin 2πt dt − 0.5
0.707 sin 2πt dt = 2.828/π
(0.5)(0.5)
Signals x(t) and g2 (t) provide the maximum protection against noise.
∞ 2 ∞ ∞
2.6-2 Eg1 = g 2 (t)dt
−∞ 1
1dt = 2 and Eg2 =
= 0
g 2 (t)dt
−∞ 2
= 0
e−t = 1.
√
Therefore, ρ = √12·1 02 e−0.5t dt = 2 1 − e−1 .
If τ ≥ 0,
∞
ψg (τ ) = exp(−2t) cos(πt) exp(−2(t + τ )) cos(π(t + τ ))dt
0
∞
1 1
= exp(−4t − 2τ ) cos(2πt + πτ ) + cos(πτ ) dt
0 2 2
∞ ∞
1 τ τ 1
= exp(−4(t + )) · cos(2π(t + )) dt + exp(−2τ ) cos(πτ ) exp(−4t) dt
2 0 2 2 2 0
1 1
= exp(−2τ ) cos(πτ ) + 2 exp(−2τ )(4 cos(πτ ) − 2π sin(πτ )), τ ≥ 0.
8 8π + 32
Because of symmetry,
2
1 π +8 2π
ψg (τ ) = exp(−2|τ |) 2 cos(πτ ) − 2 sin(π|τ |)).
8 π +4 π +4
11
2.7-1
(a) g1 = (2, −1), g2 = (−1, 2), g3 = (0, −1), g4 = (1, 2), g5 = (2, 1), and g6 = (3, 0).
(b) Signal pairs (g3 , g6 ), (g1 , g4 ) and (g2 , g5 ) are orthogonal. We can verify this analytically.
We can show that the corresponding signal pairs are also orthogonal.
∞ ∞
g3 (t)g6 (t) dt = [−x2 (t)][3x1 (t)] dt = 0
−∞ −∞
∞ ∞
g1 (t)g4 (t) dt = [2x1 (t) − x2 (t)][x1 (t) + 2x2 (t)] dt = 0
−∞ −∞
∞ ∞
g2 (t)g5 (t) dt = [−x1 (t) + 2x2 (t)][2x1 (t) + x2 (t)] dt = 0
−∞ −∞
∞ ∞ ∞
In deriving these results, we used the fact that −∞
x21 dt = −∞
x22 (t) dt = 1 and −∞
x1 (t)x2 (t) dt = 0.
∞ ∞ ∞
(c) Because −∞ 1
x2 dt = x22 (t) dt = 1 and −∞ x1 (t)x2 (t) dt = 0, signal energy Eg = c21 + c22 for
−∞
g(t) = c1 x1 (t) + c2 x2 (t). Therefore, Eg1 = 5, Eg2 = 5, Eg3 = 4, Eg4 = 5, Eg5 = 5, Eg6 = 9.
2.7-2
(b) Through orthogonal decomposition, we know that g(t) = 0.5 x(t) + e(t) = 0.5 ψ1 (t) + 2√1 3 ψ2 (t) and
x(t) = ψ1 (t) + 0 ψ2 (t). Thus, the vector representations are g = [ 12 2√
1
3
] and x = [1 0], respectively.
√ √ √ √
(c) Similarly, this time ψ1 (t) = x(t)/ Ex = 2 x(t) = 2 sin(2πt), 0 ≤ t ≤ 1 and ψ2 (t) = e(t)/ Ee =
√ 1
(t + sin(2πt)/π), 0 ≤ t ≤ 1.
1/3−1/(2π 2 )
q
3 − 2π 2 ψ2 (t) and x(t) =
g(t) = − π1 x(t) + e(t) = − π√ 1
ψ 1 (t) + 1 1 √1 ψ1 (t) + 0 ψ2 (t). Thus, the vector
2 q 2
2.7-3
12
(a) We can choose the normalized x(t), g1 (t), g3 (t) as the rst three orthonormal bases for the set of signals,
since all the correlations between these signals are zeros. Therefore,
√
φ1 (t) = 2x(t)
√
φ2 (t) = 2g1 (t)
√
φ3 (t) = 2g3 (t).
Signal g2 (t) is the negative of signal x(t). Therefore, g2 (t) = − √12 φ1 (t).
To represent g4 (t), we need an additional basis function φ4 (t). We can represent g4 (t) as g4 (t) = c1 φ1 (t) +
c2 φ2 (t) + c3 φ3 (t) + c4 φ4 (t), where,
1 √ 1
2
c1 = g4 (t)φ∗1 (t) dt = 2 g4 (t)x(t) dt =
0 0 π
1 1
√ √ 0.5 1
∗
c2 = g4 (t)φ2 (t) dt = 2 g4 (t)g1 (t) dt = 2 0.707 sin 4πt dt − 0.707 sin 4πt dt = 0
0 0 0 0.5
1 √ 1 √ 1
c3 = g4 (t)φ∗3 (t) dt = 2 g4 (t)g3 (t) dt = 2 (0.707) g4 (t) dt = 0
0 0 0
Therefore,
√
2 2
c4 φ4 (t) = g4 (t) − c1 φ1 (t) = g4 (t) − x(t)
π
Therefore,
√ √
g4 (t) − 2 π 2 x(t) g4 (t) − 2 π 2 x(t)
φ4 (t) = p =
Ec4 φ4 0.3076
(b)
x1 (t) = [ √1 0 0 0 ]T
2
g1 (t) = [ 0 √1 0 0 ]T
2
g2 (t) = [ − √12 0 0 0 ]T
g3 (t) = [ 0 0 √1 0 ]T
2
g4 (t) = [ 2
π 0 0 0.3076 ]T
2.8-1
(a) T0 = 4, ω0 = 2π
T0 = π
2 . Because of even symmetry, all sine terms are zero.
13
1.5
1
Cn
0.5
0
-0.5
0 1 2 3 4 (a) 5 6 7 8 9 10
Cn 0.5
-0.5
0 1 2 3 4 (b) 5 6 7 8 9 10
0.5 2
∠θn
Cn
1
0 0
0 2 4 6 8 10 0 2 4 6 8 10
(c)
0.5 2
∠θn
0
Cn
0
-2
-0.5 0 5 10 15 20
0 2 4 6 8 10 (d)
1
0.2 0
∠θn
Cn
0.1 -1
0 -2
0 2 4 6 8 10 (e) 0 2 4 6 8 10
1
0.5
Cn
0
0 1 2 3 4 5 6 7 8 9 10
(f)
Fig. S2.8-1
∞
X nπ
g(t) = a0 + an cos t
n=1
2
a0 = 0 (by inspection of its lack of dc)
1 nπ 2 nπ
4
an = cos t dt − cos t dt
4 0 2 1 2
4 nπ
= sin
nπ 2
4 πt 1 3πt 1 5πt 1 7πt
g(t) = cos − cos + cos − cos + ···
π 2 3 2 5 2 7 2
Here bn = 0, and we allow Cn to take negative values. Figure S2.8-1(a) shows the plot of Cn which is
real-valued.
14
(b) T0 = 10π , ω0 = 2π
T0 = 15 . Because of even symmetry, all the sine terms are zero.
∞
X n n
g(t) = a0 + an cos t + bn sin t
n=1
5 5
1
a0 = (by inspection)
5
π n
2
an = cos t dt
10π −π 5
1 5 n π 2 nπ
= sin t = sin
5π n 5 −π πn 5
π
2 n
bn = sin t dt
10π −π 5
= 0 (integrand is an odd function of t)
Here bn = 0, and we allow Cn to take negative values. Note that Cn = an for n = 0, 1, 2, 3, . . .. Fig.
S2.8-1(b) shows the plot of Cn which is real-valued.
(c) T0 = 2π , ω0 = 1, and
∞
X
g(t) = a0 + an cos nt + bn sin nt
n=1
with
a0 = 0.5 (by inspection of the dc or average)
2π 2π
1 t 1 t 1
an = cos nt dt = 0, and bn = sin nt dt = −
π 0 2π π 0 2π πn
and
1 1 1 1
g(t) = 0.5 − sin t + sin 2t + sin 3t + sin 4t + · · ·
π 2 3 4
1 π 1 π 1 π
= 0.5 + cos t + + cos 2t + + cos 3t + + ···
π 2 2 2 3 2
The cosine terms vanish because when 0.5 (the dc component) is subtracted from g(t), the remaining function
has odd symmetry. Hence, the Fourier series would contain dc and sine terms only. Figure S2.8-1(c) shows
the plots of |Cn | and θn . Note that Cn is purely imaginary.
π/4
4 4 2 2 πn πn
bn = t sin 2nt dt = sin − cos
π 0 π πn πn 2 2
15