# Geometric multiplicities

Is there any function to find the geometric multiplicities of an eigenvalue of a matrix?

Geometric multiplicities

Is there any function to find the geometric multiplicities of an eigenvalue of a matrix?

add a comment

1

Example:

```
A = Matrix([[2,0,0,0],[1,2,0,0],[0,1,3,0],[0,0,1,3]])
for (l, E) in A.right_eigenspaces():
print('Eigenvalue', l, 'has geometric multiplicity', E.dimension())
```

Output:

```
Eigenvalue 3 has geometric multiplicity 1
Eigenvalue 2 has geometric multiplicity 1
```

Please start posting anonymously - your entry will be published after you log in or create a new account.

Asked: ** 2023-03-23 16:00:31 +0200 **

Seen: **145 times**

Last updated: **Mar 23 '23**

Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.