Let a function $g:\mathbb{R^{+}}\rightarrow\mathbb{R}$ is a differentiable function such that $2g(x)=g(xy)+g\bigg(\frac{x}{y}\bigg)\forall x,y\in\mathbb{R^+}$ and $g(1)=0$ and $g'(1)=1$. Then $g(x)$ is
Try: Differentiate both side with respect to $x$, treating $y$ as a constant
$$2g'(x)=g'(xy)y-g'\bigg(\frac{x}{y}\bigg)\cdot\frac{1}{y}\cdots \cdots (1)$$
Differentiate both side with respect to $y$, treating $x$ as a constant
$$0=g'(xy)x-g'\bigg(\frac{x}{y}\bigg)\cdot\frac{x}{y^2}\cdots \cdots (2)$$
Could some help me to solve it, Thanks
Differentiate with respect to $y$ then set $y=x$ gives us \begin{align} g'(x^2)x -g'(1)\frac{1}{x}=0 \ \ \implies g'(x^2)=\frac{1}{x^2}. \end{align} So $g'(x) = \frac{1}{x}$ for all $x>0$.