Theorem 1.5 Comparison Theorem on page 67 of Apostal's Calculus 1. The theorem states $s(x) < t(x)$ for all $x\in [a,b]$ then $\int_a^b s(x)dx < \int_a^b t(x)dx$. Note: $s$ and $t$ are step functions in this context.
I have trouble grasping why how this is true. This is my line of thought, what if the function $t(x) = \sqrt 2$ for $x\in[a,b]$, and $s(x)<t(x)=\sqrt2$ for $x\in[a,b]$, $t$ is a line and the area of the line is 0. $\int_a^b s(x)dx = \int_a^b t(x)dx - 0$. Which part am I misunderstanding, thanks to anyone who can help.