Let $A\subset\mathbb{R}^d$ be a convex set. We define \begin{align}[0,1]\cdot A:=\{x\in\mathbb{R}^d:x=\lambda a \text{ for a }\lambda\in[0,1] \text{ and }a\in A\}.\end{align} Is this set convex?
I was thinking that in the case $d=1$ the statement is true, because $A$ is an interval and, hence, $[0,1]\cdot A$ is an interval too. But is it also true in higher dimension $d>1$?
I want to say, this is not a homework. I want to show that a specific problem in the theory of optimal control can be solved by considering a replacement problem.