Matrix Singularity

Description

We can use the .is_singular() command to see if a matrix, say

(1)
\begin{align} A = \begin{pmatrix} 1 & 2 & 3 \\ 4 & 5 & 6 \\ 7 & 8 & 9 \end{pmatrix}, \end{align}

is invertible or not. If the command returns false, the matrix is invertible, and if it returns true, then the matrix is not invertible, or singular.

Sage Cell

Code

A = matrix(QQ, [[1, 2, 3], [4, 5, 6], [7, 8, 9]])
A.is_singular()

Options

None.

Tags

CC:

Primary Tags: Linear algebra: Matrices.

Secondary Tags: Matrices: Matrix basics, Matrix inverses.

Related Cells

Attribute

Permalink:

Author: R. Beezer

Date: 01 Mar 2020 21:04

Submitted by: Zane Corbiere

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License