On Mar 20, 2009, at 9:09 AM, Bob Gotwals wrote:

I need to find the determinant of this matrix

x 1 0 0
1 x 1 0
0 1 x 1
0 0 1 x

det yields x^4-3x^2+1

I can then use polyroot to find the roots of the coefficients.

The question is about the use of "x", which is what I'm solving for.

If you are asking how to use R for symbolic algebra, then the answer might be investigate package Ryacas.



David Winsemius, MD
Heritage Laboratories
West Hartford, CT

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to