How to convert polynomial to matrix?

Click For Summary
To convert a polynomial to a matrix, one can represent it as a coefficient matrix based on a chosen basis for the polynomial space, such as {1, x, x^2, x^3, x^4}. For example, the polynomial 3x^4 - 2x^2 + 5 can be represented as the vector [5, 0, -2, 0, 3]. While this representation is not a 4x4 matrix, it effectively captures the polynomial's coefficients. Additionally, creating a companion matrix can relate to the polynomial's characteristic polynomial and eigenvalues. Understanding these concepts can aid in converting polynomials into matrix forms effectively.
m2006
Messages
1
Reaction score
0
How to convert polynomial to matrix?

Does anyone know how to convert a polynomial to a matrix. I have been told that it is possible to convert a fourth order polynomial to a 4x4 Matrix in Matlab but I have no clue how to go about it and how it is done. :confused: Any suggestions or even where to look would be GREATLY helpful!
 
Physics news on Phys.org
Can you be more specific about what you are trying to do?

If you were to choose a basis for the space of fourth degree polynomials, like \{ 1,x,x^2,x^3,x^4 \}, then it is possible to represent a polynomial as an element of this vector space by a coefficient matrix.

For example, 3x^4-2x^2+5 \mapsto \left[5,0,-2,0,3 \right]. This is not a 4x4 matrix like you are looking for, but it is a representation of the polynomial as a matrix.

If you are more specific about what you are trying to do, maybe I can offer more insight, although I am not sure if what you want can be done.
 


check this out for making a companion matrix for a given polynomial:
http://en.wikipedia.org/wiki/Companion_matrix

The determinant of a companion matrix is a polynomial in λ, known as the characteristic polynomial. λs are the eigenvalues, they are also the solutions to the polynomial.

This works well for polynomials of degree 4 or smaller since they can be solved by a finite sequence of arithmetic operations and radicals.

hope this helps.
 


use cayley-Hamilton theorem from backwards,it will help...
 
I am studying the mathematical formalism behind non-commutative geometry approach to quantum gravity. I was reading about Hopf algebras and their Drinfeld twist with a specific example of the Moyal-Weyl twist defined as F=exp(-iλ/2θ^(μν)∂_μ⊗∂_ν) where λ is a constant parametar and θ antisymmetric constant tensor. {∂_μ} is the basis of the tangent vector space over the underlying spacetime Now, from my understanding the enveloping algebra which appears in the definition of the Hopf algebra...

Similar threads

  • · Replies 14 ·
Replies
14
Views
3K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 0 ·
Replies
0
Views
2K
  • · Replies 34 ·
2
Replies
34
Views
3K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 2 ·
Replies
2
Views
10K
  • · Replies 6 ·
Replies
6
Views
2K