I am currently studying calculus, but I am stuck with the definition of convolution in terms of constructing the mean of a function. Suppose we have 2 functions, f and g. We want to create the mean of f for each x, interpreting g(t) as the “weight” of f(t). Then, the mean of f for each x would be given by the integral:
$ \int_{-\infty}^{\infty} f(x) \cdot g(x-t) , dt $,
This expression differs from the common definition of convolution.
I'm having trouble understanding why we utilize the conventional definition of convolution in cases like these.