I'm working with a proof of local and global truncation errors for the euler method in numerical methods, and I can't seem to understand the equality and the less/equal seen below. At first I thought it had to do with geometrical sums, but I still don't understand it, any help would be appreciated:
$$1+e^{Lh}+e^{2Lh}+...+e^{(i-1)Lh} = \frac{e^{iLh}-1}{e^{Lh}-1} \le \frac{e^{L(t_i-a)}-1}{Lh}$$