Maximise this quadaratic form, subject to these constraints.

  • Thread starter Thread starter Phillips101
  • Start date Start date
  • Tags Tags
    Constraints Form
Phillips101
Messages
33
Reaction score
0
Question:

Given a1+a2+a3+...+an=0 and a1^2+a2^2+...+an^2=1, (all real numbers)

find the maximal value of a1*a2+a2*a3+...+an*a1

Thoughts so far:

I've treated the expression as a combination of n variables and differentiated - when it came to putting the constraints in it got to be a hideous mess.

It is easily factorisable as 0.5*( (a1+a2)^2 + (a2+a3)^2 +...+ (an+a1)^2 ) -1, but then maximising the inside is just as hard.

Help would be appreciated! (Also, sorry about the lack of LATEX knowhow).
 
Physics news on Phys.org
You can write the original constraints as
<br /> \max \ \ a^T\begin{pmatrix} 0 &amp;1 &amp;\ldots &amp;\ldots 0\\ 0 &amp;0 &amp;1 &amp;\ldots 0\\ \vdots \\1 &amp;0 &amp;\ldots &amp;0\end{pmatrix}a<br />
subject to
<br /> \begin{pmatrix} a &amp;\mathbf{1} \end{pmatrix}^T a = \begin{pmatrix}1 \\0\end{pmatrix}<br />

and try to fit the problem to linear or quadratic programming frame
 
I know of linear programming, but I have no idea how to go about solving that using it unfortunately. And nor do I think I'm expected to know, this is a linear algebra question, which is the annoying thing...

And I'd never heard of or encountered quadratic programming before.
 
Back
Top