Let X, Y be discrete random variables and take values at $1, 2, · · · , n, · · · $
$f_{X}(t)=\sum_{k=0}^{k=inf} P(X=k)x^{k}$ is the probability generating function.
and this result was given below
$f_{X+Y}(x)=f_{X}(x). f_{Y}(x)$
Can someone explain me how they reached to this formula which is known as convolution formula
This is true if $X,Y$ are independent. If $X,Y$ are independent, then $$f_{X+Y}(z)=E[z^{(X+Y)}] = E[z^{X}z^{Y}] = E[z^{X}] E[z^{Y}] = f_X(t)f_Y(t).$$
The "convolution formula" is usually just referring to the distribution of $Z = X+Y$ when $X,Y$ are independent. In this case $$ P_Z(k) = P[Z=k] =\sum_{i} P[X=i, Y=k-i] = \sum_i P[X=i] P[Y=k-i] = (P_X * P_Y)(k). $$