MIT 18.06 Completed

Lecture 6 · Column space and null space

Use column space and null space to describe the solvability of Ax=b and the degree of freedom of the solution.

On this page

Column space and nullspace | Gilbert Strang | MIT 18.06 Linear Algebra

Lecture 6 / Total 35 Lectures |Part 1 · Elimination and Vector Spaces

Video of this lecture: Bilibili p6 · Column space and null space ↗(46:01)| MIT OCW official page ↗

Illustration: MIT OCW 18.06SC official lecture summary (CC BY-NC-SA 4.0) and Bilibili classroom video frames (time stamped), about 10 frames per lecture.

Introduction to this lecture

In the previous lecture, the terms vector space and subspace were put on the table, but the table was still empty. This lecture will introduce two protagonists: The Matrix AA of column space (column space) and null space (nullspace). They are all subspaces, but live in different rooms - if AA is m×nm\times n matrix, the column space lives in Rm\mathbb{R}^m, null space lives in Rn\mathbb{R}^n. Two rooms correspond to two questions: Ax=bA\boldsymbol{x}=\boldsymbol{b} When will there be a solution? Ax=0A\boldsymbol{x}=\boldsymbol{0} What does the solution look like?

These two problems are approached in exactly opposite ways. Column space is defined from the perspective of “making”: give me several column vectors, and I collect all their linear combinations to form a subspace. The null space is defined from a “sieve” perspective: give me an equation and I put all the equations that satisfy it x\boldsymbol{x} Pick out. The former has vectors first and then becomes space; the latter has requirements first and then sets. These two construction methods are standard techniques for producing subspaces in linear algebra. This lecture will use an example to walk through each.

This lecture is also the main topic of the new chapter. The previous lectures dealt with “how to solve”: elimination, back substitution, LULU Decomposition is all algorithms. Starting from this lecture, the question changes to “What is the shape of the entire solution?”: Put all possible right ends together and look at all possible liberations together, and what will each get? The algorithm cares about how to take one step, and the subspace cares about where all the answers live.

The most important conclusion is just one sentence: Ax=bA\boldsymbol{x}=\boldsymbol{b} There is a solution if and only if b\boldsymbol{b} fall on AA in the column space. This sentence translates “solving a system of equations” into “determining whether a vector belongs to a certain subspace.” It also explains why the entire next chapter is devoted to studying subspaces rather than the equations themselves. This lecture also gives a counterexample: changing the right-hand side from zero to another vector, the solution set is immediately no longer a subspace—the only difference is the origin.

Official Handout Summary Page 1/2

MIT OCW Official Lecture Notes Summary Page 1/2 (18.06SC Lecture 6 Summary, CC BY-NC-SA 4.0).

1. Vector space: addition and multiplication are not allowed to escape.

vector space The definition of (vector space) has only two requirements: if two vectors in any space are added, the result is still in the space; if a vector in any space is multiplied by any constant, the result is still in the space. The two words combined make one sentence - yes linear combination (linear combination) closed. Because it’s optional cv+dwc\boldsymbol{v}+d\boldsymbol{w}, first use multiplication to stay in it, and then use addition to stay in it, both steps are passable.

in R3\mathbb{R}^3 There are several that can be counted here. whole R3\mathbb{R}^3 It’s a vector space, there’s nothing to argue about. What is more interesting are some of its internal subsets: a plane passing through the origin, or a straight line passing through the origin. The addition of two vectors on the plane remains on the plane. Multiply the vector on the plane −2-2 Still on the plane, so the plane is a subspace; the same goes for straight lines. Here’s subspace (subspace) refers to “the interior of a certain space and itself constitutes a part of the vector space”. When the external space is explained clearly, it is said that ”R3\mathbb{R}^3 subspace”.

All subspaces must pass through the origin. The reason is simple: if v\boldsymbol{v} In the subspace, take a constant 00, then 0v=00\boldsymbol{v}=\boldsymbol{0} It has to be inside too. Therefore, to determine whether a set is a subspace, you must first look at whether it contains a zero vector. If it does not, you will be eliminated immediately. This criterion will be used later: when the right end is not zero, Ax=bA\boldsymbol{x}=\boldsymbol{b} The solution set of does not contain zero vectors, so it is not even a candidate. On the other hand, for a collection to be worthy of the word “space”, these two requirements must be tested one by one and cannot be released based on impressions.

Video 00:04:36: Classroom blackboard writing

Video 00:04:36 | Approximately corresponding to Section 1 “1. Vector space: addition and multiplication are not allowed to escape”.

2. Union and intersection: Which one is still a subspace?

Set PP is a plane passing through the origin, LL is a straight line passing through the origin, both R3\mathbb{R}^3 , each is a subspace. Now use set operations to put them together and see if the resulting thing is still a subspace.

Let’s look at the union first P∪LP\cup L, that is, all vectors “on a plane or on a straight line”. it No subspace. Find a vector on the plane that is not on a straight line v\boldsymbol{v}, then take a non-zero vector on the straight line w\boldsymbol{w}, the two are added together, and the sum is usually neither on the plane nor on the straight line, running out of the union. Use closure to state the reason clearly: if v+w\boldsymbol{v}+\boldsymbol{w} Still on the plane PP Guilty, then w=(v+w)−v\boldsymbol{w}=(\boldsymbol{v}+\boldsymbol{w})-\boldsymbol{v} As the difference of two in-plane vectors must also be in PP Guilty, but w\boldsymbol{w} only in LL Up but not here PP Internal, contradictory. The problem lies in the addition step.

Look at the intersection again P∩LP\cap L, that is, a vector that is “on the plane and on a straight line at the same time”. If the straight line is not in the plane, they only share one origin, so P∩L={0}P\cap L=\{\boldsymbol{0}\}. A single zero vector is a subspace, so the intersection is a subspace. This conclusion is not a coincidence of this picture, it is true for any two subspaces.

Set SS with TT are two subspaces in the same space, take v,w∈S∩T\boldsymbol{v},\boldsymbol{w}\in S\cap T. By definition, v\boldsymbol{v} with w\boldsymbol{w} All are there SS inside, and SS is a subspace, so v+w∈S\boldsymbol{v}+\boldsymbol{w}\in S;Similarly v+w∈T\boldsymbol{v}+\boldsymbol{w}\in T. Both sides are established, so v+w∈S∩T\boldsymbol{v}+\boldsymbol{w}\in S\cap T. The check for multiplication is exactly the same: v∈S\boldsymbol{v}\in S given 7v∈S7\boldsymbol{v}\in S, v∈T\boldsymbol{v}\in T given 7v∈T7\boldsymbol{v}\in T, so 7v7\boldsymbol{v} Also in the intersection.

The intersection of two subspaces is still a subspace, but the union generally is not. Because of the additional condition, the intersection is usually smaller than the original two, but this is not important, the closure is maintained. This comparison also shows that the two requirements are not decoration: the closure of the intersection is guaranteed by them, and the union fails precisely in addition.

Video 00:11:03: Classroom blackboard writing

Video 00:11:03 | Approximately corresponding to section 2 “2. Union and intersection: which one is still a subspace”.

3. Column space: let Ax=bA\boldsymbol{x}=\boldsymbol{b} Those with solutions b\boldsymbol{b}

Get a specific matrix

A=[112213314415].A=\begin{bmatrix} 1&1&2\\ 2&1&3\\ 3&1&4\\ 4&1&5 \end{bmatrix}.

it is 4×34\times 3 Matrix, the three columns are

c1=[1234],c2=[1111],c3=[2345].\boldsymbol{c}_1=\begin{bmatrix}1\\2\\3\\4\end{bmatrix}, \qquad \boldsymbol{c}_2=\begin{bmatrix}1\\1\\1\\1\end{bmatrix}, \qquad \boldsymbol{c}_3=\begin{bmatrix}2\\3\\4\\5\end{bmatrix}.

Each column has four components, so the column vector lives in R4\mathbb{R}^4 There are several rows and components in a matrix.

AA of column space (column space) is recorded as C(A)C(A), defined as all linear combinations of three column vectors:

C(A)={x1c1+x2c2+x3c3}.C(A)=\left\{x_1\boldsymbol{c}_1+x_2\boldsymbol{c}_2+x_3\boldsymbol{c}_3\right\}.

The three column vectors themselves are of course in it (take the coefficients respectively (1,0,0)(1,0,0), (0,1,0)(0,1,0), (0,0,1)(0,0,1)), but just three vectors cannot form a subspace, and the combination must be completed. After completion, it is indeed a subspace: a combined multiplication 1111 It is still a combination, and the addition of two combinations is still a combination. It contains these three column vectors smallest Subspace - columns must be there, combinations of columns must be there, nothing more is added.

C(A)C(A) is R4\mathbb{R}^4 subspace, but far from the entire R4\mathbb{R}^4. Three column vectors can provide up to three new directions, and R4\mathbb{R}^4 It takes four directions to fill it up, so there are always some b\boldsymbol{b} Left outside. As for how much falls outside and what shape the remaining parts are, we’ll see in the next section. For now let’s translate this geometric fact into an equation.

put Ax=bA\boldsymbol{x}=\boldsymbol{b} Write it completely:

x1[1234]+x2[1111]+x3[2345]=[b1b2b3b4].x_1\begin{bmatrix}1\\2\\3\\4\end{bmatrix} +x_2\begin{bmatrix}1\\1\\1\\1\end{bmatrix} +x_3\begin{bmatrix}2\\3\\4\\5\end{bmatrix} =\begin{bmatrix}b_1\\b_2\\b_3\\b_4\end{bmatrix}.

That’s four equations, three unknowns, and usually no solution. It is more intuitive to write it line by line as a system of equations:

{x1+x2+2x3=b1,2x1+x2+3x3=b2,3x1+x2+4x3=b3,4x1+x2+5x3=b4.\begin{cases} x_1+x_2+2x_3=b_1,\\ 2x_1+x_2+3x_3=b_2,\\ 3x_1+x_2+4x_3=b_3,\\ 4x_1+x_2+5x_3=b_4. \end{cases}

There are only three unknowns in the four equations. Of course, “usually” does not mean “always”. Some of the right-hand sides can be solved. The most stable one is b=0\boldsymbol{b}=\boldsymbol{0}, take x1=x2=x3=0x_1=x_2=x_3=0 That’s it. Find another one: let b\boldsymbol{b} Directly equal to the first column (1,2,3,4)(1,2,3,4), at this time x=(1,0,0)\boldsymbol{x}=(1,0,0) It’s the solution - plug it in and the four equations are given in turn 1=11=1, 2=22=2, 3=33=3, 4=44=4, all matched. This is no coincidence, A(1,0,0)A(1,0,0) The meaning is “take one first column, zero second column, zero third column”, and the right end of the multiplication is of course the first column itself. let b\boldsymbol{b} equal to the second column (1,1,1,1)(1,1,1,1), the same reasoning is given x=(0,1,0)\boldsymbol{x}=(0,1,0). There is a trick to find the right end that can be solved: do it in reverse, first specify a random one x\boldsymbol{x}, the result of multiplying is a legal b\boldsymbol{b}.

So the core answer to this lecture can be written down:

Ax=bA\boldsymbol{x}=\boldsymbol{b} There is a solution if and only if b∈C(A)\boldsymbol{b}\in C(A).

The reason is in the definition. The column space contains all AxA\boldsymbol{x}, x\boldsymbol{x} Run all over R3\mathbb{R}^3. If b\boldsymbol{b} is a combination of columns, then this set of combination coefficients gives a solution; if b\boldsymbol{b} Not a combination of columns, any x\boldsymbol{x} Can’t even figure it out. The entire difficulty of solving the equation is thus reduced to a subordinate judgment: b\boldsymbol{b} Are you there? C(A)C(A) inside.

Video 00:13:48: Classroom blackboard writing

Video 00:13:48|Approximately corresponding to Section 3 “3. Column Space: Let Ax=bA\boldsymbol{x}=\boldsymbol{b} Those with solutions b\boldsymbol{b}“Nearby.

Video 00:17:29: Classroom blackboard writing

Video 00:17:29|Approximately corresponding to Section 3 “3. Column Space: Let Ax=bA\boldsymbol{x}=\boldsymbol{b} Those with solutions b\boldsymbol{b}“Nearby.

4. Delete a column and the column space remains unchanged

The previous section said that the three column vectors cannot be filled R4\mathbb{R}^4, the actual situation is even more extreme: one of the three column vectors is redundant. Add the first two columns:

c1+c2=[1234]+[1111]=[2345]=c3.\boldsymbol{c}_1+\boldsymbol{c}_2= \begin{bmatrix}1\\2\\3\\4\end{bmatrix} +\begin{bmatrix}1\\1\\1\\1\end{bmatrix} =\begin{bmatrix}2\\3\\4\\5\end{bmatrix} =\boldsymbol{c}_3 .

The third column is exactly the sum of the first two columns and it doesn’t bring any new direction. Put this into the mix:

x1c1+x2c2+x3c3=(x1+x3)c1+(x2+x3)c2.x_1\boldsymbol{c}_1+x_2\boldsymbol{c}_2+x_3\boldsymbol{c}_3 =(x_1+x_3)\boldsymbol{c}_1+(x_2+x_3)\boldsymbol{c}_2 .

Only the first two columns are used on the right. In other words, any combination using the third column can be rewritten as a combination using only the first two columns; conversely, a combination using only the first two columns is originally a three-column combination (take x3=0x_3=0). Both sides include each other, so

C(A)={x1c1+x2c2}.C(A)=\left\{x_1\boldsymbol{c}_1+x_2\boldsymbol{c}_2\right\}.

Delete the third column, and the column space will be less than one vector. To put it another way: the third column falls in the plane formed by the first two columns and contributes no new direction.

Can I delete the first column? That’s ok too. by c1=c3−c2\boldsymbol{c}_1=\boldsymbol{c}_3-\boldsymbol{c}_2 It can be seen that the first column is a combination of the other two columns, and nothing is lost by deleting it. However, it is customary to retain the first few independent columns, so it is agreed to call them c1,c2\boldsymbol{c}_1,\boldsymbol{c}_2 for Pivot column (pivot columns), called c3\boldsymbol{c}_3 Not the pivot column. The name “pivot column” has no algorithmic meaning at the moment, and it will not be explained clearly until the pivot is formally obtained by elimination later; now you only need to remember the selection rules: from left to right, stay as long as you can, and stay until no new directions are generated.

thus C(A)C(A) is R4\mathbb{R}^4 one of the two-dimensional A subspace is geometrically a plane passing through the origin. Three column vectors, two directions, the third one is locked by the coefficient relationship of the first two columns.

The question “Is this column redundant?” can only be answered by eyes and subtraction: spread out the columns and see if one column can be spelled out from the remaining columns. It will later become a formal concept and require a special name; the current example just demonstrates it in advance.

5. null space: Set the right end to zero

Now switch to a completely different subspace. The column space collects the right end b\boldsymbol{b}, the null space collects solutions x\boldsymbol{x}.AA of null space (nullspace) is recorded as N(A)N(A), the definition is

N(A)={x:Ax=0}.N(A)=\{\boldsymbol{x}:A\boldsymbol{x}=\boldsymbol{0}\}.

“null” means zero, so the null space is also called the solution space: it is a homogeneous equation Ax=0A\boldsymbol{x}=\boldsymbol{0} all solutions. Still using the same AA, x\boldsymbol{x} There are three components, so N(A)N(A) fall on R3\mathbb{R}^3 inside. The number of columns of the matrix determines where the null space lives, and the number of rows determines where the column space lives: Right m×nm\times n matrix, C(A)⊆RmC(A)\subseteq\mathbb{R}^m And N(A)⊆RnN(A)\subseteq\mathbb{R}^n.

There is at least one vector in null space: x=0\boldsymbol{x}=\boldsymbol{0}. Any matrix multiplied by a zero vector gets zero, so the null space is always non-empty and always contains the origin. The first necessary condition for subspace has been met.

Here’s the advantage of the small example: you don’t have to actually solve the equation to see the null space. When the matrix is ​​large, the eyes are not enough. At that time, we have to rely on the mechanical program of elimination to force out the null space, which is the content of the next lecture.

Find another one. The requirement is x1c1+x2c2+x3c3=0x_1\boldsymbol{c}_1+x_2\boldsymbol{c}_2+x_3\boldsymbol{c}_3=\boldsymbol{0}. Since c3=c1+c2\boldsymbol{c}_3=\boldsymbol{c}_1+\boldsymbol{c}_2, take x1=1,x2=1,x3=−1x_1=1,x_2=1,x_3=-1 Exactly offset:

c1+c2−c3=0.\boldsymbol{c}_1+\boldsymbol{c}_2-\boldsymbol{c}_3=\boldsymbol{0} .

Substitute into the four equations and check line by line: the first line 1+1−2=01+1-2=0, second line 2+1−3=02+1-3=0, the third line 3+1−4=03+1-4=0, the fourth line 4+1−5=04+1-5=0, all four lines hit. Another solution is (2,2,−2)(2,2,-2), which is twice the previous one. In fact, the whole solution is

N(A)={c[11−1]:c∈R}.N(A)=\left\{c\begin{bmatrix}1\\1\\-1\end{bmatrix}:c\in\mathbb{R}\right\}.

remember v=(1,1,−1)\boldsymbol{v}=(1,1,-1), verification is easy: A(cv)=c(Av)=c 0=0A(c\boldsymbol{v})=c(A\boldsymbol{v})=c\,\boldsymbol{0}=\boldsymbol{0}. So as long as there is a non-zero solution, all its multiples are solutions; c=0c=0 gives a zero vector, c=1c=1 Give the solution just now, c=−11c=-11 given (−11,−11,11)(-11,-11,11). So N(A)N(A) is R3\mathbb{R}^3 A straight line passing through the origin, the direction vector is (1,1,−1)(1,1,-1).

Here’s a pronunciation worth remembering. A vector in null space is a set of coefficient, what it records is “use these coefficients to combine each column and get exactly zero.” write Ax=0A\boldsymbol{x}=\boldsymbol{0} In fact, we are asking: What kind of linear relationship exists between these column vectors? The third column is equal to the sum of the first two columns. This geometric fact translates into a coefficient of exactly (1,1,−1)(1,1,-1);Multiply by 77 become (7,7,−7)(7,7,-7), still talking about the same relationship, but magnifying both sides seven times. Column space cares about “what columns can be combined to form”, and null space cares about “how columns can be combined into zeros”. The two subspaces look at the same batch of columns, but ask questions in the opposite direction.

Video 00:29:55: Classroom blackboard writing

Video 00:29:55 | Approximately corresponding to section 5 “5. null space: set the right end to zero”.

6. Why does null space deserve the name “Space”?

It was called “null space” all the way before. This name was used a little early: it must first be verified that it meets those two requirements before it can be qualified to be called space. The matter to be proved is very specific: if v\boldsymbol{v} with w\boldsymbol{w} are all solutions, then v+w\boldsymbol{v}+\boldsymbol{w} It is also a solution; if v\boldsymbol{v} is the solution, then 12v12\boldsymbol{v} That’s also the solution.

The first one. known Av=0A\boldsymbol{v}=\boldsymbol{0}, Aw=0A\boldsymbol{w}=\boldsymbol{0}, to calculate A(v+w)A(\boldsymbol{v}+\boldsymbol{w}). A basic property of matrix multiplication is used here - the distributive law:

A(v+w)=Av+Aw=0+0=0.A(\boldsymbol{v}+\boldsymbol{w})=A\boldsymbol{v}+A\boldsymbol{w}=\boldsymbol{0}+\boldsymbol{0}=\boldsymbol{0}.

thus v+w\boldsymbol{v}+\boldsymbol{w} Satisfies the equation and falls in the null space. The second thing is the same. Using constants, we can propose this property:

A(12v)=12(Av)=12⋅0=0,A(12\boldsymbol{v})=12(A\boldsymbol{v})=12\cdot\boldsymbol{0}=\boldsymbol{0},

So 12v12\boldsymbol{v} Also in null space. Both requirements are met, and the null space is indeed a subspace. Combining the two equations, we get a stronger statement: if v,w\boldsymbol{v},\boldsymbol{w} is the solution, then for any constant c,dc,d, cv+dwc\boldsymbol{v}+d\boldsymbol{w} Also the solution - the solution is closed to linear combinations.

The key to this proof is not the technique, but that it does not use AA anything special: neither the four specific numbers nor the special relationship between the columns. Take any matrix, Ax=0A\boldsymbol{x}=\boldsymbol{0} All solutions of form a subspace. The solution set of homogeneous equations is naturally closed, which is the fundamental reason why it is easier to deal with than non-homogeneous equations - and also explains why research Ax=bA\boldsymbol{x}=\boldsymbol{b} The first step is always to put b\boldsymbol{b} Replace with 0\boldsymbol{0}.

Video 00:35:53: Classroom blackboard writing

Video 00:35:53 | Approximately corresponding to section 6 “6. Why is null space worthy of the name “space"".

Video 00:36:49: Classroom blackboard writing

Video 00:36:49 | Approximately corresponding to section 6 “6. Why is null space worthy of the name “space"".

7. The right end is not zero: why the solution set is no longer a subspace

Take the right end from 0\boldsymbol{0} Change to the first column b=(1,2,3,4)\boldsymbol{b}=(1,2,3,4), the matrix and the unknowns remain unchanged, only this one thing has been changed. There are still solutions to the equation, e.g. x=(1,0,0)\boldsymbol{x}=(1,0,0); Another solution is (0,−1,1)(0,-1,1), check calculation −c2+c3=−(1,1,1,1)+(2,3,4,5)=(1,2,3,4)-\boldsymbol{c}_2+\boldsymbol{c}_3=-(1,1,1,1)+(2,3,4,5)=(1,2,3,4).

But this solution set is not a subspace. One sentence is enough for the reason: x=0\boldsymbol{x}=\boldsymbol{0} It’s not a solution because A0=0≠bA\boldsymbol{0}=\boldsymbol{0}\neq\boldsymbol{b}. Without the zero vector, closure is out of the question.

What happened geometrically? put (1,0,0)(1,0,0) with (0,−1,1)(0,-1,1) Subtract and get (1,1,−1)(1,1,-1), which is exactly the direction of null space. Moving in this direction does not change the right end:

A((1,0,0)+c(1,1,−1))=A(1,0,0)+c A(1,1,−1)=b+c⋅0=b.A\bigl((1,0,0)+c(1,1,-1)\bigr)=A(1,0,0)+c\,A(1,1,-1)=\boldsymbol{b}+c\cdot\boldsymbol{0}=\boldsymbol{b}.

So it looks like

x=c[11−1]+[100]\boldsymbol{x}=c\begin{bmatrix}1\\1\\-1\end{bmatrix}+\begin{bmatrix}1\\0\\0\end{bmatrix}

The vectors of are all solutions, and they are connected into a line (1,0,0)(1,0,0), the direction is (1,1,−1)(1,1,-1) of straight lines. The two solutions found earlier both fall on this line: c=0c=0 given (1,0,0)(1,0,0), c=−1c=-1 given (0,−1,1)(0,-1,1). This line is parallel to the straight line in null space, but it is translated away from the origin as a whole: the right end b\boldsymbol{b} Determines where the line translates, and the null space determines which direction it extends. The subspace must pass through the origin, but it cannot, so it can only be called a “solution set”, not a “subspace”. As soon as the right end is non-zero, the solution set changes from a straight line passing through the origin to a straight line passing through the origin: the direction does not change, the position changes, and the properties change accordingly. As for whether there are other points on this line and how the general solution of the non-homogeneous equation is organized, we will not expand it here. The structure of “a special solution plus null space” will be formally written in Lecture 8.

Two ways to create subspaces. A look at today’s two protagonists side by side reveals that they correspond to two opposite descriptions. To explain what is in the column space, you only need to give a few vectors and then declare “take all their combinations” - this is generated from the inside; to explain what is in the null space, you cannot give such a small set of vectors, you can only give a set of equations that must be satisfied and let the solution emerge by itself - this is defined from the outside. Both statements can create subspaces, and they are the two most natural and important ways to construct subspaces. The solution can be seen with the eyes for a small matrix, but not for a large matrix. At that time, the mechanical procedure of elimination must be used. This is the next step.

Video 00:41:25: Classroom blackboard writing

Video 00:41:25 | Approximately corresponding to Section 7 “7. The right end is not zero: why the solution set is no longer a subspace”.

Official Handout Summary Page 2/2

MIT OCW Official Lecture Notes Summary Page 2/2 (18.06SC Lecture 6 Summary, CC BY-NC-SA 4.0).

Summary of this lecture

  • vector space (vector space) is closed to addition and multiplication, which is equivalent to being closed to linear combinations; subspace (subspace) is the part within a space that itself constitutes a vector space.
  • Any subspace contains zero vectors (take 00 Multiples are obtained), so “sets without origins” are rejected with one vote; to judge the subspace, the closure must be tested one by one and cannot be released based on impressions.
  • of two subspaces intersection Still a subspace: v,w∈S∩T\boldsymbol{v},\boldsymbol{w}\in S\cap T launch v+w\boldsymbol{v}+\boldsymbol{w} at the same time SS, TT in. union Generally not: in P∪LP\cup L Here, a vector in the plane plus a vector on a straight line will break the additive closure.
  • m×nm\times n matrix column space C(A)⊆RmC(A)\subseteq\mathbb{R}^m are all linear combinations of each column, and are also all AxA\boldsymbol{x} collection; null space N(A)⊆RnN(A)\subseteq\mathbb{R}^n is Ax=0A\boldsymbol{x}=\boldsymbol{0} all solutions.
  • Examples of this lecture (4×34\times 3 matrix, three columns (1,2,3,4)(1,2,3,4), (1,1,1,1)(1,1,1,1), (2,3,4,5)(2,3,4,5)) in, C(A)C(A) is R4\mathbb{R}^4 The two-dimensional subspace of N(A)N(A) is R3\mathbb{R}^3 The middle direction is (1,1,−1)(1,1,-1) of straight lines.
  • Ax=bA\boldsymbol{x}=\boldsymbol{b} There is a solution if and only if b∈C(A)\boldsymbol{b}\in C(A): b=(1,2,3,4)\boldsymbol{b}=(1,2,3,4) Correspond x=(1,0,0)\boldsymbol{x}=(1,0,0), b=(1,1,1,1)\boldsymbol{b}=(1,1,1,1) Correspond x=(0,1,0)\boldsymbol{x}=(0,1,0), b=0\boldsymbol{b}=\boldsymbol{0} There is always a solution.
  • c3=c1+c2\boldsymbol{c}_3=\boldsymbol{c}_1+\boldsymbol{c}_2, so deleting the third column does not change the column space; c1=c3−c2\boldsymbol{c}_1=\boldsymbol{c}_3-\boldsymbol{c}_2 Note that it is okay to delete the first column. The convention is to retain the frontmost independent column, that is Pivot column c1,c2\boldsymbol{c}_1,\boldsymbol{c}_2.
  • The null space closure is given by A(v+w)=Av+AwA(\boldsymbol{v}+\boldsymbol{w})=A\boldsymbol{v}+A\boldsymbol{w} with A(cv)=cAvA(c\boldsymbol{v})=cA\boldsymbol{v} Obtained directly, it holds for any matrix.
  • The solution set when the right end is non-zero is not a subspace because the zero vector is not in it; the solution set in this example is (1,0,0)(1,0,0), the direction is (1,1,−1)(1,1,-1) A straight line parallel to null space but not passing through the origin.
  • There are two ways to construct a subspace: taking a combination of a set of vectors (column space), or taking a solution to a set of equations (null space).

keywords

EnglishChineseOne sentence explanation
vector spacevector spaceA set of vectors closed to both addition and multiplication
subspacesubspaceThe part located inside a certain space and itself forming a vector space must contain a zero vector
linear combinationlinear combinationSeveral vectors are each multiplied by a coefficient and then added
closed under additionclosed to additionThe sum of any two vectors in the space is still within the space
closed under scalar multiplicationlog multiplication closedAny vector in the space multiplied by any constant remains within the space.
column spacecolumn spaceThe subspace composed of all linear combinations of each column of the matrix C(A)C(A)
nullspacenull spacesatisfy Ax=0A\boldsymbol{x}=\boldsymbol{0} of all x\boldsymbol{x} The subspace formed by N(A)N(A)
pivot columnPivot columnThe column that is retained column by column from left to right and is not combined by the previous columns and thus brings a new direction
homogeneous equationhomogeneous equationEquations with zero right-hand side Ax=0A\boldsymbol{x}=\boldsymbol{0}, its solution set must be a subspace
solution setsolution setsatisfy all equations x\boldsymbol{x} The set composed of is generally not a subspace when the right end is non-zero.

← Lecture 5 | Course Catalog | Lecture 7 →

Machine-assisted translation · Read Chinese original