Skip to content

Esta página también está en español.

Léela en español

このページは日本語でも読めます。

日本語で読む

本页也有简体中文版本。

阅读简体中文版本

Matrix inverse (inverse)

Inverse of a square matrix.

With this function, the solver shows the steps whenever it finds them.

How to write it

inverse(matrix)

matrix
A matrix, written as a list of rows. Takes a matrix, written as a list of rows.

Examples

  • (1234)−1=(−2132−12)\displaystyle \begin{pmatrix} 1 & 2 \\ 3 & 4 \end{pmatrix}^{-1} = \begin{pmatrix} -2 & 1 \\ \frac{3}{2} & -\frac{1}{2} \end{pmatrix}
    inverse([[1, 2], [3, 4]])

    In the solver, inverse([[1, 2], [3, 4]]) gives [[-2, 1], [3/2, -1/2]].

    Open in the solver