Vector Spaces and Subspaces Overview
Vector Spaces and Subspaces Overview
Sc ep
ho ar M
Vector Space
ol tm a
of en nim
VI A t o a
T, dv f Mra
a n
For B. Tech
Ch nc at J
en ed he
na Sc ma
i ie ti
nc cs
es
Manimaran J
2
D
Sc ep
ho ar M
ol tm a
of en nim
VI A t o a
T, dv f Mra
a n
Ch nc at J
en ed he
na Sc ma
i ie ti
nc cs
es
nc cs
i ie ti
es
na Sc ma
Ch nc at J
en ed he
n CONTENTS
T, dv f Mra
VI A t o a
of en nim
Contents 3
1 Vector spaces and Subspaces 7
1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
a
ol tm a
3 Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
4 Examples of Linear Combinations . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
3 Span of Vectors 17
1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
2 Definition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
3 Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
4 Examples of Span . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
4 Linear Independence 19
1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
2 Definition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
3 Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
4 Examples of Linear Independence . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
5 Using the Wronskian to Check Linear Independence . . . . . . . . . . . . . . . . . . 25
3
4 CONTENTS
nc cs
i ie ti
5.1 Definition of the Wronskian . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
es
5.2 Properties of the Wronskian . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
na Sc ma
5.3 Examples Using the Wronskian . . . . . . . . . . . . . . . . . . . . . . . . . 26
6 Conclusion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
Ch nc at J
en ed he
5 Bases of Vector Spaces and Subspaces 29
1
n
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
T, dv f Mra
2 Definition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
3 Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
VI A t o a
4 Examples of Bases . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
of en nim
5 Conclusion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
6 Row Echelon Form and Row Reduced Echelon Form 37
1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
2 Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
a
ol tm a
nc cs
i ie ti
5.3 Exercise 3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
es
na Sc ma
8 Rank-Nullity Theorem 51
Ch nc at J
en ed he
n
T, dv f Mra
VI A t o a
of en nim
a
ol tm a
ho ar M
Sc ep
D
6
D
Sc ep
ho ar M
ol tm a
of en nim
VI A t o a
T, dv f Mra
a n
Ch nc at J
en ed he
na Sc ma
i ie ti
nc cs
es
CONTENTS
nc cs
i ie ti
es
na Sc ma
Ch nc at J
en ed he
n CHAPTER 1
T, dv f Mra
VI A t o a
1 Introduction
ho ar M
In the realm of linear algebra, vector spaces and their subspaces are fundamental concepts that
provide a framework for understanding linear systems, transformations, and more. They form
the backbone for various applications in mathematics, physics, engineering, computer science,
and numerous other disciplines. This comprehensive guide delves into the definitions, properties,
and examples of vector spaces and subspaces, offering a detailed understanding of these essential
mathematical structures.
Sc ep
D
7
8 Vector spaces and Subspaces
nc cs
i ie ti
1. Closure under Addition: For all u, v ∈ V , u + v ∈ V .
es
na Sc ma
2. Commutativity of Addition: For all u, v ∈ V , u + v = v + u.
Ch nc at J
3. Associativity of Addition: For all u, v, w ∈ V , (u + v) + w = u + (v + w).
en ed he
n
4. Existence of Additive Identity: There exists an element 0 ∈ V such that for every v ∈ V ,
T, dv f Mra
v + 0 = v.
that v + (−v) = 0.
of en nim
6. Closure under Scalar Multiplication: For every scalar a ∈ F and every vector v ∈ V ,
a·v ∈V.
a
ol tm a
a ∈ F and u, v ∈ V , a · (u + v) = a · u + a · v.
1. Uniqueness of the Additive Identity: There is exactly one zero vector in a vector space.
2. Uniqueness of Additive Inverses: For each vector, its additive inverse is unique.
3. Distributive Properties: Scalar multiplication distributes over both vector addition and
field addition.
Vector spaces and Subspaces 9
nc cs
i ie ti
4. Associativity of Scalar Multiplication: The order of scalar multiplication does not affect
es
the result.
na Sc ma
5. Existence of Scalar Multiplicative Identity: Multiplying a vector by 1 leaves it un-
Ch nc at J
changed.
en ed he
n
6. Subspace Inheritance: Any subspace inherits the properties of the parent vector space.
T, dv f Mra
4 Examples of Vector Spaces
VI A t o a
of en nim
1. Euclidean Space Rn
a
ol tm a
Example: R3 consists of all ordered triples (x, y, z) where x, y, z are real numbers.
Operations:
2. Polynomial Space Pn
D
Example 4.2. Definition: The set of all polynomials of degree at most n with coefficients
in R.
Example: P2 consists of polynomials of the form a + bx + cx2 , where a, b, c are real numbers.
Operations:
nc cs
i ie ti
• Addition: Add corresponding entries of two matrices.
es
na Sc ma
• Scalar Multiplication: Multiply each entry of a matrix by the scalar.
Ch nc at J
4. Function Space C([a, b])
en ed he
Example 4.4. Definition: The set of all continuous real-valued functions defined on the
interval [a, b]. n
T, dv f Mra
Example: All continuous functions f : [0, 1] → R.
VI A t o a
Operations:
of en nim
5. Sequence Space ℓ2
Example 4.5. Definition: The set of all infinite sequences of real numbers (a1 , a2 , a3 , . . .)
such that the series ∞n=1 n converges.
2
P
a
1 2
Example: The sequence (1/1, 1/2, 1/3, 1/4, . . .) is in ℓ2 because ∞
2
= π6 , which
P
n=1 n
converges.
Operations:
Sc ep
5 Definition of Subspaces
A subspace is a subset of a vector space that is itself a vector space under the same operations
of vector addition and scalar multiplication. In other words, a subspace inherits the structure of
the parent vector space and satisfies all the axioms required for a vector space.
Definition 5.1 (Subspace). Let V be a vector space over a field F . A subset W of V is called a
subspace of V if W satisfies the following three conditions:
1. Non-emptiness (Contains the Zero Vector): The zero vector of V is in W .
nc cs
i ie ti
3. Closed under Scalar Multiplication: For any scalar a ∈ F and any vector v ∈ W , the
es
product a · v ∈ W .
na Sc ma
Alternatively, W is a subspace of V if it is closed under linear combinations, meaning that for
Ch nc at J
any vectors u, v ∈ W and scalars a, b ∈ F , the linear combination a · u + b · v ∈ W .
en ed he
n
T, dv f Mra
6 Properties of Subspaces
VI A t o a
Subspaces inherit many properties from their parent vector spaces, and they possess additional
of en nim
1. Contains the Zero Vector: Every subspace must contain the zero vector of the parent
vector space.
a
ol tm a
ho ar M
2. Closure Under Addition and Scalar Multiplication: Ensures that linear combinations
of vectors in the subspace remain within the subspace.
5. Dimension: A subspace’s dimension cannot exceed that of the parent vector space.
D
7 Examples of Subspaces
Here are five examples illustrating different types of subspaces within various vector spaces:
1. Zero Subspace
Example 7.1. Definition: The set containing only the zero vector.
Parent Vector Space: Any vector space V .
Example: In Rn , the zero subspace is {0} = {(0, 0, . . . , 0)}.
Properties: It is the smallest subspace of V .
nc cs
i ie ti
Example 7.2. Definition: All scalar multiples of a non-zero vector in R2 .
es
na Sc ma
Parent Vector Space: R2 .
Example: The set {a · (1, 2) | a ∈ R} forms a line through the origin.
Ch nc at J
Properties: It is one-dimensional.
en ed he
n
3. Plane Through the Origin in R3
T, dv f Mra
Example 7.3. Definition: All linear combinations of two linearly independent vectors in
VI A t o a
R3 .
of en nim
Properties: It is two-dimensional.
ho ar M
Example 7.5. Definition: The set of all continuous even functions on [a, b], where an even
function satisfies f (−x) = f (x).
Parent Vector Space: C([a, b]).
Example: Functions like f (x) = x2 , f (x) = cos(x), etc., are even functions.
Properties: Closed under addition and scalar multiplication.
8 Conclusion
Vector spaces and their subspaces are pivotal in understanding and solving linear problems across
various fields. Vector spaces provide a structured environment where vectors can be manipulated
through addition and scalar multiplication, adhering to specific axioms. Subspaces, being subsets
Vector spaces and Subspaces 13
nc cs
i ie ti
that themselves form vector spaces, allow for more focused analysis within a larger vector space.
es
Mastery of these concepts is essential for delving deeper into linear algebra and its applications,
na Sc ma
from solving linear systems and performing transformations to exploring advanced topics like
eigenvalues, inner product spaces, and beyond.
Ch nc at J
Understanding the definitions, properties, and diverse examples of vector spaces and subspaces
en ed he
equips you with the foundational tools necessary for both theoretical exploration and practical
n
problem-solving in mathematics and related disciplines.
T, dv f Mra
VI A t o a
of en nim
a
ol tm a
ho ar M
Sc ep
D
14
D
Sc ep
ho ar M
ol tm a
of en nim
VI A t o a
T, dv f Mra
a n
Ch nc at J
en ed he
na Sc ma
i ie ti
nc cs
es
Vector spaces and Subspaces
nc cs
i ie ti
es
na Sc ma
Ch nc at J
en ed he
n CHAPTER 2
T, dv f Mra
VI A t o a
1 Introduction
ho ar M
A linear combination is a fundamental concept in linear algebra, involving the addition of scaled
vectors. It serves as the building block for many other concepts such as span, linear independence,
and bases. Understanding linear combinations allows us to describe how vectors relate to each
other within a vector space or a subspace.
Sc ep
2 Definition
D
Definition 2.1 (Linear Combination). Let V be a vector space over a field F . Given vectors
v1 , v2 , . . . , vn in V and scalars a1 , a2 , . . . , an in F , the expression
a1 v 1 + a2 v 2 + · · · + an v n
is called a linear combination of the vectors v1 , v2 , . . . , vn .
3 Properties
1. Closure: Linear combinations of vectors in a vector space remain within the vector space.
2. Scalars: The coefficients ai are scalars from the underlying field.
3. Additivity: The operation of forming linear combinations preserves vector addition and
scalar multiplication.
15
16 Linear Combination of Vectors
nc cs
i ie ti
4. Generates Subspaces: The set of all possible linear combinations of a given set of vectors
es
forms a subspace known as the span.
na Sc ma
5. Dependence on Coefficients: Different sets of coefficients can produce different linear
Ch nc at J
combinations, enabling the construction of a variety of vectors within the span.
en ed he
n
T, dv f Mra
4 Examples of Linear Combinations
VI A t o a
Example 4.2. Let v1 = (1, 2, 3), v2 = (4, 5, 6), and v3 = (7, 8, 9) in R3 . A linear combination
is av1 + bv2 + cv3 = (a + 4b + 7c, 2a + 5b + 8c, 3a + 6b + 9c) for scalars a, b, c ∈ R.
Example 4.4. Let f1 (x) = sin(x) and f2 (x) = cos(x) in C([0, 1]). A linear combination is
af1 (x) + bf2 (x) = a sin(x) + b cos(x) for scalars a, b ∈ R.
SPAN OF VECTORS
of en nim
a
ol tm a
1 Introduction
ho ar M
The concept of span is pivotal in understanding how vectors relate to each other within a vector
space or a subspace. The span of a set of vectors encompasses all possible linear combinations
of those vectors, effectively describing the subspace they generate. This concept is fundamental
in various applications, including solving linear systems, determining dimensions, and identifying
bases.
Sc ep
2 Definition
D
Definition 2.1 (Span). Let V be a vector space over a field F , and let {v1 , v2 , . . . , vn } be a subset
of V . The span of these vectors, denoted by Span{v1 , v2 , . . . , vn }, is the set of all possible linear
combinations of them:
Span{v1 , v2 , . . . , vn } = {a1 v1 + a2 v2 + · · · + an vn | ai ∈ F } .
3 Properties
1. Subspace: The span of any set of vectors in V is a subspace of V .
2. Closure: The span is closed under vector addition and scalar multiplication.
3. Minimality: If a subspace W contains a set of vectors, then W must contain their span.
17
18 Span of Vectors
nc cs
i ie ti
4. Uniqueness: The span of a set of vectors is uniquely determined by those vectors.
es
na Sc ma
5. Redundancy Removal: Removing a vector that is already in the span of others does not
change the span.
Ch nc at J
en ed he
4 Examples of Span n
T, dv f Mra
Here are five examples illustrating different aspects of the span of vectors:
VI A t o a
of en nim
1. Span in R2
Example 4.1. Let v1 = (1, 0) and v2 = (0, 1) in R2 . The span of {v1 , v2 } is R2 itself, as
any vector (a, b) can be expressed as av1 + bv2 .
a
ol tm a
ho ar M
2. Span in R3
Example 4.2. Let v1 = (1, 0, 0) and v2 = (0, 1, 0) in R3 . The span of {v1 , v2 } is the
xy-plane, consisting of all vectors (a, b, 0) for scalars a, b ∈ R.
Example 4.3. Let v = (2, 3) in R2 . The span of {v} is the set of all scalar multiples of v,
Sc ep
Example 4.4. Consider the polynomials p1 (x) = 1 and p2 (x) = x in P1 . The span of {p1 , p2 }
consists of all linear polynomials of the form a + bx for scalars a, b ∈ R.
LINEAR INDEPENDENCE
of en nim
a
ol tm a
1 Introduction
ho ar M
Linear independence is a fundamental concept in linear algebra that determines whether a set
of vectors contains any redundancy. A set of vectors is said to be linearly independent if none
of the vectors can be expressed as a linear combination of the others. This property is crucial in
identifying minimal spanning sets, forming bases, and understanding the structure of vector spaces
and subspaces.
Sc ep
D
2 Definition
Definition 2.1 (Linear Independence). Let V be a vector space over a field F , and let {v1 , v2 , . . . , vn }
be a subset of V . The set is called linearly independent if the only scalars a1 , a2 , . . . , an ∈ F
that satisfy
a1 v 1 + a2 v 2 + · · · + an v n = 0
are a1 = a2 = · · · = an = 0.
3 Properties
1. Uniqueness of Zero Combination: The trivial combination (all scalars zero) is the only
linear combination that yields the zero vector.
19
20 Linear Independence
nc cs
i ie ti
2. Minimality: A linearly independent set has no vector that can be removed without losing
es
its independence.
na Sc ma
3. Basis Formation: A basis for a vector space is a linearly independent set that spans the
Ch nc at J
space.
en ed he
n
4. Expansion and Contraction: Adding a vector to a linearly independent set may make it
T, dv f Mra
dependent; removing vectors maintains independence.
Here are five detailed examples illustrating different aspects of linear independence:
a1 v 1 + a2 v 2 = 0
D
nc cs
i ie ti
Subtract the second equation from the first:
es
na Sc ma
(a1 + 3a2 ) − (a1 + 2a2 ) = 0 − 0 =⇒ a2 = 0
Substitute a2 = 0 into the second equation:
Ch nc at J
en ed he
a1 + 2(0) = 0 =⇒ a1 = 0
n
Since the only solution is a1 = a2 = 0, the vectors v1 and v2 are linearly independent.
T, dv f Mra
2. Linearly Dependent Vectors in R3
VI A t o a
of en nim
Example 4.2. Problem: Determine whether the vectors v1 = (1, 2, 3), v2 = (2, 4, 6), and
v3 = (3, 6, 9) in R3 are linearly independent.
Solution: To check for linear independence, set up the equation:
a
ol tm a
a1 v 1 + a2 v 2 + a3 v 3 = 0
ho ar M
3a1 + 6a2 + 9a3 = 0
D
Observe that the second equation is twice the first, and the third is three times the first.
This means all three equations are not independent.
To find a non-trivial solution, let’s express a1 and a2 in terms of a3 : From the first equation:
a1 = −2a2 − 3a3
Substitute a1 into the second equation:
2(−2a2 − 3a3 ) + 4a2 + 6a3 = 0 − 4a2 − 6a3 + 4a2 + 6a3 = 00 = 0
This equation holds for all a2 and a3 , indicating infinitely many solutions. For example,
choose a3 = 1 and a2 = 0:
a1 = −3
Thus, (a1 , a2 , a3 ) = (−3, 0, 1) is a non-trivial solution.
Since there exists a non-trivial solution, the vectors v1 , v2 , and v3 are linearly dependent.
22 Linear Independence
nc cs
i ie ti
3. Linearly Independent Polynomials in P2
es
na Sc ma
Example 4.3. Problem: Determine whether the polynomials p1 (x) = 1, p2 (x) = x, and
p3 (x) = x2 in P2 are linearly independent.
Ch nc at J
Solution: To check for linear independence, set up the equation:
en ed he
n a1 p1 (x) + a2 p2 (x) + a3 p3 (x) = 0
T, dv f Mra
Substituting the polynomials:
VI A t o a
of en nim
a1 · 1 + a2 · x + a3 · x 2 = 0
This must hold for all x, implying that each coefficient must be zero:
a
ol tm a
a1 = 0
ho ar M
a2 = 0
a3 = 0
The only solution is a1 = a2 = a3 = 0, hence the polynomials p1 (x), p2 (x), and p3 (x) are
linearly independent.
Example 4.4. Problem: Determine whether the functions f1 (x) = 1, f2 (x) = sin(x), and
D
This implies:
a1 + a2 sin(x) + a3 cos(x) = 0 ∀x
For this to hold for all x, the coefficients must satisfy the following: - Let x = 0:
a1 + a3 = 0 =⇒ a1 = −a3
Linear Independence 23
nc cs
i ie ti
- Let x = π2 :
es
a1 + a2 = 0 =⇒ a2 = −a1 = a3
na Sc ma
- Let x = π:
Ch nc at J
a1 − a3 = 0 =⇒ a1 = a3
en ed he
n
From a1 = −a3 and a1 = a3 , we conclude a1 = a3 = 0, which then implies a2 = 0.
T, dv f Mra
Since the only solution is a1 = a2 = a3 = 0, the functions f1 (x), f2 (x), and f3 (x) are linearly
independent.
VI A t o a
of en nim
ho ar M
1 0 0 1 0 0 0 0
A= , B= , C= , D=
0 0 0 0 1 0 0 1
a1 A + a2 B + a3 C + a4 D = 0
Sc ep
1 0 0 1 0 0 0 0 0 0
a1 + a2 + a3 + a4 =
0 0 0 0 1 0 0 1 0 0
nc cs
i ie ti
Example 4.6. Problem: Determine whether the vectors v1 = (1, 2, 3), v2 = (2, 4, 6), and
es
v3 = (3, 6, 9) in R3 are linearly independent.
na Sc ma
Solution: Observe that v2 = 2v1 and v3 = 3v1 . This indicates that all vectors are scalar
Ch nc at J
multiples of v1 , meaning they lie along the same line in R3 .
en ed he
To confirm linear dependence, set up the equation:
n
T, dv f Mra
a1 v 1 + a2 v 2 + a3 v 3 = 0
VI A t o a
a1 + 2a2 + 3a3 = 0
ho ar M
2a1 + 4a2 + 6a3 = 0
3a1 + 6a2 + 9a3 = 0
Simplifying, notice that the second and third equations are multiples of the first:
This implies that the system has infinitely many solutions. For instance, let a3 = 1 and
a2 = 0:
D
a1 + 0 + 3(1) = 0 =⇒ a1 = −3
Thus, (a1 , a2 , a3 ) = (−3, 0, 1) is a non-trivial solution.
Therefore, the set {v1 , v2 , v3 } is linearly dependent.
Example 4.7. Problem: Determine whether the vectors v1 = (1, −1, 2) and v2 = (3, 1, 4)
in R3 are linearly independent.
Solution: Set up the equation:
a1 v 1 + a2 v 2 = 0
Substituting the vectors:
nc cs
i ie ti
This leads to the system:
es
na Sc ma
a1 + 3a2 = 0
−a1 + a2 = 0
Ch nc at J
2a1 + 4a2 = 0
en ed he
n
Solve the second equation for a1 :
T, dv f Mra
−a1 + a2 = 0 =⇒ a1 = a2
VI A t o a
a2 + 3a2 = 0 =⇒ 4a2 = 0 =⇒ a2 = 0 =⇒ a1 = 0
a
2(0) + 4(0) = 0
independence of a set of solutions. It is particularly useful for checking the linear independence of
functions. The concept is named after the Polish mathematician Józef Hoene-Wroński.
nc cs
i ie ti
es
5.2 Properties of the Wronskian
na Sc ma
1. If the Wronskian W (f1 , f2 , . . . , fn )(x) is non-zero for some x in an interval I, then the func-
tions f1 , f2 , . . . , fn are linearly independent on I.
Ch nc at J
en ed he
2. If the Wronskian is identically zero on an interval I, the functions may be linearly dependent
n
on I, but this is not guaranteed unless additional conditions are met (e.g., the functions are
T, dv f Mra
solutions to a linear differential equation).
3. The converse of the first property is not always true; a zero Wronskian does not necessarily
VI A t o a
imply linear dependence unless the functions satisfy certain differential equations.
of en nim
Below are several examples demonstrating how to use the Wronskian to check the linear indepen-
ho ar M
dence of functions.
ex e−x
W (f1 , f2 )(x) = = ex · (−e−x ) − e−x · ex = −1 − 1 = −2
ex −e−x
D
Since W (f1 , f2 )(x) = −2 ̸= 0 for all x ∈ R, the functions ex and e−x are linearly indepen-
dent on R.
Since W (f1 , f2 )(x) = −1 ̸= 0 for all x ∈ R, the functions sin(x) and cos(x) are linearly
independent on R.
Linear Independence 27
nc cs
i ie ti
3. Example 3: Linear Independence of 1, x, and x2
es
na Sc ma
Example 5.3. Problem: Determine whether the functions f1 (x) = 1, f2 (x) = x, and
f3 (x) = x2 are linearly independent on R.
Ch nc at J
Solution: Compute the Wronskian:
en ed he
n 1 x x2
T, dv f Mra
W (f1 , f2 , f3 )(x) = 0 1 2x
0 0 2
VI A t o a
1 2x 0 2x 0 1
W = 1· −x· +x2 · = 1·(1·2−2x·0)−x·(0·2−2x·0)+x2 ·(0·0−1·0) = 2
0 2 0 2 0 0
a
ol tm a
Since W (f1 , f2 , f3 )(x) = 2 ̸= 0 for all x ∈ R, the functions 1, x, and x2 are linearly
ho ar M
independent on R.
1 x 2x
1 2 0 2 0 1
W (f1 , f2 , f3 )(x) = 0 1 2 = 1· −x· +2x· = 1·(1·0−2·0)−x·(0·0−2·0)+2x·(0·0−1·0) =
D
0 0 0 0 0 0
0 0 0
Since W (f1 , f2 , f3 )(x) = 0 for all x ∈ R, the Wronskian does not provide conclusive informa-
tion about linear dependence. However, observe that f3 (x) = 2f2 (x), indicating that the set
{f1 , f2 , f3 } is linearly dependent.
nc cs
i ie ti
Factor out ex , e2x , and e3x from each column respectively:
es
na Sc ma
1 1 1 1 1 1
x 2x 3x 6x
W =e ·e ·e · 1 2 3 =e · 1 2 3
Ch nc at J
1 4 9 1 4 9
en ed he
n
Compute the determinant:
T, dv f Mra
1 1 1
VI A t o a
1 4 9
Therefore:
W (f1 , f2 , f3 )(x) = e6x · 2 = 2e6x ̸= 0 ∀x ∈ R
a
ol tm a
Since the Wronskian is non-zero for all x, the functions ex , e2x , and e3x are linearly inde-
ho ar M
pendent on R.
6 Conclusion
Linear independence is a cornerstone concept in linear algebra, enabling the identification of mini-
mal and non-redundant sets of vectors that effectively describe a vector space or subspace. Through
Sc ep
the examples provided, we have illustrated various scenarios where vectors, polynomials, functions,
and matrices are tested for linear independence. Mastery of this concept is essential for advancing
D
Exercises
1. Determine whether the vectors u = (2, 4, 6) and v = (1, 3, 5) in R3 are linearly independent.
3. Check the linear independence of the functions f1 (x) = ex , f2 (x) = e−x , and f3 (x) = e2x in
C(R).
nc cs
i ie ti
es
na Sc ma
Ch nc at J
en ed he
n CHAPTER 5
T, dv f Mra
VI A t o a
SUBSPACES
a
ol tm a
ho ar M
1 Introduction
A basis of a vector space or subspace is a minimal set of vectors that both spans the space and is
linearly independent. Bases are essential for simplifying vector representations, performing coordi-
nate transformations, and facilitating computations in linear algebra. They provide a standardized
framework for analyzing vector spaces and understanding their dimensional properties.
Sc ep
D
2 Definition
Definition 2.1 (Basis). Let V be a vector space over a field F . A set of vectors {v1 , v2 , . . . , vn }
in V is called a basis of V if:
1. Span: The set spans V , i.e., every vector in V can be expressed as a linear combination of
{v1 , v2 , . . . , vn }.
3 Properties
1. Uniqueness of Dimension: All bases of a vector space have the same number of vectors,
known as the dimension of the space.
29
30 Bases of Vector Spaces and Subspaces
nc cs
i ie ti
2. Minimality: No basis contains a redundant vector; removing any vector from a basis results
es
in a set that no longer spans the space.
na Sc ma
3. Coordinate Representation: Every vector in the space can be uniquely expressed as a
Ch nc at J
linear combination of the basis vectors.
en ed he
n
4. Transformation: Changing the basis of a vector space corresponds to a coordinate trans-
T, dv f Mra
formation, facilitating various applications like diagonalization.
VI A t o a
5. Subspace Bases: Any subspace of a vector space has a basis, and the basis can be extended
of en nim
4 Examples of Bases
a
ol tm a
ho ar M
Here are five detailed examples illustrating different aspects of bases in vector spaces and subspaces:
1. Zero Subspace
Example 4.1. Definition: The set containing only the zero vector.
Parent Vector Space: Any vector space V .
Example: In Rn , the zero subspace is {0} = {(0, 0, . . . , 0)}.
Sc ep
Basis: The zero subspace contains only the zero vector. To determine its basis, we consider
D
the following:
a. Spanning Set : A basis must span the subspace. Since the zero subspace contains only
the zero vector, any linear combination of basis vectors must also yield the zero vector.
The only way this is possible is if there are no vectors in the basis, i.e., the basis is the
empty set.
b. linear Independence : The empty set is trivially linearly independent because there are
no vectors to form a non-trivial linear combination. There are no scalars to satisfy a
non-trivial equation, hence the condition for linear independence is vacuously satisfied.
2. Standard Basis in Rn
Example 4.2. Problem: Identify the standard basis for R3 and verify that it is indeed a
basis.
Bases of Vector Spaces and Subspaces 31
nc cs
i ie ti
Solution: The standard basis for R3 consists of vectors where each vector has a 1 in one
es
coordinate and 0 in all others. Specifically:
na Sc ma
e1 = (1, 0, 0), e2 = (0, 1, 0), e3 = (0, 0, 1)
Ch nc at J
en ed he
Verification:
n
T, dv f Mra
1. Span: Any vector v = (a, b, c) ∈ R3 can be expressed as:
VI A t o a
y=0
z=0
D
Example 4.3. Problem: Find a basis for the subspace W ⊆ R3 defined by the equation
x + y + z = 0.
Solution:
1. Express Variables in Terms of Free Variables: Solve the equation x + y + z = 0 for
one variable in terms of the others. Let’s solve for z:
z = −x − y
32 Bases of Vector Spaces and Subspaces
nc cs
i ie ti
Thus, any vector in W can be written as:
es
na Sc ma
v = (x, y, −x − y) = x(1, 0, −1) + y(0, 1, −1)
Ch nc at J
2. Identify Generators: The vectors:
en ed he
n v1 = (1, 0, −1), v2 = (0, 1, −1)
T, dv f Mra
generate W since any vector in W is a linear combination of v1 and v2 .
VI A t o a
av1 + bv2 = 0
{1, x, x2 }
p(x) = a · 1 + b · x + c · x2
Bases of Vector Spaces and Subspaces 33
nc cs
i ie ti
for scalars a, b, c ∈ R. This shows that {1, x, x2 } spans P2 .
es
na Sc ma
3. Check for Linear Independence: Consider the equation:
Ch nc at J
a · 1 + b · x + c · x2 = 0
en ed he
n
This must hold for all x, implying:
T, dv f Mra
a = 0, b = 0, c=0
VI A t o a
Therefore, the only solution is the trivial one, proving that the set is linearly independent.
of en nim
Conclusion: Since {1, x, x2 } spans P2 and is linearly independent, it forms a basis for P2 .
Example 4.5. Problem: Find a basis for the subspace V ⊆ C([0, 1]) consisting of all
continuous functions f (x) such that f (0) = f (1).
Solution:
1. Identify General Form of Functions in V : A function f (x) ∈ V satisfies f (0) = f (1).
To express such functions, we can write:
Sc ep
where g(x) is a function that satisfies g(0) = 0 and g(1) = 0. For simplicity, let’s consider
g(x) = x(1 − x).
2. Choose Generators: Let:
for scalars a, b ∈ R.
3. Check for Linear Independence: Consider the equation:
a · 1 + b · x(1 − x) = 0 ∀x ∈ [0, 1]
34 Bases of Vector Spaces and Subspaces
nc cs
i ie ti
Evaluating at x = 0:
es
a · 1 + b · 0 = 0 =⇒ a = 0
na Sc ma
Substituting a = 0 into the equation:
Ch nc at J
b · x(1 − x) = 0 ∀x ∈ [0, 1]
en ed he
n
This implies b = 0.
T, dv f Mra
Conclusion: The set {v1 , v2 } spans V and is linearly independent, thus forming a basis for
the subspace V .
VI A t o a
of en nim
Solution:
ol tm a
1 0 0 1 0 0 0 0
E11 = , E12 = , E21 = , E22 =
0 0 0 0 1 0 0 1
2. Check for Span: Any matrix A ∈ M2×2 (R) can be expressed as:
a b
A = aE11 + bE12 + cE21 + dE22 =
Sc ep
c d
where a, b, c, d ∈ R. This shows that {E11 , E12 , E21 , E22 } spans M2×2 (R).
D
nc cs
i ie ti
es
5 Conclusion
na Sc ma
Bases are pivotal in linear algebra, providing a structured and efficient means to represent
Ch nc at J
and manipulate vectors within vector spaces and subspaces. Through the examples provided,
en ed he
we have explored various scenarios—from standard bases in Rn to more complex bases in
n
function and matrix spaces. Each example demonstrated the essential steps of identifying
T, dv f Mra
spanning sets and verifying linear independence, culminating in the establishment of a basis.
Understanding how to determine and work with bases is fundamental for further studies in
VI A t o a
linear transformations, eigenvalues, and more advanced topics in mathematics and engineer-
of en nim
ing. Mastery of this concept not only facilitates computational efficiency but also deepens
our comprehension of the underlying structure of vector spaces.
a
ol tm a
ho ar M
Exercises
1. Determine a basis for the subspace W ⊆ R4 defined by the equations:
(
x1 + x 2 + x3 + x4 = 0
2x1 + 3x2 + x3 + 4x4 = 0
Sc ep
2. Find a basis for the space of all 2 × 3 real matrices where the sum of each row is zero.
D
3. Show that the set {1, x, x3 } is not a basis for P3 and identify a suitable basis.
4. Given the functions f1 (x) = ex , f2 (x) = e2x , and f3 (x) = e4x in C(R), determine
whether they form a basis for the subspace they span.
1 2 0 1 1 1
5. Verify that the set , , is linearly independent in M2×2 (R)
3 4 1 0 1 1
and forms a basis for its span.
36
D
Sc ep
ho ar M
ol tm a
of en nim
VI A t o a
T, dv f Mra
a n
Ch nc at J
en ed he
na Sc ma
i ie ti
nc cs
es
Bases of Vector Spaces and Subspaces
nc cs
i ie ti
es
na Sc ma
Ch nc at J
en ed he
n CHAPTER 6
T, dv f Mra
VI A t o a
of en nim
1 Introduction
Sc ep
In linear algebra, a matrix is said to be in Row Echelon Form (REF) if it satisfies the following
conditions:
D
(a) All nonzero rows are above any rows of all zeros.
(b) The leading entry (also called the pivot) of each nonzero row is 1 and is located to the
right of the leading entry of the previous row.
A matrix is in Row Reduced Echelon Form (RREF) if it meets the criteria of REF and also
satisfies:
(a) The leading 1 in each nonzero row is the only nonzero entry in its column.
37
38 Row Echelon Form and Row Reduced Echelon Form
nc cs
i ie ti
es
2 Properties
na Sc ma
2.1 Properties of Row Echelon Form (REF)
Ch nc at J
en ed he
• A matrix can have multiple REF forms.
n
• The process of obtaining REF from a matrix is called Gaussian elimination.
T, dv f Mra
• REF can be used to solve systems of linear equations.
VI A t o a
of en nim
3 Examples
Sc ep
1 2 1
2 4 2
3 6 3
to Row Echelon Form.
Steps: 1. Subtract 2 times the first row from the second row:
1 2 1
0 0 0
3 6 3
2. Subtract 3 times the first row from the third row:
1 2 1
0 0 0
0 0 0
Row Echelon Form and Row Reduced Echelon Form 39
nc cs
i ie ti
es
3.2 Example 2: Convert to RREF
na Sc ma
Convert the matrix
1 2 1
Ch nc at J
0 0 0
en ed he
0 0 0
n
to Row Reduced Echelon Form.
T, dv f Mra
Steps: The matrix is already in RREF.
VI A t o a
of en nim
2 4 1
ho ar M
1 3 1
3 5 3
to Row Echelon Form.
Steps: 1. Divide the first row by 2:
1 2 0.5
1 3 1
Sc ep
3 5 3
2. Subtract the first row from the second row:
D
1 2 0.5
0 1 0.5
3 5 3
3. Subtract 3 times the first row from the third row:
1 2 0.5
0 1 0.5
0 −1 1.5
4. Add the second row to the third row:
1 2 0.5
0 1 0.5
0 0 2
40 Row Echelon Form and Row Reduced Echelon Form
nc cs
i ie ti
es
3.4 Example 4: Convert to RREF
na Sc ma
Convert the matrix
1 2 0.5
Ch nc at J
0 1 0.5
en ed he
0 0 2
n
to Row Reduced Echelon Form.
T, dv f Mra
Steps: 1. Divide the last row by 2:
VI A t o a
of en nim
1 2 0.5
0 1 0.5
0 0 1
a
ol tm a
2. Subtract 0.5 times the third row from the first and second rows:
ho ar M
1 2 0
0 1 0
0 0 1
0 1 0
0 0 1
D
nc cs
i ie ti
2. Subtract 2 times the first row from the second row:
es
na Sc ma
1 1
1 3 3
0 7 − 1
Ch nc at J
3 3
1 2 3
en ed he
n
3. Subtract the first row from the third row:
T, dv f Mra
1 1
1 3 3
VI A t o a
0 7 − 1
3 3
of en nim
0 35 83
1 3 3
0 1 − 1
ho ar M
7
0 35 83
5. Subtract 5
3
times the second row from the third row:
1 1
1 3 3
0 1 − 1
7
0 0 23
Sc ep
21
D
4 Exercises
nc cs
i ie ti
Exercise 3: Convert the following matrix to Row Echelon Form:
es
na Sc ma
1 4 2
2 3 1
Ch nc at J
3 7 5
en ed he
n
Exercise 4: Convert the following matrix to Row Reduced Echelon Form:
T, dv f Mra
2 1 1
VI A t o a
4 2 2
of en nim
1 3 4
−1 0
ho ar M
1
2 1 −1
3 −1 2
Sc ep
D
nc cs
i ie ti
es
na Sc ma
Ch nc at J
en ed he
n CHAPTER 7
T, dv f Mra
VI A t o a
NULL SPACE
a
ol tm a
ho ar M
1 Introduction
In linear algebra, the concepts of row space, column space, and null space are fundamental in
understanding the properties of matrices and the solutions to linear systems. These spaces
Sc ep
help describe the relationships among the vectors in a matrix and provide insights into the
solutions of the corresponding linear equations.
D
2 Definitions
43
44 Row Space, Column Space, and Null Space
nc cs
i ie ti
es
2.3 Null Space
na Sc ma
The null space of a matrix A is the set of all vectors x such that Ax = 0. It is a subspace of
the domain of A.
Ch nc at J
en ed he
3 Properties n
T, dv f Mra
VI A t o a
• The dimension of the row space is equal to the dimension of the column space, known
of en nim
4 Examples
1 2 3 4 0
2 4 6 8 0
D
A=
3
6 9 12 0
0 0 0 0 0
1. Initial Matrix:
1 2 3 4 0
2 4 6 8 0
A=
3
6 9 12 0
0 0 0 0 0
R2 → R2 − 2R1
Row Space, Column Space, and Null Space 45
nc cs
i ie ti
- Subtract 3R1 from R3 :
es
R3 → R3 − 3R1
na Sc ma
- Resulting matrix:
Ch nc at J
1 2 3 4 0
en ed he
0 0 0 0 0
n
0 0 0 0 0
T, dv f Mra
0 0 0 0 0
VI A t o a
1 2 3 4 0
0 0 0 0 0
R=
0
0 0 0 0
a
ol tm a
0 0 0 0 0
ho ar M
Pivot Positions
Row Space
Column Space
nc cs
i ie ti
es
Null Space
na Sc ma
- Solving Ax = 0:
x1 + 2x2 + 3x3 + 4x4 = 0
Ch nc at J
en ed he
Substituting:
n x1 = −2x2 − 3x3 − 4x4
T, dv f Mra
- Null space:
VI A t o a
−2 −3 −4
of en nim
1 0 0
Null Space = span
0 , 1 , 0
0 0 1
0 0 0
a
ol tm a
ho ar M
1. Initial Matrix:
2 1 0 0 1
0 2 1 0 3
B=
0
0 1 0 1
0 0 0 1 2
nc cs
i ie ti
- Final Row Echelon Form:
es
1 0.5 0 0 0.5
na Sc ma
0 1 0.5 0 1.5
R=
0 0
1 0 1
Ch nc at J
en ed he
0 0 0 1 2
n
T, dv f Mra
Pivot Positions
VI A t o a
of en nim
- Pivot positions are at (1,1), (2,2), (3,3), and (4,4). The pivot columns are columns 1, 2, 3,
and 4.
a
ol tm a
ho ar M
Row Space
Sc ep
Row Space = span {[1, 0.5, 0, 0, 0.5], [0, 1, 0.5, 0, 1.5], [0, 0, 1, 0, 1], [0, 0, 0, 1, 2]}
Column Space
Column Space = span [2, 0, 0, 0]T , [1, 2, 0, 0]T , [0, 1, 0, 0]T , [0, 0, 1, 0]T
Null Space
- Solving Bx = 0:
48 Row Space, Column Space, and Null Space
nc cs
i ie ti
es
na Sc ma
x1 + 0.5x2 + 0.5x5 =0
Ch nc at J
x2 + 0.5x5 =0
en ed he
x3 + x5 =0
n x4 + 2x5 =0
T, dv f Mra
VI A t o a
of en nim
Substituting:
a
ol tm a
- Null space:
−0.5
−0.5
Null Space = span −1
−2
1
Sc ep
D
1 2 3 4 5 0
2 4 6 8 10 0
0
C= 0 0 0 0 0
3 6 9 12 15 0
0 0 1 0 0 0
nc cs
i ie ti
es
5 Exercises
na Sc ma
5.1 Exercise 1
Ch nc at J
en ed he
Consider the matrix:
n 2
4 6
T, dv f Mra
1 2 3
E=
0
0 0
VI A t o a
3 6 9
of en nim
1. Find the row echelon form. 2. Identify pivot positions. 3. Determine the row space and
column space. 4. Find the null space.
a
ol tm a
5.2 Exercise 2
ho ar M
1. Find the row echelon form. 2. Identify pivot positions. 3. Determine the row space and
column space. 4. Find the null space.
D
5.3 Exercise 3
Consider the matrix:
0 1 2 3 4
1 0 1 0 0
G=
0
0 0 1 1
2 3 4 0 0
1. Find the row echelon form. 2. Identify pivot positions. 3. Determine the row space and
column space. 4. Find the null space.
50
D
Sc ep
ho ar M
ol tm a
of en nim
VI A t o a
T, dv f Mra
a n
Ch nc at J
en ed he
na Sc ma
i ie ti
nc cs
es
Row Space, Column Space, and Null Space
nc cs
i ie ti
es
na Sc ma
Ch nc at J
en ed he
n CHAPTER 8
T, dv f Mra
VI A t o a
RANK-NULLITY THEOREM
of en nim
a
ol tm a
ho ar M
The Rank-Nullity Theorem is a fundamental theorem in linear algebra that describes the
relationship between the dimensions of the column space (rank) and the null space (nullity)
of a matrix. It provides essential insights into the structure of linear transformations and
the solutions to systems of linear equations.
Detailed Introduction
Sc ep
• Column Space: The column space of A, denoted as Col(A), is the span of the columns
of A. It represents all possible linear combinations of the columns of A and is a subspace
of Rm . The dimension of the column space is called the rank of the matrix A, denoted
as rank(A).
• Null Space: The null space of A, denoted as N(A), is the set of all vectors x ∈ Rn such
that Ax = 0. It consists of all solutions to the homogeneous equation. The dimension
of the null space is called the nullity of the matrix A, denoted as nullity(A).
51
52 Rank-Nullity Theorem
nc cs
i ie ti
es
rank(A) + nullity(A) = n
na Sc ma
Where:
Ch nc at J
en ed he
• rank(A): the dimension of the column space.
n
• nullity(A): the dimension of the null space.
T, dv f Mra
• n: the number of columns in the matrix A.
VI A t o a
of en nim
This theorem highlights that the number of columns of the matrix can be decomposed into
two parts: the dimensions contributing to the column space and those contributing to the
null space.
a
ol tm a
ho ar M
dim(Col(A)) + nullity(AT ) = m
Sc ep
Where:
• dim(Col(A)) is the dimension of the column space of A (also the rank of A).
D
This relationship tells us that the dimension of the column space of A plus the nullity of AT
equals the number of rows of A.
Examples
Example 1: 2 × 3 Matrix
Let
Rank-Nullity Theorem 53
nc cs
i ie ti
es
1 0 0
na Sc ma
A=
0 1 0
Ch nc at J
• Step 1: Calculate the Rank
en ed he
n
– The two columns are linearly independent.
T, dv f Mra
– Thus, rank(A) = 2.
VI A t o a
• Conclusion:
ol tm a
rank(A) + nullity(A) = 2 + 1 = 3
ho ar M
Example 2: 3 × 4 Matrix
Let
Sc ep
1 2 3 4
B = 0 0 0 0
D
5 6 7 8
nc cs
i ie ti
es
Example 3: 4 × 2 Matrix
na Sc ma
Let
Ch nc at J
en ed he
1 2
n 2
C=
4
T, dv f Mra
3 6
0 0
VI A t o a
– All rows are linearly dependent, with only one independent row.
– Thus, rank(C) = 1.
a
ol tm a
– Since n = 2,
– nullity(C) = n − rank(C) = 2 − 1 = 1.
• Conclusion:
rank(C) + nullity(C) = 1 + 1 = 2
Sc ep
Example 4: 3 × 5 Matrix
D
Let
1 0 2 3 4
D = 0 0 0 0 0
5 0 6 7 8
nc cs
i ie ti
• Conclusion:
es
na Sc ma
rank(D) + nullity(D) = 2 + 3 = 5
Ch nc at J
en ed he
n
Example 5: 2 × 2 Matrix
T, dv f Mra
Let
VI A t o a
of en nim
1 1
E=
2 2
a
ol tm a
ho ar M
– Since n = 2,
– nullity(E) = n − rank(E) = 2 − 1 = 1.
D
• Conclusion:
rank(E) + nullity(E) = 1 + 1 = 2
Conclusion
The Rank-Nullity Theorem provides a powerful framework for understanding the dimensions
of vector spaces associated with matrices. It is crucial in various applications, including
solving linear systems, understanding linear transformations, and analyzing data in machine
learning.
56 Rank-Nullity Theorem
nc cs
i ie ti
es
Exercise
na Sc ma
Problem 1
Ch nc at J
en ed he
Given the matrix
n
1 2 3
T, dv f Mra
A = 0 0 0
4 5 6
VI A t o a
Problem 2:
Consider the matrix
1 1 1
B = 0 1 0
1 0 1
Sc ep
Problem 3:
Let
1 0 2 3
C = 0 1 4 5
0 0 0 0
a. Determine the rank of C.
b. Find the nullity of C.
c. Show that the Rank-Nullity Theorem is satisfied.
Rank-Nullity Theorem 57
nc cs
i ie ti
es
Problem 4:
na Sc ma
Given the matrix
1 2 0 0 5
Ch nc at J
2 4 0 0 10
en ed he
D=
0
0 1 1 0
n 0 0 0 0 0
T, dv f Mra
a. Calculate the rank of D.
VI A t o a
Problem 5:
ho ar M
Let
2 4 1
E = 0 0 0
3 6 1
c. Verify the relationship between the dimensions of the column space of E and the nullity
of E T .
Problem 6:
For the matrix
1 1 1
1 0 0
F =
0
1 0
0 0 1
nc cs
i ie ti
es
Problem 7:
na Sc ma
A system of equations represented by the matrix
Ch nc at J
1 2 1
en ed he
2 4 2
n G= 3 6
3
T, dv f Mra
0 0 0
VI A t o a
a. What does the nullity tell you about the solutions to this system?
of en nim