First time here? Check out the FAQ!

Ask Your Question
1

How to create matrix from x^3-8*x^2-44*x-49 (polynomal data)

asked 3 years ago

Feofan-kornica gravatar image

A=matrix([[2,4,5],[7,5,9],[3,2,1]]) A

Preview: (hide)

Comments

Welcome to Ask Sage! Thank you for your question.

slelievre gravatar imageslelievre ( 3 years ago )

Is your question how to find a matrix that has a specified characteristic polynomial?

slelievre gravatar imageslelievre ( 3 years ago )

1 Answer

Sort by » oldest newest most voted
1

answered 3 years ago

If p is a polynomial, then matrix.companion(p) returns a matrix which has p as its characteristic polynomial. Since such matrices are not unique, you shouldn't expect it to give the precise matrix that you've specified.

Preview: (hide)
link

Your Answer

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

Add Answer

Question Tools

1 follower

Stats

Asked: 3 years ago

Seen: 154 times

Last updated: Aug 14 '21