- Learn
- Mathematics
- University Math
- Linear Algebra 1
- Dimension and Rank
Dimension and Rank
Dimension, Rank and Change of Basis
IntermediateLesson 6 of 9 in Linear Algebra 1 Course
What you will learn
- Explain why every basis of a space has the same number of vectors, find the dimension of spaces and subspaces, and use dimension to decide quickly whether a set of vectors is a basis.
- Define dimension and find it for familiar spacesLearn what dimension means, why it is well defined, and the dimensions of the spaces used throughout linear algebra.
- Find the dimension of a subspaceFind a basis and the dimension of a subspace given by a spanning set, by linear equations or inside a polynomial space, and compare a subspace's dimension with that of the whole space.
- Use the Basis Theorem to test and build basesUse the size of a space to decide whether a set can be a basis, check only one basis condition when the count is right, and extend or shrink a set to a basis.
- Define dimension and find it for familiar spaces
- Read the rank and nullity of a matrix from an echelon form, find bases for its column space, row space and null space, and use the Rank Theorem to answer questions about solutions, linear transformations and invertibility.
- Compute rank, nullity and bases from an echelon formRow reduce a matrix once and read off its rank, its nullity and bases for its column space, null space and row space.
- Apply the Rank Theorem to systems and transformationsUse the equation rank plus nullity equals the number of columns to find missing dimensions, rule out impossible matrices and decide whether systems have solutions and how many.
- Connect rank with invertibility and matrix productsAdd the rank conditions to the Invertible Matrix Theorem, recognize full row and column rank, and predict the rank of products, sums and rank-one matrices.
- Compute rank, nullity and bases from an echelon form
- Name the column space, null space, row space and left null space of a matrix, find bases and dimensions for all four from one row reduction, and use their relationships to decide which systems can be solved.
- Find bases and dimensions of all four subspacesIdentify where each of the four subspaces lives, state their dimensions from the rank, and find a basis of each, including the left null space.
- Use the relationships among the four subspacesUse the left null space to test whether a system can be solved, see why null space vectors are perpendicular to the rows, and reason about a matrix from the dimensions of its subspaces.
- Find bases and dimensions of all four subspaces
- Build the change-of-basis matrix between two bases of the same space, compute it by row reduction, and convert coordinate vectors in either direction.
- Understand what a change-of-basis matrix doesDescribe the same vector in two bases, build the matrix that converts one coordinate vector into the other, and reverse or chain such conversions.
- Compute change-of-basis matrices in ℝⁿ and in polynomial spacesFind the change-of-basis matrix between two bases of by one row reduction, and use standard coordinates to change bases in polynomial spaces.
- Understand what a change-of-basis matrix does
- Write the matrix of a linear transformation relative to bases of its domain and codomain, use it to compute images, kernels and ranks, and see how changing the basis changes the matrix through similarity.
- Build the matrix of a transformation relative to basesConstruct the matrix of a linear transformation between finite-dimensional spaces from its action on a basis, and use it to find images, the kernel and the rank.
- Change the basis of a transformation and recognize similar matricesFind the matrix of a transformation of a space into itself relative to a new basis, use the formula with the change-of-basis matrix, and explain what similar matrices share.
- Build the matrix of a transformation relative to bases
Dimension and Rank study guide
1Dimension and bases
Dimension measures how many independent choices a vector needs. The same idea works for arrows, polynomials, and matrices: find a basis and count its vectors. You will connect that count to familiar spaces, find dimensions from spans and equations, and use the Basis Theorem to test or build bases. Keeping the containing space separate from the subspace will help you decide which count matters in each problem.
1.1 Basis size and independent choices
A basis supplies independent building blocks for every vector in a space. Dimension counts those blocks. It measures independent choices, so it applies just as well to spaces of polynomials and matrices as to geometric vectors.
Why the count is well defined
A space is finite-dimensional when some finite set spans it. If a basis has vectors, every vector has a unique list of coordinates. More than coordinate vectors in are dependent, and the same dependence holds among the original vectors. Thus no independent set in the space has more than members.
Suppose two bases have sizes and . Each is independent, while the other spans the space, so and . Therefore . We can write without having to name a particular basis. The zero space has the empty set as its basis and dimension 0; the set containing the zero vector is dependent and is not a basis.
Count a familiar basis
| Space | A standard basis | Dimension |
|---|---|---|
| All real matrices | One matrix for each entry position, with 1 there and 0 elsewhere |
In , the coefficients of vary independently. There are three choices, including the constant coefficient, so its dimension is 3. The largest allowed degree is 2, but degree and dimension count different things.
A matrix space with linked entries
Every symmetric matrix can be written as
These three fixed matrices span the symmetric matrices. A zero combination forces by reading the entries, so they are independent. The dimension is 3, even though each matrix has four entries: the two off-diagonal entries must agree.
A line through the origin in has dimension 1. Its vectors have three entries, but every vector on the line is a multiple of one nonzero vector. Likewise, three multiples such as span a space of dimension 1. Neither the number of entries nor the size of a spanning list gives the dimension by itself.
When no finite basis works
The space of all polynomials is infinite-dimensional. The degrees in any finite list of polynomials have a bound, and its combinations cannot produce a polynomial beyond that bound. Also, is independent for every . Continuous functions on the real line form an infinite-dimensional space too, since that space contains all polynomials.
Check that a set is a vector space before applying this definition. The plane misses the zero vector and is not a subspace. The parallel plane is a subspace, with dimension 2.
Key Takeaways
- Dimension is the number of vectors in any basis.
- ; the constant term counts.
- The zero space has dimension 0 and the empty basis.
- Independent parameters can reveal a basis in matrix spaces.
- No finite set spans all polynomials.
1.2 Dimensions from spans and equations
To find a subspace’s dimension, first find enough independent vectors to describe it. The form in which the subspace is given determines the most convenient method: select from a span, solve homogeneous equations, or use coordinates in another vector space.
Start from a spanning set
Place the vectors in columns and row reduce. Each pivot marks a column that contributes a new independent direction. Choose those columns from the original matrix.
For , , , and , reduction gives
The pivot columns are 1 and 3. Thus is a basis and the dimension is 2. You can check the discarded vectors directly: and . Four listed vectors provide only two independent directions.
Start from equations
For the subspace defined by , isolate one variable:
Every solution is a combination of these two vectors. They are independent because the second and third entries of a zero combination force both coefficients to be zero. Therefore they are a basis of , and . With several equations, row reduction identifies which variables are genuinely free; dependent equations add no new restriction.
Use coefficient vectors for polynomials
Let . Write . The condition becomes , so
The two polynomials span . A zero combination has coefficient of equal to and coefficient of equal to , so both vanish. Hence is a basis and .
More generally, coordinates in a fixed basis preserve linear combinations and independence. For example, have coordinate columns in the basis . The second column repeats a direction, leaving a two-dimensional span. Work with the coefficients in a consistent order; the polynomials themselves are the vectors of the original space.
Compare with the containing space
If is a subspace and is finite-dimensional, then . An independent set in can be extended to a basis, and it cannot grow past a basis size of . If the two dimensions are equal, a basis of is already a basis of , so .
The subspaces of have dimensions 0, 1, 2, or 3: the zero space, lines through the origin, planes through the origin, and the whole space. In , only dimensions 0, 1, and 2 occur. A two-dimensional plane inside is not literally : its vectors have three entries. Two coordinates in a basis describe each of those vectors uniquely.
Key Takeaways
- Use original pivot columns to reduce a spanning set to a basis.
- A homogeneous solution space has one basis vector per free variable.
- Coordinates preserve dimension and independence.
- For , equal finite dimensions give .
1.3 Basis checks with the right count
Knowing a space’s dimension can save half of a basis check. A basis must both span the space and be independent, but when the number of vectors matches the dimension, either property forces the other.
Use the Basis Theorem
In a space of dimension , an independent set of exactly vectors is a basis. A spanning set of exactly vectors is also a basis.
Why does independence suffice? An independent set can be extended to a basis, but a basis has only members. A set already at that size needs no additions. Why does spanning suffice? A spanning set can be reduced to a basis by deleting dependent vectors. Deleting anything from a list of would leave too few vectors for a basis.
Compare the list’s size with the dimension before calculating:
| Number of vectors in a -dimensional space | What follows |
|---|---|
| Fewer than | They cannot span the space. |
| Exactly | Check independence or spanning. |
| More than | They are dependent. |
The middle row still needs a check. The two vectors have the right count for , but span only a line.
Check polynomials through coordinates
Consider in . All three belong to the space, whose dimension is 3. Their coordinate matrix is
Its determinant is , so its columns are independent. The Basis Theorem now supplies spanning, with no second calculation. In general, vectors in form a basis exactly when their column matrix is invertible, or equivalently has a nonzero determinant.
Extend an independent set
Add vectors outside the current span until the number equals the dimension. In , append all standard basis vectors to the given independent columns and row reduce. The original pivot columns of this larger matrix supply a basis containing the starting set.
For and in , append . The first three columns are pivots, so one extension is
To see why the new vector helps, a combination of the first two has form . It cannot equal . The three-column determinant is , confirming independence.
To shrink a spanning set, discard vectors expressible using the others. The original pivot columns keep the span and are independent, so the same reduction method selects a basis without trial-and-error deletions.
Work inside the intended space
The theorem applies to a subspace using that subspace’s dimension. The plane has dimension 2. Both and satisfy its equation, and they are not multiples. They therefore form a basis of the plane. Two independent vectors outside that plane would not be its basis: membership is a separate requirement from the count and independence.
Key Takeaways
- At the correct count, independence or spanning suffices for a basis.
- Too few vectors cannot span; too many cannot be independent.
- Extend an independent set with vectors outside its span.
- Shrink a spanning set by removing dependent vectors.
- Check that proposed basis vectors lie in the intended space.
2Rank and the Rank Theorem
A row reduction does more than solve one system. Its pivots measure the independent output directions of a matrix, while its free variables measure inputs that disappear. You will extract bases from the reduction, connect these counts through the Rank Theorem, and use rank to decide questions about existence, uniqueness, and invertibility. Rank also gives useful limits on what products and sums of matrices can do.
2.1 Pivots, free variables, and three bases
Rank counts independent columns; nullity counts independent solutions of the homogeneous system. One row reduction reveals both, as well as bases for the column, row, and null spaces. The main care is choosing which vectors to copy from which matrix.
Reduce once and locate the pivots
Take
Replace row 2 by row 2 minus twice row 1, and row 3 by row 3 plus row 1. The new second and third rows both equal . Subtract row 2 from row 3 to get
There are two pivots, in columns 1 and 3, so . Columns 2 and 4 are free-variable columns, giving nullity 2. A pivot needs its own row and column, so an matrix always has rank at most .
Select a column-space basis
Copy columns 1 and 3 of : and . These are a basis of .
Row operations preserve the dependence relations between columns. In , column 2 is twice column 1, and column 4 is three times column 1 plus twice column 3. The same equations hold in , explaining why the chosen original columns span all the columns.
The pivot columns of instead describe . For instance, is not in : all original columns satisfy , but this vector fails it. Row reduction preserves rank without preserving the actual column space.
Solve for a null-space basis
The homogeneous system becomes
Keep the free variables in their original positions:
The two coefficient vectors span all solutions. Their free-variable entries also make them independent: a zero combination has second entry equal to its first coefficient and fourth entry equal to its second coefficient. They are a basis of . Multiplication by gives zero for each vector, a useful sign check.
Read the row space
Row operations replace rows by reversible combinations, so the row space stays the same. The nonzero rows of form a basis:
Distinct leading positions make these rows independent. Thus , equal to the column-space dimension. For every matrix, row rank equals column rank, and .
| Space | Basis method | Vector length |
|---|---|---|
| Original columns at pivot indices | ||
| Nonzero echelon rows | ||
| Solve using free parameters |
Do not select original rows merely because their indices match the nonzero rows after reduction. Row swaps and combinations can move the independent information between rows.
Key Takeaways
- Rank counts pivots; nullity counts free variables.
- Column-space bases use original pivot columns.
- Row-space bases use nonzero echelon rows.
- Null-space bases come from the homogeneous solution.
- Row and column spaces have the same dimension.
2.2 What rank says about solutions
A matrix’s columns split into pivot columns and free-variable columns. Counting both gives the Rank Theorem, also called the rank–nullity theorem:
for an matrix. The total is the number of columns, which is the dimension of the input space.
Use the count in both directions
A matrix of rank 3 has nullity . Its transpose has five columns and rank 3, so its left null space has dimension . The two nullities use different totals.
The rank bound also detects impossible data. A matrix with nullity 2 would have rank . Six rows allow at most six pivots, so such a matrix cannot exist. Its nullity must be at least 3.
Separate existence from uniqueness
| Question about | Equivalent rank condition |
|---|---|
| Is it solvable for every ? | |
| Does every right-hand side have at most one solution? |
The first condition means the columns fill the output space. The second means no nonzero input maps to zero. For a particular right-hand side, consistency still requires .
If is a particular solution, every solution has the form
Indeed, , and subtracting any two solutions gives a null-space vector. Nullity 0 gives a unique solution when one exists. Positive nullity gives infinitely many solutions, with one independent parameter per null-space basis vector.
For the matrix from the preceding reduction, has particular solution . Combining it with the null-space basis gives
The constants choose one point; the two parameters describe all the ways to change the input without changing the output.
Read what the shape permits
More unknowns than equations guarantee positive nullity and nonzero homogeneous solutions. They do not guarantee consistency for a nonzero right-hand side. For the same example, is not in the column space. Conversely, more equations than unknowns can still give a consistent system; they only prevent the columns from spanning every possible right-hand side.
A system of 30 equations in 33 unknowns with nullity 3 has rank . That fills all 30 output dimensions, so every right-hand side works, and every solution set has three free parameters.
Translate into transformation language
For , the range is and the kernel is . Thus range dimension plus kernel dimension equals input dimension. Onto means rank ; one-to-one means rank . A matrix can be onto but cannot be one-to-one. A matrix can be one-to-one but cannot be onto .
Key Takeaways
- Rank plus nullity equals the number of columns.
- Rank gives a solution for every right-hand side.
- Rank gives at most one solution per right-hand side.
- A consistent solution set is a particular solution plus the null space.
- Onto and one-to-one are different rank conditions.
2.3 Rank in products, sums, and inverses
Rank applies to every matrix shape. It links invertibility to independent columns for square matrices and gives limits on how much information products and sums can carry.
Full rank and invertibility
An matrix has full column rank when its rank is , and full row rank when its rank is . Full column rank gives independent columns. Full row rank means the columns span . A rectangular matrix can have at most one of these properties; a square matrix has both exactly when it is invertible.
For an matrix, each of these says the same thing: rank , nonzero determinant, columns forming a basis of , column and row spaces equal to , and null space containing only zero.
For example,
has echelon rows . Its rank is 2, so it is singular and has nullity 1. The vector spans its null space: the first and third row products are and , and the second row is twice the first. For non-square matrices, use rank directly; there is no determinant to test.
Multiplication can lose rank
For compatible matrices,
Each column of is a combination of columns of , so the product cannot produce more output directions than . Also, any input killed by is killed by , so composing with cannot recover those lost inputs. A product may lose still more directions if kills outputs of .
A matrix times a matrix produces a matrix with rank at most 2. The middle two-dimensional space limits the product, so this square product is never invertible.
If the multiplier is invertible, rank stays unchanged: and for invertible of the required sizes. Applying the inverse reverses the multiplication, so no independent direction is lost. Row reduction is a sequence of just such invertible left multiplications.
Build a rank-one matrix
For nonzero vectors and ,
Every column is a multiple of , and at least one is nonzero, giving rank 1. Every row is a multiple of . Every rank-one matrix has an outer-product form like this. More generally, a rank- matrix can be written as a sum of rank-one matrices.
Addition allows cancellation
For matrices of the same size,
Equality is not a general rule. If and , each has rank 1 but their sum has rank 0. Knowing the ranks of the summands supplies a bound, not the rank of their sum.
Key Takeaways
- A square matrix is invertible exactly when it has full rank.
- Invertible multiplication preserves rank.
- A product’s rank cannot exceed either factor’s rank.
- Nonzero outer products have rank 1.
- Ranks of sums need not add.
3The four fundamental subspaces
Each matrix has four associated subspaces. Two describe its inputs, and two describe its outputs and the restrictions on them. You will find bases and dimensions for all four, then connect row dependencies to conditions on a system’s right-hand side. The key is to track both the dimension of each subspace and the number of entries in its vectors; these answer different questions.
3.1 Four subspaces in two containing spaces
The four fundamental subspaces organize the directions a matrix takes in, produces, or sends to zero. Begin every problem by recording the matrix’s shape and rank. This fixes both the lengths of the relevant vectors and the dimensions you should obtain.
Put each subspace in its containing space
For of size and rank :
| Subspace | Containing space | Dimension |
|---|---|---|
| Column space, | ||
| Row space, | ||
| Null space, | ||
| Left null space, |
The two input-space dimensions add to ; the two output-space dimensions add to . The latter count is the Rank Theorem applied to , which has the same rank and columns.
Find all four bases
Return to
Here . The original pivot columns give a column-space basis . The nonzero rows of give a row-space basis . Solving gives a null-space basis .
The left null space has dimension . Solve , or look for a dependency among the original rows. The zero echelon row came from
Its coefficients give . Directly,
Since is nonzero and the dimension is 1, it is a basis by itself.
Track row dependencies automatically
Reduce to . Applying the same operations to the identity records their coefficients, so . Each row of beside a zero row of gives a vector satisfying . These vectors form a basis of the left null space. The phrase “left null” comes from this multiplication on the left; it is equivalent to .
Check the spaces, not just the counts
The example’s row and null spaces use four-entry vectors. Its column and left null spaces use three-entry vectors. A two-dimensional subspace can live in either containing space, so dimension alone does not tell you the vector length.
Even for square matrices, equal dimensions need not mean equal spaces. For , the column space is the line through , while the row space is the line through . An invertible square matrix instead has both spaces equal to and both null spaces equal to the zero space. At the other extreme, a zero matrix has zero column and row spaces, with null spaces equal to the entire input and output spaces.
Key Takeaways
- Column and left null spaces lie in .
- Row and null spaces lie in .
- The four dimensions are .
- Left-null vectors record zero combinations of rows.
3.2 Output restrictions and perpendicular pairs
The four subspaces explain both whether an output is possible and how many inputs can produce it. The left null space gives restrictions on the output, while the null space describes changes to an input that leave its output unchanged.
Test a right-hand side
If and , then
Thus every left-null vector gives a condition on . Conversely, if has zero dot product with every vector in a basis of , then and the system is solvable. Testing a basis is enough because dot products respect linear combinations.
For the preceding matrix, the left null space has basis . The complete consistency condition is
The vector passes because ; fails. During augmented row reduction, the same row dependency produces the equation . The left null space describes this restriction before a particular right-hand side is chosen.
See the perpendicular pairs
The equation means that every row of has dot product zero with . Consequently every null-space vector is perpendicular to every row-space vector. Similarly, every left-null vector is perpendicular to every column-space vector. Each pair consists of orthogonal complements: the dimensions add to the full containing-space dimension.
In the example,
and . These are different pairs in different spaces. Comparing the four-entry null vector directly with the three-entry column vector would not define a dot product.
Infer behavior from dimensions
A matrix with zero nullity has rank 5. Its row space is all of , its column space is five-dimensional inside , and its left nullity is 2. Some outputs are impossible. Every attainable output has exactly one input.
A matrix of rank 4 instead reaches every vector in . Its nullity is 2, so every output has infinitely many inputs, described by two free parameters. Its left null space is zero, so it imposes no restrictions on the right-hand side.
Read a rank-one example directly
For with both vectors nonzero, . All outputs lie on the line through . The row space is the line through , and the null space is the set perpendicular to . The left null space is perpendicular to .
For , use and . The null space is the line through , and the left null space is the plane . Transposing preserves the rank, but exchanges the input and output roles; the two null spaces can have different dimensions and vector lengths.
Key Takeaways
- Consistency means the right-hand side lies in the column space.
- A basis of the left null space supplies all consistency conditions.
- Row space and null space are perpendicular.
- Column space and left null space are perpendicular.
- Nullity describes how many input directions leave the output unchanged.
4Change of coordinates
A vector can have several coordinate descriptions without moving anywhere. A change-of-coordinates matrix translates one description into another. You will build that matrix from basis vectors, reverse and chain conversions, and compute it by row reduction. The same method works for polynomial spaces once polynomials are written as coefficient vectors in a common reference basis.
4.1 One vector, two coordinate descriptions
Coordinates are coefficients in an ordered basis. A change-of-coordinates matrix rewrites those coefficients in another basis while keeping the vector itself fixed. The arrow in its subscript records the direction of the conversion.
Build the columns from the starting basis
For bases and of the same space,
Column tells you how one unit of the th starting coordinate is expressed in the destination basis. If , taking destination coordinates gives . Matrix multiplication performs precisely this combination of columns.
Suppose and . Their coordinate columns produce
For , the input coordinate vector is . Multiplying gives
Expanding the basis expressions also gives .
Reverse the direction
The columns are independent, since they are coordinates of a basis. Hence every change-of-coordinates matrix is invertible, and
In the example, the inverse is . It sends back to . A transpose generally does not reverse a coordinate conversion. Writing the two known coordinate vectors as rows would instead give , which sends to and fails the expansion check.
Pass through standard coordinates
In , let . Its columns are written in the standard basis, so
The first equation builds the actual vector from coefficients. The second solves for the coefficients of a given vector.
For three bases, conversions chain as
Read from right to left: start with -coordinates, obtain -coordinates, then obtain -coordinates. Before multiplying, label the coordinate system entering and leaving each factor; the intermediate systems must agree.
Key Takeaways
- Changing coordinates leaves the vector unchanged.
- Columns of are the -coordinates of the -vectors.
- The reverse conversion is the inverse.
- Coordinate conversions compose from right to left.
4.2 Coordinate conversions by row reduction
When basis vectors are given in standard coordinates, solve for all their new coordinates together. A block row reduction avoids separately finding an inverse and multiplying it by each vector.
Derive the conversion formula
Write the same vector in two ways:
Multiply by on the left. The result is
The right factor builds the vector from its old coefficients. The left factor solves for its new coefficients. Reversing the factor order changes what the product does.
Reduce the destination basis on the left
For and , form
Subtract row 1 from row 2 to obtain in row 2. Then subtract that row from row 1, giving . Thus
Its first column says . Its second says . These checks are often faster than repeating the reduction.
Use and reverse the result
If , multiplication gives . Both describe :
The reverse matrix is . It sends to . Reducing would compute this reverse conversion. The basis you convert into belongs on the left of the bar.
Convert polynomials through coefficients
Use the reference basis . For , expand the last polynomial as . The coefficient columns give
For , the standard coefficient vector is . The inverse conversion gives
Check by rebuilding the polynomial: . The coordinate entries are coefficients of the chosen basis polynomials, not the original coefficients of powers of . When two nonstandard polynomial bases are given, write both sets of coefficient columns in the same reference basis and reduce the destination block to the identity in exactly the same way.
Key Takeaways
- Reduce the destination basis block on the left to the identity.
- Check a conversion by rebuilding the same vector in both bases.
- Polynomial coefficient columns must use a common reference basis.
5Matrices of linear transformations
A matrix describes a linear transformation only after input and output bases have been chosen. You will build its columns by transforming basis vectors and then expressing the images in output coordinates. For a transformation from a space to itself, changing both bases together produces a similar matrix. This gives a precise way to describe the same map with different entries and sometimes much simpler calculations.
5.1 Columns built from basis images
A linear transformation is determined by its action on a basis. Once input and output bases are fixed, the images of the input basis vectors become the columns of its matrix. Each column must be written in the output basis’s coordinates.
Build a matrix that accepts coordinates
For , let be a basis of the domain and a basis of the codomain, with . Define
It has rows and columns and satisfies . To see why, write . Linearity gives ; taking output coordinates makes that the column combination produced by .
Differentiate a polynomial
For , use and . The images are . Their output-coordinate columns give
There are four columns because the domain has dimension 4, and three rows because the codomain has dimension 3. The zero first column records that constants differentiate to zero; it must remain in position.
For , multiply its coordinate vector:
The output means . A coordinate vector is interpreted using its own basis, so the input and output lists need not even have the same length.
Read kernel and range
The matrix has rank 3 and null space spanned by . That coordinate vector represents the constant polynomial 1, so . The map is onto but not one-to-one. Rank plus kernel dimension is , the dimension of the domain.
For any such matrix, solve to find kernel coordinates, then rebuild the corresponding vectors of . The rank of is the dimension of the transformation’s range.
Evaluate at two points
Let send to . Using standard bases gives images , so
It has rank 2, so every pair of output values is attainable. Its null space is spanned by , representing . This polynomial vanishes at both evaluation points.
The standard matrix of a map between Euclidean spaces is the special case using standard input and output bases. Reordering an input basis reorders columns; reordering an output basis reorders rows. For other basis changes, first transform each input basis vector and then convert its image. Placing images as rows would transpose the intended matrix and generally break the coordinate equation.
Key Takeaways
- Column is the output-coordinate vector of .
- The matrix has codomain-dimension rows and domain-dimension columns.
- Multiply input coordinates to obtain output coordinates.
- Convert null-space coordinates back into domain vectors to name the kernel.
- Matrix rank equals range dimension.
- Basis order determines row and column order.
5.2 New bases and similar matrices
Changing a basis changes the matrix describing a transformation, while the underlying map stays fixed. When the same new basis is used for input and output, the conversion takes a specific three-factor form.
Follow the coordinates through the map
Let and let have the new basis vectors as its columns. Starting with new-basis coordinates, apply to build the standard vector, apply , then apply to return to new-basis coordinates. Therefore
The first column must be . This provides a direct check on the product order. The reverse order generally describes a different conversion when has been defined this way.
Compute using a given basis
Take and . Then
Their coordinate columns give . Equivalently, use
in . The diagonal entries say that the transformation multiplies the first basis direction by 3 and the second by 2.
A different given basis, , yields columns and , giving . A basis change need not produce a diagonal matrix.
Apply the map repeatedly
From , adjacent inverse factors cancel in repeated products:
For the diagonal example, has entries 27 and 8. Multiplication gives
Only the diagonal entries were cubed; cubing each entry of would not compute a matrix power.
Recognize similarity
Square matrices are similar when for some invertible . They represent the same linear transformation in different bases and share rank, determinant, and trace. The example’s three representations all have rank 2, determinant 6, and trace 5.
Matching those three numbers is insufficient to establish similarity. The identity and both have rank 2, determinant 1, and trace 2. Yet for every invertible , so cannot be similar to .
For arbitrary bases , the same conversion reasoning gives
The rightmost factor converts incoming -coordinates to -coordinates. After the old matrix acts, the leftmost factor converts the output back. Labeling those starting and ending coordinates fixes the order without memorizing a pattern.
Key Takeaways
- With new basis vectors in , the new matrix is .
- Similar matrices describe one map in different bases.
- Similarity preserves rank, determinant, and trace.
- Matching invariants alone is insufficient to establish similarity.
- If , then .
Dimension and Rank examples
1Count independent choices and build a basis
13 steps
- 1IntroductionWhat are you counting?
A vector’s entries do not always vary independently. A line in needs just one coefficient, while a polynomial of degree at most 2 needs three.
You will count independent choices by finding bases, then use that count to decide whether another set is already a basis or needs an extra vector.
- 2ExplanationDimension counts a basis
A basis is an independent spanning set. The dimension of a finite-dimensional space is the number of vectors in any basis.
Why “any”? A basis with vectors prevents an independent set from having more than members. Comparing two bases in both directions forces their sizes to agree. Changing the basis changes the building blocks but keeps the count.
- 3ExampleCount the constant term
In , every polynomial has the form . The basis has three members, so the dimension is 3.
The coefficient of 1 is a free choice, just like the other two. The degree bound 2 names the highest allowed power; it does not count all the independent coefficients. In general, .
- 4ExampleLinked matrix entries
A symmetric matrix has the form . Choose freely; the lower-left entry must then equal the upper-right entry.
The matrices selecting , , and separately form a three-vector basis. There are four entry positions, but only three independent choices. This space has dimension 3 inside the four-dimensional space of all matrices.
- 5ChallengeTry a dimension count
What is the dimension of all real matrices? How does the zero space fit the same definition?
---reveal---
The matrix space has dimension 6: each entry position supplies one standard basis matrix. The zero space has dimension 0 because its basis is empty. The set containing the zero vector is dependent, so it is not that basis.
- 6ExampleTurn an equation into parameters
Let be the plane . Solve for to obtain .
Substitute into the vector:
Every vector in the plane is now expressed using two fixed vectors. The free variables are the coefficients, so the expression gives a candidate basis directly.
- 7Key InsightVerify the candidate basis
The vectors and span the plane because the parameter expression includes every solution.
They are independent too. If , the second entry gives and the third gives . Thus they are a basis and . The vectors still have three entries; their two coefficients describe positions within the plane.
- 8TipRead a span through its columns
For a subspace given as a span, put the listed vectors in columns and row reduce. The pivot count gives its dimension; copy the pivot columns from the original matrix for a basis.
For example, if the second vector is twice the first and the fourth is the first plus an independent third, only the first and third are needed. A long generating list need not mean a large dimension.
- 9ChallengeApply a polynomial restriction
What is a basis and dimension for ?
---reveal---
Write . The condition gives , so every element is . The polynomials are independent and span H, giving dimension 2. The condition restricts the constant coefficient; it does not restrict the highest possible degree.
- 10ExplanationUse the full dimension
In a space of dimension , an independent set of vectors is a basis. A spanning set of vectors is a basis too. This is the Basis Theorem.
With exactly the right count, you can check one property. With too few vectors, spanning is impossible; with too many, independence is impossible. Count first, but remember that the right count alone does not prove either property.
- 11ExampleAdd a direction outside the span
Start with and in . Their combinations have form .
The vector is outside that span: the first two entries would force , making the third entry 1. Adding this vector keeps independence and brings the count to 3, so the resulting set is a basis of .
- 12ChallengeCombine membership and dimension
The plane has dimension 2. Do and form a basis of H?
---reveal---
Both satisfy the equation, and they are not multiples, so they are independent vectors in H. Their count equals , so they form a basis. Independence alone would not establish a basis of H if the proposed vectors failed its defining equation.
- 13RecapChoose the method from the description
For a span, select independent original columns. For equations, solve for free parameters. For polynomials or matrices, identify independent coefficients in a fixed basis.
Once you know the dimension, compare it with the candidate count. At the correct size, independence or spanning completes the basis check. Membership in the intended space remains essential.
2Extract rank, bases, and solution behavior
15 steps
Save this lesson to follow every Walkthrough step by step.
- 1IntroductionOne reduction, several conclusions
- 2ExampleSet up the reduction
- 3ExampleLocate the two pivots
- 4TipCopy the right vectors
- 5ExampleBuild the null-space vectors
- 6ChallengeTry a fresh free-variable count
- 7ExplanationUse the Rank Theorem
- 8ConnectionSeparate existence and uniqueness
- 9ExampleDescribe every solution from one
- 10ChallengeInfer behavior from a kernel count
- 11Key InsightKeep rank through reversible multiplication
- 12ConnectionA middle space limits a product
- 13ExampleOne direction and possible cancellation
- 14ChallengeConnect a product to its nullity
- 15RecapInterpret the counts
3Connect the four subspaces to solvability
11 steps
Save this lesson to follow every Walkthrough step by step.
- 1IntroductionTwo spaces, two pairs
- 2ExplanationPlace the dimensions
- 3ExampleFind the missing fourth basis
- 4ExampleRead the row dependency
- 5ChallengeCheck a shape from dimensions
- 6ConnectionTurn the dependency into a restriction
- 7ExampleTest two right-hand sides
- 8Key InsightWhy the pairs are perpendicular
- 9ChallengeTry a consistency condition
- 10ConnectionRead all four spaces of an outer product
- 11RecapUse the right pair
4Translate coordinates without changing the vector
12 steps
Save this lesson to follow every Walkthrough step by step.
- 1IntroductionKeep the vector fixed
- 2ExplanationLet the basis vectors become columns
- 3ExampleConvert a known combination
- 4TipReverse and chain conversions
- 5ChallengeFind an old coordinate list
- 6ExplanationPut the destination on the left
- 7ExampleCarry out the first row operation
- 8ExampleFinish and check the columns
- 9ConnectionUse coefficient columns for polynomials
- 10ExampleSolve for a polynomial’s new coefficients
- 11ChallengeConnect an expansion to the conversion direction
- 12RecapName the entering and leaving bases
5Build a transformation matrix and change its basis
14 steps
Save this lesson to follow every Walkthrough step by step.
- 1IntroductionA matrix needs coordinate systems
- 2ExplanationTransform each input basis vector
- 3ExampleDifferentiate the basis
- 4ExampleUse the derivative matrix
- 5Key InsightRecover the actual kernel vectors
- 6ChallengeBuild an evaluation map
- 7ExplanationConvert, act, convert back
- 8ExampleFind the first new column
- 9ExampleFind the second new column
- 10ConnectionApply the same map repeatedly
- 11Key InsightKnow what similarity preserves
- 12ChallengeCheck the new matrix by its columns
- 13TipWrite the conversion between arbitrary bases
- 14RecapBuild images, then interpret coordinates
Dimension and Rank practice questions
Set 1: Dimension and basis decisions10 Practice Questions
Question 1 of 10
Show answerHide answer
Question 2 of 10
Show answerHide answer
Question 3 of 10
Show answerHide answer
Question 4 of 10
Show answerHide answer
Question 5 of 10
Show answerHide answer
Question 6 of 10
Show answerHide answer
Question 7 of 10
Show answerHide answer
Question 8 of 10
Show answerHide answer
Question 9 of 10
Show answerHide answer
Question 10 of 10
Show answerHide answer
Set 2: Rank, nullity, and solution behavior10 Practice Questions
Save this lesson to see every answer and practice every set.
Question 1 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 2 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 3 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 4 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 5 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 6 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 7 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 8 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 9 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 10 of 10
Show answerHide answer
Save this lesson to see this answer.
Set 3: Four subspaces and attainable outputs10 Practice Questions
Save this lesson to see every answer and practice every set.
Question 1 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 2 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 3 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 4 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 5 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 6 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 7 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 8 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 9 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 10 of 10
Show answerHide answer
Save this lesson to see this answer.
Set 4: Coordinate conversions in both directions10 Practice Questions
Save this lesson to see every answer and practice every set.
Question 1 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 2 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 3 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 4 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 5 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 6 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 7 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 8 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 9 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 10 of 10
Show answerHide answer
Save this lesson to see this answer.
Set 5: Transformation matrices and similarity10 Practice Questions
Save this lesson to see every answer and practice every set.
Question 1 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 2 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 3 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 4 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 5 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 6 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 7 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 8 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 9 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 10 of 10
Show answerHide answer
Save this lesson to see this answer.
Stuck on your own question? Homework Help
Key Terms
A
Attainable output
B
B-matrix
Basis extension
Basis image
Basis Theorem
Basis-column matrix
Block row reduction
C
Change-of-coordinates matrix
Codomain
Coefficient vector
Column space
Consistent system
Containing space
Coordinate mapping
Coordinate vector
D
Dimension
Domain
F
Finite-dimensional space
Four fundamental subspaces
Full column rank
Full row rank
I
Infinite-dimensional space
K
Kernel
L
Left null space
Linear independence
N
Null space
Nullity
O
Ordered basis
Orthogonal complements
Outer product
P
Parametric vector form
Particular solution
Perpendicular vectors
Pivot column
R
Range
Rank
Rank Theorem
Rank-one matrix
Reference basis
Representation matrix
Reverse coordinate conversion
Row dependency
Row space
S
Similar matrices
Similarity invariant
Singular matrix
Solvability condition
Spanning set
Spanning-set reduction
Standard matrix
Standard polynomial basis
Subspace dimension
T
Trace
Z
Zero space
About this lesson
Make your own Study Materials
Turn your notes, slides and documents into Study Guides, Practice Questions, Flashcards and 6 more tools.