Let $f:\mathbb{R}^2\to\mathbb{R}$ be continuously differentiable $\ s.t\ \ \forall (x,y)\in\mathbb{R}^2 \ 2f(x,y)=f(2x,4y)$
Prove that there exists $c\in\mathbb{R} \ s.t \ f(x,y)=cx \ \forall (x,y)\in\mathbb{R}^2$
My work:
My motivation was to use the chain rule, so I defined $g:\mathbb{R}^2\to\mathbb{R}^2 \ by \ g(x,y)=(2x,4y)$
Now by what was given to us, we deduce for arbitrary $x_0,y_0$:
$(2f_x,2f_y)|_{(x_0,y_0)}=2Df(x,y)|_{(x_0,y_0)}=Df(2x,4y)|_{(x_0,y_0)}=D(f\circ g(x,y))|_{(x_0,y_0)}$
$=
Now I'm stuck, can anyone help?