consider $f(x,y) = \max(x+2y, x^2+y^2)$, how do i find the points at which this isn't differentiable.
I've tried taking the partial derivative of $x$ and $y$, for general points, but i get stuck with an equation that i can't seem to simplify, is this the wrong method?
Hint.
The attached plot shows $f(x,y)$
Considering the change of coordinates
$$ \{x,y,z\}\Leftrightarrow\{r \sin (\phi ) \cos (\theta ),r \sin (\phi ) \sin (\theta ),r \cos (\phi )\} $$
in the equations
$$ x^2+y^2 = z\\ x + 2y = z $$
we get the parameterization for the intersection curve as
$$ \left\{\cos (\theta ) (2 \sin (\theta )+\cos (\theta )),\sin (\theta ) (2 \sin (\theta )+\cos (\theta )),(2 \sin (\theta )+\cos (\theta ))^2\right\} $$
for $0 \le \theta < 2\pi$ shown in blue.