Module B - Complete
Table of contents
- AM 10: Linear Algebra for Engineers – Module B: Vector Spaces
- Matrix Multiplication as a Linear Combination
- Column Space
- Null Space
- Linear Dependence and Linear Independence
- Vector Spaces
- Abstract Vector Spaces
- Polynomials as a Vector Space
- Basis and Coordinate Vectors
- Dimension
- Coordinates Relative to a Basis
- Polynomial Vector Spaces
- Coordinate vectors of polynomials relative to bases
1. AM 10: Linear Algebra for Engineers – Module B: Vector Spaces
1.1 Linear combinations and vector spans
A linear combination of vectors is formed by scaling each vector by a scalar coefficient and summing the results. The span of a set of vectors is the collection of all possible linear combinations that can be formed from those vectors.
- Linear combination: For a set of vectors x1,x2,…,xm in Rn, a linear combination is any vector of the form c1x1+c2x2+⋯+cmxm, where c1,c2,…,cm are real numbers 3.
- Span: The span of a set of vectors {x1,…,xm}, denoted as span{x1,…,xm}, is the set of all possible linear combinations of these vectors: {c1x1+⋯+cmxm∈Rn∣c1,…,cm∈R} 5.
📝 Given vectors x=(21) and y=(4−1), compute the linear combination −3x+2y.
−3x=−3(21)=(−6−3) 2y=2(4−1)=(8−2) −3x+2y=(−6−3)+(8−2)=(2−5) 3 4.
1.2 Properties of spans 10
The span of a set of vectors has several important properties, including the guaranteed presence of the zero vector and its geometric interpretation as lines, planes, or the entire space.
-
Zero vector inclusion: The span of any nonempty set of vectors always contains the zero vector. This is achieved by setting all scalar coefficients in the linear combination to zero 8.
-
Geometric interpretation:
-
The span of a single nonzero vector forms a line passing through the origin 5.
-
The span of two non-collinear vectors forms a plane passing through the origin 6.
-
The span of three non-coplanar vectors in R3 forms the entire R3 space 10.
-
Closure under addition and scaling: If two points x and y are in the span of a set of vectors, then any point on the line passing through x and y is also in the span. This demonstrates that spans are closed under linear combinations 9.
📝 Consider vectors v1=100, v2=010, and v3=001. Plot span{v1}, span{v2}, span{v1,v2}, and span{v1,v2,v3}.
span{v1} is the x-axis. span{v2} is the y-axis. span{v1,v2} is the x1x2-plane (where x3=0). span{v1,v2,v3} is the entire R3 space 10.
| Vector Set | Geometric Interpretation in R3 |
|---|---|
| span{v1} | A line through the origin |
| span{v1, v2} | A plane through the origin (if v1 and v2 are not collinear) |
| span{v1, v2, v3} | The entire R3 space (if v1, v2, and v3 are not coplanar) |
1.3 Matrix multiplication as a linear combination
Matrix multiplication can be interpreted as forming a linear combination of the columns of the matrix. This perspective connects the algebraic operation of multiplication to the geometric concept of spans.
- Matrix-vector product: When a matrix A is multiplied by a vector x, the resulting vector is a linear combination of the columns of A. The coefficients of this linear combination are the entries of the vector x .
📝 Let A=(214−1) and x=(−32). Show that Ax is a linear combination of the columns of A.
The columns of A are a1=(21) and a2=(4−1). Ax=(214−1)(−32)=((2)(−3)+(4)(2)(1)(−3)+(−1)(2))=(−6+8−3−2)=(2−5). This result is equal to −3(21)+2(4−1), which is a linear combination of the columns of A with coefficients −3 and 2 from x 3 4 .
2. Matrix Multiplication as a Linear Combination
2.1 Matrix multiplication as a linear combination of columns
The product of a matrix A and a vector x, denoted Ax, can be interpreted as a linear combination of the columns of matrix A. This perspective offers a different, yet equivalent, way to understand matrix multiplication, complementing the row-by-row inner product definition 11.
In general, if matrix A has columns a1,a2,…,an and vector x has components x1,x2,…,xn, then the product Ax is expressed as: Ax=∣a1∣∣a2∣⋯∣an∣x1x2⋮xn=x1a1+x2a2+⋯+xnan This sum, x1a1+x2a2+⋯+xnan, is precisely a linear combination of the columns of A 11.
2.2 Activity 1: Linear combinations and solutions
This activity explores the relationship between the existence of a solution to Ax=b and the properties of vector b in relation to the columns of matrix A 12.
Consider the equation Ax=b. If this equation has a solution, then the following statements hold true:
- b is a linear combination of the columns of A: This is true because the definition of matrix-vector multiplication Ax as a linear combination of the columns of A means that any vector b that can be formed by Ax must be a linear combination of those columns.
- b is in span{a1, a2,..., an}: This is also true, as the span of a set of vectors is the set of all possible linear combinations of those vectors. If b is a linear combination of the columns of A, it must be within their span 12.
The following statements are false:
- b is a linear combination of the rows of A: While rows are involved in the calculation of Ax via inner products, the resulting vector b is not directly expressed as a linear combination of the rows.
- b is in span{x}: The vector b is a result of combining the columns of A scaled by the components of x, not a linear combination of the components of x itself 12.
3. Column Space
3.1 Definition of Column Space
The column space of a matrix A, denoted C(A), is the set of all possible linear combinations of its column vectors. This means that for any vector b within the column space of A, there exists a vector x such that the matrix equation Ax=b holds true.
Conversely, if a vector d is not in the column space of A, no such vector x exists to satisfy Ax=d 13.
The condition for a vector b to be in the column space of A is equivalent to the matrix equation Ax=b having a solution. This is also equivalent to b being a linear combination of the columns of A, or b belonging to the span of the column vectors of A 13.
3.2 Example: Vectors in the Column Space
Consider the matrix A=[24−4−8] 14.
3.3 Identifying vectors in C(A)
Three vectors in C(A) can be found by taking linear combinations of the columns of A. For instance, using the first column:
- 1⋅[24]=[24]
- 3⋅[24]=[612]
Using both columns:
- 3⋅[24]+2⋅[−4−8]=[612]+[−8−16]=[−2−4] 14.
3.4 Checking membership in C(A)
To determine if b=[−3−6] is in C(A), we check if the system Ax=b is consistent. This involves computing the ranks of A and the augmented matrix [A∣b] 14.
The augmented matrix is [A∣b]=[24−4−8−3−6]. Performing row operations: [24−4−8−3−6]R2+=−2R1[20−40−30] 14.
Since rank(A)=1 and rank([A∣b])=1, the system is consistent, meaning b∈C(A) 14.
3.5 Expressing b as a linear combination
To write b as a linear combination of the columns of A, we solve the system Ax=b. From the row-reduced augmented matrix [20−40−30], we have 2x1−4x2=−3 15.
Letting x2=0, we find 2x1=−3, so x1=−3/2. Thus, x=[−3/20] 15.
We can verify this: Ax=[24−4−8][−3/20]=[2(−3/2)+(−4)(0)4(−3/2)+(−8)(0)]=[−3−6]=b 15.
Therefore, b=−23[24]+0[−4−8] 15.
📝 For the matrix A=[24−4−8], the vector b=[−3−6] is in the column space because the equation Ax=b is consistent, with a solution x=[−3/20], showing b as a linear combination of A's columns 15.
3.6 Activity: Checking Membership in Column Space
Determine if the vector c=[10] is in the column space of A=[24−4−8] 16.
To do this, we check if the system Ax=c is consistent by examining the ranks of A and the augmented matrix [A∣c] 16.
The augmented matrix is [A∣c]=[24−4−810]. Performing row operations: [24−4−810]R2+=−2R1[20−40−2−2] 16.
Here, rank(A)=1, but rank([A∣c])=2. Since the ranks are not equal, the system is inconsistent, and therefore c is not in the column space of A 16.
4. Null Space
4.1 Definition of the null space
The null space of a matrix A, denoted as N(A), is the set of all vectors x in Rn such that Ax=0. This set contains all vectors that are mapped to the zero vector by the matrix A 17.
4.2 Checking if a vector is in the null space
To determine if a vector is in the null space of a matrix A, you must check if the product of A and the vector equals the zero vector 18.
📝 Let A=[24−4−8].
(a) Determine whether x=[01] is in N(A). Ax=[24−4−8][01]=[2(0)−4(1)4(0)−8(1)]=[−4−8]=0. Thus, x∈/N(A).
(b) Determine whether y=[21] is in N(A). Ay=[24−4−8][21]=[2(2)+(−4)(1)4(2)+(−8)(1)]=[4−48−8]=[00]=0. Thus, y∈N(A) 18.
4.3 Expressing the null space as a span
To find the null space of a matrix A, solve the homogeneous equation Ax=0 by performing row operations on A to find its reduced row echelon form (RREF). The solution set, expressed in terms of free variables, can then be written as a span of vectors 19.
📝 For the matrix A=[24−4−8], we solve Ax=0: [24−4−800]R2←R2−2R1[20−4000]. This yields 2x1−4x2=0, or x1=2x2. With x2 as a free variable, the general solution is x=[2x2x2]=x2[21]. Therefore, N(A)=span{[21]} 19.
4.4 Homogeneous equations revisited
Solving Ax=0 is equivalent to solving a homogeneous system of linear equations. When row-reducing the augmented matrix [A∣0], the zero column remains unchanged.
This means we can simply perform row operations on matrix A itself to find the RREF of A, and then solve the resulting system 20.
📝 Consider A=101010101434. To find N(A), we row reduce A: 101010101434R3←R3−R1100010100430. The system is x1+x3+4x4=0 and x2+3x4=0. With x3 and x4 as free variables, x1=−x3−4x4 and x2=−3x4. The general solution is x=x3−1010+x4−4−301. Thus, N(A)=span⎩⎨⎧−1010,−4−301⎭⎬⎫. The nullity of A is the number of free variables, which is 2 21 22.
4.5 Properties of the null space
The null space of any matrix A always contains the zero vector (0∈N(A)). Furthermore, if two vectors x and y are in N(A), then any linear combination of these vectors, ax+by, is also in N(A).
This means the null space is a subspace 23.
The solution set of a non-homogeneous equation Ax=b can be expressed in relation to the null space. If x∗ is a particular solution to Ax=b, then any other solution can be written as x∗+y, where y is any vector in the null space of A.
Conversely, for any y∈N(A), the vector x∗+y is a solution to Ax=b 25.
Informally, the solution set S of Ax=b can be thought of as S=x∗+N(A), where x∗ is a particular solution. Formally, S={x∗+y∣y∈N(A)} 26.
📝 Given A=101010101434 and b=565. We know N(A)=span⎩⎨⎧−1010,−4−301⎭⎬⎫. If (3,6,0,1) is a particular solution to Ax=b, then the solution set is: S=⎩⎨⎧3601+s−1010+t−4−301∣s,t∈R⎭⎬⎫. Informally, S=3601+N(A) 27 28.
4.6 Comparison of column space and null space 29
| Feature | Column Space (𝒞(𝐴)) | Null Space (𝒩(𝐴)) |
|---|---|---|
| Subset of | ℝᵐ | ℝⁿ |
| Writing as a span | Easy | Hard |
| Checking if vector is in space | Hard | Easy |
| Finding a nonzero vector | Easy | Hard |
5. Linear Dependence and Linear Independence
5.1 Redundant Vectors
A vector is considered redundant within a set if it can be expressed as a linear combination of the other vectors in that set. Identifying redundant vectors is crucial for simplifying sets of vectors while preserving their span.
If a vector is redundant, removing it does not change the overall span of the set 31.
- Redundant vector definition: A vector xN is redundant in the set {x1,x2,…,xN−1,xN} if it can be written as a linear combination of the preceding vectors: xN=c1x1+c2x2+⋯+cN−1xN−1 31.
- Redundancy and span: If a vector xN is redundant in a set {x1,x2,…,xN}, then the span of the set remains unchanged if xN is removed: span{x1,x2,…,xN−1}=span{x1,x2,…,xN}.
- Redundancy and linear combinations: If xN is redundant, there exist scalars c1,c2,…,cN, not all zero, such that c1x1+c2x2+⋯+cNxN=0. This is achieved by setting cN=−1 and the other coefficients as per the linear combination 32.
📝 In the set of vectors {(12),(02),(32)}, the vector (32) is redundant because it can be written as 3(12)+2(02) 30.
5.2 Linear Independence and Dependence 47
A set of vectors is linearly independent if it contains no redundant vectors. Conversely, a set is linearly dependent if at least one vector can be expressed as a linear combination of the others.
This concept is formally defined by the existence of a nontrivial solution to a specific linear system 33.
A set of vectors {v1,…,vm} in Rn is:
- Linearly independent: if c1v1+⋯+cmvm=0 for all scalars c1,…,cm, with at least one nonzero value.
- Linearly dependent: if there exist scalars c1,…,cm, not all zero, such that c1v1+⋯+cmvm=0 33.
Determining linear dependence is equivalent to finding a nontrivial solution to the matrix equation Ac=0, where A is the matrix formed by the vectors as columns and c is the vector of coefficients 33.
| Condition | Linear Independence | Linear Dependence |
|---|---|---|
| Non-trivial solution to Ac=0 | No | Yes |
| Redundant vectors | No | Yes |
| Span of vectors | Minimal set for span | Can be reduced without changing span |
5.3 Checking for Linear Dependence
To determine if a set of vectors is linearly dependent or independent, we can set up a matrix equation where the vectors form the columns. We then attempt to find nontrivial solutions to the homogeneous system Ac=0 using row reduction 34.
- Procedure: Form a matrix A with the vectors as columns. Augment this matrix with a zero vector: [A∣0]. Perform Gauss-Jordan elimination to reduce the augmented matrix to its row-echelon form.
- Interpreting results:
- If the row-reduced form has a pivot in every column corresponding to a vector, then the only solution is the trivial solution (c=0), and the set is linearly independent 36.
- If there are free variables (columns without pivots), then nontrivial solutions exist, and the set is linearly dependent. 34 38.
📝 Determine if {v1,v2} is linearly dependent or independent, where v1=(11) and v2=(22) 34.
📝 Determine if {v1,v2} is linearly dependent or independent, where v1=(−23) and v2=(11) 36.
📝 Determine if {y1,y2,y3} is linearly dependent or independent, where y1=(24), y2=(10), and y3=(01) 38.
5.4 Properties of Linear Independence
Several theorems and properties relate linear independence to matrix invertibility and the number of vectors in a set. These properties provide shortcuts for determining linear dependence without always resorting to row reduction. 41 42 44 45.
-
Invertible Matrix Theorem: For an n×n matrix A with columns {a1,a2,…,an}:
-
A is invertible if and only if Ax=0 has only the trivial solution x=0.
-
A is invertible if and only if {a1,a2,…,an} is linearly independent.
-
A is singular if and only if Ax=0 has infinitely many solutions.
-
A is singular if and only if {a1,a2,…,an} is linearly dependent 41.
-
Number of vectors: If a set of vectors S={x1,x2,…,xp} in Rn has more vectors than dimensions (p>n), then the set S is linearly dependent 42.
-
Presence of the zero vector: If a set of vectors contains the zero vector (0), then the set is linearly dependent. The zero vector is always redundant because it can be written as 0⋅v1+0⋅v2+⋯+c⋅0=0 for any nonzero scalar c 44.
-
Vector in the span: If a vector y is in the span of a set of vectors {x1,x2,…,xn}, and y is not already in that set, then the set {x1,x2,…,xn,y} is linearly dependent. This is because y can be written as a linear combination of {x1,…,xn}, making it redundant 45.
| Condition | Result |
|---|---|
| p>n for a set of p vectors in Rn | Linearly dependent |
| Set contains 0 | Linearly dependent |
| y∈span{x1,…,xn} and y∈/{x1,…,xn} | {x1,…,xn,y} is linearly dependent |
📝 Consider y=21x1+x2, where x1,x2∈R3 46.
6. Vector Spaces
6.1 Vector spaces and closure
A vector space is a set of objects, called vectors, for which two operations are defined: vector addition and scalar multiplication. These operations must satisfy specific closure properties.
The set R𝑛, containing column vectors, is a fundamental example of a vector space 49.
- Closure under addition: For any two vectors x and y in the set, their sum x+y must also be in the set.
- Closure under scalar multiplication: For any vector x in the set and any scalar s (a real number), the product sx must also be in the set 49.
6.2 Vector subspaces of Rⁿ
A vector subspace of Rⁿis a subset of Rⁿthat itself forms a vector space under the same operations of vector addition and scalar multiplication. To be a subspace, a subset must satisfy three conditions 52.
- Contains the zero vector: The subset must include the zero vector 0.
- Closed under addition: If u and v are in the subset, then u+v must also be in the subset.
- Closed under scalar multiplication: If u is in the subset and t is any real number, then tu must also be in the subset 52.
The null space of a matrix A, denoted N(A), is a vector subspace of Rⁿ. This means it contains the zero vector, is closed under vector addition, and is closed under scalar multiplication 50.
- Zero vector in null space: A0=0.
- Closure under addition: If Ax1=0 and Ax2=0, then A(x1+x2)=Ax1+Ax2=0+0=0.
- Closure under scalar multiplication: If Ax=0 and s∈R, then A(sx)=s(Ax)=s0=0 50.
The set containing only the zero vector, {0}, is called the trivial subspace of Rⁿ. It satisfies all three conditions for being a subspace 53.
The span of a set of vectors {x1,…,xm} in Rⁿis always a vector subspace of Rⁿ 54.
- Zero vector in span: The zero vector can be formed by setting all scalar coefficients to zero: 0x1+⋯+0xm=0.
- Closure under addition: The sum of two linear combinations of the vectors is also a linear combination of those vectors.
- Closure under scalar multiplication: A scalar multiple of a linear combination of the vectors is also a linear combination of those vectors 54.
6.3 Examples of subspaces and non-subspaces
The set S:={(x1,0)∈R2∣x1∈R} is a subspace of R². It contains the zero vector (0,0), is closed under addition because (y1,0)+(z1,0)=(y1+z1,0), and is closed under scalar multiplication because t(y1,0)=(ty1,0) 55.
The set S:={(x,y)∈R2∣x2+y2≤1} is not a subspace of R². While it contains the zero vector (0,0), it fails the closure under addition property.
For instance, (0,1)∈S and (1,0)∈S, but their sum (1,1) has 12+12=2, which is not less than or equal to 1, so (1,1)∈/S 56.
The set S:={(x,y)∣x∈Z,y∈Z} (pairs of integers) is not a subspace of R². It fails the closure under scalar multiplication property.
For example, (1,0)∈S, but multiplying by the scalar 1/2 yields (1/2,0), and 1/2 is not an integer, so (1/2,0)∈/S 56.
The set S:={(x,y)∣x=0 or y=0} is not a subspace of R². It contains the zero vector (0,0).
It is closed under scalar multiplication, as s(z1,0)=(sz1,0) and s(0,z2)=(0,sz2) are both in S. However, it fails the closure under addition property.
Adding (1,0)∈S and (0,1)∈S results in (1,1), which has neither x=0 nor y=0, so (1,1)∈/S 58.
📝 Consider the set S:={(x,y)∈R2∣x2+y2≤1}.
- Zero vector: (0,0) is in S because 02+02=0≤1.
- Closure under addition: (0,1)∈S and (1,0)∈S. Their sum is (1,1). However, 12+12=2, which is not ≤1, so (1,1)∈/S. Thus, S is not closed under addition and is not a subspace 56.
7. Abstract Vector Spaces
7.1 Abstract vector spaces
We broaden the definition of a "vector" beyond column vectors to include other mathematical objects that support addition and scalar multiplication. These objects are called vectors because of what we can do with them: add them together and multiply them by scalars.
A set of these objects, along with the defined operations, forms a vector space if linear combinations of any two objects within the set remain within that set 60 62.
- Column vectors: These are the familiar vectors from previous studies, supporting addition and scalar multiplication.
- Matrices: Matrices also allow for element-wise addition and scalar multiplication, fitting the definition of vectors in an abstract sense.
- Arrows: Geometric vectors, represented as arrows, can be added using the parallelogram rule and scaled by a scalar 60.
- Polynomials: Quadratic polynomials, for instance, can be added by combining like terms, and can be multiplied by a scalar, with the result still being a polynomial of the same or lesser degree 61.
7.2 Definition of a real vector space 63
A real vector space, denoted as (V,+,⋅), is a set V equipped with an addition operator '+' and a scalar multiplication operator '⋅' that satisfy specific properties. These properties ensure that the operations are well-behaved and consistent with the concept of linear combinations 63.
The core requirements for a set V to be a real vector space are:
- Closure under addition: For any two vectors v1,v2∈V, their sum v1+v2 must also be an element of V.
- Closure under scalar multiplication: For any scalar s∈R and any vector v∈V, the product s⋅v must also be an element of V 63.
Additionally, vector addition and scalar multiplication must adhere to a set of algebraic properties.
| Property Type | Property Name | Mathematical Statement |
|---|---|---|
| Vector Addition | Associative | v1+(v2+v3)=(v1+v2)+v3 |
| Vector Addition | Commutative | v1+v2=v2+v1 |
| Vector Addition | Additive Identity | v+0=v |
| Vector Addition | Additive Inverse | v+(−v)=0 |
| Scalar Multiplication | Scalar Multiplicative Identity | 1⋅v=v |
| Scalar Multiplication | Distributive (over vector addition) | a⋅(v1+v2)=a⋅v1+a⋅v2 |
| Scalar Multiplication | Distributive (over scalar addition) | (a+b)⋅v1=a⋅v1+b⋅v1 |
| Scalar Multiplication | Compatibility | (ab)⋅v1=a⋅(b⋅v1) |
It is common to omit the dot symbol (⋅) for scalar multiplication, and often the entire vector space (V,+,⋅) is referred to simply as V 63.
8. Polynomials as a Vector Space
8.1 Monomials and Polynomials
A monomial is a term of the form xk, where k is a non-negative integer. A polynomial is a linear combination of one or more monomials.
The degree of a polynomial is the highest degree of its non-zero terms 64.
- Example: Degree of polynomials
- −4x2+2x: Degree 2.
- x+3: Degree 1.
- 15: Degree 0 (since 15=15x0).
- 1+2x2+0x9: Degree 2 (the 0x9 term is zero) 64.
8.2 The Polynomial Space Pn
The set of all polynomials with a degree less than or equal to n is denoted by Pn. This set includes polynomials of lower degrees to ensure closure under addition 64 66.
- P1={a1x+a0∣a0,a1∈R}.
- P2={a2x2+a1x+a0∣a0,a1,a2∈R} 65.
Why include polynomials with degree less than n in Pn? Linear combinations can result in lower-degree polynomials. Including them ensures Pn is closed under addition.
For instance, (x2+3x)+(−x2+5x)=8x, which is a degree 1 polynomial 66.
8.3 Polynomial Addition and Scalar Multiplication
Within Pn, addition and scalar multiplication are defined as follows:
- Addition: For any p,q∈Pn, their sum (p+q)(x) is the polynomial obtained by adding p(x) and q(x) as real numbers.
- Scalar Multiplication: For any p∈Pn and s∈R, the scalar product (s⋅p)(x) is the polynomial obtained by multiplying p(x) by s 67.
8.4 Pn as a Vector Space
The set of polynomials Pn, with the defined addition and scalar multiplication, forms a vector space. This means it satisfies the vector space axioms 68.
- Example: Polynomials in P2 Let p(x)=1+4x2 and q(x)=−x2.
- Show p+q∈P2: (p+q)(x)=(1+4x2)+(−x2)=1+3x2. This is a degree 2 polynomial, so it is in P2.
- Show 5⋅p∈P2: (5⋅p)(x)=5(1+4x2)=5+20x2. This is a degree 2 polynomial, so it is in P2.
- Show 0⋅p∈P2: (0⋅p)(x)=0(1+4x2)=0. The zero polynomial is in P2 68.
📝 Consider the polynomials p(x)=2x2−x+3 and q(x)=−x2+5x−1 in P2.
- Sum: (p+q)(x)=(2x2−x+3)+(−x2+5x−1)=x2+4x+2. This is in P2.
- Scalar Multiple: (3⋅p)(x)=3(2x2−x+3)=6x2−3x+9. This is in P2 68.
9. Basis and Coordinate Vectors
9.1 Polynomials as a vector space
To analyze polynomials using linear algebra tools, we can convert them into column vectors. Every polynomial can be expressed as a linear combination of monomials.
For a polynomial p(x)=a0+a1x+a2x2, we can represent it using a matrix and a column vector: p(x)=[1xx2]a0a1a2. The ordered set of monomials {1,x,x2} is called a basis for the space of polynomials P2, and the column vector a0a1a2 is its coordinate vector relative to this basis 69.
9.2 Basis definition
A basis for a vector space V is a set of vectors {b1,b2,…,bn} that satisfies two conditions:
- Spanning set: Every vector x∈V can be written as a linear combination of the basis vectors. This means span{b1,b2,…,bn}=V.
- Linear independence: The coefficients of the linear combination representing any vector x are unique. This implies that the set of basis vectors does not contain any redundant vectors.
A basis is essentially a minimum spanning set for a vector space 70.
📝 A basis for a vector space V is a set of vectors {b1,b2,…,bn} that spans V and is linearly independent 70.
9.3 Theorem on unique coefficients
If a set of vectors {v1,v2,…,vn} is linearly independent and a vector y is in their span, then there is exactly one unique choice of coefficients c1,c2,…,cn such that y=c1v1+c2v2+⋯+cnvn. This uniqueness arises because if two different sets of coefficients existed, their difference would form a linear combination of the linearly independent vectors equaling the zero vector, which is only possible if all coefficients in the difference are zero 71.
9.4 Basis definition formal
Let V be a vector space. A set {b1,…,bn} is a basis of V if:
- span{b1,…,bn}=V
- {b1,…,bn} is linearly independent 72.
9.5 Examples of bases in R2
Two sets, B1:={[10],[01]} and B2:={[−12],[11]}, are both bases of R2 73.
9.6 Showing a set is a basis for R2
To show that a set B={b1,b2} is a basis for R2, we must demonstrate two properties:
- Span: Any vector x=[x1x2]∈R2 can be written as a linear combination x=c1b1+c2b2. This can be checked by forming the matrix with basis vectors as columns and solving the system Ac=x. If the system is consistent for all x, the set spans R2.
- Linear Independence: The only solution to c1b1+c2b2=0 is c1=0 and c2=0. This can be verified by checking if the matrix formed by the basis vectors is invertible or has rank equal to the dimension of the space 74 75.
9.7 Standard basis vectors
The basis {[10],[01]} is called the standard basis of R2. Similarly, the set ⎩⎨⎧100,010,001⎭⎬⎫ is the standard basis of R3.
The vectors e1=[10] and e2=[01] are known as standard basis vectors 76.
9.8 How to show a set spans a vector space
To demonstrate that a set of vectors {b1,…,bn} spans a vector space V:
- Select an arbitrary vector v∈V.
- Set up an equation where v is a linear combination of the basis vectors: v=c1b1+c2b2+⋯+cnbn.
- Convert this equation into an augmented matrix and show that the system of linear equations is consistent for all possible v 77.
9.9 Methods for showing linear independence
To determine if a set of vectors {v1,v2,…,vp}⊂Rn is linearly independent:
- If p>n, the set is always linearly dependent.
- If p=n, the set is linearly independent if and only if the matrix formed by these vectors as columns is invertible.
- If p<n, the set is linearly independent if the rank of the matrix formed by these vectors as columns is equal to p.
The columns of a matrix A=[v1v2…vn] are linearly independent if and only if the equation Ax=0 has no free variables (i.e., has a unique solution x=0), which is equivalent to null(A)=0 or rank(A)=n 78.
| Condition | Linear Independence of {b1,..., bp} ⊂ R^n |
|---|---|
| p > n | Always dependent |
| p = n | Independent iff matrix A = [b1... bp is invertible |
| p < n | Independent iff rank(A) = p |
📝 For a set of p vectors in Rn, if p>n, the set is always linearly dependent. If p=n, the set is linearly independent if and only if the matrix formed by these vectors as columns is invertible 78.
9.10 Part (a): Basis for R2
Determine if B:={[1−1],[11]} is a basis for R2.
- Span: Check if the matrix A=[1−111] has rank 2. If rank(A)=2, it spans R2.
- Linear Independence: Check if the rank of A is equal to the number of vectors, which is 2. Since rank(A)=2, the set is linearly independent. Therefore, B is a basis for R2 79.
9.11 Part (b): Inserting a vector into a basis
If a new vector x is inserted into an existing basis B of a vector space V, the new set B∪{x} will no longer be a basis for V for one of two reasons:
- If x is in the span of B (i.e., x∈V), then x is redundant, making the new set linearly dependent.
- If x is not in the span of B (i.e., x∈/V), then the span of the new set will not be equal to V 79.
9.12 Vector coordinates
Coordinate vectors represent vectors relative to a chosen basis. If B={b1,…,bn} is a basis for a vector space V, then any vector x∈V can be uniquely written as x=c1b1+c2b2+⋯+cnbn.
The coordinate vector of x with respect to the basis B, denoted as [x]B, is the column vector c1c2⋮cn 69 70.
| Concept | Description |
|---|---|
| Basis | A minimum spanning set for a vector space that is also linearly independent. |
| Coordinate Vector | A column vector representing a vector's components with respect to a specific basis. |
10. Dimension
10.1 Definition of dimension
The dimension of a vector space V, denoted dim V, is the minimum number of vectors required to span V. Equivalently, every basis of V contains dim(V) vectors 81.
10.2 Basis and dimension of column space
The pivot columns of a matrix A are those columns containing a pivot position after row reduction. These pivot columns have several key properties related to the column space C(A):
- The pivot columns of A span C(A).
- The pivot columns of A are linearly independent.
- The pivot columns of A form a basis for C(A).
- The dimension of the column space, dim(C(A)), is equal to the number of pivot columns, which is also known as the rank of A 82.
Consider the matrix A:=[112256] To find a basis for C(A) and its dimension, we row reduce A: A=[112256]R2+=−R1[102051] The first and third columns are pivot columns. Therefore, the first and third columns of the original matrix A form a basis for C(A): B:={[11],[56]}⊂R2 The dimension of C(A) is thus dim(C(A))=rank(A)=2 83.
📝 For the matrix A:=[112256], the pivot columns are the first and third columns. Thus, the first and third columns of the original matrix A, {[11],[56]}, form a basis for the column space C(A), and dim(C(A))=2 83.
10.3 Dimension of null space
Every non-pivot column in the row-reduced echelon form (RREF) of a matrix A can be expressed as a linear combination of the pivot columns. This means that the non-pivot columns are redundant in terms of spanning the column space 84.
Each non-pivot column corresponds to a free variable in the solution set of Ax=0. The number of non-pivot columns is equal to the nullity of A.
Each free variable generates a vector in the basis of the null space N(A). Consequently, the dimension of the null space is equal to the nullity of A: dim(N(A))=null(A).
For instance, if there are two free variables, s and t, the null space can be expressed as N(A)={sv1+tv2∣s,t∈R} 85.
10.4 Basis theorem
For a vector space V with dimension n (dim(V)=n), the following properties hold:
- Any set of n linearly independent vectors in V forms a basis for V.
- Any set of n vectors that spans V forms a basis for V.
If any two of the three properties—linear independence, spanning V, and having n vectors—are met for a set B, then the third property also holds, and B is a basis of V 85.
| Property | Condition | Result |
|---|---|---|
| Linear Independence | Set of n vectors | Basis of V |
| Spanning V | Set of n vectors | Basis of V |
| Basis of V | Set of n vectors | Linearly Independent and Spans V |
11. Coordinates Relative to a Basis
11.1 Definition of coordinates relative to a basis
A basis for a vector space provides a unique way to represent any vector within that space. This unique representation allows us to define a coordinate system.
For a vector space V with a basis B:={b1,b2,…,bn}, any vector x∈V can be uniquely expressed as a linear combination of the basis vectors: x=c1b1+c2b2+⋯+cnbn. The coefficients c1,c2,…,cn are known as the coordinates of x relative to B.
These coordinates are collected into a column vector, called the coordinate vector of x relative to B, denoted as [x]B: [x]B:=c1c2⋮cn. The order of the basis vectors in B is crucial for determining the coordinate vector 86.
When V is a subspace of Rn, the relationship between the basis vectors, their coordinates, and the vector x can be expressed as: ∣b1∣∣b2∣…∣bn∣c1c2⋮cn=x or B[x]B=x, where B is the matrix whose columns are the basis vectors 87.
11.2 Finding coordinate vectors in R^n
To find the coordinate vector of a vector x relative to a basis B in Rn, we set up a system of linear equations. This involves expressing x as a linear combination of the basis vectors and solving for the coefficients.
The augmented matrix for this system is formed by placing the basis vectors as columns and the vector x as the augmented column. Row reduction is then used to solve for the coefficients 88.
Consider the basis B:={[12],[10]}. To find the coordinate vector of x2:=[1−3] relative to B: We need to solve c1[12]+c2[10]=[1−3].
The augmented matrix is [1210∣∣1−3]. Row reducing this matrix: [1210∣∣1−3]R1←R1−21R2[101−1∣∣1−3]R2←−R2[1011∣∣13]R1←R1−R2[1001∣∣−23].
Thus, c1=−2 and c2=3. The coordinate vector is [x2]B=[−23] 88.
To check the answer: c1[12]+c2[10]=−2[12]+3[10]=[−2−4]+[30]=[1−4].
[1210∣∣1−3]R1+=−21R2[1012∣∣1−3]21R2[1011∣∣1−3/2].
Source's row reduction: [1210∣∣1−3]R1+=−21R2[1012∣∣1−3] This step seems incorrect as it modifies the first row based on the second, but the second row is not changed. Let's assume the intended operation was to eliminate the '2' in the first column of the second row.
Let's use the source's provided row reduction steps and resulting values: [1210∣∣1−3]R1+=−21R2[1012∣∣1−3] (This step is unusual, typically one would operate on the second row to eliminate the 2). The source then shows: ∼[10015/2−3/2] This implies the following operations were performed:
- From [1012∣∣1−3], apply 21R2→R2: [1011∣∣1−3/2].
- Then apply R1←R1−R2: [1001∣∣1−(−3/2)−3/2]=[1001∣∣5/2−3/2]. So, c1=5/2 and c2=−3/2. The coordinate vector is [x2]B=[5/2−3/2] 88.
Check: 25[12]+(−23)[10]=[5/25]+[−3/20]=[5/2−3/25]=[2/25]=[15]. There is still a discrepancy with the target vector [1−3].
Let's re-read the source's check.
Source's check: c1[11]+c2[12]=25[11]+(−23)[12]=[5/25/2]+[−3/2−3]=[2/2−1/2]=[1−1/2].
Let's assume the basis in the example was intended to be B:={[11],[12]} and the vector is x2:=[1−3]. Then c1[11]+c2[12]=[1−3].
Augmented matrix: [1112∣∣1−3]R2←R2−R1[1011∣∣1−4]R1←R1−R2[1001∣∣5−4]. So, c1=5 and c2=−4. [x2]B=[5−4].
Check: 5[11]−4[12]=[55]−[48]=[1−3]. This matches.
Given the instructions to reproduce the source exactly, we will present the source's calculation and its stated check, acknowledging the inconsistency.
The source's calculation for x2=[1−3] relative to B:={[12],[10]}: We need to solve c1[12]+c2[10]=[1−3]. Row reducing the augmented matrix: [1210∣∣1−3]R1+=−21R2[1012∣∣1−3]21R2[1011∣∣1−3/2].
The source then states: ∼[10015/2−3/2]. This implies c1=5/2 and c2=−3/2.
So, [x2]B=[5/2−3/2] 88.
Source's check: c1[11]+c2[12]=25[11]+(−23)[12]=[5/25/2]+[−3/2−3]=[2/2−1/2]=[1−1/2]. This check does not match the original vector [1−3] and uses different basis vectors than stated in the problem 88.
11.3 Activity 6: Finding coordinate vectors in a subspace
Consider a vector space V with basis B:=⎩⎨⎧321,2−10⎭⎬⎫. The dimension of V is 2, as there are two basis vectors 89.
To find the coordinate vector of x=469 relative to B: We solve c1321+c22−10=469. The augmented matrix is 3212−10∣∣∣469.
Row reducing the augmented matrix: 3212−10∣∣∣469R3↔R11230−12∣∣∣964R2←R2−2R1,R3←R3−3R11000−12∣∣∣9−12−23R2←−R2100012∣∣∣912−23R3←R3−2R2100010∣∣∣912−47. This row reduction leads to an inconsistent system (0=−47), indicating no solution exists.
3212−10∣∣∣469R3+=−3R1[402−16−3].
Let's follow the source's stated row reduction steps and resulting matrix: 3212−10∣∣∣469 The source shows an intermediate step that seems to be missing the first column and the third row: [402−16−3] This is highly unusual. Let's assume the source meant to perform operations on the full matrix.
The source then shows: ∼100010430. This implies that the system was consistent and yielded c1=4 and c2=3.
This result is obtained if the augmented matrix was: 3212−10∣∣∣1834 Or if the vector x was 1834 and the basis was B:=⎩⎨⎧321,2−10⎭⎬⎫.
Let's assume the source's final row-reduced form is correct for some input, and extract the stated result. According to the source, c1=4 and c2=3.
Thus, [x]B=[43] 89.
We only get two coordinates, one for each basis vector 89.
Check: 4321+32−10=1284+6−30=1854.
11.4 Dimension of coordinate vectors
The dimension of the coordinate vector corresponds to the dimension of the subspace, not the dimension of the ambient space. This means there is one coordinate for each basis vector 90.
12. Polynomial Vector Spaces
12.1 The standard basis for P_n
A polynomial p in Pn can be expressed as p(x):=a0+a1x+a2x2+⋯+anxn. The set E:={1,x,x2,…,xn} forms a basis for Pn, known as the standard basis of Pn 91.
12.2 Coordinate vectors relative to a basis
The coordinate vector of a polynomial p relative to a basis E is a list of coefficients [p]E such that p(x) can be written as a linear combination of the basis vectors in E with these coefficients 91.
To find the coordinate vector of a polynomial p relative to a basis B={b1,b2,…,bn}, one sets up an equation where the polynomial p(x) is equal to a linear combination of the basis vectors: p(x)=c1b1(x)+c2b2(x)+⋯+cnbn(x). The coordinate vector is then [p]B=c1c2⋮cn 91.
📝 Consider p∈P2 given by p(x)=2−x+6x2. (a) Show that (2,−1,6) is the coordinate vector of p relative to E={1,x,x2}. (b) Show that (5,−1/3,4) is the coordinate vector of p relative to the basis B={1−x,6x2+9,x+2x2}.
Solution: (a) We have p(x)=2(1)+(−1)x+6x2, so [p]E=2−16. (b) To show that [p]B=5−1/34, use these coordinates as the coefficients of the basis vectors in B: 5(1−x)+(−31)(6x2+9)+4(x+2x2) =5−5x−2x2−3+4x+8x2 =2−x+6x2=p(x) 91.
13. Coordinate vectors of polynomials relative to bases
13.1 Coordinates relative to the standard basis
The coordinate vector of a polynomial relative to a basis represents the polynomial as a linear combination of the basis vectors. For a polynomial p(x) in P2 and the standard basis E={1,x,x2}, the coordinate vector [p(x)]E is found by matching the coefficients of the polynomial with the coefficients of the linear combination of basis vectors 92.
To find the coordinate vector of a polynomial p(x)=c1+c2x+c3x2 relative to E, we set up the equation: c1(1)+c2(x)+c3(x2)=p(x) By comparing the coefficients of the corresponding powers of x on both sides, we determine the values of c1,c2, and c3 92.
-
Polynomial p(x)=1:
-
We need c1+c2x+c3x2=1+0x+0x2.
-
Matching coefficients gives c1=1,c2=0,c3=0.
-
The coordinate vector is [1]E=100 92.
-
Polynomial p(x)=x:
-
We need c1+c2x+c3x2=0+1x+0x2.
-
Matching coefficients gives c1=0,c2=1,c3=0.
-
The coordinate vector is [x]E=010 93.
-
Polynomial p(x)=2−x+5x2:
-
We need c1+c2x+c3x2=2−1x+5x2.
-
Matching coefficients gives c1=2,c2=−1,c3=5.
-
The coordinate vector is [2−x+5x2]E=2−15 93.
13.2 Coordinates relative to a non-standard basis
Finding the coordinate vector relative to a non-standard basis requires solving a system of linear equations. For a basis B={b1,b2,b3} and a polynomial p(x), we seek coefficients c1,c2,c3 such that c1b1+c2b2+c3b3=p(x) 94.
This equation is expanded by distributing coefficients and collecting like terms. Equating the coefficients of the corresponding powers of x on both sides yields a system of linear equations for c1,c2, and c3 94.
Consider the basis B={1+x2,x,1−x2} for P2. To find the coordinate vector of p(x)=1 relative to B, we set up the equation: c1(1+x2)+c2(x)+c3(1−x2)=1 Expanding and collecting terms: (c1+c3)+c2x+(c1−c3)x2=1+0x+0x2 This leads to the system of equations:
- c1+c3=1
- c2=0
- c1−c3=0 Solving this system yields c1=1/2,c2=0,c3=1/2 95.
The coordinate vector of p(x)=1 relative to B is [1]B=1/201/2 95.
📝 Check the correctness of the coordinate vector for p(x)=1 relative to B: c1(1+x2)+c2(x)+c3(1−x2)=21(1+x2)+0(x)+21(1−x2) =21+21x2+21−21x2=1 96.
The following are practice problems:
- Find the coordinate vector of p(x)=x relative to B.
- Find the coordinate vector of p(x)=x2 relative to B.
- Find the coordinate vector of p(x)=2−x+5x2 relative to B 96.
© 2026 Maeve. All rights reserved. This content is protected by copyright.