Let S$\subseteq$$R^N$ be a closed convex set and $x^{\star}$ $\in$ S.Suppose d$\ne$0,d$\in$S, and $x^{\star}$+$\lambda$d$\in$S for all $\lambda \ge 0$.Show that d is a direction of S.
This question [2.33] is from the chapter 2 of NONLINEAR PROGRAMMING Theory and Algorithms.
Let $y\in S,$ $\lambda > 0$ and $\alpha\in (0,1).$ Since $$x^{\star} + \frac{\lambda}{1-\alpha}d\in S$$ and $S$ is convex, $$\alpha y + (1-\alpha)\left(x^{\star} + \frac{\lambda}{1-\alpha}d\right)\in S.$$ The left side simplifies to $\alpha y + \lambda d + (1-\alpha)x^{\star}.$ Now take the limit as $\alpha \rightarrow 1$ and use the fact that $S$ is closed.