Given a function f(x) = a*f(x-1) where a is a number between 0 and 1,
what is the average value of f(x) for x >= 0?
Clarification:
f(1) is a constant, say 1
f is only defined for integer inputs
Disclaimer: I'm still in high school, so it's possible that I'm asking/saying something very stupid.
Ok, so let f(1)=k. Then for any n we have that the sum of $f(1)+f(2)...f(n)= k(\frac{1-a^{n+1}}{1-a})$. then the average value of $f(m)$ for $1\leq m \leq n$ is $\frac{k(\frac{1-a^{n+1}}{1-a})}{n}$.
So it makes sense to say that the average value is going to be $\lim_{n \to \infty} \frac{k(\frac{1-a^{n+1}}{1-a})}{n}=k\lim_{n \to \infty} \frac {1-a^{n+1}}{n-a}=0 $for $k\neq 1 $and $k$ for $ a=1 $