Why Is the Dimension of the Solution Space n-r in Linear Algebra?

  • Context: Undergrad 
  • Thread starter Thread starter ajayguhan
  • Start date Start date
  • Tags Tags
    Dimension Space
Click For Summary

Discussion Overview

The discussion centers on the dimension of the solution space in linear algebra, specifically addressing why it is expressed as n-r, where n represents the number of unknowns and r denotes the rank of a matrix A. The conversation explores theoretical aspects of linear algebra, including concepts related to the null space and the implications of matrix transformations.

Discussion Character

  • Technical explanation
  • Conceptual clarification
  • Debate/contested

Main Points Raised

  • Some participants assert that the dimension of the solution space is n-r, linking it to the rank of the matrix A.
  • One participant suggests performing Gauss-Jordan elimination to observe the dimension of the solution space directly in the resulting matrix.
  • Another participant defines rank as the number of linearly independent vectors in a matrix and questions whether this should equate to the dimension of the solution space.
  • A participant clarifies that the column vectors of the matrix do not belong to the solution space, which is identified as the null space of A, and raises questions about the vector spaces associated with the row space, column space, and null space.
  • One participant expresses confusion regarding the assertion that the dimension of the solution space is n-r, despite their belief that it should equal the rank of A.
  • A detailed explanation is provided about the relationships between the row space, column space, and null space, emphasizing that the rank remains unchanged through elementary row operations and that the dimension of the null space can be derived from the number of non-pivot columns after reduction.

Areas of Agreement / Disagreement

Participants express differing views on the relationship between the rank of a matrix and the dimension of the solution space. While some support the n-r formulation, others challenge this by suggesting that the dimension should equal the rank. The discussion remains unresolved with multiple competing perspectives presented.

Contextual Notes

Participants reference various concepts such as the definitions of rank, null space, and the effects of matrix transformations, but there are limitations in the assumptions made about these definitions and their implications. The discussion does not resolve the mathematical steps involved in deriving the dimension of the solution space.

ajayguhan
Messages
153
Reaction score
1
How is the dimension of solution space is n-r, where n is the number of unknowns and r is the rank of A.
 
Physics news on Phys.org
Just perform Gauss-Jordan elimination on the matrix and you see it immediately in the resulting matrix.
 
Rank is the number of lineraly independent vector of a matrix.
Dimension is the number of lineraly independent vector of vector space.
So rank r should be the dimension of the solution space, isn't it?
 
But the column vectors of the matrix do not lie in the solution space, do they?

(With "solution space" I assume that you mean what is commonly called the null space of the matrix A, i.e. the set of vectors x, which satisfy Ax=0.)

If the matrix A is of type m x n, which vector spaces Rk are the row space, column space, and null space subspaces of, respectively? And which vector spaces have a dimension equal to the rank of A?
 
Solution space must have a dimension equal to rank A.
But it is been stated that dimension of solution space in n-r , so i didn't get it!
 
Ok, the rows of an m x n matrix A can be considered as vectors in Rn and the columns as vectors in Rm. The row vectors then span a subspace of Rn called the row space of A, and the column vectors span a subspace of Rm called the column space of A.
It turns out (and we will actually show) that the row space and the column space of A have the same dimension, r, and we define the rank of A to be this common dimension, that is: rank A = r. Clearly, rank A ≤ min(m,n).

A solution x of the homogeneous system Ax=0, where 0 lies in Rm, is then a vector in Rn. The set of these solution vectors x is in fact a subspace of Rn, called the null space of A.

Now, if we perform elementary row operations on A, obtaining a new matrix A', the null space is unchanged (which is the entire point with performing such operations). Another way to express this is to say that the linear relations between the columns are unchanged after such operations: so if some column in A is a linear combination of some of the others, then the same is true for the corresponding columns in A', with the same coefficients in the linear combination, and if some columns in A are linearly independent, so are the corresponding columns in A'. We can select a basis for the column space among the columns in A, and the corresponding columns in A' is a basis for its column space. So, although the column space changes by elementary row operations, the dimension of the column space does not change, that is: rank A = rank A'.
It is also easy to see that the row space does not change at all with elementary row operations: every new row is a linear combination of the old rows, and vice versa.

Now, if we perform Gauss-Jordan elimination on A so that A' has reduced row echelon form, then rank A' = rank A = r (unchanged) and the null space of A' and its dimension are the same as for A. Now, it is easy to see that the pivot rows in A' constitutes a basis for the row space of A', and that the pivot columns of A' constitutes a basis for the column space of A'. Since the pivot rows and the pivot columns of A' are equally many (one of each for each pivot element), this gives a proof that the row space and the column space of A have the same dimension (since this holds for A'), namely, rank A = rank A' = r.

Now, from A', we can immediately write down the solutions of A'x=0, which are the same as the solutions of Ax=0: we choose the variables corresponding to non-pivot columns in A' freely as parameters, or coefficients in linear combinations of some basis vectors for the null space of A' (which are obtained from the solutions, there are usually examples of this in textbooks), and hence of A. Since there are r pivot columns, there are n-r non-pivot columns, and then there are also n-r basis vectors for the null space, so the dimension of the common null space of A' and A is n-r.
 
Last edited:

Similar threads

  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 25 ·
Replies
25
Views
4K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 18 ·
Replies
18
Views
4K
  • · Replies 14 ·
Replies
14
Views
5K
  • · Replies 0 ·
Replies
0
Views
3K