Consider some function $f(k) = \frac 1 {a_1 a_2 \cdots a_k}$ so that the number of terms in the denominator changes with $k$. My question is there anyway to discuss its derivative, if so, how would one go about beginning to differentiate this? Here's my attempt at making any sense of it.
$$f(k) = \frac 1 {a_1 a_2 \cdots a_k}$$ $$\ln(f(k)) = -\ln({a_1 a_2 \cdots a_k)}$$ $$\frac {f'(k)}{f(k)}=-\frac{1}{a_1 a_2 \cdots a_k} \frac d {dk}(a_1 a_2 \cdots a_k)$$ $$f'(k)=-\frac d {dk}(a_1a_2\cdots a_k)$$ $$f'(k)=-\frac d {dk}\frac{1}{f(k)}$$ I'm not entirely sure what to do with this? Any thoughts or opinions?