Test or construct a smooth piecewise join
Separate continuity from equality of the two branch gradients
\[f(x)=\begin{cases}2x-2,&x<0\\2x-2,&x\ge0\end{cases}\]
The domain is all real inputs. The right branch includes the join. Work at x = 0
Separate continuity from equality of the two branch gradients
The domain is all real inputs. The right branch includes the join. Work at x = 0