It seems that the function $$q(x,y)=\frac{\langle x, y \rangle^2}{\|x\|^2}$$ is convex over $\Omega\times \mathbb{R}^n_+$ where $\Omega$ is the unit simplex defined by $$\Omega = \{x\in \mathbb{R}^n: \sum_{i=1}^n x_i = 1, x\geq 0\}.$$ Can anyone help to prove it or disprove it? Thanks a lot!
-
2What did you try? – Peter Melech Feb 02 '23 at 16:28
-
1@PeterMelech Thanks for joining the discussion. I think I should figure out a disprove below. Really, I would have thought the function was convex, but I was wrong. That's bad news for my next steps, but I'm still happy to get this out of the way. – kaienfr Feb 02 '23 at 17:36
1 Answers
I may figure out a disproof as follows:
Let $n=2$. Given two points in $\Omega\times \mathbb{R}^2_+$ as
P1: $x=(1,0)\in \Omega$, $y=(0,1)\geq 0$.
P2: $x=(0,1)\in \Omega$, $y=(1,0)\geq 0$.
Clearly, $q(P1)=q(P2)=0$.
Now considering the segment [P1,P2]. We have
$$[P1,P2] = \{\lambda P1 + (1-\lambda)P2: \lambda\in [0,1]\} = \{(\underbrace{(\lambda,1-\lambda)}_{x},\underbrace{(1-\lambda,\lambda)}_{y}): \lambda \in [0,1]\}.$$ Then, taking a point $P\in [P1,P2]$ such that $P=\lambda P1+ (1-\lambda) P2$ with $\lambda \in (0,1)$, we have $$q(P) = \frac{\langle x, y \rangle^2}{\|x\|^2} = \frac{\langle(\lambda,1-\lambda),(1-\lambda,\lambda)\rangle^2}{\|(\lambda,1-\lambda)\|^2} = \frac{4\lambda^2(1-\lambda)^2}{\lambda^2+(1-\lambda)^2}.$$ But $\lambda q(P1) + (1-\lambda) q(P2) = 0$. Hence $$q(P) = q(\lambda P1+ (1-\lambda) P2) > \lambda q(P1) + (1-\lambda) q(P2), \forall \lambda \in (0,1),$$ which contradicts the definition of the convexity.
BTW: we can disprove as well the convexity of $q$ over $\Omega\times \mathbb{R}^n_{++}$ in a similar way. Let $$P(\lambda)=(\underbrace{(\lambda,1-\lambda)}_{x},\underbrace{(1-\lambda,\lambda)}_{y}).$$ Then the two points $P(0.2)$ and $P(0.8)$ belong to $\Omega \times \mathbb{R}_{++}^2$ and $q(P(0.2)) = q(P(0.8))$. However, the mid-point $$P(0.5) = P(0.2)/2+P(0.8)/2$$ verifies $$q(P(0.5))>q(P(0.2))/2 + q(P(0.8))/2 = q(P(0.2))$$ violating the convexity of $q$ over $\Omega\times \mathbb{R}^n_{++}$.
- 199
-
where the contradiction is obtained with $>$ for all $\lambda\in (0,1)$, +1,anyway good luck for Your next step – Peter Melech Feb 02 '23 at 17:52
-
or is $\mathbb{R}^n_{+}$ defined as ${x\in\mathbb{R}^n:x_i>0,i=1,...,n}$? In this case your countereample would not work and the function might still be convex... – Peter Melech Feb 02 '23 at 18:16
-
@PeterMelech You are right! Thanks for your remarks. $\mathbb{R}^n_+$ is just the classical one as $x_i\geq 0, \forall i$, and this cannot be reduced to strictly positive in my next step. However, I will be very glad to see if there is a way to prove the convexity over the strictly positive orthant. – kaienfr Feb 03 '23 at 03:46
-
@PeterMelech I think my previous disproof serves as well as a disproof for $y\in \mathbb{R}{++}^n$. Let $P(\lambda)=(\underbrace{(\lambda,1-\lambda)}{x},\underbrace{(1-\lambda,\lambda)}{y})$. Then for two points $P(0.2)$ and $P(0.8)$, they belong to $\Omega \times \mathbb{R}{++}^2$ and $q(P(0.2)) = q(P(0.8))$. However, the mid-point $P(0.5)$ verifies $q(P(0.5))>q(P(0.2))$ violating the convexity of $q$. – kaienfr Feb 05 '23 at 03:29
-