Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

let $x^\prime$ be a $1 \times n$ vector , $\Pi$ be a $n\times n$ matrix, and $\mathbf{1}^\prime\ $ be a $1 \times n$ vector of 1's. When is it true that $x^\prime \Pi \mathbf{1}+ \mathbf{1}^\prime \Pi^\prime x = 2x^\prime \Pi \mathbf{1}$. For example,if $\Pi$ is a $2 \times 2$ symmetric matrix then:
$ [x_{1} , x_{2}] \begin{bmatrix} \pi_{1} & \pi_{2} \\ \pi_{2} & \pi_{3} \end{bmatrix} \begin{bmatrix} 1 \\ 1 \end{bmatrix} + [1 , 1] \begin{bmatrix} \pi_{1} & \pi_{2} \\ \pi_{2} & \pi_{3} \end{bmatrix} [x_{1} , x_{2}]^\prime = 2 x_1 (\pi_1 + \pi_2) + x_2 (\pi_2 + \pi_3) = 2x^\prime \Pi \mathbf{1} $

But in general ? Thanks

share|cite|improve this question
up vote 1 down vote accepted

Why put the same term on $x'\Pi\mathbf1$ on both sides without cancelling? You are just asking whether $x'\Pi\mathbf1=\mathbf1'\Pi'x$, and since both sides are transposes of each other, and $1\times1$ matrices, which are always symmetric, this is true. Even $x'A'y=y'Ax$ holds true whenever $x,y$ are one-column matrices, for the same reason.

share|cite|improve this answer
of course. Thanks. – Luap Nalehw Oct 20 '12 at 17:32

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.