- #1
Snoogx
- 22
- 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