Basic linear algebra help. Converting equation to matrix form

Click For Summary
To express the equation q = x_1 - 6x_2 + 3x_1^2 + 5x_1 x_2 in matrix form, the variables x and Q need to be defined appropriately. The vector x should be defined as [x1, x2], while the matrix Q will be a 2x2 matrix representing the coefficients of the quadratic terms. The vector c is a 2x1 column vector that includes the linear coefficients of the equation. The challenge lies in correctly identifying the components of Q and c to ensure the equation matches the required form of 1/2x^T Q*x + c^T x. Understanding these definitions is crucial for converting the given equation into the desired matrix format.
DyslexicHobo
Messages
249
Reaction score
0

Homework Statement


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

Homework Equations


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

c= \frac {a_{ik}}{a_{kk}}

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:
Physics news on Phys.org
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
 
Question: A clock's minute hand has length 4 and its hour hand has length 3. What is the distance between the tips at the moment when it is increasing most rapidly?(Putnam Exam Question) Answer: Making assumption that both the hands moves at constant angular velocities, the answer is ## \sqrt{7} .## But don't you think this assumption is somewhat doubtful and wrong?

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 22 ·
Replies
22
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 23 ·
Replies
23
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 7 ·
Replies
7
Views
778
  • · Replies 2 ·
Replies
2
Views
2K