A simple function $\varphi$ is a finite sum of the form
$$\varphi (x) := \sum^{N}_{k = 1} r_k \mathbf{1}_{E_{k}} (x)$$
where $E_k$ is measurable for every $k \in \{1, \dots , N\}$ and $\{r_k\}^{N}_{k=1} \subseteq \mathbb{R}$, with $\mathbf{1}$ being the indicator (or characteristic) function.
Stein & Shakarchi (at page 50 of their book) define the canonical form of $\varphi$ as the unique decomposition as above, where the real numbers $r_k$ are distinct and non-zero and the sets $E_k$ are disjoint (and measurable), for every $k \in \{1, \dots , N\}$. Then, with respect to the relation between the canonical form as they define it and the Lebesgue integral, show in their Proposition 1.1 at page 51 that the limitation of focusing on the canonical form as they define it is apparent.
On the contrary, for example, Royden & Fitzpatrick do not ask the real numbers $r_k$ to be non-zero, for every $k \in \{1, \dots , N\}$
Now, personally I find the definition in Royden & Fitzpatrick more natural. Thus, I was wondering why there is the need to impose the constant real numbers to be different from $0$ in Stein & Shakarchi in the very first place.
Any feedback would be most welcome!