$$ A=\begin{pmatrix}1 & 2\3 & 4\end{pmatrix}, \qquad \lVert v\rVert=\sqrt{v_1^2+v_2^2} $$

$$ f(x)=\begin{cases}x^2 & x\geq 0\-x & x<0\end{cases} $$