Professional Documents
Culture Documents
LA Removed Cropped Removed
LA Removed Cropped Removed
0 1 1
Check that the following vectors are in N(A):
T T
x + y = −4 1 −1 1 , −3 · x = 6 −3 0 0 .
Let A be an m × n matrix.
• An echelon form U (also m × n) is obtained by forward elimination
and has the following properties:
1. Pivots are the 1st nonzero entries in their rows.
2. Entries below pivots are zero, by elimination.
3. Each pivot lies to the right of the pivot in the row above.
4. Zero rows are at the bottom of the matrix.
• To obtain the row reduced form R of A:
1) Get the echelon form U.
2) Make the pivots 1.
3) Make the entries above the pivots 0.
U and R are used to solve Ax = 0 and Ax = b.
• Number of columns with pivots = rank(A).
w w 0 1
i.e., all possible linear combinations of the special solutions.
This information is stored in a compact form in:
Null Space Matrix: Special solutions as columns.
i.e., t = 4 − 2u − 2w and v = −1 − w
Set the free variables u and w = 0 to get t = 4 and v = −1
T
A particular solution: x = 4 0 −1 0 .
Ex: Check it is a solution i.e., check Ax = b.
Observe: In Rx = d, the vector d gives values for the pivot variables,
when the free variables are 0.
w w 0 0 1
To solve Ax = b completely, reduce to Rx = d. Then:
1. Find xNullSpace , i.e., N(A), by solving Rx = 0.
2. Set free variables = 0, solve Rx = d for pivot variables.
This is a particular solution: xparticular .
3. Complete solutions: xcomplete = xparticular + xNullSpace
Ex: Verify geometrically for a 1 × 2 matrix, say A = 1 2 .
(−2, 0) (1, 0) x
5. Let A be an m × n matrix.
The null space of A, N(A), is a subspace of Rn .
The column space of A, C(A), is a subspace of Rm .
Recall: They are both closed under linear combinations.
6. The set of 2 × 2 symmetric matrices is a subspace of M.
So is the set of 2 × 2 lower triangular matrices.
Is the set of invertible 2 × 2 matrices a subspace of M?
7. The set of convergent sequences is a subspace of R∞ .
What about the set of sequences convergent to 1?
8. The set of differentiable functions is a subspace of C[0, 1].
Is the same true for the set of functions integrable on [0, 1]?
9. - ? See the tutorial sheet for many more examples!
Exercise: A subspace must contain the 0 vector!
Examples:
1 Span{0} = {0}.
2 If v 6= 0 is a vector, Span{v } = {av , for scalars a}.
Geometrically (in Rm ): Span{v } = the line in the direction of v
passing through the origin.
−1 0
3 Span , = R2 .
1 1
4 If A is m × n, then Span{A1 , . . . , An } = C(A).
5 If v1 , . . . , vk are the special solutions of A,
then Span {v1 , . . . , vk } = N(A).
Remark: All of the above are subspaces.
Exercise: Span(S) is a subspace of V .
T
Example 2: Is v = 4 3 5 in Span{v1 , v2 , v3 , v4 }, where:
2 4 6 4
v1 = 2 , v2 = 5 , v3 = 7 and v4 = 6?
2 3 5 2
If yes, write v as a linear combination of {v1 , v2 , v3 , v4 }.
Let A = v1 · · · v4 . The question can be rephrased as:
Q: Is v in C(A), i.e., is Ax = v solvable? If yes, find a solution.
R2 7→ R2 − R1 , R3 7→ R3 − R1 , followed by R3 7→ R3 + R2 , gives
2 4 6 4|a 2 4 6 4 | a
[A|v ] = 2 5 7
6 | b −→ [U|w] = 0 1 1 2 | b−a
2 3 5 2|c 0 0 0 0 | c + b − 2a
2 4 6 4
With v1 = 2, v2 = 5, v3 = 7 and v4 = 6
2 3 5 2
Observe: v3 = v1 + v2 and v4 = −2v1 + 2v2 . Hence v3 and v4 are in
Span{v1 , v2 }. Therefore, Span{v1 , v2 } = Span{v1 , v2 , v3 , v4 } = C(A) =
the plane P : (2x − y − z = 0).
Q: Is the span of two vectors in R3 always a plane?
A: Not always. If v is a multiple of w, then Span{v , w} = Span{w},
which is a line through the origin or zero.
Q: If v and w are not on the same line through the origin?
A: Yes. v , w are examples of linearly independent vectors.
Remarks/Examples:
1 The zero vector 0 is not linearly independent.
2 If v 6= 0, then it is linearly independent.
3 v , w are not linearly independent ⇔ one is a multiple of the other
⇔ (for V = Rm ) they lie on the same line through the origin.
4 More generally, v1 , . . . , vn are not linearly independent ⇔ one of
the vi ’s can be written as a linear combination of the others, i.e., vi
is in Span{vj : j = 1, . . . n, j 6= i}.
5 Let A be m × n. Then rank(A) = n ⇔ N(A) = 0 ⇔ A∗1 , · · · , A∗n
are linearly independent.
In particular, if A is n × n, A is invertible ⇔ A1 , · · · , An are linearly
independent.
Example: e1 , . . . , en are linearly independent vectors in Rn .
Example:
Are the vectors
v1
, v2, v3 , v4 linearly
independent,
where
2 4 6 4
v1 = 2, v2 = 5, v3 = 7 and v4 = 6?
2 3 5 2
1 0 1 −2
For A = v1 · · · v4 , reduced form R = 0 1 1 2 .
0 0 0 0
A has only 2 pivots ⇒ N(A) 6= 0, so v1 , v2 , v3 , v4 are not independent.
A non-trivial linear combination which is zero is
(1)v1 + (1)v2 + (−1)v3 + (0)v4 , or (2)v1 + (−2)v2 + (0)v3 + (1)v4 .
More generally, if v1 , . . . , vn are vectors in Rm , then A = v1 · · · vn
is m × n.
If m < n, then rank(A) < n ⇒ N(A) 6= 0. Thus
In Rm , any set with more than m vectors is linearly dependent.
b = −5 b=1
b=0
a = −2 a = −1 a=0 a=1 a=2
2 4 6 4
Let A = 2 5 7 6 . Find the four fundamental subspaces of A,
2 3 5 2
their bases and dimensions.
Recall:
1 0 1 −2
The reduced form of A is R = 0 1 1 2 .
0 0 0 0
• The 1st and 2nd are pivot columns ⇒ rank(A) = 2.
T
• v = a b c is in C(A) ⇔ Ax = v is solvable ⇔ 2a − b − c = 0.
• We can compute special solutions to Ax = 0. The number of special
solutions to Ax = 0 is the number of free variables.
0 0 0
X X
(0.5, −1)
(2, −1)
e1 X
x1
Q: What does the transformation x = 7→ Qx represent
x2
geometrically?
Again note that rotations map sum of vectors to sum of their images
and scalar multiple of a vector to scalar multiple of its image.
4 a b
• Consider S : M2×2 → R given by S = (a, b, c, d)T .
c d
Recall {e11 , e12 , e21 , e22 } is a basis of M2×2 such that
that
a b
A= = ae11 + be12 + ce21 + de22 .
c d
Observe that S(e11 ) = e1 , S(e12 ) = e2 , S(e21 ) = e3 , S(e22 ) = e4 .
Thus, S(A) = aS(e11 ) + bS(e12 ) + cS(e21 ) + dS(e22 )
= ae1 + be2 + ce3 + de4 = (a, b, c, d)T .
General case:
If {v1 , . . . , vn } is a basis of V , T : V → W is linear, v ∈ V , then
v = a1 v1 + · · · an vn ⇒ T (v ) = a1 T (v1 ) + · · · an T (vn ). Why? Thus,
T is determined by its action on a basis.
Important Observation:
Let dim (V ) = n, and B = {v1 , . . . , vn } be a basis of V .
Define T : V → Rn by T (vi ) = ei .
e.g., If v = v1 + vn , then T (v ) =?
If v = 3v2 − 5v3 , then T (v ) =?
If v = a1 v1 + · · · + an vn , then T (v ) =?
Thus T (v ) = [v ]B .
What is N(T )? What is C(T )?
Conclusion: If dim (V) = n, then V ' Rn .
What is the isomorphism?
How many such isomorphisms can you construct?
Exercise: Find 3 isomorphisms each from P3 and M2×2 to R4 .
Let T : V → W be linear.
• The nullspace of T , N(T ), is a subspace of V .
Its range, C(T ) is a subspace of W .
• T is one-one ⇔ N(T ) = 0, and T is onto ⇔ C(T ) = W . In particular,
T is an isomorphism ⇔ N(T ) = 0 and C(T ) = W .
• If B = {v1 , . . . , vn } is a basis of V , and v = a1 v1 + · · · an vn , then
T (v ) = a1 T (v1 ) + · · · an T (vn ). Thus,
T is determined by its action on a basis.
In particular, T : V → Rn defined by T (vi ) = ei , i.e., T (v ) = [v ]B , is an
isomorphism. Thus, if dim (V) = n, then V ' Rn .
•. Given A ∈ Mm×n , and T (x) = Ax defines a linear map
T : Rn → Rm . Conversely, if T n m
: R → R is linear, then T (x) = Ax,
where A = T (e1 ) · · · T (en ) ∈ Mm×n , the standard matrix of T .
1/2 1/2
Example: Projection onto the line x = y : P = .
1/2 1/2
T
v1 = 1 1 projects onto itself ⇒ λ1 = 1 with eigenvector v1 .
T
v2 = 1 −1 7→ 0 ⇒ λ2 = 0 with eigenvector v2 .
Further, {v1 , v2 } is a basis of R2 .
Q: Do a collection of eigenvectors always form a basis of Rn ?