# Jordan normal form (jordan_form)

Jordan normal form of a square matrix.

## How to write it

### jordan_form(matrix)

**matrix**

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

## Examples

- $\displaystyle \operatorname{jordan\_form}\left(\begin{pmatrix} 2 & 1 \\ 0 & 2 \end{pmatrix}\right) = \begin{pmatrix} 2 & 1 \\ 0 & 2 \end{pmatrix}$

  `jordan_form([[2, 1], [0, 2]])`

  In the solver, `jordan_form([[2, 1], [0, 2]])` gives `[[2, 1], [0, 2]]`.

  [Open in the solver](https://hilberon.com/?q=jordan_form%28%5B%5B2%2C%201%5D%2C%20%5B0%2C%202%5D%5D%29)

## Related functions

- [jordan_decomposition](https://hilberon.com/library/jordan_decomposition)

  Jordan decomposition of a square matrix: the matrix of generalized eigenvectors and the Jordan form.
- [kronecker_product](https://hilberon.com/library/kronecker_product)

  Kronecker product of two matrices.
- [lower_triangularize](https://hilberon.com/library/lower_triangularize)

  A matrix with the entries above the diagonal set to zero.
- [inverse](https://hilberon.com/library/inverse)

  Inverse of a square matrix.
- [lu_decomposition](https://hilberon.com/library/lu_decomposition)

  LU decomposition of a matrix: the lower and upper factors and the row order.
- [identity_matrix](https://hilberon.com/library/identity_matrix)

  Identity matrix of a given size.

---
Source: https://hilberon.com/library/jordan_form
