Using Matrices as Functions of Vectors
Concept of Matrices as Functions
A matrix can be seen as a function that operates on a vector to produce another vector as output. In this lecture, we explored using matrices to transform vectors.
Matrix Representation
-
The relationship between a matrix, an input vector, and an output vector is illustrated as follows:
- Input Vector: A vector ( )
- Output Vector: A vector ( )
-
Matrix multiplication can be represented as: Where ( ) is a matrix that transforms ( ) into ( ).
Example 1: Solving a System of Linear Equations
For the system:
We can represent the system in matrix form as:
- Interpretation:
- The matrix on the left represents the coefficients of ( ) and ( ) in the system of equations.
- The vector on the left ( ) is the input vector (unknowns).
- The vector on the right ( ) is the output vector (constant terms from the equations).
The goal is to find ( ) and ( ) that satisfy this equation.
Identity Matrix
The identity matrix ( I ) has the following property:
- Example: ( )
- It does not change the vector when multiplied.
Matrix Operations
-
Example 2: Vector Transformation
A vector can be scaled by multiplying it by a scalar. For example:
- This scales the vector by ( ).
-
Example 3: Scalar Multiplication of a Matrix
Multiplying a matrix by a scalar is another operation:
-
Example 4: Zero Vector
- When a matrix is multiplied by a zero vector, the result is always a zero vector:
Graphical Interpretation
- The concept of a matrix as a function of vectors can also be visualized geometrically. A matrix can transform vectors by scaling, rotating, or translating them in space.
- Example: Consider a vector ( ), it can be scaled or transformed by a matrix such as: The transformed vector is: This is a scaling transformation.
Key Concepts
- Matrices as functions: A matrix can be thought of as a function that transforms input vectors into output vectors.
- Identity matrix: The matrix that leaves vectors unchanged when multiplied.
- Scalar multiplication: Matrices and vectors can be scaled by multiplying them by scalars.
- Zero vector: Multiplying any matrix by a zero vector results in a zero vector.