Test or construct a smooth piecewise join
Check the branch values before comparing the gradients
\[f(t)=\begin{cases}-2t,&t\le0\\-3t,&t>0\end{cases}\]
The domain is all real inputs. The left branch includes the join. Work at t = 0
Check the branch values before comparing the gradients
The domain is all real inputs. The left branch includes the join. Work at t = 0