Question: are piecewise functions always continuous?
Answer: A piecewise function is continuous on a given interval if the following conditions are met: it is defined throughout that interval, its constituent functions are continuous on the corresponding intervals (subdomains), there is no discontinuity at each endpoint of the subdomains within that interval.