Finding the Inverse of a Matrix

Description

Here is a Sage cell that calculates the inverse of matrix $\it{A}$, where

(1)
\begin{align} \it{A} = \begin{pmatrix} 1 & 2 \\ 3 & 4 \end{pmatrix} \end{align}

Sage Cell

Code

A = matrix(2, 2, [1, 2, 3, 4])
B = A.inverse()
B

Options

None.

Tags

CC:

Primary Tags: Linear algebra: Matrices.

Secondary Tags: Matrices: Matrix basics, Matrix inverses.

Related Cells

Attribute

Permalink:

Author: R. Beezer

Date: 04 Mar 2019 21:51

Submitted by: Zane Corbiere

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