An Overview of Key Ideas
讲座摘要(lecture summary)
An overview of key ideas
This is an overview of linear algebra given at the start of a course on the mathematics of engineering.
Vectors
What do you do with vectors? Take combinations.
We can multiply vectors by scalars, add, and subtract. Given vectors , and we can form the linear combination .
An example in would be:
The collection of all multiples of forms a line through the origin. The collection of all multiples of forms another line. The collection of all combinations of and forms a plane. Taking all combinations of some vectors creates a subspace.
We could continue like this, or we can use a matrix to add in all multiples of .
Matrices
Create a matrix with vectors , and w in its columns:
The product:
equals the sum . The product of a matrix and a vector is a combination of the columns of the matrix. (This particular matrix is a difference matrix because the components of are differences of the components of that vector.)
When we say we’re thinking about multiplying numbers by vectors; when we say we’re thinking about multiplying a matrix (whose columns are , and ) by the numbers. The calculations are the same, but our perspective has changed.
For any input vector , the output of the operation “multiplication by ” is some vector :
A deeper question is to start with a vector b and ask “for what vectors x does ?” In our example, this means solving three equations in three unknowns. Solving:
is equivalent to solving:
We see that and so must equal . In vector form, the solution is:
But this just says:
or . If the matrix is invertible, we can multiply on both sides by to find the unique solution to . We might say that A represents a transform that has an inverse transform .
In particular, if then
The second example has the same columns and and replaces column vector :
Then:
and our system of three equations in three unknowns becomes circular.
Where before implied , there are non-zero vectors for which . For any vector with . This is a significant difference; we can’t multiply both sides of by an inverse to find a nonzero solution .
The system of equations encoded in is:
If we add these three equations together, we get:
This tells us that has a solution only when the components of b sum to 0. In a physical system, this might tell us that the system is stable as long as the forces on it are balanced.
Subspaces
Geometrically, the columns of lie in the same plane (they are dependent; the columns of are independent). There are many vectors in which do not lie in that plane. Those vectors cannot be written as a linear combination of the columns of and so correspond to values of for which has no solution . The linear combinations of the columns of form a two dimensional subspace of .
This plane of combinations of , and can be described as “all vectors ”. But we know that the vectors for which satisfy the condition . So the plane of all combinations of and consists of all vectors whose components sum to .
If we take all combinations of:
we get the entire space ; the equation has a solution for every in . We say that , and form a basis for .
A basis for is a collection of independent vectors in . Equivalently, a basis is a collection of n vectors whose combinations cover the whole space. Or, a collection of vectors forms a basis whenever a matrix which has those vectors as its columns is invertible.
A vector space is a collection of vectors that is closed under linear combinations. A subspace is a vector space inside another vector space; a plane through the origin in is an example of a subspace. A subspace could be equal to the space it’s contained in; the smallest subspace contains only the zero vector.
The subspaces of are:
- the origin,
- a line through the origin,
- a plane through the origin,
- all of .
Conclusion
When you look at a matrix, try to see “what is it doing?”
Matrices can be rectangular; we can have seven equations in three unknowns. Rectangular matrices are not invertible, but the symmetric, square
matrix that often appears when studying rectangular matrices may be invertible.