You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- $P1 \cap P2$ is actually one dimensional line and any linear combination of vectors inside the line will give vector within the line so it's a subspace.
69
+
62
70
## Row Space, Column Space and Null Space
63
71
The **row space**, $R(A)$ is a set of vectors that contains all the linear combinations of rows of a matrix and the **column space**, $C(A)$ is a set of vectors that contains all the linear combinations of columns. The row space and column space are subspaces in $\mathbb{R}^n$ and $\mathbb{R}^m$ respectively for a matrix with $m$ rows and $n$ columns. Then if we have,
64
72
@@ -69,7 +77,7 @@ $P$ and $L$ are subspaces, but what about their union and intersections. Do they
69
77
70
78
In the equation $Ax = b$, if we take all their linear combinations, this gives the column space of $A$. So *if b is in that column space, we can solve the equation $Ax = b$.*
71
79
72
-
What if $b = 0$ ? The immediate solution we get is $x = 0$. This is the only solution for invertible matrices but for non-invertible matrices, there are nonzero solutions along with zero and belongs to a space. We call this space a **Null space**, N(A). As the solution vector $x$ has $n$ components, the nullspace is a subspace of $\mathbb{R}^n$.
80
+
What if $b = 0$ ? The immediate solution we get is $x = 0$. This is the only solution for invertible matrices but for non-invertible matrices, there are nonzero solutions along with zero and belongs to a space. We call this space a **Null space**, N(A). As the solution vector $x$ has $n$ components, the nullspace is a subspace of $\mathbb{R}^n$. The solutions obtained are called special solutions when $Ax = 0$.
73
81
74
82
But when $b \not ={0}$, does the solution $x$ form a subspace? No, because $x = 0$ does not solve the equation and hence the solution does not have zero vector.
75
83
@@ -217,6 +225,12 @@ for any constant $c_1$ and $c_2$.
217
225
218
226
Now if we take $U$ to reduced row-echelon form $R$,
Copy file name to clipboardExpand all lines: _posts/Linear Algebra/2020-11-3-Fundamental_subspace.md
+15-2
Original file line number
Diff line number
Diff line change
@@ -78,6 +78,19 @@ For $A$, the basis are vectors $$\begin{bmatrix}1 \\ 2 \\ 3\end{bmatrix}$$ and $
78
78
79
79
Similarly, the dimension of ***Null space is the number of free variable***. So the dimension of Null space of A is 2.
80
80
81
+
## Bases of Matrices
82
+
Until now we have talked about column space and row space which are made by a linear combination of columns vectors and row vectors but there is another form of vector space and that is matrix space. For example, all 2*2 matrices give space M and matrices inside M satisfy rules i.e. we can add them, multiply them by a scalar, some combination of matrices might give zero matrices. **Subspace of the matrix space M are symmetric matrices, upper triangular matrices, diagonal matrices.**
83
+
84
+
One of the basis for 2*2 matrices is $A_1$, $A_2$, $A_3$, $A_4$ $$\begin{bmatrix}1 & 0\\ 0 & 0\end{bmatrix}$$ , $$\begin{bmatrix}0 & 1\\ 0 & 0\end{bmatrix}$$ , $$\begin{bmatrix}0 & 0\\ 1 & 0\end{bmatrix}$$ , $$\begin{bmatrix}0 & 0\\ 0 & 1\end{bmatrix}$$
85
+
86
+
These matrices are linearly independent as we are seeing the entire matrix not just a single column and a linear combination of these bases will span the entire matrix space.
A is zero only if the c's are all zero and this proves independence of $A_1$, $A_2$, $A_3$, $A_4$. The three matrices $A_1$, $A_2$, $A_4$ are a basis for a subspace-the upper triangular matrices. Its dimension is 3. $A_1$ and $A_4$ are a basis for the diagonal matrices. What is a basis for the symmetric matrices? Keep $A_1$ and $A_4$ , and throw in $A_2$+$A_3$.
91
+
92
+
To push this further, think about the space of all n by n matrices. One possible basis uses matrices that have only a single nonzero entry (that entry is 1). There are $n^2$ positions for that 1, so there are $n^2$ basis matrices and the dimension is $n^2$. Similarly dimension of the subspace of symmetric and upper triangular matrices is $\frac{1}{2} n^2+\frac{1}{2} n$. The dimension of the subspace of Diagonal matrices is $n$
93
+
81
94
## Four fundamental subspaces
82
95
83
96
As we already know, subspaces can be described in two ways: a set of vectors that span the space (example: The Columns span the column space) and the space that satisfy certain conditions (example: Null space consists of all vectors that satisfy Ax = 0.)
@@ -88,13 +101,13 @@ As we already know, subspaces can be described in two ways: a set of vectors tha
88
101
The four fundamental subspaces are:
89
102
1. Row space, $C(A^T)$:
90
103
91
-
The row space of A is the column space of $A^T$. For the echelon matrix U obtained from A in our example above, the row space is all combinations of rows. And we can see that the last row contributes nothing. The first two rows are the basis for the row space. So the nonzero rows are basis and the row space has dimension r. As we perform elimination, we do not change row space so $A$ has the same dimension $r$ as the row space of $U$. It has the same bases.
104
+
The row space of A is the column space of $A^T$. For the echelon matrix U obtained from A in our example above, the row space is all combinations of rows. And we can see that the last row contributes nothing. The first two rows are the basis for the row space. So the nonzero rows are basis and the row space has dimension r. As we perform elimination, we do not change row space so $A$ has the same dimension $r$ as the row space of $U$. It has the same bases. Basis for row space is first r rows of R where R is row reduce echelon form of A.
92
105
93
106
2. Column space, $C(A)$:
94
107
95
108
If we look at this space from domain and range view, we see that C(A) is the range (set of all possible values $f(x)$; $x$ is in the domain). So our function is $f(x) = Ax$ and has domain all $x$ in $R^n$.
96
109
97
-
Columns $C_1$ and $C_3$ of $U$ are the basis for its column space as they are the pivot columns. This is true for A as well even though they have different column space. The dimension of the column space is rank $r$.
110
+
Columns $C_1$ and $C_3$ of $U$ are the basis for its column space as they are the pivot columns. This is true for A as well even though they have different column space. The dimension of the column space is rank $r$ which equals the dimension of the row space. The number of independent columns equals the number of independent rows. Performing elimination on matrix changes Columns space i.e $C(U)\not ={}C(A)$.
0 commit comments