# Would this formula be relevant to the field of A.I?

## Background

My understanding is the input neurons seem to seem to compute a weighted sum moving from one layer to another.

$$\sum_i a_i w_i = a'_{k}$$

But to compute this weighted sum the sum must be discrete. Is there any known method to compute the sum when the activation is a continuous function? Is the below formula of an any problems in artificial intelligence? Can anyone give a specific problem where it might be useful?

## My Method

$$\lim_{k \to \infty} \lim_{n \to \infty}\ \sum_{r=1}^n d_r \left( f(\frac{k}{n}r)\frac{k}{n} \right) = \lim_{s \to 1} \! \underbrace{\frac{1}{\zeta(s)} \sum_{r=1}^\infty \frac{d_r}{r^s}}_{\text{removable singularity}} \int_0^\infty f(x) \, dx$$

I will not go into the proof of this over but for those who are interested: https://math.stackexchange.com/questions/2888976/a-rough-proof-for-infinitesimals I will merely state what the formula means:

Consider we have a curve $$f(x)$$ now if one wishes to perform a weighted sum in the limiting case of this function.

Consider the curve $$f(x)$$. Then splitting it to $$k/n= h$$ intervals then adding the first strip ($$d_1$$ times): $$f(h) \cdot d_1$$. Then the second strip ($$d_2$$ times) $$f(2h) \cdot d_2$$ times ... And so on . Hence. $$d_r$$ can be thought of as the weight at $$f(rh)$$.

A sample example of $$f(x)$$ that should work is $$f(x) = e^{-x}$$

## Disclaimer

I am not familiar with this field and am merely a physicist in training. I recently watched 3 blue 1 browns video of artificial intelligence https://www.youtube.com/watch?v=aircAruvnKk and realised a formula I had constructed for fun might be of relevance (?).

Consider we have a curve $$f(x)$$ now if one wishes to . . .
In the vast majority of cases in AI problems, the form of inputs - whether it is images, text, mapping data, robotic telemetry, is going to be multi-dimensional discrete samples from highly complex functions where we don't know the analytical form and can only construct approximations from a set of basis functions. The resulting combination of basis functions could be treated as continuous, integrated etc, but as it would have been constructed from discrete data, the end result would be a lot of computation to end up with something probably less accurate than working direct with the discrete samples. In a lot of cases, the raw data is discrete by definition (e.g. whether someone clicked on a link or replied to a message), so the form of $$f(x)$$ would be discrete by definition of the problem, and calculus not really applicable.