Since 0 <= a < b this implies that ab < b2

and since 0 <= a and a < b this implies that a2 < ab.

Hence we get a2 < ab < b2.

Therefore a2 < b2

Return to the tutorial