Mathematica 9 is now available

NullSpace

Usage

NullSpace[m]给出一个由矩阵m的零空间的基底构成的向量列表.


Notes

NullSpace既适用于数值矩阵,又适用于符号矩阵.
NullSpace[m, Modulus->n]给出整数矩阵模 n 的零空间.
NullSpace[m, ZeroTest -> test]test[ m[[i, j]] ] 进行计算以判断矩阵元素是否为零. 它的缺省设置是ZeroTest -> Automatic.
NullSpace中也可以给出Method可选项.可用的设置见LinearSolve.
• 参见Mathematica 全书: 3.7.8节.
• 同时参见: LinearSolve, RowReduce, SingularValues.
Further Examples

This matrix is nonsingular.

In[1]:=  

Out[1]=

The nullspace of a nonsingular matrix  is trivial. In other words, there is no nonzero vector  such that  .

In[2]:=  

Out[2]=

This nullspace has dimension  .

In[3]:=  

Out[3]=

This checks the result.

In[4]:=  

Out[4]=

These two vectors span the nullspace of the  x  matrix.

In[5]:=  

Out[5]=

Multiplying any linear combination of these vectors by the matrix gives the zero vector.

In[6]:=  

Out[6]=

This simplifies the expression.

In[7]:=  

Out[7]=

The rank of the matrix is the difference between the dimension of the range and the dimension of the nullspace.

In[8]:=  

Out[8]=

In[9]:=  



Any questions about topics on this page? Click here to get an individual response.Buy NowMore Information
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.