>
> A brief description is - the sqrt(matrix determinant) is not equal to the 
> product of the eigenvalues of matrix**(1/2).
>
> Could you please help a little bit in there...? Would what I am doing even 
> be mathematically correct?
>

>>> var('a:d')
(a, b, c, d)
>>> m=Matrix(2,2,[a,b,c,d])
>>> m.det()
a*d - b*c
>>> m.eigenvals()
{a/2 + d/2 - sqrt(a**2 - 2*a*d + 4*b*c + d**2)/2: 1, a/2 + d/2 + sqrt(a**2 
- 2*a*d + 4*b*c + d**2)/2: 1}
>>> Mul(*_).simplify()
a*d - b*c

>>> m3=Matrix(3,3,var('x:9'))
>>> d=m3.det()
>>> e=Mul(*m3.eigenvals()).simplify()
>>> d==e
True 

Does someone have the identity wrong? above it appears that det(M) = 
Mul(*M.eigenvals())

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sympy+unsubscr...@googlegroups.com.
To post to this group, send email to sympy@googlegroups.com.
Visit this group at http://groups.google.com/group/sympy.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/f91aea76-e95a-4dfc-b861-06e4b2ac367f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to