Lecture 07 Basis Dimension LT
Lecture 07 Basis Dimension LT
Linear Algebra
Lecture - 07: Linear Independence and Dependence; Basis and Dimension ; Linear
Transformation
Nijjwal Karak
BITS Pilani, Hyderabad Campus
[email protected]
1 / 67
Linear Independence and Dependence Basis and Dimension Row and Column Spaces Linear Transformation Examples
Outline
Linear Transformation
Examples
2 / 67
Linear Independence and Dependence Basis and Dimension Row and Column Spaces Linear Transformation Examples
Linear Independence
Definition
Let S = {u1 , u2 , u3 , . . . , un } be a finite non-empty subset of a vector space V . Then
the set S is linearly independent if and only if for real scalars a1 , a2 , . . . , an ,
a1 u1 + a2 u2 + . . . + an un = 0
then a1 = a2 = . . . = an = 0
3 / 67
Linear Independence and Dependence Basis and Dimension Row and Column Spaces Linear Transformation Examples
Linear Dependence
Definition
Let S = {u1 , u2 , u3 , . . . , un } be a finite non-empty subset of a vector space V . Then
the set S is linearly dependent if and only if for real scalars a1 , a2 , . . . , an ,
a1 u1 + a2 u2 + . . . + an un = 0
then not all of a1 , a2 , . . . , an are 0
4 / 67
Linear Independence and Dependence Basis and Dimension Row and Column Spaces Linear Transformation Examples
Example
The subset S = {(1, 1, 1)} of the vector space R3 is linearly independent
Example
The subset S = {(1, 0), (0, 1)} of the vector space R2 is linearly independent
Example
Let S = {u}, a one-element subset of the vector space Rn .
• S is linearly independent if and only if u ̸= 0
5 / 67
Linear Independence and Dependence Basis and Dimension Row and Column Spaces Linear Transformation Examples
Example
The subset S = {(1, 0), (0, 1), (1, 1)} of the vector space R2 is linearly dependent
Example
The subset S = {(0, 0), (1, 1)} of the vector space R2 is linearly dependent 1
Example
Let S = {(0, 0, 0, 0)}, the zero vector of the vector space R4 . Then S is linearly
dependent 1
1
Why the presence of zero vector in any S makes it linearly dependent ?
6 / 67
Linear Independence and Dependence Basis and Dimension Row and Column Spaces Linear Transformation Examples
7 / 67
Linear Independence and Dependence Basis and Dimension Row and Column Spaces Linear Transformation Examples
Definition
Let S be an infinite subset of a vector space V . Then S is linearly independent if and
only if every finite subset T of S is linearly independent
Definition
Let S be an infinite subset of a vector space V . Then S is linearly dependent if and
only if there is some finite subset T of S such that T is linearly dependent
8 / 67
Linear Independence and Dependence Basis and Dimension Row and Column Spaces Linear Transformation Examples
Definition
Let V be a vector space and let B be a subset of the vector space V . Then the set B
is called a Basis for V if and only if it satisfies the following properties:
• B is linearly independent
9 / 67
Linear Independence and Dependence Basis and Dimension Row and Column Spaces Linear Transformation Examples
Examples
Example
The subset B = {(1, 0), (0, 1)} is a basis for the vector space R2
Example
The subset B = {(1, 0, 0), (0, 1, 0), (0, 0, 1)} is a basis for the vector space R3
Example
The subset B = {(1, 0, 0, 0), (0, 1, 0, 0), (0, 0, 1, 0), (0, 0, 0, 1)} is a basis for the vector
space R4
10 / 67
Linear Independence and Dependence Basis and Dimension Row and Column Spaces Linear Transformation Examples
Examples
Example
What is the standard basis for the vector space M32 ?
Example
What are the standard bases for the vector spaces P3 and Pn ?
11 / 67
Linear Independence and Dependence Basis and Dimension Row and Column Spaces Linear Transformation Examples
Definition
Let V be a vector space and let B be a basis for the vector space V . Then the
dimension of the vector space V is defined as the number of elements in the set B. It
is denoted by dim(V ).
12 / 67
Linear Independence and Dependence Basis and Dimension Row and Column Spaces Linear Transformation Examples
Dimension of a Subspace
Theorem
Let V be a finite dimensional vector space and let W be a subspace of V . Then W is
also finite dimensional with dim(W ) ≤ dim(V ). Moreover, dim(W ) = dim(V ) if and
only if W = V .
Example
Let V = M22 and W is an upper or lower triangular or diagonal matrix.
• If W is an upper or lower triangular matrix, then dim(W ) = 3 while dim(V ) = 4
• If W is a diagonal matrix, then dim(W ) = 2 while dim(V ) = 4
13 / 67
Linear Independence and Dependence Basis and Dimension Row and Column Spaces Linear Transformation Examples
Useful Subspaces
• It is denoted by RS(A)
• How to find the RS(A) ?
• First find the REF(A)
• Then the space spanned by the non-zero rows in the REF(A) gives RS(A)
• Note: It is a subspace of Rn
14 / 67
Linear Independence and Dependence Basis and Dimension Row and Column Spaces Linear Transformation Examples
Useful Subspaces
• It is denoted by CS(A)
• How to find the CS(A) ?
• First find the REF (AT )
• Then the space spanned by the non-zero rows in the REF (AT ) gives CS(A)
• CS(A) = RS(AT )
• Note: It is a subspace of Rm
15 / 67
Linear Independence and Dependence Basis and Dimension Row and Column Spaces Linear Transformation Examples
Linear Transformation
Definition
Let V and W be vector spaces, and let f : V → W be a function from V to W. Then
f is a linear transformation if and only if the following conditions are true
• f (v 1 + v 2 ) = f (v 1 ) + f (v 2 ), for all v 1 , v 2 ∈ V
16 / 67
Linear Independence and Dependence Basis and Dimension Row and Column Spaces Linear Transformation Examples
Example
Consider the mapping f : Mmn → Mnm , given by f (A) = AT for any m × n matrix
A. Is f a linear transformation ?
17 / 67
Linear Independence and Dependence Basis and Dimension Row and Column Spaces Linear Transformation Examples
Example
Consider the mapping f : Mmn → Mnm , given by f (A) = AT for any m × n matrix
A. Is f a linear transformation ? Yes
17 / 67
Linear Independence and Dependence Basis and Dimension Row and Column Spaces Linear Transformation Examples
Example
Consider the mapping f : Mmn → Mnm , given by f (A) = AT for any m × n matrix
A. Is f a linear transformation ? Yes
Example
Consider the function g : Pn → Pn−1 , given by g(p) = p′ . Is g a linear
transformation ?
17 / 67
Linear Independence and Dependence Basis and Dimension Row and Column Spaces Linear Transformation Examples
Example
Consider the mapping f : Mmn → Mnm , given by f (A) = AT for any m × n matrix
A. Is f a linear transformation ? Yes
Example
Consider the function g : Pn → Pn−1 , given by g(p) = p′ . Is g a linear
transformation ? Yes
17 / 67
Linear Independence and Dependence Basis and Dimension Row and Column Spaces Linear Transformation Examples
Example
Consider the mapping f : R2 → R2 , given by f (x, y) = [x + 1, y + 1]. Is f a
linear transformation ?
18 / 67
Linear Independence and Dependence Basis and Dimension Row and Column Spaces Linear Transformation Examples
Example
Consider the mapping f : R2 → R2 , given by f (x, y) = [x + 1, y + 1]. Is f a
linear transformation ? No
18 / 67
Linear Independence and Dependence Basis and Dimension Row and Column Spaces Linear Transformation Examples
Example
Consider the mapping f : R2 → R2 , given by f (x, y) = [x + 1, y + 1]. Is f a
linear transformation ? No
Example
Let A be any m × n matrix. Consider the mapping f : Rn → Rm defined by
f (x) = Ax, for all x ∈ Rn . Is f a linear transformation ?
18 / 67
Linear Independence and Dependence Basis and Dimension Row and Column Spaces Linear Transformation Examples
Example
Consider the mapping f : R2 → R2 , given by f (x, y) = [x + 1, y + 1]. Is f a
linear transformation ? No
Example
Let A be any m × n matrix. Consider the mapping f : Rn → Rm defined by
f (x) = Ax, for all x ∈ Rn . Is f a linear transformation ? Yes
18 / 67
Linear Independence and Dependence Basis and Dimension Row and Column Spaces Linear Transformation Examples
Example
Consider the mapping f : M22 → R3 , defined by
" #!
a b
f = [b, 0, c]
c d
• Is f a linear transformation ?
19 / 67
Linear Independence and Dependence Basis and Dimension Row and Column Spaces Linear Transformation Examples
Example
Consider the mapping f : M22 → R3 , defined by
" #!
a b
f = [b, 0, c]
c d
• Is f a linear transformation ? Yes
19 / 67
Linear Independence and Dependence Basis and Dimension Row and Column Spaces Linear Transformation Examples
Linear Operator
Definition
Let V be a vector space. A linear transformation whose domain and codomain are
both V is called a linear operator
20 / 67
Linear Independence and Dependence Basis and Dimension Row and Column Spaces Linear Transformation Examples
Linear Operator
Definition
Let V be a vector space. A linear transformation whose domain and codomain are
both V is called a linear operator
Examples
• Identity linear operator: The mapping f : V → V defined by f (v) = v, for all
v∈V
20 / 67
Linear Independence and Dependence Basis and Dimension Row and Column Spaces Linear Transformation Examples
Linear Operator
Definition
Let V be a vector space. A linear transformation whose domain and codomain are
both V is called a linear operator
Examples
• Identity linear operator: The mapping f : V → V defined by f (v) = v, for all
v∈V
• Zero linear operator: The mapping f : V → V defined by f (v) = 0V , for all
v∈V
20 / 67
Linear Independence and Dependence Basis and Dimension Row and Column Spaces Linear Transformation Examples
Reflection Operators
21 / 67
Linear Independence and Dependence Basis and Dimension Row and Column Spaces Linear Transformation Examples
Reflection Operators
21 / 67
Linear Independence and Dependence Basis and Dimension Row and Column Spaces Linear Transformation Examples
Reflection Operators
22 / 67
Linear Independence and Dependence Basis and Dimension Row and Column Spaces Linear Transformation Examples
Reflection Operators
22 / 67
Linear Independence and Dependence Basis and Dimension Row and Column Spaces Linear Transformation Examples
Reflection Operators
22 / 67
Linear Independence and Dependence Basis and Dimension Row and Column Spaces Linear Transformation Examples
Examples
The mapping f : Rn → Rn defined by f (v) = kv, for all v ∈ Rn
• If |k| > 1, then the operator f is called a dilation (lengthening) of the vectors in
Rn
• If |k| < 1, then the operator f is called a contraction (shrinking) of the vectors in
Rn
23 / 67
Linear Independence and Dependence Basis and Dimension Row and Column Spaces Linear Transformation Examples
Projection Operators
Examples
• f : R3 → R3 defined by f ([v1 , v2 , v3 ]) = [v1 , v2 , 0]. f maps each vector in R3 to
a corresponding vector in the xy-plane
• f : R3 → R3 defined by f ([v1 , v2 , v3 ]) = [v1 , 0, v3 ]. f maps each vector in R3 to
a corresponding vector in the xz-plane
• f : R3 → R3 defined by f ([v1 , v2 , v3 ]) = [0, v2 , v3 ]. f maps each vector in R3 to
a corresponding vector in the yz-plane
• The mapping f : R4 → R4 defined by f ([v1 , v2 , v3 , v4 ]) = [0, v2 , v3 , 0]. This
operator maps each vector in R4 to a corresponding vector whose first and fourth
coordinates are zero
• Find the inverse transformation of L : R2 → R2 defined by L(x1 , x2 ) = (x2 , 2x1 −
x2 ).
24 / 67
Linear Independence and Dependence Basis and Dimension Row and Column Spaces Linear Transformation Examples
Examples
25 / 67
Linear Independence and Dependence Basis and Dimension Row and Column Spaces Linear Transformation Examples
Examples
26 / 67
Linear Independence and Dependence Basis and Dimension Row and Column Spaces Linear Transformation Examples
Examples
27 / 67
Linear Independence and Dependence Basis and Dimension Row and Column Spaces Linear Transformation Examples
Examples
28 / 67
Linear Independence and Dependence Basis and Dimension Row and Column Spaces Linear Transformation Examples
Examples
29 / 67
Linear Independence and Dependence Basis and Dimension Row and Column Spaces Linear Transformation Examples
Examples
30 / 67
Linear Independence and Dependence Basis and Dimension Row and Column Spaces Linear Transformation Examples
Examples
31 / 67
Linear Independence and Dependence Basis and Dimension Row and Column Spaces Linear Transformation Examples
Examples
32 / 67
Linear Independence and Dependence Basis and Dimension Row and Column Spaces Linear Transformation Examples
Examples
33 / 67
Linear Independence and Dependence Basis and Dimension Row and Column Spaces Linear Transformation Examples
Examples
34 / 67
Linear Independence and Dependence Basis and Dimension Row and Column Spaces Linear Transformation Examples
Examples
35 / 67
Linear Independence and Dependence Basis and Dimension Row and Column Spaces Linear Transformation Examples
Examples
36 / 67
Linear Independence and Dependence Basis and Dimension Row and Column Spaces Linear Transformation Examples
Examples
37 / 67
Linear Independence and Dependence Basis and Dimension Row and Column Spaces Linear Transformation Examples
Examples
38 / 67
Linear Independence and Dependence Basis and Dimension Row and Column Spaces Linear Transformation Examples
Examples
39 / 67
Linear Independence and Dependence Basis and Dimension Row and Column Spaces Linear Transformation Examples
Examples
40 / 67
Linear Independence and Dependence Basis and Dimension Row and Column Spaces Linear Transformation Examples
Examples
41 / 67
Linear Independence and Dependence Basis and Dimension Row and Column Spaces Linear Transformation Examples
Examples
42 / 67
Linear Independence and Dependence Basis and Dimension Row and Column Spaces Linear Transformation Examples
Examples
43 / 67
Linear Independence and Dependence Basis and Dimension Row and Column Spaces Linear Transformation Examples
Examples
44 / 67
Linear Independence and Dependence Basis and Dimension Row and Column Spaces Linear Transformation Examples
Examples
45 / 67
Linear Independence and Dependence Basis and Dimension Row and Column Spaces Linear Transformation Examples
Examples
46 / 67
Linear Independence and Dependence Basis and Dimension Row and Column Spaces Linear Transformation Examples
Examples
47 / 67
Linear Independence and Dependence Basis and Dimension Row and Column Spaces Linear Transformation Examples
Examples
48 / 67
Linear Independence and Dependence Basis and Dimension Row and Column Spaces Linear Transformation Examples
Examples
49 / 67
Linear Independence and Dependence Basis and Dimension Row and Column Spaces Linear Transformation Examples
Examples
50 / 67
Linear Independence and Dependence Basis and Dimension Row and Column Spaces Linear Transformation Examples
Examples
51 / 67
Linear Independence and Dependence Basis and Dimension Row and Column Spaces Linear Transformation Examples
Examples
52 / 67
Linear Independence and Dependence Basis and Dimension Row and Column Spaces Linear Transformation Examples
Examples
53 / 67
Linear Independence and Dependence Basis and Dimension Row and Column Spaces Linear Transformation Examples
Examples
54 / 67
Linear Independence and Dependence Basis and Dimension Row and Column Spaces Linear Transformation Examples
Examples
55 / 67
Linear Independence and Dependence Basis and Dimension Row and Column Spaces Linear Transformation Examples
Examples
56 / 67
Linear Independence and Dependence Basis and Dimension Row and Column Spaces Linear Transformation Examples
Examples
57 / 67
Linear Independence and Dependence Basis and Dimension Row and Column Spaces Linear Transformation Examples
Examples
58 / 67
Linear Independence and Dependence Basis and Dimension Row and Column Spaces Linear Transformation Examples
Examples
59 / 67
Linear Independence and Dependence Basis and Dimension Row and Column Spaces Linear Transformation Examples
Examples
60 / 67
Linear Independence and Dependence Basis and Dimension Row and Column Spaces Linear Transformation Examples
Examples
61 / 67
Linear Independence and Dependence Basis and Dimension Row and Column Spaces Linear Transformation Examples
Examples
62 / 67
Linear Independence and Dependence Basis and Dimension Row and Column Spaces Linear Transformation Examples
Examples
63 / 67
Linear Independence and Dependence Basis and Dimension Row and Column Spaces Linear Transformation Examples
Examples
64 / 67
Linear Independence and Dependence Basis and Dimension Row and Column Spaces Linear Transformation Examples
Examples
65 / 67
Linear Independence and Dependence Basis and Dimension Row and Column Spaces Linear Transformation Examples
Examples
66 / 67
Linear Independence and Dependence Basis and Dimension Row and Column Spaces Linear Transformation Examples
Examples
67 / 67