Suppose A is an m by n matrix with m<n (so Ax=b has more unknowns than equations). A has at least one free variable, so there are nonzero solutions to Ax=0 . A combination of the columns is zero, so the columns of this A are dependent.
We say vectors x1,x2,...xn are linearly independent (or just independent) if c1x1+c2x2+⋅⋅⋅+cnxn=0 only when c1,c2,...,cn are all 0. When those vectors are the columns of A , the only solution to Ax=0 is x=0 .
Two vectors are independent if they do not lie on the same line. Three vectors are independent if they do not lie in the same plane. Thinking of Ax as a linear combination of the column vectors of A , we see that the column vectors of A are independent exactly when the nullspace of A contains only the zero vector.
If the columns of A are independent then all columns are pivot columns, the rank of A is n , and there are no free variables. If the columns of A are dependent then the rank of A is less than n and there are free variables.
Vectors v1,v2,...vk span a space when the space consists of all combinations of those vectors. For example, the column vectors of A span the column space of A .
If vectors v1,v2,...vk span a space S , then S is the smallest space containing those vectors.
One basis for R3 is ⎩⎨⎧100,010,001⎭⎬⎫ . These are independent because:
c1100+c2010+c3001=000
is only possible when c1=c2=c3=0 . These vectors span R3 .
As discussed at the start of Lecture 10, the vectors 112,225 and 338 do not form a basis for R3 because these are the column vectors of a matrix that has two identical rows. The three vectors are not linearly independent.
In general, n vectors in Rn form a basis if they are the column vectors of an invertible matrix.
The vectors 112 and 225 span a plane in R3 but they cannot form a basis for R3 . Given a space, every basis for that space has the same number of vectors; that number is the dimension of the space. So there are exactly n vectors in every basis for Rn .
By definition, the four column vectors of A span the column space of A . The third and fourth column vectors are dependent on the first and second, and the first two columns are independent. Therefore, the first two column vectors are the pivot columns. They form a basis for the column space C(A). The matrix has rank 2. In fact, for any matrix A we can say:
rank(A)=numberdetpivotcolumnsofA=dimensionofC(A).
(Note that matrices have a rank but not a dimension. Subspaces have a dimension but not a rank.)
The column vectors of this A are not independent, so the nullspace N(A) contains more than just the zero vector. Because the third column is the sum of the first two, we know that the vector −1−110 is in the nullspace. Similarly, −100−1 is also in N(A) . These are the two special solutions to Ax=0 . We’ll see that:
dimension ofN(A)=number of free variables=n−r,
so we know that the dimension of N(A) is 4−2=2 . These two special solutions form a basis for the nullspace.
Since v4=v2−v1,v5=v3−v1, and v6=v3−v2, the vectors v4,v5, and v6 are dependent on the vectors v1,v2 and v3 . To determine the relationship between the vectors v1,v2 and v3 we apply row reduction to the matrix [v1v2v3] :
As there are three pivots, the vectors v1,v2, and v3 are independent. Therefore the largest number of independent vectors among the given six vectors is three. This will be the rank of the 4 by 6 matrix of v′s .
Problem 9.2: (3.5 #20.) Find a basis for the plane x−2y+3z=0 in R3 . Then find a basis for the intersection of that plane with the xy plane. Then find a basis for all vectors perpendicular to the plane.
Solution
This plane is the nullspace of the matrix [1−23] and also
A=100−200300.
The special solutions to Ax=0 are
v1=210andv2=−301.
These form a basis for the nullspace of A and thus for the plane.
The intersection of this plane with the xy plane contains v1 and does not contain v2; the intersection must be a line. Since v1 lies on this line it also provides a basis for it.
Finally, we can use “inspection” or the cross product to find the vector
v3=1−23,
which is perpendicular to both v1 and v2 . It is therefore perpendicular to the plane. Since the space of vectors perpendicular to a plane in R3 is one-dimensional, v3 serves as a basis for that space.