How to compute the the basis of the Null space in Maple

1.4k Views Asked by At

Can any one tell me how to find the basis for the Null space of a matrix A in Maple? I mean, If A is any Matrix of real numbers, then I want to compute the basis of the subspace Null(A). Thanks to every one who will can support me with the code.

2

There are 2 best solutions below

5
On

It is very easy. Let's have a matrix like $A$:

$$A=\begin{pmatrix} 6 & 4 & 2\\ 3 & 2 & 1 \\ 0 &0 &0 \end{pmatrix}$$ Now you can call just:

  with(LinearAlgebra):
  NullSpace(A);

$$\langle \begin{pmatrix} 2 \\ -3 \\ 0 \\ 1 \end{pmatrix},\begin{pmatrix} 1 \\ -2 \\ 1 \\ 0 \end{pmatrix}\rangle$$

3
On

In addition another answers;

enter image description here

$\color{red}{You ~can ~use ~this ~code ~for ~plot}$

enter image description here