Let $n$ be a positive integer and $$\mathbb R_{++}^n\equiv\{(x_1,\ldots,x_n)\in\mathbb R^n\,|\,x_i>0\text{ for all $i\in\{1,\ldots,n\}$}\}.$$ Suppose that $\varphi:\mathbb R^n_{++}\to\mathbb R$ is a continuous function that satisfies: \begin{align} \varphi(\mathbf x+\mathbf y)=&\;\varphi(\mathbf x)+\varphi(\mathbf y),\\ \varphi(c\mathbf x)=&\;c\varphi(\mathbf x) \end{align} whenever $\mathbf x,\mathbf y\in\mathbb R_{++}^n$ and $c>0$.
Is $\varphi$ necessarily linear? That is, do there exist $\alpha_1,\ldots,\alpha_n\in\mathbb R$ such that $$\varphi(\mathbf x)=\sum_{i=1}^n\alpha_i x_i\qquad\text{for all $\mathbf x=(x_1,\ldots,x_n)\in\mathbb R_{++}^n$?}$$
The obvious difficulty here is that one cannot consider the unit vectors $(1,0,\ldots,0)$, $(0,1,\ldots,0)$, and so forth, to generate the desired coefficients, since they are not elementwise strictly positive (except when $n=1$), so they cannot be evaluated under $\varphi$. I am thinking about a limiting argument, defining $$\alpha_1^m\equiv \varphi(1,m^{-1},\ldots,m^{-1})$$ for each $m\in\mathbb N$ (and similarly for $i\in\{2,\ldots,n\}$), and then letting $\alpha_1\equiv\lim_{m\to\infty}\alpha_1^m$, but I am unsure how that would work (in particular, whether the limit exists).
I also tried changing bases, but then the problem of negative basis coefficients arises. Any hints would be appreciated.
Yes, $\def\ph{\varphi}\ph$ is necessarily of the form $\alpha\cdot x$ for some vector $\alpha$.
The values of $\ph$ on the orthant of the unit sphere $S:=S^{n-1}\cap \Bbb R_{++}$ determine the value of $\ph$ on all of $\Bbb R_{++}$ via the relation $\ph(cx)=c\ph (x)$. Furthermore, given $x_1,\dots,x_n\in S$, let $$K\equiv K(x_1,\dots,x_n):=\left\{\frac{\sum_i\lambda_ix_i}{\|\sum_i\lambda_ix_i\|}\;\middle|\;\lambda_i\ge 0,\sum_i\lambda_i=1\right\}$$
be the projection of the convex hull of $x_1,\dots,x_n$ onto $S$. Similarly, the images of $\ph(x_1),\dots,\ph(x_n)$ determine that of $\ph(x)$ for all $x\in K$. When $x_1,\dots,x_n$ are linearly independent, this means that $\ph$ restricted to $K$ must be of the form $\alpha\cdot x$.
Now, let $x_i^{(m)}$ be the vector whose $i^\text{th}$ coordinate is $1$, and whose other coordinates are $1/m$, for $m\ge3$. Then $\ph$ restricted to $K_m\equiv K(\dots,x_i^{(m)},\dots)$ is of the form $x\mapsto\alpha_m\cdot x$. Since the sets $K_m$ all have nontrivial intersection, each of these vectors $\alpha_m$ are actually the same $\alpha$. Since the union of $K_m$ is all of $S$, we have that $\ph$ is of the form $\alpha\cdot x$ for all $x\in S$, and therefore for all $x\in \mathbb R_{++}$.