You are on page 1of 15

Signals and Systems EEEB 233

Week 3 Lecture

Systems

A system is a mathematical model of a physical process that relates the input signal (excitation) to the
output signal i.e y[n] =T[x[n]]. T is the operator representing some defined rule by which x(t) is
transformed into y(t). A system must produce a unique output y(t) given a unique input x(t).

Continuous-Time and Discrete-Time Systems

If the input and output signals x(t) and y(t) are continuous time signals, then the system is called a
continuous-time system. If the input and output signals are discrete-time signals or sequences, then the
system is called a discrete-time system

We will use x(t) for the input to the system, y(t) as its output, and use the notation:

y(t) = T[x(t)] -continuous time

or y[n] = T[x[n]] -discrete time

Properties of Systems

Systems with Memory and without Memory (memoryless)

Systems whose output y(t0) at time t0 depends on values of the input other than just x(t0) have
memory. In other words, a system y(t0) has memory if its output at time t0 depends on the input
x(t) for t > t0 or t < t0, i.e. it depends on values of the input other than x(t0).

A system is said to be memoryless if the input at any time depends on only the input at that same
time. Otherwise, the system is said to have memory. An example of a memoryless system is a
resistor with the input x(t) taken as the current and the voltage taken as output y(t). The input-
output relationship of a resistor is

y(t )  Rx(t )

1
The value of y(t) depends ONLY on the value of x(t) at the same time t and not at any other values of x(t)
at other times t.

An example of a continuous time system with memory is the charging of a capacitor (running
integral):

; the voltage depends on past values of the current so a capacitor has


memory.

An example of a system with memory is a discrete-time system (running sum) whose input and output
sequences are related by
n
y[n]   x k 
k 

The value of y[n] depends not only on the present value of x{n] but also on the past values of x[n]

Exercises on memory/memoryless

Ex 1. Does y(t) = x(t) + 5 have memory? Memoryless

Ex 2. Does z(t) = x(t+5) have memory? Memory

Ex 3. Does y(t) = (t+5)x(t) have memory? Memoryless

Ex4 Does z (t )   x(t  5) have memory? Memory


2

Ex5 Does z (t )  x(5) have memory? Memory

Ex5 Does v(t )  x(2t ) have memory? Memory

Inverse of a System

A system is invertible if you can determine the input uniquely from the output, i.e. there is a one-
to-one relationship between the input and output. In this case, we would write that the inverse of
the system S is SI:

A resistor is invertible because you can recover the current from the voltage: x(t) = i(t) ,
y(t) = v(t), x(t) = y(t)/R.

2
y(t) = 5x(t) is an invertible system since it is one-to-one.

Examples of systems which are not invertible are:

y(t) = x(t)u(t) → zeros out much of the input


y(t) = x2(t) → don't know sign
y(t) = cos[x(t)] → add 2π to x(t)

For discrete time system: A system has an inverse Ti if when cascaded with gives the
identity system (the output of the two systems is the original input):

Ti T ( x[n])  x[n]

Unit advance and Unit delay are Inverses

T : y[n]  x[n  1]
Ti : x[n]  y[n  1]

Accumulator and First Difference are Inverses.

n
T : y[n]   x[k ]
k 

Ti : x[n]  y[n]  y[n  1]

A rectifier y[n]  x  n is not invertible.

3
Linearity

A linear system must obey scaling and superposition

If a system is linear, this means that when an input to a given system is scaled by a value, then the
output of the system is also scaled by the same value. Given a system L, and if an input x(t) is applied to
it, it produces an output y(t). Then when  x(t ) is applied to the system and if it produces an output
 y(t ) , then the system L is said to be linear. This property is called scaling.

A linear system also obeys the principle of superposition. This means that if a signal x1 is input into the
system L and produces an output y1 and, another input signal x2 produces y2

then

when the two input signals x1 and x2 are added together first and then only passed through the linear
system L, the output will be the sum of the individual outputs where each output is excited due to each
separate input.

x1+x2 y1+y2

4
A linear system is one which obeys both the scaling and superposition properties. If the inputs x1(t) and
x2 (t) are scaled first by  and  respectively before applying them to the system at the same time. If
the system is linear, it should produce an output  y1 (t )   y2 (t )

Mathematically, for a linear system, T  x1 (t )   x2 (t )   y1 (t )   y2 (t )

Simple Test of a Linear System

A zero input shall produce a zero output. Mathematically, if x(t) = 0, then y(t) is zero. If a system falls this
test, then we know immediately that the system is NOT Linear. No further test is required

However, if the system passes this zero input zero output test, it DOES NOT mean that the system is
linear. Further test is required.

Test on Linearity (Important !! Use This Technique For Linearity if a system passes the zero input zero
output test)

If the input signal is x(t ) =  x1 (t )   x2 (t ) , and if this signal is passed through a LINEAR system, then
the output signal should be y(t ) =  y1 (t )   y2 (t ) .

In the diagram below, if the output w(n)  y(n) , then the system is linear.

5
Example 1

Given a system y(t )  tx(t ) , check if the system is linear

This system passes the zero input zero output test. So this system may or may not be linear. So use the
more thorough test.

Look at the top part of the diagram

If an input is x1 (t ) , then the output will be y1 (t )  tx1 (t )

If another input is x2 (t ) , then the output will be y2 (t )  tx2 (t )

If the system is linear, then y(t )   tx1 (t )   tx2 (t )

Look at the bottom part of the diagram

Let’s see if we can obtain this output if a signal x(t )   x1 (t )   x2 (t ) is input into the system.

y(t )  tx(t )  t ( x1 (t )   x2 (t ))  t x1 (t )  t  x2 (t )

Conclusion : The system is linear as the output signal y (t ) in the top part is the same as the output in
the bottom part.

6
Example 2

Given y(t )  x 2 (t ) check if the system is linear

This system passes the zero input zero output test i.e if x(t )  0 then y(t )  0 . So this system may or
may not be linear. So use the more thorough test.

Look at the top part of the diagram

If an input is x1 (t ) , then the output will be y1 (t )  x12 (t )

If another input is x2 (t ) , then the output will be y2 (t )  x22 (t )

If the system is linear, then y(t )   x12 (t )   x22 (t )

Look at the bottom part of the diagram

Let’s see if we can obtain this output if a signal x(t )   x1 (t )   x2 (t ) is input into the system.

y(t )  x2 (t )  ( x1 (t )   x2 (t ))2   2 x12 (t )   2 x22 (t )  2 x1 (t ) x2 (t )

Conclusion : The system is NOT linear as the output signal y (t ) is the top part is not the same as the
output in the bottom part.

Example 3

y(t )  cos  x(t )

This system FAIL the zero input zero output test i.e if x(t )  0 , y(t )  cos(0)  1  0 . So this system is
definitely NOT linear. No further test required.

Exercises :Are the following systems linear?

1. y(t )  tx(2t ) . Yes, this is a linear system. Why ?


t
2. y (t )   x( )d

Yes, this is a linear system. Why ?

3. y(t )  cos[ x(t )] No, this is a non-linear system. Why ?


4. y(t )  x(t ) No, this is a non-linear system. Why ?

7
Time Invariant

A time-invariant system has the property that if the input signal x(t) is shifted in time, all that will
happen is that the output signal y(t) will be shifted by the same amount in time.

Expressing time invariant property in another way: If an input x(t) is input to a system and it produces
an output y(t). If another signal x(t-t0) is applied to the system, and if the system is time-invariant, it
should produce an output y(t-t0). The shape of the output signal does not change when the input signal
is delayed.

Mathematically, for a time invariant continuous-time system, T  x(t   )  y(t   ) for any value of 
A system which do not satisfy this condition is called a time varying continuous-time system

 
Similarly, for a time invariant discrete-time system, T x  n  k   y[n  k ] for any value of n

A system which do not satisfy this condition is called a time varying discrete-time system

Use the diagram below to verify if a given system is time invariant or not. Remember the method
shown below by hard.

If y(t - t0) = S[x(t - t0] (i.e. the outputs of both branches of the above block diagram are equal),
then the system is Time-Invariant. This means that the system is not changing with time.

If y(t - t0) ≠ S[x(t - t0] (the outputs of both branches of the above block diagram are different),
the system is Time-Varying. This means that the system will perform differently depending on
when you use it.

Exercise : Is a capacitor time-invariant?

t
1
vc   i ( )d
C 

8
Compare vc(t - t0) with S[i(t - t0)]:

Exercise : Is a resistor time invariant where v  t   i  t  R

9
Exercise:

y(t) = t x(t)

Is this Time-Invariant?

Exercise : A Time Reversal system

y(t) = x(-t)

Is this Time-Invariant?

10
Exercise : Test the following systems for time-invariance:

t
1. Is z (t )   x( )d


Solution. This system is time invariant

t
2. y (t )   x( )d
0

Solution: This is time varying. It is because the length of the window over which you
integrate changes.

3. a(t )  sin[ x(t )] . This is time invariant

4. b(t )  sin(t ) x(t ) . This is a time varying system

5. w(t )  x(2t ) . This is a time varying system

11

6. v(t )   x(t   )dt . This is a time invariant system
0

7. y(t )  2 x(3  t )
8. y(t )  exp x (t )
9. y(t )  expt x(t )

Causality

The output signal y(t) depends only on past and present inputs and not on the future.

All physical real-time systems are causal because we can not anticipate the future. Clearly, the
stock market is a causal system.

Physical systems that are noncausal are not real-time. For example, a system in which music is
recorded and processed later is noncausal but it is not real-time

If a system is memoryless, it is also causal. However, being causal does not necessarily imply
that a system is memoryless. In fact, most causal systems do have memory.

Examples: Resistors and capacitors are causal systems:

v(t0 )  i  to  R This is a memoryless and therefore causal

t
1 0
v(t0 )   i(t )dt This is a causal system as its output depends on past and present inputs
C 

12
Exercise

t0  a

y (t0 )  

x(t )dt

If this systems causal ?

A system is causal if it does not depend on future values of the input to determine the output. This
means that if the first input to a system starts at time t0, then the system should not have any output
until that time t0. Any output produce by the system starts only at and after time t0. Thus, a causal
system is one that is non-anticipative i.e the output may depend on the current and past inputs but not
on future inputs.

A non-causal system is one which can ‘sense’ an input coming and gave an output before the input
arrives.

Examples of non-causal system : y(t )  x(t  1)

y[n]  x[n]

In a non-causal system, the output is produced due to an input that occurs at later in time.

13
Stability

When a system is Bounded Input Bounded Output (BIBO) stable if an input x(t) that is bounded
(finite) for all time produces an output y(t) that is also bounded or finite for all time.

Mathematically, we write if x(t )  B1  y(t )  B2 where B1 and B2 are finite constants and y(t)
is the output.

In this example, the input x(t) is bounded by the constant B1 and the output y(t) is bounded by a
second constant B2:

Example : A resistor is a BIBO stable because since v(t) = i(t)R, as long as i(t) is bounded with an upper
bound B1, v(t) will also be bounded with an upper bound B2:

i(t )  B1  v(t )  RB1

Example : The capacitor is NOT a BIBO system because

dvc (t )
i(t )  C
dt

Let i(t) = B1u(t), where B1≠0

t t
1 1
vc (t )  
C 
i( )d   B1u ( )d
C 

Because of the multiplication with u(t) , the limits of integration is changed to start from 0 instead of
t
1
C 0
 i.e vc (t )  B1d

B1t
Therefore, vc (t )  .
C

14
As vc (t ) grows linearly with time t and as t   , vc (t )   . Therefore bounded input gives
unbounded output as t increases without bound, so the capacitor charging system is an unstable
system.

In summary: A system is bounded-input/ bounded –output (BIBO) stable if for any bounded input x(t)
defined by x(t )  k1 is input into the system, then the corresponding output y(t) is also bounded
defined by y (t )  k2 . As long as the upper bounds k1 and k2 are finite real constants, the system is said
to be BIBO stable..

Combination of Systems

Systems can be combined in series and parallel.

LTI System In Series

If two or more LTI systems are in series with each other, their order can be interchanged without
affecting the overall output of the system. Systems in series are also called cascaded systems.

The order of a cascaded LTI system can be interchanged without changing the overall effect

i) LTI System In Parallel

If two or more LTI systems are in parallel with one another, an equivalent system is one that is defined
as the sum of these individual systems.

A parallel system

An equivalent of the parallel system as the sum of the individual systems

15

You might also like