Solutions
First, we compute some basics facts about the matrix M.
In[53]:=
(Question A) What is the value of d?
In[57]:=
Out[57]=
(Question B) What is the dimension of the row space of M?
In[58]:=
Out[58]=
(Question C) Give a basis for the row space of M.
In[59]:=
Out[59]=
(Question D) What is the dimension of the column space of M?
In[60]:=
Out[60]=
(Question E) Give a basis for the column space of M.
In[61]:=
Out[63]=
(Question F) What is the dimension of the null space of M?
In[64]:=
Out[64]=
(Question G) Give a basis for the null space of M.
We can get a basis for the Null space of a matrix M in Mathematica by using the command "NullSpace[M]". Here's how it comes out of the reduce row echelon form.
First, identify the free variables (columns of the rref that do not contain pivots).
In[65]:=
Out[65]=
Each nonzero row of the rref corresponds to an equation with exactly one bound variable (bound=not free). Solve each equation for its bound variable.
In[66]:=
Out[66]=
Now write the vector
In[67]:=
Out[67]//MatrixForm=
in the form
*(
free
var
)+
v
e
c
t
o
r
*(
free
var
)+
v
e
c
t
o
r
*(
free
var
)+... , using the equations you solved for above. Note that if
v
e
c
t
o
r
is a free variable, then the seventh component of each of the vectors will be 0, except for the one multiplied by
, which will have seventh component equal to 1.
Here's the final answer for the matrix in this quiz:
In[68]:=
Out[70]=
(Question H) What is the dimension of the span of the vectors given in Question A?
In[71]:=
Out[71]=
(Question I) Give a basis for the span of the vectors given in Question A.
In[72]:=
Out[72]=
(Question J) Let W be a vector space, and U and V be subspaces. Prove or disprove the following two statements:
(1) U∩V, the set of all vectors in both U and V, is a subspace of W.
(2) U∪V, the set of all vectors in either U or V, is a subspace of W.
The set U∪V is not a subspace. For example, let U=Span{(1,0)}, and V=Span{(0,1)}. Since U∪V is a subset of the real vector space W, we need only to check if it is closed under addition and multiplication by a scalar. It is not closed under addition: (1,0)+(0,1)=(1,1) is a vector that is not in U∪V, although it is the sum of two vectors in U∪V.
The U∩V is a subspace. Since it is a subset of the real vector space W, we need only to check if it is closed under addition and multiplication by a scalar. Suppose that
and
are both in U and in V. Then
+
is in U because U is a subspace, and
+
is in V because V is a subspace. Thus,
+
is in U∩V because it is in both U and V. Likewise, let c be any real number. The vector c
is in U because
is in U and U is a subspace, and likewise c
is in V because
is in V and V is a subspace. Therefore, c
is in both U and V, and so is in U∩V.
| Created by Mathematica (April 20, 2006) |