Is there a way to calculate eigenvalues for symbolic matrices?

swsw
Tue, 27 Feb 2024 03:30:19 +0000
Statistics

I’d like to calculate the eigenvalues for the matrix like

[1 1; x x]

in julia. is there a way to do it? I tried the following but didn’t work.

using SymPy

@syms x
A = [1 1; x x]

eigen(A)

6 posts - 3 participants