On degenerate linear systems

750 Views Asked by At

Is it true that if in $$AX=0$$ where $A$ is $n\times n$ matrix over field $\Bbb K$ and $X$ is a length $n$ vector of variables if $rank(A)=n-1$ we will have an unique solution up to constant factors?

How do you solve for such a solution (assume $XX'=r\in\Bbb N$)?

1

There are 1 best solutions below

6
On

You're basically asking for the null space of $A$.

A standard way to find a basis for the null space is to take the singular value decomposition:

$$ U \Sigma V^* = A $$

where $\Sigma$ is a diagonal matrix containing what is known as the singular values.

  • The number of non-zero singular values give you the rank of matrix A.
  • The number of zero singular values gives you the dimension of the null space.
  • Columns of $V$ associated with zero singular values form a basis for the null space of A.

Note: this is how many numerical linear algebra systems (eg. Matlab, numpy) calculate rank and null space.