0% found this document useful (0 votes)
118 views4 pages

ECE 314 - Signals and Systems Fall 2012: Solutions To Homework 1

This document contains solutions to homework problems from a signals and systems course. Problem 1.1 involves finding the even and odd components of signals. The solution finds the even component of x(t) = cos(t) + sin(t) + sin(t)cos(t) to be cos(t) and the odd component to be sin(t) + sin(t)cos(t). Problem 1.3 asks for the fundamental frequency of a triangular wave, found to be 5 Hz or 10π rad/s. Problem 1.6 asks for the total energy of a rectangular pulse, found to be A2T1, and the average power of a square wave, found to be 1.

Uploaded by

the great man
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)
118 views4 pages

ECE 314 - Signals and Systems Fall 2012: Solutions To Homework 1

This document contains solutions to homework problems from a signals and systems course. Problem 1.1 involves finding the even and odd components of signals. The solution finds the even component of x(t) = cos(t) + sin(t) + sin(t)cos(t) to be cos(t) and the odd component to be sin(t) + sin(t)cos(t). Problem 1.3 asks for the fundamental frequency of a triangular wave, found to be 5 Hz or 10π rad/s. Problem 1.6 asks for the total energy of a rectangular pulse, found to be A2T1, and the average power of a square wave, found to be 1.

Uploaded by

the great man
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
You are on page 1/ 4

ECE 314 – Signals and Systems Fall 2012

Solutions to Homework 1

Problem 1.1 Find the even and odd components of each of the following
signals:
(a) x(t) = cos(t) + sin(t) + sin(t) cos(t)
Solution: First, let’s determine what is x(−t):

x(−t) = cos(−t) + sin(−t) + sin(−t) cos(−t)


= cos(t) − sin(t) − sin(t) cos(t).

Now, we can evaluate what are the even and odd components of x(t)
using the formulas xe (t) = 1/2[x(t) + x(−t)] and xo (t) = 1/2[x(t) − x(−t)].
1
xe (t) = [cos(t) + sin(t) + sin(t) cos(t) + cos(t) − sin(t) − sin(t) cos(t)]
2
= cos(t).

1
xo (t) = [cos(t) + sin(t) + sin(t) cos(t) − cos(t) + sin(t) + sin(t) cos(t)]
2
= sin(t) + sin(t) cos(t).

(c) x(t) = 1 + t cos(t) + t2 sin(t) + t3 sin(t) cos(t)


Solution: We may solve this by inspection, if we consider the following prop-
erties:

1. The product of two even signals is also even (x1 (−t)x2 (−t) = x1 (t)x2 (t)).

2. The product of two odd signals is even (x1 (−t)x2 (−t) = (−x1 (t))(−x2 (t)) =
x1 (t)x2 (t)).

3. The product of an even signal and an odd signal is odd (xe (−t)xo (−t) =
xe (t)(−xo (t)) = −xe (t)xo (t)).

¿From the properties above, we may draw the following conclusions:

1
• t cos(t) is odd, since t is odd and cos(t) is even.

• t2 sin(t) is odd, since t2 is even and sin(t) is odd.

• t3 sin(t) cos(t) is even, since t3 is odd, sin(t) is odd, and cos(t) is even.
Therefore, by inspection, we may conclude that the even and odd com-
ponents of x(t) are, respectively,

xe (t) = 1 + t3 sin(t) cos(t), and


xo (t) = t cos(t) + t2 sin(t).

Problem 1.3 Figure 1.15 shows a triangular wave. What is the funda-
mental frequency of this wave? Express the fundamental frequency in units
of Hz and rad/s.
Solution: Note that

x(t) = x(t + 0.2) = x(t + 0.4) = . . . , ∀t ∈ R

Therefore, {0.2, 0.4, . . .} is the set of periods of x(t). The fundamental


period is the least value in that set, i. e., To = 0.2. Hence, the fundamental
frequency will be fo = 1/To = 5 Hz. In radians per second, the fundamental
frequency is ωo = 2πfo = 10π rad/s.

Problem 1.4 Determine the fundamental frequency of the discrete-time


square wave shown in Fig. 1.16.
Solution: As the graph shows,

x[n] = x[n + 8] = x[n + 16] = . . . , ∀n ∈ Z.

Therefore, the fundamental period is No = 8, and, consequently, ωo =


2π/No = π/4 rad/sample.

Problem 1.5 ( )
a) First note that x(t) = cos2 (2πt) = 0.5 1 + cos(4πt) . Hence, if x is
periodic, then its period should be the same as that of cos(4πt), which is 1/2.
c) Suppose that x is periodic with period, say, T > 0. Then, it must
be true that x(t + T ) = x(t) for all t. In particular, pick t = 0 and obtain

2
x(T ) = x(0), or cos(0) = e−2T cos(2πT ), or 1 = e−2T cos(2πT ). The latter
implies that cos(2πT ) = e2T , which is greater than 1 (since T > 0). Thus, we
conclude that cos(2πT ) > 1, which is a contradition. Hence, our assumption
that x is periodic is false. This is an example of what is called proof by
contradiction.
d) Note that x[n + 2] = (−1)(n+2) = (−1)n = x[n]. Hence, x is periodic
with period 2.
f) If cos[n + N ] = cos[n], then we require that (n + N ) − n = 2πk, where
k is an integer. (Two sinusoids are identical if and only if their arguments
are offset by a multiple of 2π.) Hence, we require that N = 2πk, but there
is no integer k that would satisfy this equation. Thus, x is not periodic.
g) As in part (f), if cos[2π(n + N )] = cos[2πn], then we require that
2π(n + N ) − 2πn = 2πk, where k is an integer. Hence, we require that
2πN = 2πk, or N = 1. Thus, x is periodic with period 1.

Problem 1.6
(a) What is the total energy of the rectangular pulse shown in Fig. 1.14(b)
?
Solution: The energy of a signal x(t) is defined as
∫ ∞
E= |x(t)|2 dt.
−∞

In our case, the signal is equal to zero outside the interval [−T1 /2, T1 /2].
Therefore,
∫ T1 /2
E = A2 dt
−T1 /2
∫ T1 /2
2
= A dt
−T1 /2

= A2 T1 .

(b) What is the average power of the square wave shown in Fig. 1.14(a)?
Solution: The average power of a wave x(t) is defined as:

1 T /2
P = lim |x(t)|2 dt.
T →∞ T −T /2

3
So, first we need to determine the average power as a function of T , that
is
∫ T /2
1
PT = |x(t)|2 dt
T −T /2
∫T /2
1
= dt
T −T /2
= 1,

since |x(t)|2 is constant and equal to 1.


Now, taking PT to the limit, we get

P = lim PT = lim 1 = 1.
T →∞ T →∞

Observation: For a periodic wave, the average power defined above can be
shown to correspond exactly to
Eo
P = ,
To
where Eo is the energy of the wave in one period of length To .

You might also like