Basic linear algebra help. Converting equation to matrix form

  • #1
250
0

Homework Statement


Express the equation [tex]q=x_1 - 6x_2 + 3x_1^2 + 5x_1 x_2[/tex] in the matrix form [tex]1/2x^T Q*x+c^T x[/tex]


Homework Equations


The only mention of a matrix c that I could find in my book is in the section of Gaussian elimination:

[tex]c= \frac {a_{ik}}{a_{kk}}[/tex]

But I don't feel like this has anything to do with the solution form I'm trying to find.

The Attempt at a Solution


I'm not sure where to begin really. I feel like this should be a very simple problem, but I'm not sure where to start. I tried defining x = [x1 x2] and Q = [q1 q2] but I'm not sure what the "c" matrix is supposed to be.

As some background, this is taken from the review portion of my Finite Elements book.
 
Last edited:

Answers and Replies

  • #2
lanedance
Homework Helper
3,304
2
Q will be a 2x2 matrix, while c will be a 2x1 column vector - they have to be of that form to match the multiplication and as q is a scalar
 

Related Threads on Basic linear algebra help. Converting equation to matrix form

  • Last Post
Replies
1
Views
2K
Replies
2
Views
1K
  • Last Post
Replies
1
Views
1K
  • Last Post
Replies
1
Views
820
Replies
1
Views
14K
  • Last Post
Replies
2
Views
3K
Replies
2
Views
3K
  • Last Post
Replies
3
Views
3K
  • Last Post
Replies
11
Views
2K
  • Last Post
Replies
13
Views
2K
Top