Dimension and Rank

Dimension, Rank and Change of Basis

Learn how to measure the size of a vector space and of the subspaces that come with a matrix. Find dimensions and bases, read the rank and nullity of a matrix from one row reduction, and use the Rank Theorem to decide which systems have solutions and how many. Relate the column space, row space, null space and left null space of a matrix, change coordinates from one basis to another, and write the matrix of a linear transformation relative to any basis, including how a change of basis turns it into a similar matrix.

IntermediateLesson 6 of 9 in Linear Algebra 1 Course

What you will learn

  1. 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 spaces
      Learn what dimension means, why it is well defined, and the dimensions of the spaces used throughout linear algebra.
    • Find the dimension of a subspace
      Find 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 bases
      Use 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.
  2. 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 form
      Row 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 transformations
      Use 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 products
      Add 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.
  3. 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 subspaces
      Identify 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 subspaces
      Use 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.
  4. 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 does
      Describe 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 spaces
      Find the change-of-basis matrix between two bases of ℝn by one row reduction, and use standard coordinates to change bases in polynomial spaces.
  5. 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 bases
      Construct 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 matrices
      Find 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.

Dimension and Rank study guide

5 chapters

1

Dimension 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 n vectors, every vector has a unique list of n coordinates. More than n coordinate vectors in ℝn are dependent, and the same dependence holds among the original vectors. Thus no independent set in the space has more than n members.

Suppose two bases have sizes p and q. Each is independent, while the other spans the space, so p≤q and q≤p. Therefore p=q. We can write dim⁡V=n 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
SpaceA standard basisDimension
ℝn𝐞1,…,𝐞nn
ℙn1,t,…,tnn+1
All real m×n matricesOne matrix for each entry position, with 1 there and 0 elsewheremn

In ℙ2, the coefficients of 1,t,t2 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 2×2 matrix can be written as

[abbc]=a[1000]+b[0110]+c[0001].

These three fixed matrices span the symmetric matrices. A zero combination forces a=b=c=0 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 ℝ3 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 (1,2),(2,4),(3,6) 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, 1,t,…,tk is independent for every k. 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 x+y+z=1 misses the zero vector and is not a subspace. The parallel plane x+y+z=0 is a subspace, with dimension 2.

Key Takeaways

  • Dimension is the number of vectors in any basis.
  • dim⁡ℙn=n+1; 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 𝐯1=(1,2,−1), 𝐯2=(2,4,−2), 𝐯3=(0,1,3), and 𝐯4=(1,3,2), reduction gives

[120100110000].

The pivot columns are 1 and 3. Thus {𝐯1,𝐯3} is a basis and the dimension is 2. You can check the discarded vectors directly: 𝐯2=2𝐯1 and 𝐯4=𝐯1+𝐯3. Four listed vectors provide only two independent directions.

Start from equations

For the subspace H defined by x−2y+z=0, isolate one variable:

x=2y−z,(x,y,z)=y(2,1,0)+z(−1,0,1).

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 H, and dim⁡H=2. With several equations, row reduction identifies which variables are genuinely free; dependent equations add no new restriction.

Use coefficient vectors for polynomials

Let H={p∈ℙ2:p(1)=0}. Write p(t)=a+bt+ct2. The condition becomes a+b+c=0, so

p(t)=b(t−1)+c(t2−1).

The two polynomials span H. A zero combination has coefficient of t equal to b and coefficient of t2 equal to c, so both vanish. Hence {t−1,t2−1} is a basis and dim⁡H=2.

More generally, coordinates in a fixed basis preserve linear combinations and independence. For example, 1+t,2+2t,t2 have coordinate columns (1,1,0),(2,2,0),(0,0,1) in the basis {1,t,t2}. 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 H⊆V is a subspace and V is finite-dimensional, then dim⁡H≤dim⁡V. An independent set in H can be extended to a basis, and it cannot grow past a basis size of V. If the two dimensions are equal, a basis of H is already a basis of V, so H=V.

The subspaces of ℝ3 have dimensions 0, 1, 2, or 3: the zero space, lines through the origin, planes through the origin, and the whole space. In ℝ2, only dimensions 0, 1, and 2 occur. A two-dimensional plane inside ℝ3 is not literally ℝ2: 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 H⊆V, equal finite dimensions give H=V.

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 p≥1, an independent set of exactly p vectors is a basis. A spanning set of exactly p vectors is also a basis.

Why does independence suffice? An independent set can be extended to a basis, but a basis has only p 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 p would leave too few vectors for a basis.

Compare the list’s size with the dimension before calculating:

Number of vectors in a p-dimensional spaceWhat follows
Fewer than pThey cannot span the space.
Exactly pCheck independence or spanning.
More than pThey are dependent.

The middle row still needs a check. The two vectors (1,2),(2,4) have the right count for ℝ2, but span only a line.

Check polynomials through coordinates

Consider 1+t,1−t,t2 in ℙ2. All three belong to the space, whose dimension is 3. Their coordinate matrix is

[1101−10001].

Its determinant is −2, so its columns are independent. The Basis Theorem now supplies spanning, with no second calculation. In general, n vectors in ℝn 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 ℝn, 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 (1,0,1) and (0,1,1) in ℝ3, append 𝐞1,𝐞2,𝐞3. The first three columns are pivots, so one extension is

{(1,0,1),(0,1,1),(1,0,0)}.

To see why the new vector helps, a combination of the first two has form (a,b,a+b). It cannot equal (1,0,0). The three-column determinant is −1, 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 x−2y+z=0 has dimension 2. Both (2,1,0) and (1,1,1) 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.
2

Rank 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

A=[12032418−1−21−1].

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 (0,0,1,2). Subtract row 2 from row 3 to get

R=[120300120000].

There are two pivots, in columns 1 and 3, so rank⁡A=2. Columns 2 and 4 are free-variable columns, giving nullity 2. A pivot needs its own row and column, so an m×n matrix always has rank at most min⁡(m,n).

Select a column-space basis

Copy columns 1 and 3 of A: (1,2,−1) and (0,1,1). These are a basis of Col⁡A⊆ℝ3.

Row operations preserve the dependence relations between columns. In R, column 2 is twice column 1, and column 4 is three times column 1 plus twice column 3. The same equations hold in A, explaining why the chosen original columns span all the columns.

The pivot columns of R instead describe Col⁡R. For instance, (1,0,0) is not in Col⁡A: all original columns satisfy 3b1−b2+b3=0, 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

x1=−2x2−3x4,x3=−2x4.

Keep the free variables in their original positions:

𝐱=x2(−2,1,0,0)+x4(−3,0,−2,1).

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 Nul⁡A⊆ℝ4. Multiplication by A 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 R form a basis:

{(1,2,0,3),(0,0,1,2)}.

Distinct leading positions make these rows independent. Thus dim⁡Row⁡A=2, equal to the column-space dimension. For every matrix, row rank equals column rank, and rank⁡AT=rank⁡A.

SpaceBasis methodVector length
Col⁡AOriginal columns at pivot indicesm
Row⁡ANonzero echelon rowsn
Nul⁡ASolve using free parametersn

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.
  • rank⁡A≤min⁡(m,n)

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:

rank⁡A+dim⁡Nul⁡A=n

for an m×n matrix. The total is the number of columns, which is the dimension of the input space.

Use the count in both directions

A 5×7 matrix of rank 3 has nullity 7−3=4. Its transpose has five columns and rank 3, so its left null space has dimension 5−3=2. The two nullities use different totals.

The rank bound also detects impossible data. A 6×9 matrix with nullity 2 would have rank 9−2=7. 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 A𝐱=𝐛Equivalent rank condition
Is it solvable for every 𝐛∈ℝm?rank⁡A=m
Does every right-hand side have at most one solution?rank⁡A=n

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 𝐛∈Col⁡A.

If 𝐩 is a particular solution, every solution has the form

𝐱=𝐩+𝐳,𝐳∈Nul⁡A.

Indeed, A(𝐩+𝐳)=𝐛, 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, 𝐛=(1,5,2) has particular solution 𝐩=(1,0,3,0). Combining it with the null-space basis gives

𝐱=(1,0,3,0)+s(−2,1,0,0)+t(−3,0,−2,1).

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 3×4 example, 𝐛=(1,0,0) 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 33−3=30. 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 T(𝐱)=A𝐱, the range is Col⁡A and the kernel is Nul⁡A. Thus range dimension plus kernel dimension equals input dimension. Onto means rank m; one-to-one means rank n. A 3×4 matrix can be onto ℝ3 but cannot be one-to-one. A 4×3 matrix can be one-to-one but cannot be onto ℝ4.

Key Takeaways

  • Rank plus nullity equals the number of columns.
  • Rank m gives a solution for every right-hand side.
  • Rank n 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 m×n matrix has full column rank when its rank is n, and full row rank when its rank is m. Full column rank gives independent columns. Full row rank means the columns span ℝm. A rectangular matrix can have at most one of these properties; a square matrix has both exactly when it is invertible.

For an n×n matrix, each of these says the same thing: rank n, nonzero determinant, columns forming a basis of ℝn, column and row spaces equal to ℝn, and null space containing only zero.

For example,

A=[123246135]

has echelon rows (1,2,3),(0,1,2),(0,0,0). Its rank is 2, so it is singular and has nullity 1. The vector (1,−2,1) spans its null space: the first and third row products are 1−4+3=0 and 1−6+5=0, 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,

rank⁡(AB)≤min⁡(rank⁡A,rank⁡B).

Each column of AB is a combination of columns of A, so the product cannot produce more output directions than A. Also, any input killed by B is killed by AB, so composing with A cannot recover those lost inputs. A product may lose still more directions if A kills outputs of B.

A 3×2 matrix times a 2×3 matrix produces a 3×3 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: rank⁡(EA)=rank⁡A and rank⁡(AF)=rank⁡A for invertible E,F 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 𝐮=(1,2,3) and 𝐯=(2,−1),

𝐮𝐯T=[2−14−26−3].

Every column is a multiple of 𝐮, and at least one is nonzero, giving rank 1. Every row is a multiple of 𝐯T. Every rank-one matrix has an outer-product form like this. More generally, a rank-r matrix can be written as a sum of r rank-one matrices.

Addition allows cancellation

For matrices of the same size,

rank⁡(A+B)≤rank⁡A+rank⁡B.

Equality is not a general rule. If A=[1000] and B=−A, 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.
3

The 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 A of size m×n and rank r:

SubspaceContaining spaceDimension
Column space, Col⁡A=C(A)ℝmr
Row space, Row⁡A=C(AT)ℝnr
Null space, Nul⁡A=N(A)ℝnn−r
Left null space, Nul⁡AT=N(AT)ℝmm−r

The two input-space dimensions add to n; the two output-space dimensions add to m. The latter count is the Rank Theorem applied to AT, which has the same rank and m columns.

Find all four bases

Return to

A=[12032418−1−21−1],R=[120300120000].

Here m=3,n=4,r=2. The original pivot columns give a column-space basis {(1,2,−1),(0,1,1)}. The nonzero rows of R give a row-space basis {(1,2,0,3),(0,0,1,2)}. Solving R𝐱=0 gives a null-space basis {(−2,1,0,0),(−3,0,−2,1)}.

The left null space has dimension 3−2=1. Solve AT𝐲=0, or look for a dependency among the original rows. The zero echelon row came from

3 row1−row2+row3=0.

Its coefficients give 𝐲=(3,−1,1). Directly,

3(1,2,0,3)−(2,4,1,8)+(−1,−2,1,−1)=(0,0,0,0).

Since 𝐲 is nonzero and the dimension is 1, it is a basis by itself.

Track row dependencies automatically

Reduce [A∣Im] to [R∣E]. Applying the same operations to the identity records their coefficients, so EA=R. Each row of E beside a zero row of R gives a vector satisfying 𝐲TA=0. 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 AT𝐲=0.

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 [1100], the column space is the line through (1,0), while the row space is the line through (1,1). An invertible square matrix instead has both spaces equal to ℝn 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 ℝm.
  • Row and null spaces lie in ℝn.
  • The four dimensions are r,r,n−r,m−r.
  • 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 A𝐱=𝐛 and AT𝐲=0, then

𝐲T𝐛=𝐲TA𝐱=0.

Thus every left-null vector gives a condition on 𝐛. Conversely, if 𝐛 has zero dot product with every vector in a basis of Nul⁡AT, then 𝐛∈Col⁡A 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 (3,−1,1). The complete consistency condition is

3b1−b2+b3=0.

The vector (1,5,2) passes because 3−5+2=0; (1,0,0) fails. During augmented row reduction, the same row dependency produces the equation 0=3b1−b2+b3. The left null space describes this restriction before a particular right-hand side is chosen.

See the perpendicular pairs

The equation A𝐱=0 means that every row of A 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,

(1,2,0,3)⋅(−3,0,−2,1)=−3+3=0,

and (3,−1,1)⋅(1,2,−1)=3−2−1=0. 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 7×5 matrix with zero nullity has rank 5. Its row space is all of ℝ5, its column space is five-dimensional inside ℝ7, and its left nullity is 2. Some outputs are impossible. Every attainable output has exactly one input.

A 4×6 matrix of rank 4 instead reaches every vector in ℝ4. 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 A=𝐮𝐯T with both vectors nonzero, A𝐱=𝐮(𝐯T𝐱). 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 [2−14−26−3], use 𝐮=(1,2,3) and 𝐯=(2,−1). The null space is the line through (1,2), and the left null space is the plane y1+2y2+3y3=0. 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.
4

Change 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 ℬ=(𝐛1,…,𝐛n) and 𝒞 of the same space,

[𝐱]𝒞=P𝒞←ℬ[𝐱]ℬ,P𝒞←ℬ=[[𝐛1]𝒞 ⋯ [𝐛n]𝒞].

Column j tells you how one unit of the jth starting coordinate is expressed in the destination basis. If 𝐱=∑cj𝐛j, taking destination coordinates gives [𝐱]𝒞=∑cj[𝐛j]𝒞. Matrix multiplication performs precisely this combination of columns.

Suppose 𝐛1=2𝐜1−𝐜2 and 𝐛2=𝐜1+3𝐜2. Their coordinate columns produce

P𝒞←ℬ=[21−13].

For 𝐱=4𝐛1−𝐛2, the input coordinate vector is (4,−1). Multiplying gives

[𝐱]𝒞=[2(4)+1(−1)−1(4)+3(−1)]=[7−7].

Expanding the basis expressions also gives 𝐱=7𝐜1−7𝐜2.

Reverse the direction

The columns are independent, since they are coordinates of a basis. Hence every change-of-coordinates matrix is invertible, and

Pℬ←𝒞=(P𝒞←ℬ)−1.

In the example, the inverse is 17[3−112]. It sends (7,−7) back to (4,−1). A transpose generally does not reverse a coordinate conversion. Writing the two known coordinate vectors as rows would instead give [2−113], which sends (4,−1) to (9,1) and fails the expansion check.

Pass through standard coordinates

In ℝn, let Pℬ=[𝐛1 ⋯ 𝐛n]. Its columns are written in the standard basis, so

𝐱=Pℬ[𝐱]ℬ,[𝐱]ℬ=Pℬ−1𝐱.

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

P𝒟←ℬ=P𝒟←𝒞P𝒞←ℬ.

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 P𝒞←ℬ 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:

𝐱=Pℬ[𝐱]ℬ=P𝒞[𝐱]𝒞.

Multiply by P𝒞−1 on the left. The result is

P𝒞←ℬ=P𝒞−1Pℬ.

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 ℬ=((1,2),(3,5)) and 𝒞=((1,1),(1,2)), form

[11131225].

Subtract row 1 from row 2 to obtain (0,1∣1,2) in row 2. Then subtract that row from row 1, giving (1,0∣0,1). Thus

[P𝒞∣Pℬ]⟶[I∣P𝒞←ℬ],P𝒞←ℬ=[0112].

Its first column says 𝐛1=𝐜2. Its second says 𝐛2=𝐜1+2𝐜2. These checks are often faster than repeating the reduction.

Use and reverse the result

If [𝐱]ℬ=(2,1), multiplication gives [𝐱]𝒞=(1,4). Both describe 𝐱=(5,9):

2(1,2)+(3,5)=(5,9)=1(1,1)+4(1,2).

The reverse matrix is [−2110]. It sends (1,4) to (2,1). Reducing [Pℬ∣P𝒞] 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 ℰ=(1,t,t2). For 𝒞=(1,1+t,(1+t)2), expand the last polynomial as 1+2t+t2. The coefficient columns give

Pℰ←𝒞=[111012001],P𝒞←ℰ=[1−1101−2001].

For p(t)=3−2t+t2, the standard coefficient vector is (3,−2,1). The inverse conversion gives

[p]𝒞=(3+2+1,−2−2,1)=(6,−4,1).

Check by rebuilding the polynomial: 6−4(1+t)+(1+t)2=3−2t+t2. The coordinate entries are coefficients of the chosen basis polynomials, not the original coefficients of powers of t. 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

  • P𝒞←ℬ=P𝒞−1Pℬ
  • 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.
5

Matrices 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 T:V→W, let ℬ=(𝐛1,…,𝐛n) be a basis of the domain and 𝒞 a basis of the codomain, with dim⁡W=m. Define

M=[T]𝒞←ℬ=[[T(𝐛1)]𝒞 ⋯ [T(𝐛n)]𝒞].

It has m rows and n columns and satisfies [T(𝐱)]𝒞=M[𝐱]ℬ. To see why, write 𝐱=∑rj𝐛j. Linearity gives T(𝐱)=∑rjT(𝐛j); taking output coordinates makes that the column combination produced by M.

Differentiate a polynomial

For D:ℙ3→ℙ2, use ℬ=(1,t,t2,t3) and 𝒞=(1,t,t2). The images are 0,1,2t,3t2. Their output-coordinate columns give

M=[010000200003].

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 p=5+2t−t2+4t3, multiply its coordinate vector:

M(5,2,−1,4)=(2,−2,12).

The output means p′=2−2t+12t2. 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 (1,0,0,0). That coordinate vector represents the constant polynomial 1, so ker⁡D=span⁡{1}. The map is onto ℙ2 but not one-to-one. Rank plus kernel dimension is 3+1=4, the dimension of the domain.

For any such matrix, solve M𝐜=0 to find kernel coordinates, then rebuild the corresponding vectors of V. The rank of M is the dimension of the transformation’s range.

Evaluate at two points

Let T:ℙ2→ℝ2 send p to (p(0),p(1)). Using standard bases gives images (1,1),(0,1),(0,1), so

M=[100111].

It has rank 2, so every pair of output values is attainable. Its null space is spanned by (0,−1,1), representing t2−t. 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 j is the output-coordinate vector of T(𝐛j).
  • 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 T(𝐱)=A𝐱 and let P have the new basis vectors as its columns. Starting with new-basis coordinates, apply P to build the standard vector, apply A, then apply P−1 to return to new-basis coordinates. Therefore

[T]ℬ=P−1AP,A=P[T]ℬP−1.

The first column must be [T(𝐛1)]ℬ. This provides a direct check on the product order. The reverse order PAP−1 generally describes a different conversion when P has been defined this way.

Compute using a given basis

Take A=[4−211] and ℬ=((2,1),(1,1)). Then

A𝐛1=(6,3)=3𝐛1,A𝐛2=(2,2)=2𝐛2.

Their coordinate columns give [T]ℬ=[3002]=D. Equivalently, use

P=[2111],P−1=[1−1−12]

in P−1AP. The diagonal entries say that the transformation multiplies the first basis direction by 3 and the second by 2.

A different given basis, ((1,0),(1,1)), yields columns (3,1) and (0,2), giving [3012]. A basis change need not produce a diagonal matrix.

Apply the map repeatedly

From A=PDP−1, adjacent inverse factors cancel in repeated products:

Ak=PDkP−1.

For the diagonal example, D3 has entries 27 and 8. Multiplication gives

A3=P[27008]P−1=[46−3819−11].

Only the diagonal entries were cubed; cubing each entry of A would not compute a matrix power.

Recognize similarity

Square matrices A,B are similar when B=P−1AP for some invertible P. 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 J=[1101] both have rank 2, determinant 1, and trace 2. Yet P−1I2P=I2 for every invertible P, so J cannot be similar to I2.

For arbitrary bases ℬ,𝒞, the same conversion reasoning gives

[T]𝒞=P𝒞←ℬ[T]ℬPℬ←𝒞.

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 P, the new matrix is P−1AP.
  • Similar matrices describe one map in different bases.
  • Similarity preserves rank, determinant, and trace.
  • Matching invariants alone is insufficient to establish similarity.
  • If A=PDP−1, then Ak=PDkP−1.

Dimension and Rank examples

5 Walkthroughs

1

Count independent choices and build a basis

13 steps
Find dimensions in familiar spaces, solve for a subspace basis, and use the dimension to complete a basis.
  1. 1
    IntroductionWhat are you counting?

    A vector’s entries do not always vary independently. A line in ℝ3 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.

  2. 2
    ExplanationDimension 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 n vectors prevents an independent set from having more than n members. Comparing two bases in both directions forces their sizes to agree. Changing the basis changes the building blocks but keeps the count.

  3. 3
    ExampleCount the constant term

    In ℙ2, every polynomial has the form a+bt+ct2. The basis 1,t,t2 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, dim⁡ℙn=n+1.

  4. 4
    ExampleLinked matrix entries

    A symmetric 2×2 matrix has the form [abbc]. Choose a,b,c freely; the lower-left entry must then equal the upper-right entry.

    The matrices selecting a, b, and c 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 2×2 matrices.

  5. 5
    ChallengeTry a dimension count

    What is the dimension of all real 2×3 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.

  6. 6
    ExampleTurn an equation into parameters

    Let H be the plane x−2y+z=0. Solve for x to obtain x=2y−z.

    Substitute into the vector:

    (x,y,z)=(2y−z,y,z)=y(2,1,0)+z(−1,0,1).

    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.

  7. 7
    Key InsightVerify the candidate basis

    The vectors (2,1,0) and (−1,0,1) span the plane because the parameter expression includes every solution.

    They are independent too. If a(2,1,0)+b(−1,0,1)=0, the second entry gives a=0 and the third gives b=0. Thus they are a basis and dim⁡H=2. The vectors still have three entries; their two coefficients describe positions within the plane.

  8. 8
    TipRead 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.

  9. 9
    ChallengeApply a polynomial restriction

    What is a basis and dimension for H={p∈ℙ2:p(0)=0}?

    ---reveal---

    Write p=a+bt+ct2. The condition gives a=0, so every element is bt+ct2. The polynomials t,t2 are independent and span H, giving dimension 2. The condition restricts the constant coefficient; it does not restrict the highest possible degree.

  10. 10
    ExplanationUse the full dimension

    In a space of dimension p, an independent set of p vectors is a basis. A spanning set of p 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.

  11. 11
    ExampleAdd a direction outside the span

    Start with (1,0,1) and (0,1,1) in ℝ3. Their combinations have form (a,b,a+b).

    The vector (1,0,0) is outside that span: the first two entries would force a=1,b=0, making the third entry 1. Adding this vector keeps independence and brings the count to 3, so the resulting set is a basis of ℝ3.

  12. 12
    ChallengeCombine membership and dimension

    The plane H:x−2y+z=0 has dimension 2. Do (2,1,0) and (1,1,1) 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 dim⁡H, so they form a basis. Independence alone would not establish a basis of H if the proposed vectors failed its defining equation.

  13. 13
    RecapChoose 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.

2

Extract rank, bases, and solution behavior

15 steps
Use one reduction to find three bases, then connect rank to consistency, uniqueness, and matrix products.

Save this lesson to follow every Walkthrough step by step.

  1. 1
    IntroductionOne reduction, several conclusions
  2. 2
    ExampleSet up the reduction
  3. 3
    ExampleLocate the two pivots
  4. 4
    TipCopy the right vectors
  5. 5
    ExampleBuild the null-space vectors
  6. 6
    ChallengeTry a fresh free-variable count
  7. 7
    ExplanationUse the Rank Theorem
  8. 8
    ConnectionSeparate existence and uniqueness
  9. 9
    ExampleDescribe every solution from one
  10. 10
    ChallengeInfer behavior from a kernel count
  11. 11
    Key InsightKeep rank through reversible multiplication
  12. 12
    ConnectionA middle space limits a product
  13. 13
    ExampleOne direction and possible cancellation
  14. 14
    ChallengeConnect a product to its nullity
  15. 15
    RecapInterpret the counts
3

Connect the four subspaces to solvability

11 steps
Track vector lengths, find a left-null basis, and turn it into a condition on the right-hand side.

Save this lesson to follow every Walkthrough step by step.

  1. 1
    IntroductionTwo spaces, two pairs
  2. 2
    ExplanationPlace the dimensions
  3. 3
    ExampleFind the missing fourth basis
  4. 4
    ExampleRead the row dependency
  5. 5
    ChallengeCheck a shape from dimensions
  6. 6
    ConnectionTurn the dependency into a restriction
  7. 7
    ExampleTest two right-hand sides
  8. 8
    Key InsightWhy the pairs are perpendicular
  9. 9
    ChallengeTry a consistency condition
  10. 10
    ConnectionRead all four spaces of an outer product
  11. 11
    RecapUse the right pair
4

Translate coordinates without changing the vector

12 steps
Build a conversion, compute it with a block reduction, and repeat the method for polynomials.

Save this lesson to follow every Walkthrough step by step.

  1. 1
    IntroductionKeep the vector fixed
  2. 2
    ExplanationLet the basis vectors become columns
  3. 3
    ExampleConvert a known combination
  4. 4
    TipReverse and chain conversions
  5. 5
    ChallengeFind an old coordinate list
  6. 6
    ExplanationPut the destination on the left
  7. 7
    ExampleCarry out the first row operation
  8. 8
    ExampleFinish and check the columns
  9. 9
    ConnectionUse coefficient columns for polynomials
  10. 10
    ExampleSolve for a polynomial’s new coefficients
  11. 11
    ChallengeConnect an expansion to the conversion direction
  12. 12
    RecapName the entering and leaving bases
5

Build a transformation matrix and change its basis

14 steps
Construct columns from basis images, recover a kernel, and follow the coordinate conversions that produce similarity.

Save this lesson to follow every Walkthrough step by step.

  1. 1
    IntroductionA matrix needs coordinate systems
  2. 2
    ExplanationTransform each input basis vector
  3. 3
    ExampleDifferentiate the basis
  4. 4
    ExampleUse the derivative matrix
  5. 5
    Key InsightRecover the actual kernel vectors
  6. 6
    ChallengeBuild an evaluation map
  7. 7
    ExplanationConvert, act, convert back
  8. 8
    ExampleFind the first new column
  9. 9
    ExampleFind the second new column
  10. 10
    ConnectionApply the same map repeatedly
  11. 11
    Key InsightKnow what similarity preserves
  12. 12
    ChallengeCheck the new matrix by its columns
  13. 13
    TipWrite the conversion between arbitrary bases
  14. 14
    RecapBuild images, then interpret coordinates

Dimension and Rank practice questions

50 Practice Questions in 5 sets

Set 1: Dimension and basis decisions10 Practice Questions

Question 1 of 10

Let H={p∈ℙ3:p(0)=0, p(2)=0}. What is a basis of H?
  1. {t,t2,t3}
  2. {t2−2t}
  3. {t2−2t,t3−4t}
  4. {t2+2t,t3+4t}
Show answerHide answer
Answer: C
Writing p=a+bt+ct2+dt3 gives a=0 and b=−2c−4d. Hence p=c(t2−2t)+d(t3−4t), with two independent coefficient choices. Keeping only t,t2,t3 enforces the zero at 0 but fails to enforce the zero at 2.

Question 2 of 10

What is the dimension of ℙ4?
  1. 4
  2. 3
  3. 5
  4. 6
Show answerHide answer
Answer: C
The polynomials 1,t,t2,t3,t4 form a basis, so the dimension is 5. Counting only the positive powers gives 4 and misses the independent constant coefficient. The degree bound tells you the highest power, not the number of coefficients.

Question 3 of 10

What is the dimension of the space of all real 2×5 matrices?
  1. 10
  2. 7
  3. 5
  4. 2
Show answerHide answer
Answer: A
Each of the ten entry positions can be chosen independently, giving ten standard basis matrices. Each basis matrix has a single 1 and zeros elsewhere. Adding the row and column counts gives 7, but dimension counts entry positions, so the sizes must be multiplied.

Question 4 of 10

What is the dimension of the space of real 3×3 diagonal matrices?
  1. 9
  2. 6
  3. 1
  4. 3
Show answerHide answer
Answer: D
A diagonal matrix has three freely chosen diagonal entries and all other entries fixed at zero. The three matrices with a single diagonal 1 form a basis. Dimension 9 describes all 3 × 3 matrices; the diagonal restriction removes six independent entry choices.

Question 5 of 10

What is the dimension of span⁡{(2,−1,0),(6,−3,0),(0,1,2),(2,0,2)}?
  1. 1
  2. 2
  3. 3
  4. 4
Show answerHide answer
Answer: B
The second vector is three times the first, and the fourth is the first plus the third. The first and third are independent, so they form a two-vector basis of the span. Counting three coordinate entries gives the containing-space dimension, not the dimension of this span.

Question 6 of 10

What is a basis for the subspace x+3y−2z=0 in ℝ3?
  1. {(3,1,0),(−2,0,1)}
  2. {(1,3,−2)}
  3. {(−3,1,0),(−6,2,0)}
  4. {(−3,1,0),(2,0,1)}
Show answerHide answer
Answer: D
Solve for x=−3y+2z to get the independent parameter vectors (−3,1,0) and (2,0,1). Each satisfies the equation, and together they generate every solution. The normal vector (1,3,−2) records the equation’s coefficients; it does not span its solution plane.

Question 7 of 10

A vector space has dimension 6. What follows about any seven vectors in that space?
  1. They are linearly independent.
  2. They span the entire space.
  3. They are linearly dependent.
  4. They form a basis of the space.
Show answerHide answer
Answer: C
An independent set cannot be larger than a basis, and every basis here has six vectors. Seven vectors must therefore be dependent. A large set can still lie in a proper subspace, so having more vectors than the dimension does not guarantee spanning.

Question 8 of 10

Three polynomials in ℙ2 have coefficient matrix determinant 8 in the basis (1,t,t2). Why are they a basis?
  1. They are independent and match the dimension.
  2. They span because each has degree at most two.
  3. They are independent because there are three.
  4. They span because their coefficients are nonzero.
Show answerHide answer
Answer: A
A nonzero determinant makes the coordinate columns independent, so the polynomials are independent. There are three of them in the three-dimensional space ℙ2, and the Basis Theorem supplies spanning. Membership and the correct count alone would still permit a dependent list.

Question 9 of 10

What vector can be added to (1,1,0) and (0,1,1) to form a basis of ℝ3?
  1. (1,2,1)
  2. (1,0,0)
  3. (2,2,0)
  4. (0,3,3)
Show answerHide answer
Answer: B
A combination of the two given vectors has form (a,a+b,b). The vector (1,0,0) cannot have that form, so it adds an independent direction and completes a three-vector basis. The vector (1,2,1) is their sum and adds no new direction.

Question 10 of 10

Let H be a subspace of all real 2×2 matrices. It contains four linearly independent matrices. What must H be?
  1. The whole space of real 2 × 2 matrices.
  2. The three-dimensional symmetric matrices.
  3. A proper subspace of dimension four.
  4. A space of dimension greater than four.
Show answerHide answer
Answer: A
The containing matrix space has dimension four. The independent matrices give H dimension at least four, while being a subspace bounds its dimension by four. Equal finite dimensions then force equality of the spaces; a proper subspace cannot retain the full containing-space dimension.
Set 2: Rank, nullity, and solution behavior10 Practice Questions

Save this lesson to see every answer and practice every set.

Question 1 of 10

A 4×6 matrix has three pivots. What are its rank and nullity?
  1. Rank 3; nullity 1.
  2. Rank 3; nullity 3.
  3. Rank 4; nullity 2.
  4. Rank 6; nullity 0.
Show answerHide answer

Save this lesson to see this answer.

Question 2 of 10

For A=[241003485], what is a basis of its column space?
  1. {(1,0,0),(0,1,0)}
  2. {(2,4,1),(0,0,3)}
  3. {(2,0,4),(4,0,8)}
  4. {(2,0,4),(1,3,5)}
Show answerHide answer

Save this lesson to see this answer.

Question 3 of 10

An RREF is [10−42013−10000]. What is a basis for the null space?
  1. {(4,−3,1,0),(−2,1,0,1)}
  2. {(−4,3,1,0),(2,−1,0,1)}
  3. {(1,0,−4,2),(0,1,3,−1)}
  4. {(4,−3,0,0),(−2,1,0,0)}
Show answerHide answer

Save this lesson to see this answer.

Question 4 of 10

A linear map ℝ8→ℝ5 has rank 4. What is its kernel dimension?
  1. 1
  2. 3
  3. 4
  4. 5
Show answerHide answer

Save this lesson to see this answer.

Question 5 of 10

A 3×5 matrix has nullity 2. What can be said about A𝐱=𝐛 for every 𝐛∈ℝ3?
  1. It has infinitely many solutions for every b.
  2. It has a unique solution for every b.
  3. It is inconsistent for at least one b.
  4. It has solutions only when b is zero.
Show answerHide answer

Save this lesson to see this answer.

Question 6 of 10

A 6×4 matrix has rank 4. What is true about its systems?
  1. Every right-hand side gives a unique solution.
  2. Each consistent system has two free parameters.
  3. Every nonzero right-hand side is impossible.
  4. Each consistent system has a unique solution.
Show answerHide answer

Save this lesson to see this answer.

Question 7 of 10

Can a 4×7 matrix have nullity 2, and why?
  1. Yes; its required rank would equal four.
  2. No; its required rank would exceed four.
  3. No; its required rank would exceed seven.
  4. Yes; nullity can be any number below seven.
Show answerHide answer

Save this lesson to see this answer.

Question 8 of 10

A nonzero vector 𝐮∈ℝ4 and a nonzero vector 𝐯∈ℝ3 form A=𝐮𝐯T. What is its rank?
  1. 3
  2. 4
  3. 1
  4. 0
Show answerHide answer

Save this lesson to see this answer.

Question 9 of 10

Let A be 4×3 and B be 3×4. Why is AB singular?
  1. Its rank is exactly 3, below its size 4.
  2. Its nullity is exactly 3, above zero.
  3. Its rank is at most 4, equal to its size.
  4. Its rank is at most 3, below its size 4.
Show answerHide answer

Save this lesson to see this answer.

Question 10 of 10

Let A=[120240000] and B=[000000360]. If E and F are invertible 3×3 matrices, what is the nullity of E(A+B)F?
  1. 2
  2. 1
  3. 0
  4. 3
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

A 6×9 matrix has rank 4. What are its nullity and left nullity?
  1. Nullity 2; left nullity 5.
  2. Nullity 4; left nullity 4.
  3. Nullity 5; left nullity 2.
  4. Nullity 9; left nullity 6.
Show answerHide answer

Save this lesson to see this answer.

Question 2 of 10

For A=[1−203−60], what is a basis of the left null space?
  1. {(1,3)}
  2. {(−3,1)}
  3. {(2,1,0),(0,0,1)}
  4. {(1,−2,0)}
Show answerHide answer

Save this lesson to see this answer.

Question 3 of 10

For A=[0200], how do its column and row spaces compare?
  1. Both spaces are span{(1,0)}.
  2. Both spaces are span{(0,1)}.
  3. Column space is ℝ²; row space is span{(0,1)}.
  4. Column space is span{(1,0)}; row space is span{(0,1)}.
Show answerHide answer

Save this lesson to see this answer.

Question 4 of 10

The left null space of a 3×4 matrix has basis (2,−1,3). For what value of k is 𝐛=(1,5,k) attainable?
  1. 1
  2. −1
  3. 3
  4. 7/3
Show answerHide answer

Save this lesson to see this answer.

Question 5 of 10

A row-space vector is (2,−1,4). What must every vector (x,y,z) in the null space satisfy?
  1. 2x−y+4z=1
  2. x−2y+4z=0
  3. 2x−y+4z=0
  4. 2x+y+4z=0
Show answerHide answer

Save this lesson to see this answer.

Question 6 of 10

A 5×3 matrix has independent columns. What are the dimensions of Row A and Nul Aᵀ?
  1. Row dimension 5; left nullity 0.
  2. Row dimension 3; left nullity 2.
  3. Row dimension 3; left nullity 0.
  4. Row dimension 2; left nullity 3.
Show answerHide answer

Save this lesson to see this answer.

Question 7 of 10

The left null space of a 4×5 matrix has basis (1,−1,0,0) and (0,0,2,1). Which conditions exactly describe attainable 𝐛?
  1. b1=b2,b4=2b3
  2. b1=−b2,b4=−2b3
  3. b1−b2+2b3+b4=0
  4. b1=b2,b4=−2b3
Show answerHide answer

Save this lesson to see this answer.

Question 8 of 10

Let A=𝐮𝐯T with 𝐮=(1,−2,1) and 𝐯=(3,1). What is the complete solution of A𝐱=(2,−4,2)?
  1. 𝐱=(0,2)+s(1,−3), s∈ℝ
  2. 𝐱=(0,2)+s(3,1), s∈ℝ
  3. 𝐱=(0,−2)+s(1,−3), s∈ℝ
  4. 𝐱=(0,1)+s(1,−3), s∈ℝ
Show answerHide answer

Save this lesson to see this answer.

Question 9 of 10

An m×n matrix has rank 3, nullity 4, and left nullity 2. What is its shape?
  1. 7×5
  2. 5×7
  3. 3×7
  4. 5×4
Show answerHide answer

Save this lesson to see this answer.

Question 10 of 10

A 4×6 matrix has left null space {0}. What follows about solutions of A𝐱=𝐛?
  1. Every b is attainable with no free parameters.
  2. Some b are unattainable with two free parameters.
  3. Every b is attainable with two free parameters.
  4. Every b is attainable with four free parameters.
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

If 𝐛1=3𝐜1+2𝐜2 and 𝐛2=−𝐜1+𝐜2, what is P𝒞←ℬ?
  1. [32−11]
  2. [11−23]
  3. [312−1]
  4. [3−121]
Show answerHide answer

Save this lesson to see this answer.

Question 2 of 10

For P𝒞←ℬ=[2−112] and [𝐱]ℬ=(3,2), what is [𝐱]𝒞?
  1. (4,7)
  2. (8,1)
  3. (7,4)
  4. (1,2)
Show answerHide answer

Save this lesson to see this answer.

Question 3 of 10

If P𝒞←ℬ=[1201] and [𝐱]𝒞=(7,3), what is [𝐱]ℬ?
  1. (13,3)
  2. (7,−11)
  3. (1,3)
  4. (3,1)
Show answerHide answer

Save this lesson to see this answer.

Question 4 of 10

For ℬ=((2,1),(1,1)) and 𝒞=((1,0),(1,2)), what is P𝒞←ℬ?
  1. [1−1−13]
  2. [3/21/21/21/2]
  3. [2111]
  4. [3/21/2−1/21/2]
Show answerHide answer

Save this lesson to see this answer.

Question 5 of 10

What does reducing [Pℬ∣P𝒞] to [I∣Q] compute?
  1. Q converts C-coordinates to B-coordinates.
  2. Q converts B-coordinates to C-coordinates.
  3. Q converts standard coordinates to C-coordinates.
  4. Q converts B-coordinates to standard coordinates.
Show answerHide answer

Save this lesson to see this answer.

Question 6 of 10

For 𝒞=(1,t−1,(t−1)2), what are the C-coordinates of p(t)=2+3t+2t2?
  1. (2,3,2)
  2. (1,−1,2)
  3. (7,3,2)
  4. (7,7,2)
Show answerHide answer

Save this lesson to see this answer.

Question 7 of 10

If P𝒞←ℬ=[1201] and P𝒟←𝒞=[2011], what is P𝒟←ℬ?
  1. [4211]
  2. [2211]
  3. [2413]
  4. [3212]
Show answerHide answer

Save this lesson to see this answer.

Question 8 of 10

Let ℬ=(1+t,1−t) and 𝒞=(1,t). If [p]𝒞=(6,−2), what is [p]ℬ?
  1. (4,2)
  2. (2,4)
  3. (6,−2)
  4. (4,8)
Show answerHide answer

Save this lesson to see this answer.

Question 9 of 10

If P𝒞←ℬ=[0211], what are the B-coordinates of 𝐜1?
  1. (−1/2,1/2)
  2. (0,1)
  3. (1/2,−1/2)
  4. (1,0)
Show answerHide answer

Save this lesson to see this answer.

Question 10 of 10

For ℬ=((1,1),(0,2)) and 𝒞=((2,0),(1,1)), a vector has B-coordinates (2,−1). What are its C-coordinates?
  1. (2,0)
  2. (0,2)
  3. (2,−1)
  4. (1,0)
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

The columns of P are a new basis in standard coordinates, and A is a standard matrix. What is the matrix in the new basis?
  1. PAP−1
  2. AP−1P
  3. P−1AP
  4. P−1PA
Show answerHide answer

Save this lesson to see this answer.

Question 2 of 10

A linear map T:ℙ4→ℝ3 is represented relative to bases. What is its matrix size?
  1. 5×3
  2. 3×5
  3. 3×4
  4. 4×3
Show answerHide answer

Save this lesson to see this answer.

Question 3 of 10

For input basis (𝐛1,𝐛2) and output basis C, [T(𝐛1)]𝒞=(2,−3) and [T(𝐛2)]𝒞=(1,4). What is [T(3𝐛1−2𝐛2)]𝒞?
  1. (12,−5)
  2. (8,−1)
  3. (4,−17)
  4. (3,−2)
Show answerHide answer

Save this lesson to see this answer.

Question 4 of 10

For T:ℙ2→ℝ2 defined by T(p)=(p(0),p(2)), what is its matrix in standard bases?
  1. [100124]
  2. [124100]
  3. [012024]
  4. [111024]
Show answerHide answer

Save this lesson to see this answer.

Question 5 of 10

A map T:ℙ2→ℝ2 uses input basis ℬ=(1,1+t,t2). Its matrix has null-space basis (1,−1,2). What is a basis of ker⁡T?
  1. {1−t+2t2}
  2. {2t2+t}
  3. {t2−2t}
  4. {2t2−t}
Show answerHide answer

Save this lesson to see this answer.

Question 6 of 10

Let A=[2204] and ℬ=((1,0),(1,1)). What is the B-matrix of 𝐱↦A𝐱?
  1. [2004]
  2. [2204]
  3. [2404]
  4. [4002]
Show answerHide answer

Save this lesson to see this answer.

Question 7 of 10

Let A=[3102] and ℬ=((1,0),(1,1)). What is [T]ℬ for T(𝐱)=A𝐱?
  1. [3402]
  2. [3202]
  3. [3002]
  4. [3102]
Show answerHide answer

Save this lesson to see this answer.

Question 8 of 10

Why is J=[2102] not similar to 2I2?
  1. Their determinants are different.
  2. Their traces are different.
  3. Their ranks are different.
  4. Every conjugate of 2I₂ equals 2I₂.
Show answerHide answer

Save this lesson to see this answer.

Question 9 of 10

A matrix for T:V→W has five columns, four rows, and rank 3. What are the dimensions of the range and kernel?
  1. Range 3; kernel 1.
  2. Range 4; kernel 1.
  3. Range 3; kernel 2.
  4. Range 5; kernel 2.
Show answerHide answer

Save this lesson to see this answer.

Question 10 of 10

Let A=PDP−1 with P=[1101] and D=[2003]. What is A2?
  1. [4109]
  2. [4509]
  3. [4−509]
  4. [4009]
Show answerHide answer

Save this lesson to see this answer.

Stuck on your own question? Homework Help

Key Terms

54 Key Terms, each with its definition

A

Attainable output
An attainable output is a vector produced by some input under a map; for a matrix it lies in the column space and satisfies all left-null restrictions.
A right-hand side passing every left-null-basis dot-product test can be written as Ax for some x.

B

B-matrix
The B-matrix of a transformation from a space to itself uses the same ordered basis B for both input and output coordinates.
If T(b₁) = 2b₁ and T(b₂) = 5b₂, its B-matrix is diagonal with entries 2 and 5 in that order.
Basis extension
A basis extension adds vectors outside the current span of an independent set until the resulting set spans the whole space independently.
Append standard basis vectors to two independent vectors in ℝ³ and retain the original pivot columns.
Basis image
A basis image is the output obtained by applying a transformation to one input basis vector; its output coordinates supply one matrix column.
Differentiation sends t³ to 3t², giving column (0, 0, 3) in the output basis (1, t, t²).
Basis Theorem
The Basis Theorem says that a set matching a finite space’s dimension is a basis if it is independent or if it spans that space.
Three independent polynomials in ℙ₂ form a basis without a separate spanning calculation.
Basis-column matrix
A basis-column matrix places the vectors of an ordered basis in columns using a shared coordinate system, allowing coefficients to rebuild vectors.
The columns (1, 1) and (0, 2) send B-coordinates (3, −1) to the standard vector (3, 1).
Block row reduction
A block row reduction applies the same row operations to adjacent matrix blocks, so several right-hand-side coordinate systems are solved together.
Reducing [P_C | P_B] to [I | Q] computes all the C-coordinates of the B-basis vectors at once.

C

Change-of-coordinates matrix
A change-of-coordinates matrix converts a vector’s coefficient list from one ordered basis into its coefficient list in another basis of the same space.
Column j of P(C←B) is the C-coordinate vector of bⱼ, because a unit input selects that basis vector.
Codomain
The codomain of a transformation is its specified output vector space, which contains the range and determines the number of output coordinates.
Evaluation at two points has codomain ℝ², even when the input space contains polynomials.
Coefficient vector
A coefficient vector records a polynomial’s coefficients in a specified ordered polynomial basis, including zero entries for missing basis terms.
In (1, t, t²), the polynomial 5 + 2t² has coefficient vector (5, 0, 2), so the middle zero must stay.
Column space
The column space of an m × n matrix is the subspace of ℝᵐ formed by all linear combinations of its columns, or all attainable outputs.
The equation Ax = b is solvable when b can be expressed as a combination of A’s original columns.
Consistent system
A consistent system is a linear system with at least one solution, which may be unique or may belong to an infinite family of solutions.
A consistent system with nullity 2 has two free parameters after a particular solution is found.
Containing space
A containing space is the vector space in which a subspace lies; it fixes the kind and size of its vectors, independently of its dimension.
The row space of a 2 × 4 matrix lies in ℝ⁴, even when its own dimension is only 1.
Coordinate mapping
A coordinate mapping sends each vector to its coefficient vector in a fixed ordered basis; it is linear, one-to-one, and onto its coordinate space.
Testing independence of polynomials becomes a matrix calculation after taking their coefficient vectors.
Coordinate vector
A coordinate vector lists the unique coefficients expressing a vector as a combination of an ordered basis, with entries following the basis order.
If x = 2b₁ − 3b₂, its B-coordinate vector is (2, −3), regardless of the standard entries of x.

D

Dimension
The dimension of a finite-dimensional vector space is the number of vectors in any basis, which counts its independent degrees of freedom.
The symmetric 2 × 2 matrices have dimension 3 because three entries can be chosen independently.
Domain
The domain of a transformation is the vector space from which inputs are taken; its dimension determines the number of columns in a representation matrix.
Differentiation from ℙ₃ to ℙ₂ has a four-dimensional domain, so its matrix has four columns.

F

Finite-dimensional space
A finite-dimensional space is a vector space spanned by a finite set of vectors, so it has a basis with a finite number of members.
The five polynomials in the standard basis of ℙ₄ span every polynomial of degree at most four.
Four fundamental subspaces
The four fundamental subspaces of a matrix are its column space, row space, null space, and left null space, paired within input and output spaces.
For a 3 × 5 rank-2 matrix, their dimensions in that order are 2, 2, 3, and 1.
Full column rank
Full column rank means a matrix’s rank equals its number of columns, so its columns are independent and its ordinary null space is zero.
A 5 × 3 matrix of rank 3 gives a one-to-one map, although it cannot reach every vector in ℝ⁵.
Full row rank
Full row rank means a matrix’s rank equals its number of rows, so its columns span the entire output space of that matrix.
A 3 × 5 matrix of rank 3 reaches every output in ℝ³, with two free parameters for each output.

I

Infinite-dimensional space
An infinite-dimensional space is a vector space that no finite set spans; independent sets can exceed every finite basis-size proposal.
The space of all polynomials includes arbitrarily high powers that a finite list cannot generate.

K

Kernel
The kernel of a linear transformation is the subspace of its domain consisting of vectors whose image is the zero vector of the codomain.
Differentiation has the constant polynomials as its kernel because their derivatives are zero.

L

Left null space
The left null space of A is the null space of Aᵀ; its vectors supply coefficients of combinations of A’s rows that equal zero.
If row 3 is twice row 1 minus row 2, then (−2, 1, 1) belongs to the left null space.
Linear independence
Linear independence means that a linear combination of the given vectors equals zero only when every coefficient in that combination is zero.
Two vectors in a plane through the origin are independent when neither is a scalar multiple of the other.

N

Null space
The null space of an m × n matrix is the subspace of ℝⁿ consisting of every input vector sent to zero by multiplication by that matrix.
Solving Ax = 0 in parameter form produces basis vectors whose number equals the matrix’s nullity.
Nullity
The nullity of a matrix is the dimension of its null space, equal to the number of free variables in its homogeneous system.
A 3 × 7 matrix of rank 2 has nullity 5 because five input coordinates remain free after reduction.

O

Ordered basis
An ordered basis is a basis with a fixed sequence, so each coordinate position has a definite basis vector whose coefficient it records.
Swapping the two basis vectors swaps the two coordinates needed to describe the same vector.
Orthogonal complements
Two subspaces are orthogonal complements when each consists of all vectors perpendicular to every vector in the other.
Row A and Nul A are orthogonal complements in ℝⁿ; the column/left-null pair instead lives in ℝᵐ.
Outer product
An outer product multiplies a column vector by a row vector to form a matrix; its columns are scalar multiples of the first vector.
For u = (1, 2) and v = (3, −1), uvᵀ has columns 3u and −u and therefore has rank 1.

P

Parametric vector form
A parametric vector form expresses a solution as a fixed vector plus a linear combination of fixed direction vectors with free parameters.
For x − 2y + z = 0, the form y(2, 1, 0) + z(−1, 0, 1) gives the two basis directions directly.
Particular solution
A particular solution is one fixed vector satisfying a linear system, used as the starting point for its complete solution family.
Adding every vector of Nul A to a particular solution p gives all solutions of Ax = Ap.
Perpendicular vectors
Two perpendicular vectors have dot product zero; the same word describes subspaces when every vector in one is perpendicular to every vector in the other.
Any null-space vector is perpendicular to each row because every equation of Ax = 0 is a zero dot product.
Pivot column
A pivot column is a column position containing a leading entry in an echelon form; the corresponding original columns form a column-space basis.
If columns 1 and 4 contain the pivots, copy columns 1 and 4 from the unreduced matrix to build the basis.

R

Range
The range of a linear transformation is the subspace of its codomain consisting of all outputs obtained from vectors in its domain.
A matrix representation has rank equal to the range dimension, regardless of the bases used.
Rank
The rank of a matrix is the dimension of its column space, equal to the number of pivots and to the dimension of its row space.
A matrix with two pivot columns has rank 2, even if it is displayed with many more rows or columns.
Rank Theorem
The Rank Theorem states that a matrix’s rank plus its nullity equals its number of columns, partitioning the input dimension into two counts.
For a map from ℝ⁷ to ℝ⁴ with range dimension 3, the theorem gives kernel dimension 4.
Rank-one matrix
A rank-one matrix is a nonzero matrix whose column space is one-dimensional; it is an outer product of two nonzero vectors.
The columns of the matrix with rows (2, −1), (4, −2), and (6, −3) all lie on the line through (1, 2, 3).
Reference basis
A reference basis is a fixed basis used to express vectors from other bases in one shared coordinate system before comparing or converting them.
Using (1, t, t²), expand (1 + t)² as the coefficient column (1, 2, 1) before forming a basis matrix.
Representation matrix
A representation matrix of a linear transformation maps input-basis coordinates to output-basis coordinates, with columns given by the images of input basis vectors.
To build the differentiation matrix, differentiate each input basis polynomial and write its output coordinates.
Reverse coordinate conversion
A reverse coordinate conversion recovers the original basis coefficients and is performed by the inverse of the forward conversion matrix.
Apply P(B←C) to a C-coordinate vector to recover its B-coordinates without changing the vector.
Row dependency
A row dependency is a linear combination of rows equal to zero with at least one nonzero coefficient, described by a nonzero left-null vector.
The equation 3 row₁ − row₂ + row₃ = 0 gives the left-null vector (3, −1, 1).
Row space
The row space of an m × n matrix is the subspace of ℝⁿ spanned by its rows, with each row read as a vector of n entries.
Nonzero echelon rows give a basis of the row space because row operations preserve its span.

S

Similar matrices
Similar matrices are square matrices related by an invertible change B = P⁻¹AP, representing one linear transformation in different bases.
The product P⁻¹AP converts input coordinates, applies A, and converts the output back to the new basis.
Similarity invariant
A similarity invariant is a quantity unchanged by an invertible simultaneous basis change; rank, determinant, and trace are examples.
Two matrices can share all three quantities and still fail to represent the same map in different bases.
Singular matrix
A singular matrix is a square matrix that is not invertible, equivalently one whose rank is smaller than its row and column count.
A 4 × 4 product passing through a two-dimensional middle space is singular because its rank is at most 2.
Solvability condition
A solvability condition is a restriction on a right-hand side required for a solution; a left-null basis supplies a complete set of such restrictions.
The left-null vector (2, −1, 1) imposes the equation 2b₁ − b₂ + b₃ = 0 on every attainable b.
Spanning set
A spanning set is a collection whose linear combinations produce every vector in the space under discussion; it may contain dependent vectors.
The vectors (1, 0), (0, 1), and (1, 1) span ℝ², although the third is a combination of the first two.
Spanning-set reduction
A spanning-set reduction removes dependent vectors while keeping the same span, eventually leaving an independent spanning set as a basis.
Selecting original pivot columns reduces a generating list without changing the subspace it describes.
Standard matrix
The standard matrix of a map between Euclidean spaces uses the standard input and output bases, so its columns are the images of standard basis vectors.
For T(x, y) = (2x + y, 3y), the standard matrix has columns (2, 0) and (1, 3).
Standard polynomial basis
The standard polynomial basis of ℙn is the ordered list 1,t,…,tn, which identifies polynomials with their coefficients.
In ℙ₂, the polynomial 4 − t + 2t² has standard coordinate vector (4, −1, 2), including its constant term.
Subspace dimension
A subspace dimension is the size of a basis of that subspace and cannot exceed the dimension of its finite-dimensional containing space.
A plane through the origin in ℝ³ has dimension 2, even though each of its vectors has three entries.

T

Trace
The trace of a square matrix is the sum of its diagonal entries; similar matrices have the same trace even when their entries differ.
A matrix with diagonal entries 4 and 1 has trace 5, matching any matrix similar to it.

Z

Zero space
The zero space is the vector space containing only the zero vector; its basis is the empty set and its dimension is zero.
A homogeneous system with only the zero solution has the zero space as its solution space.

About this lesson

By StudeliReport a mistake

Make your own Study Materials

Turn your notes, slides and documents into Study Guides, Practice Questions, Flashcards and 6 more tools.

Get Started