Show that the function satisfies the given partial differential equation.
The function is $z=\sqrt{x^2+y^2}$ and they want me to show $x \cdot \displaystyle\frac{\partial z}{\partial x}+y \cdot \displaystyle\frac{\partial z}{\partial y}=z$
I have that $\displaystyle\frac{\partial z}{\partial x}=\frac{1}{2\sqrt{x^2+y^2}} \cdot 2x = \frac{2x}{2\sqrt{x^2+y^2}}=\frac{x}{\sqrt{x^2+y^2}}$
And I have $\displaystyle\frac{\partial z}{\partial y}=\frac{1}{2\sqrt{x^2+y^2}} \cdot 2y = \frac{2y}{2\sqrt{x^2+y^2}}=\frac{y}{\sqrt{x^2+y^2}}$
Then $x \cdot \displaystyle\frac{x}{\sqrt{x^2+y^2}}+ y \cdot \displaystyle\frac{y}{\sqrt{x^2+y^2}}=z$
$$\displaystyle\frac{x^2}{\sqrt{x^2+y^2}}+\displaystyle\frac{y^2}{\sqrt{x^2+y^2}}=z$$ $$\displaystyle\frac{x^2+y^2}{\sqrt{x^2+y^2}}=z$$
But how can I show that $\displaystyle\frac{x^2+y^2}{\sqrt{x^2+y^2}}=\sqrt{x^2+y^2}$?
You should have taken a look at Euler's Homogeneous Function Theorem
But you can do this $$\frac{x^2+y^2}{\sqrt{x^2+y^2}}=\frac{\sqrt{x^2+y^2}\cdot\sqrt{x^2+y^2}}{\sqrt{x^2+y^2}}=\sqrt{x^2+y^2}$$ $$\text{or}$$
$$\frac{x^2+y^2}{\sqrt{x^2+y^2}}=\frac{x^2+y^2}{\sqrt{x^2+y^2}}\cdot\frac{\sqrt{x^2+y^2}}{\sqrt{x^2+y^2}}= \frac{x^2+y^2}{x^2+y^2}(\sqrt{x^2+y^2}) =\sqrt{x^2+y^2}$$
Note: I'm assuming that $x\neq0 \text{ and } y\neq0$