(Linear System Example)
(Non-Linear System Example)
 
(22 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
A system takes a given input and produces an output. For the system to be linear it must preserve addition and multiplication. In mathematical terms:
 
A system takes a given input and produces an output. For the system to be linear it must preserve addition and multiplication. In mathematical terms:
  
<math> x(t+t0)=x(t) + x(t0)</math>
+
<math> x(t+t_0)=x(t) + x(t_0)\,</math>
 
   
 
   
 
and
 
and
  
<math> x(k*t)=k*x(t)</math>
+
<math> x(kt)=kx(t)\,</math>
  
 
== Linear System Example ==
 
== Linear System Example ==
Line 13: Line 13:
  
 
Consider the system  
 
Consider the system  
<math> \mathbf{y}[n]=\mathbf{x}[n]\cdot\mathbf{M} </math>  
+
<math> y[n]=x[n]\cdot\mathbf{M} </math>  
  
  
Line 26: Line 26:
 
<math> \mathbf{M} = \begin{bmatrix}1 & 2 \\ 3 & 4 \\ \end{bmatrix} </math>
 
<math> \mathbf{M} = \begin{bmatrix}1 & 2 \\ 3 & 4 \\ \end{bmatrix} </math>
  
<math> k_1=1</math>
+
<math> k=3\,</math>
<math> k_2=2</math>
+
 
  
  
Line 33: Line 33:
  
  
<math>y[a+b]=y[a]+y[b] \,</math>
+
<math>y[\mathbf{a}+\mathbf{b}]=y[\mathbf{a}]+y[\mathbf{b}] \,</math>
  
 +
thus the system is linear.
  
  
<math>y[kb]=ky[b] \,</math>
 
  
 +
<math>y[k\mathbf{a}]=ky[\mathbf{a}] \,</math>
  
  
Here is the proof that the first prop holds.
 
  
<math> \mathbf{y}[a] = \begin{bmatrix}8 & 12 \end{bmatrix} </math> 
+
Here is the proof that the first prop holds:
  
 +
<math> y[a] = \begin{bmatrix}8 & 12 \end{bmatrix} </math> 
  
<math> \mathbf{y}[a+b] = \begin{bmatrix}24 & 18 \end{bmatrix} </math>   
+
 
 +
<math> y[a+b] = \begin{bmatrix} 6 &3 \end{bmatrix} \cdot \begin{bmatrix} 1 & 2 \\ 3 & 4 \\ \end{bmatrix} =\begin{bmatrix}24 & 18 \end{bmatrix} </math>   
  
  
 
<math>y[a]+y[b]=  \begin{bmatrix}8 & 12 \end{bmatrix} +\begin{bmatrix}16 & 6 \end{bmatrix} = \begin{bmatrix}24 & 18 \end{bmatrix}</math>
 
<math>y[a]+y[b]=  \begin{bmatrix}8 & 12 \end{bmatrix} +\begin{bmatrix}16 & 6 \end{bmatrix} = \begin{bmatrix}24 & 18 \end{bmatrix}</math>
 +
 +
 +
And the second:
 +
 +
<math>ky[\mathbf{a}] =\begin{bmatrix} 24 &36 \end{bmatrix} \,</math>
 +
 +
<math>y[k\mathbf{a}] =\begin{bmatrix} 6 &6 \end{bmatrix} \cdot \begin{bmatrix} 1 & 2 \\ 3 & 4 \\ \end{bmatrix} \,</math>
 +
<math>              =\begin{bmatrix} 24 &36 \end{bmatrix} </math>
 +
 +
 +
== Non-Linear System Example ==
 +
 +
 +
Consider the system
 +
<math> y(t)=x(t)^2 \,</math>
 +
 +
 +
let   
 +
 +
<math>  x(t_0)=2\,</math>
 +
 +
<math>  x(t_1)=-2\,</math>
 +
 +
 +
If the system is linear these properties hold:
 +
 +
 +
<math>y(t_0+t_1)=y(t_0)+y(t_1) \,</math>
 +
 +
 +
<math>y(kt)=ky(t) \,</math>
 +
 +
 +
 +
To see if the system is linear test the first property:
 +
 +
<math> y(t_0)+y(t_1)= 4 +4 =8 \,</math> 
 +
 +
 +
<math> y(t_0+t_1)= x(t_0+t_1)^2= 0\, </math> 
 +
 +
 +
Since <math>0\neq 8</math>, the system isn't linear.

Latest revision as of 07:11, 11 September 2008

Linear System Definition

A system takes a given input and produces an output. For the system to be linear it must preserve addition and multiplication. In mathematical terms:

$ x(t+t_0)=x(t) + x(t_0)\, $

and

$ x(kt)=kx(t)\, $

Linear System Example

Consider the system $ y[n]=x[n]\cdot\mathbf{M} $


let

$ \mathbf{a} = \begin{bmatrix}2 & 2 \end{bmatrix} $


$ \mathbf{b} = \begin{bmatrix}4 & 1 \end{bmatrix} $


$ \mathbf{M} = \begin{bmatrix}1 & 2 \\ 3 & 4 \\ \end{bmatrix} $

$ k=3\, $


If the system is linear these properties hold:


$ y[\mathbf{a}+\mathbf{b}]=y[\mathbf{a}]+y[\mathbf{b}] \, $

thus the system is linear.


$ y[k\mathbf{a}]=ky[\mathbf{a}] \, $


Here is the proof that the first prop holds:

$ y[a] = \begin{bmatrix}8 & 12 \end{bmatrix} $


$ y[a+b] = \begin{bmatrix} 6 &3 \end{bmatrix} \cdot \begin{bmatrix} 1 & 2 \\ 3 & 4 \\ \end{bmatrix} =\begin{bmatrix}24 & 18 \end{bmatrix} $


$ y[a]+y[b]= \begin{bmatrix}8 & 12 \end{bmatrix} +\begin{bmatrix}16 & 6 \end{bmatrix} = \begin{bmatrix}24 & 18 \end{bmatrix} $


And the second:

$ ky[\mathbf{a}] =\begin{bmatrix} 24 &36 \end{bmatrix} \, $

$ y[k\mathbf{a}] =\begin{bmatrix} 6 &6 \end{bmatrix} \cdot \begin{bmatrix} 1 & 2 \\ 3 & 4 \\ \end{bmatrix} \, $ $ =\begin{bmatrix} 24 &36 \end{bmatrix} $


Non-Linear System Example

Consider the system $ y(t)=x(t)^2 \, $


let

$ x(t_0)=2\, $

$ x(t_1)=-2\, $


If the system is linear these properties hold:


$ y(t_0+t_1)=y(t_0)+y(t_1) \, $


$ y(kt)=ky(t) \, $


To see if the system is linear test the first property:

$ y(t_0)+y(t_1)= 4 +4 =8 \, $


$ y(t_0+t_1)= x(t_0+t_1)^2= 0\, $


Since $ 0\neq 8 $, the system isn't linear.

Alumni Liaison

Questions/answers with a recent ECE grad

Ryne Rayburn