A function $f:\mathbb{R}^n →\mathbb{R}$ is said to be homogeneous of degree $k$ ($k\in \mathbb{R},k>0$) if $f (t\mathbf{x}) = t^k f (\mathbf{x})$ for every $t ∈ \mathbb{R}, \mathbf{x} ∈ \mathbb{R}^n$. Show that if $f$ is homogeneous of degree $k$, then $\langle \nabla f(\mathbf{x}),\mathbf{x}\rangle = k f(\mathbf{x})$ for all $x ∈ \mathbb{R}^n$.
I tried that $\partial_t f(t\mathbf{x})=\partial_t t^kf(\mathbf{x})=kf(\mathbf{x})t^{k-1}=\langle\nabla f(t\mathbf{x}),t\rangle$, but how can I start from here to $\langle \nabla f(\mathbf{x}),\mathbf{x}\rangle=kf(\mathbf{x})$?
Thank you all.