(Example of a Linear Transformation (system))
(What Does Linearity Mean?)
Line 1: Line 1:
 
==What Does Linearity Mean?==
 
==What Does Linearity Mean?==
  
Linearity describes a special property of a transformation '''T''' from '''R'''<sup>''n''</sup> to '''R'''<sup>''m''</sup> such that any linear combination of inputs yields the respective linear combination of their outputs. A transformation such as this remains closed under the operations of addition and scalar multiplication.
+
Linearity describes a special property of a transformation '''T''' from '''R'''<sup>''n''</sup> to '''R'''<sup>''m''</sup> such that any linear combination of inputs yields the linear combination of their respective outputs. A transformation such as this remains closed under the operations of addition and scalar multiplication.
  
 
==Example of a Linear Transformation (system)==
 
==Example of a Linear Transformation (system)==

Revision as of 12:19, 11 September 2008

What Does Linearity Mean?

Linearity describes a special property of a transformation T from Rn to Rm such that any linear combination of inputs yields the linear combination of their respective outputs. A transformation such as this remains closed under the operations of addition and scalar multiplication.

Example of a Linear Transformation (system)

The following linear transformation takes any vector in R2 and maps it to another vector in R2 of same length rotated 45 degrees counter clockwise. Using the standard basis vectors:

$ \ T(X)= \mathbf{A}X $

where $ \mathbf{A} = \begin{bmatrix}cos(\pi/2) & sin(\pi/2)\\ -sin(\pi/2) & cos(\pi/2) \end{bmatrix} $

and $ \ X $ is any vector in R2

Therefore $ \ T(C_1 e1)= \begin{bmatrix}cos(\pi/2) & sin(\pi/2)\\ -sin(\pi/2) & cos(\pi/2)\end{bmatrix} \begin{bmatrix} C_1 \\ 0 \end{bmatrix} = \begin{bmatrix}C_1/ \sqrt(2) \\ -C_1/\sqrt(2) \end{bmatrix} $

and

$ \ T(C_2 e_2)= \begin{bmatrix}cos(\pi/2) & sin(\pi/2)\\ -sin(\pi/2) & cos(\pi/2)\end{bmatrix} \begin{bmatrix} 0 \\ C_2 \end{bmatrix} = \begin{bmatrix}C_2/ \sqrt(2) \\ C_2/\sqrt(2) \end{bmatrix} $

Now summing the two vectors:

$ \ Y = T(C_1 e_1) + T(C_2 e_2) = \begin{bmatrix}\frac{C_1} {\sqrt(2)} + \frac{C_2}{\sqrt(2)} \\ \frac{-C_1}{\sqrt(2)} + \frac{C_2}{\sqrt(2)} \end{bmatrix} $


Now summing the two vectors before putting them into the transformation:

$ \ X= C_1 e_1 + C_2 e_2 = \begin{bmatrix} C_1 \\ C_2 \end{bmatrix} $

$ \ T(X)= \begin{bmatrix}cos(\pi/2) & sin(\pi/2) \\ -sin(\pi/2) & cos(\pi/2)\end{bmatrix} \begin{bmatrix} C_1 \\ C_2 \end{bmatrix} $

$ \ T(X) = C_1 \begin{bmatrix} cos(\pi/2) \\ -sin(\pi/2) \end{bmatrix} + C_2 \begin{bmatrix}sin(\pi/2) \\ cos(\pi/2) \end{bmatrix} = \begin{bmatrix}\frac{C_1} {\sqrt(2)} + \frac{C_2}{\sqrt(2)} \\ \frac{-C_1}{\sqrt(2)} + \frac{C_2}{\sqrt(2)} \end{bmatrix}= T(C_1 e_1)+T(C_2 e_2) $

Therefore the transformation is linear.

Alumni Liaison

Questions/answers with a recent ECE grad

Ryne Rayburn