I was studying convex functions for convex optimization and ran into a question I'm having difficulty finding the answer to.
I noticed that the definition for a convex function is as follows:
$$\forall{x_1, x_2} \in X,\ \forall{t} \in [0,\ 1]:\quad f(tx_1 + (1-t)x_2) \le tf(x_1) + (1 - t)f(x_2)$$
This definition is from Wikipedia, but I also noticed in my textbook (Convex Optimization (Boyd & Vandenberghe)) they use $\alpha$ and $\beta$ for the coefficients, but also make sure to specify that $\alpha + \beta = 1$.
This question is probably due to me lacking something relatively elementary, but why must they sum up to $1$?