3

I have a vector summation $x_1 + Ax_2$ where $x_1\in\mathbb{R}^{n\times1}$, $A\in\mathbb{R}^{n\times m}$ and $x_2\in\mathbb{R}^{m\times1}$.

I am wondering if I can find a projection $P\in\mathbb{R}^{n\times n}$ such that $Px_1 + PAx_2 = 0$. If so what is the expression of that matrix.

user2987
  • 791

1 Answers1

2

We can mimic Householder transformation. Let $y = x_1 + Ax_2$. Define: $P = {\rm I} - yy^T / y^Ty$ (Householder would have factor $2$ in the $y$ part of the expression).

Check:

  • Your condition: $$Px_1 + PAx_2 = Py = ({\rm I} - yy^T / y^Ty) y = y - yy^Ty/y^Ty = y - y = 0,$$

  • $P$ is a projection: \begin{align} P^2 &= ({\rm I} - yy^T / y^Ty) ({\rm I} - yy^T / y^Ty) = {\rm I} - yy^T / y^Ty - yy^T / y^Ty + yy^Tyy^T / y^Tyy^Ty \\ &= {\rm I} - 2yy^T / y^Ty + yy^T / y^Ty = {\rm I} - yy^T / y^Ty = P. \end{align}

  • (if needed) $P$ is an orthogonal projection (condition explained on the previous link): $$P^T = ({\rm I} - yy^T / y^Ty)^T = {\rm I} - yy^T / y^Ty = P.$$

You sure that these are the only conditions?

Vedran Šego
  • 11,592
  • Actually my problem is even more complicated but I am trying to see if I can find a suboptimal choice of P. In my case P has to have binary elements in the diagonals and zeros in the off-diagonal. That is I want to project onto the space spanned by exactly $k$ rows of A because I know that it exists such combination that set the equation to zero.. – user2987 Mar 20 '16 at 01:21
  • 1
    I'd call this the first step of Gram-Schmidt rather than Householder. – Roland Mar 20 '16 at 10:04
  • @Roland I agree. What I meant was that the formula is visually similar (like Householder, but without factor $2$). – Vedran Šego Mar 20 '16 at 19:37
  • @user2987 To get such a specific $P = \operatorname{diag}(p_1,p_2,dots,p_n)$ , you need to set $p_k = 0$ for all $k$ such that $y_k \ne 0$, because $(Py)_k = p_ky_k$. Generally, this will be $P = 0$ (unless you get lucky with zeros in $y$). – Vedran Šego Mar 20 '16 at 19:48
  • @VedranŠego many thanks for your answer and comment.. I posted a more detailed question here. – user2987 Mar 20 '16 at 20:27
  • @user2987 You're welcome. Btw, "This question was voluntarily removed by its author". – Vedran Šego Mar 21 '16 at 17:05
  • @VedranŠego I deleted because I did not get any answer. I undeleted it and now you can see my post. – user2987 Mar 21 '16 at 17:08
  • @user2987 You cannot expect an answer immediately. People sometimes wait days or more. We even have a special medal for accepted answers on very old questions. – Vedran Šego Mar 22 '16 at 02:02