Piecewise Linear Approximation in Learned Index Structures: Theoretical and Empirical Analysis