Is there a way to combine multiple functions into one by averaging them, but weighing them differently depending on a variable value?
Example:
Find the equation that combines $f(x)=x^2$ and $g(x)=x$ in an average such that $f(x)$ is weighted $\frac1{x^2}$ times as heavily as $g(x).$
For all intents and purposes, the "weighing function" (in this case the inverse square) is always positive, and if negative, the absolute value is used.
Any hints?