# Eigenvectors of a matrix (eigenvectors)

Eigenvectors of a square matrix, one for each eigenvalue.

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

## How to write it

### eigenvectors(matrix)

**matrix**

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

## Examples

- $\displaystyle \begin{pmatrix} 2 & 1 \\ 1 & 2 \end{pmatrix} = \begin{pmatrix} -1 & 1 \\ 1 & 1 \end{pmatrix}$

  `eigenvectors([[2, 1], [1, 2]])`

  In the solver, `eigenvectors([[2, 1], [1, 2]])` gives `[[-1, 1], [1, 1]]`.

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

## Related functions

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

  Hilbert matrix of a given size: the entry in row i and column j is 1/(i + j - 1).
- [eigenvalues](https://hilberon.com/library/eigenvalues)

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

  Identity matrix of a given size.
- [eigensystem](https://hilberon.com/library/eigensystem)

  Eigenvalues and eigenvectors of a square matrix together: the values, then the vectors.
- [inverse](https://hilberon.com/library/inverse)

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

  Dot product of two vectors, or product of two matrices.

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