matrix-vector

We will denote ℝ^n as a set.

Choose the elements as vectors (or n-vectors):

or

the multiplication part

If A is an m*n matrix, it is often convenient to view it as a row of columns. That is, if are the columns, we write:

Consider any system of linear equations with m*n coefficient matrix A. If b is the constant matrix of the system and , the system can be written as the single vector equation: .

So given that, we can structure this as:

a_1 is a full column of things in the broader m*n matrix.

So… tl;dr turn the matrix into vectors, sub in a variable for the vector, then it simplifies into an equation you can do something about. (I think)

Example

Write the system

in the form .

Def: Marix vector multiplication

Let A be given in form be an m*n matrix, written in terms of its columns.

If x is a vector given by is any n-vector, then the product:

is defined by [ ]

observations

  1. Every system of linear equations has the form where A is the coefficient matrix, b is the constant matrix and x is the matrix of variables.
  2. The system is consistent IFF b is a linear combination of the columns of A
  3. are the columns of A and if x is the vector

, then x is the solution to the linear system Ax=b IFF are a solution of the vector equation .

Examples

Remark

When an m*n matrix A is multipled with a column vector v, the definition requires that v must be of size [n*1]

Solve the following system

x_1 - x_2 - x_3 + 3x_4 = 2 2x_1 - x_2 - 3x_3 + 4x_4 = 6 x_1 - 2x_3 + x_4 = 4

Augmented matrix:

r2 = r2-r1*2

r3 = r3 - r1

r3 -= r2

r1 += r2

(we get that 4 2 0 0 matrix by setting the parameters to zero)

2,1,1,0 & -1,2,0,1 are the solutions to associated Homogeneous system. (determined by setting all the parameters to zero rather than 2,6,4 that we used above)

Notes

Wen a solution to the system AX=b exists, the solution be the sum of a particular solution obtained by setting the parameters to be [0] plus the solution of the [associated homogenous system|what kind of system].

def

The [identity matrix] is the matrix

or

Matrix transformation

Consider the transformation of given by the reflection in the x-axis, [a_1, a_2] turns into [a_1, -a_2].

Apparently x/y coords are written as

not

So reflecting

in the x-axis can be achieved by multiplying by the matrix

Thus, the reflection is a function given by for all x in where:

def

is called the [matrix transformation] induced by A.

note

In general, if A is an m*n matrix, multiplication by A gives a transformation defined by for every x in .

This goes from n -> m because the x in is [an matrix|shape].