The following are examples of enveloping functions.
$$f(x) = x\cdot\sin(x)$$
$$f(x) = x^2 \cdot \sin(x)$$
$$f(x) = \frac{1}{x} \cdot \sin(x)$$
It seems that given a function $f(x) = g(x)\cdot \sin(x)$, we have a sinusoidal curve enveloped by $g(x)$ and $-g(x)$.
- Is this true?
- If it is, what is the intuition behind it?
- Is there a more general case for these enveloping functions?
Edit: On further thinking, I assume it has something to do with the amplitude of the function, as we know that $n\sin(x)$ vertically scales the function by $n$. Similarly, perhaps $g(x)$ vertically scales $\sin(x)$. Maybe this is still a rather loose explanation, so I'd love a more detailed mathematical one.



For real arguments we have $|\sin x| \leqslant 1$ and therefore, the graph of $$g(x) = f(x)\sin x$$ runs somewhere between $f(x)$ and $-f(x)$, what you called "enveloping". Likewise, the graph of $g$ will never be above $|f(x)|$ or below $-|f(x)|$.
Well, every time you draw a graph of some function $g(x) = f(x)\cdot h(x)$, then it depends both on $f$ and on $h$. In particular, if one function is bounded by a constant like $|h(x)|\leqslant H$, then the graph of $g(x)$ runs between $Hf(x)$ and $-Hf(x)$.
The example where one function is, say, sine is visually appealing because sine is hitting its maxima and minima frequently, which leads to some visual "guide". You can increase the effect by increasing the frequency of sine, e.g. by plotting $f(x)\sin(100x)$.