Function Repository Resource:

ColumnSpace

Source Notebook

Compute properties of the column space of a matrix

Contributed by: Wolfram|Alpha Math Team

ResourceFunction["ColumnSpace"][mat,prop]

returns the column space property prop of the matrix mat.

ResourceFunction["ColumnSpace"][mat]

returns an association of column space properties of mat.

Details and Options

The allowed value of prop in ResourceFunction["ColumnSpace"] are "Region", "Basis", "OrthonormalBasis", "Dimension" and All (default).
The basis and orthonormal basis returned by ResourceFunction["ColumnSpace"] are non-unique; other choices of basis are possible.

Examples

Basic Examples (5) 

Find an orthonormal basis of the column space of a matrix:

In[1]:=
ResourceFunction["ColumnSpace"][{{1, 2}, {3, 4}}, "OrthonormalBasis"]
Out[1]=

Find another basis of the column space of a matrix:

In[2]:=
ResourceFunction["ColumnSpace"][{{1, 2}, {3, 4}}, "Basis"]
Out[2]=

Find the dimension of the column space of a matrix:

In[3]:=
ResourceFunction["ColumnSpace"][{{1, 2}, {3, 4}}, "Dimension"]
Out[3]=

Get a ParametricRegion representation of the column space of a matrix:

In[4]:=
ResourceFunction["ColumnSpace"][{{1, 2}, {3, 4}}, "Region"]
Out[4]=

Get all properties of the column space of a matrix:

In[5]:=
ResourceFunction["ColumnSpace"][{{1, 2}, {3, 4}}, All]
Out[5]=

Scope (1) 

The input matrix to ColumnSpace need not be square:

In[6]:=
mat = {{1, 2}, {5, 6}, {3, 4}};
In[7]:=
SquareMatrixQ[mat]
Out[7]=
In[8]:=
ResourceFunction["ColumnSpace"][mat]
Out[8]=

Publisher

Wolfram|Alpha Math Team

Version History

  • 4.0.0 – 23 March 2023
  • 3.1.0 – 12 May 2021
  • 3.0.0 – 24 January 2020
  • 2.0.0 – 06 September 2019
  • 1.0.0 – 26 August 2019

Related Resources

License Information