Text this: Linear piecewise differential equations with singular discontinuity region