PRODUCTS
Products Overview
Mathematica
Mathematica Student Edition
Mathematica Home Edition
Wolfram
CDF Player
(free download)
Computable Document Format (CDF)
web
Mathematica
grid
Mathematica
Wolfram
Workbench
Wolfram
SystemModeler
Wolfram
Finance Platform
Mathematica
Add-Ons
Wolfram|Alpha Products
SOLUTIONS
Solutions Overview
Engineering
Aerospace Engineering & Defense
Chemical Engineering
Control Systems
Electrical Engineering
Image Processing
Industrial Engineering
Materials Science
Mechanical Engineering
Operations Research
Optics
Petroleum Engineering
Biotechnology & Medicine
Bioinformatics
Medical Imaging
Finance, Statistics & Business Analysis
Actuarial Sciences
Data Analysis & Mining
Econometrics
Economics
Financial Engineering & Mathematics
Financial Risk Management
Statistics
Software Engineering & Content Delivery
Authoring & Publishing
Interface Development
Software Engineering
Web Development
Science
Astronomy
Biological Sciences
Chemistry
Environmental Sciences
Geosciences
Social & Behavioral Sciences
Design, Arts & Entertainment
Game Design, Special Effects & Generative Art
Education
STEM Education Initiative
Higher Education
Community & Technical College Education
Primary & Secondary Education
Students
Technology
Computable Document Format (CDF)
High-Performance & Parallel Computing (HPC)
See Also: Technology Guide
PURCHASE
Online Store
Other Ways to Buy
Volume & Site Licensing
Contact Sales
Software
Service
Upgrades
Training
Books
Merchandise
SUPPORT
Support Overview
Mathematica
Documentation
Knowledge Base
Learning Center
Technical Services
Community & Forums
Training
Does My Site Have a License?
Wolfram User Portal
COMPANY
About Wolfram Research
News
Events
Wolfram Blog
Partnerships
Employment Opportunities
History of
Mathematica
Stephen Wolfram's Home Page
Contact Us
OUR SITES
All Sites
Wolfram|Alpha
Demonstrations Project
MathWorld
Integrator
Wolfram Functions Site
Mathematica Journal
Wolfram Media
Wolfram
Tones
Wolfram Science
Stephen Wolfram
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE
DOCUMENTATION CENTER
FOR THE LATEST INFORMATION.
DOCUMENTATION CENTER SEARCH
New to
Mathematica
?
Find your learning path
»
Mathematica
>
Mathematics and Algorithms
>
Matrices and Linear Algebra
>
Linear Systems
>
NullSpace
>
Mathematica
>
Mathematics and Algorithms
>
Graphs & Networks
>
Graph Programming
>
Matrices and Linear Algebra
>
Linear Systems
>
NullSpace
>
Mathematica
>
Visualization and Graphics
>
Graphs & Networks
>
Graph Programming
>
Matrices and Linear Algebra
>
Linear Systems
>
NullSpace
>
BUILT-IN MATHEMATICA SYMBOL
Solving Linear Systems
Tutorials »
|
MatrixRank
LinearSolve
RowReduce
SingularValueList
Eigenvalues
Det
Inverse
FindLinearRecurrence
See Also »
|
Linear Systems
Matrices and Linear Algebra
New in 8.0: Mathematics & Algorithms
More About »
NullSpace
NullSpace
[
m
]
gives a list of vectors that forms a basis for the null space of the matrix
m
.
MORE INFORMATION
NullSpace
works on both numerical and symbolic matrices.
The following options can be given:
Method
Automatic
method to use
Modulus
0
integer modulus to use
Tolerance
Automatic
numerical tolerance to use
ZeroTest
Automatic
function to test whether matrix elements should be considered to be zero
NullSpace
[
m
,
Modulus
->
n
]
finds null spaces for integer matrices modulo
n
.
NullSpace
[
m
,
ZeroTest
->
test
]
evaluates
to determine whether matrix elements are zero.
Possible settings for the
Method
option include
,
, and
. The default setting of
Automatic
switches among these methods depending on the matrix given.
EXAMPLES
CLOSE ALL
Basic Examples
(1)
Find the null space of a 3×3 matrix:
The action of
on the vector is the zero vector:
Find the null space of a 3×3 matrix:
In[1]:=
In[2]:=
Out[2]=
The action of
on the vector is the zero vector:
In[3]:=
Out[3]=
Scope
(2)
is a 3×4 matrix:
Use exact arithmetic to find the null space:
Use machine arithmetic:
Use 20-digit precision arithmetic:
Compute the null space for a complex matrix:
Generalizations & Extensions
(1)
Find the null space symbolically:
Options
(1)
is a 3×3 random matrix of integers between 0 and 4:
Use arithmetic modulo 5 to compute the null space:
The vector is in the null space modulo 5:
Applications
(2)
is a 3×3 singular matrix with a nonempty null space:
Find a solution
for
:
All solutions are given by
where
is any vector in the null space:
Find a basis for the eigenspace for a particular eigenvalue:
Properties & Relations
(2)
is a 5×5 matrix:
The null space of
:
Arbitrary linear combinations of the null space of
give zero:
is a 3×4 matrix of random zeros and ones:
The
MatrixRank
equals the column dimension of
minus the dimension of the null space:
SEE ALSO
MatrixRank
LinearSolve
RowReduce
SingularValueList
Eigenvalues
Det
Inverse
FindLinearRecurrence
TUTORIALS
Solving Linear Systems
MORE ABOUT
Linear Systems
Matrices and Linear Algebra
New in 8.0: Mathematics & Algorithms
RELATED LINKS
Implementation notes: Numerical and Related Functions
Implementation notes: Algebra and Calculus
NKS|Online
(
A New Kind of Science
)
New in 1 | Last modified in 3