Let $C(y) \geq 0$ denote some cost function. Let $MC(y) = C'(y)$. Let $AC(y) = \frac{C(y)}{y}$. I am considering the economic case where $$MC (y)= AC(y)$$ This boils down to a simple math problem as follows:
Given $x> 0$ and $f(x) \geq 0$, what are the necessary restrictions on $f$ such that $$f'(x) = \frac{f(x)}{x}$$? I want to know this to understand what kinds of functions will work as cost functions and still have this property.
Case $x\neq0$ and $f(x)=0$ then $f'(x)=0$ . Hense $f(x)=0$ is a solution.
Case $x\neq0$ and $f(x)\neq0$ $$\frac{f'(x)}{f(x)}=\frac{1}{x}$$ After integration : $$\ln|f(x)|=\ln|x|+c$$ $c$ is a constant. $$e^{\ln|f(x)|}=e^{\ln|x|}e^c$$ $$|f(x)|=e^c|x|$$ With $C=\pm e^c$ $$f(x)=C\:x$$ any constant $C$ including the case $C=0$ which corresponds to the the case $f(x)=0$ seen at first.