A Math Overview On Piecewise Functions