LinearAlgebra
NullSpace
compute a basis for the nullspace (kernel) of a Matrix
Calling Sequence
Parameters
Description
Examples
NullSpace(A, options)
A
-
Matrix
options
(optional); constructor options for the result object
The NullSpace(A) function computes a basis for the nullspace (kernel) of the linear transformation defined by Matrix A. The result is a (possibly empty) set of Vectors.
The constructor options provide additional information (readonly, shape, storage, order, datatype, and attributes) to the Vector constructor that builds the result. These options may also be provided in the form outputoptions=[...], where [...] represents a Maple list. If a constructor option is provided in both the calling sequence directly and in an outputoptions option, the latter takes precedence (regardless of the order). If constructor options are specified in the calling sequence, each resulting Vector has the same specified options.
This function is part of the LinearAlgebra package, and so it can be used in the form NullSpace(..) only after executing the command with(LinearAlgebra). However, it can always be accessed through the long form of the command by using LinearAlgebra[NullSpace](..).
with⁡LinearAlgebra:
A≔6,3,0|4,2,0|2,1,0
A≔642321000
kern≔NullSpace⁡A
kern≔−1301,−2310
A·kern1
000
A·kern2
NullSpace⁡IdentityMatrix⁡3
∅
B≔Matrix⁡13,12,12,34,1,32,datatype=float
B≔0.3333333333333330.5000000000000000.5000000000000000.7500000000000001.1.50000000000000
NullSpace⁡B
0.832050294337844−0.554700196225229
See Also
LinearAlgebra[Basis]
LinearAlgebra[LUDecomposition]
LinearAlgebra[RowSpace]
Vector
Download Help Document