Linear Algebra - Quadratic polynomial to Matrix

Click For Summary

Homework Help Overview

The discussion revolves around expressing a given quadratic polynomial in terms of a symmetric matrix. The polynomial in question is f(x1,x2,x3)=x1x2−6x22+3x2x3−3x23, and participants are exploring how to derive the corresponding matrix A that satisfies the polynomial's structure.

Discussion Character

  • Exploratory, Conceptual clarification, Mathematical reasoning, Assumption checking

Approaches and Questions Raised

  • The original poster attempts to work backwards from the polynomial to find the symmetric matrix A. They express the polynomial in grouped terms and derive a matrix based on their grouping. However, they question the correctness of their derived matrix when it is flagged as incorrect by the homework system.
  • Some participants point out that the matrix derived by the original poster is not symmetric, raising questions about the properties of the matrix required for the polynomial representation.
  • Another participant introduces the concept of decomposing a non-symmetric matrix into symmetric and skew-symmetric parts, suggesting that only the symmetric part is relevant for defining the polynomial.
  • There is a discussion about the uniqueness of the representation of polynomials in terms of symmetric matrices, with one participant noting that while there are infinite representations, restricting to symmetric matrices leads to a unique solution.

Discussion Status

Contextual Notes

Participants are navigating the constraints of the homework system's requirements for matrix A, and there is an emphasis on the need for the matrix to be symmetric in order to correctly represent the polynomial.

Snoogx
Messages
22
Reaction score
0

Homework Statement


Examining the answers of the previous two questions, write the quadratic polynomial f(x1,x2,x3)=x1x2−6x22+3x2x3−3x23 in the form
f(x1,x2,x3)=[x1x2x3]A[x1x2x3]<-this last group is a column matrix
where A is a symmetric matrix.


Homework Equations


Matrix multiplication


The Attempt at a Solution


So the previous problems had me start with the matrix, then multiply by the row then column vectors to get a polynomial. Then here it wants me to work backwards to get matrix A.

I started with:
x1x2−6x22+3x2x3−3x23.
Grouped like terms:
(x1x2) + (−6x22 + 3x2x3) + (−3x23)
Took out an x1, x2, x3 form each grouping, respectively. That gives me the second step of the problem:
[(x2) (−6x2 3x3) (−3x3)] [x1 x2 x3] <-again, column matrix
So, working backwards, I now have to find the values of the elements of matrix A so when multiplied by row vector [x1 x2 x3] will result in the output of [(x2) (−6x2 3x3) (−3x3)].
In other words, [x1][# # #](<-column) will equal [x2].
So I end up getting matrix A =
[ 0 0 0
1 -6 0
0 3 -3]

I know A11 = 0 and A22 = -6 are correct. But when I input the rest of the matrix in they homework system tells me I'm wrong.
Could anyone look through this and see if I made a mistake somewhere? Or maybe the system has the wrong key and my answer is correct? Any insight and help is greatly appreciated.

Thanks
 
Physics news on Phys.org
that matrix is not symmetric for a start
 
now say you have found a matrix B that is not symmetric, but gives you the correct polynomial. you can always write it in terms of a symmetric (S) and skew-symmetric (P) part
B = S+P

consider the polynomial
p(x) = xTBx = xTSx + xTPx =

as p(x) is a scalar function, it will be equal to its transpose
p(x) = p(x)T = (xTSx)T + (xTPx)T = (xTST x)] + (xTPTx)
= (xTS x) - (xTPx)

which implies xTPx = 0 that only the symmetric part of the matrix is important in defining the polynomial

so if you are happy you matrix is correct (have you checked it gives the right result?)

you can find the symmetric and anti symmetric parts as follows

B = S+P
S = (B+BT)/2
P = (B-BT)/2
 
Thank you for the explanation lanedance. I didn't know about symmetric matrices.
 
no worries - just to add, for most polynomials there is actually an infinite way they can be written interms of a matrix x^TBx, however if you restrict yourself to symmetric matrix , which appear to be the natural choice based on the above, then is is one unique solution
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 24 ·
Replies
24
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 9 ·
Replies
9
Views
4K
Replies
10
Views
3K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 5 ·
Replies
5
Views
4K
Replies
3
Views
2K
  • · Replies 11 ·
Replies
11
Views
4K