# Formal power series coefficient multiplication

Given that I have two formal power series: $$A(x) = \sum_{k \ge 0} a_k x^k$$ $$B(x) = \sum_{k \ge 0} b_k x^k$$

The Cauchy Product gives a series $$C(x) = \sum_{k \ge 0} c_k x^k$$ $$c_k = \sum_{n=0}^k a_n b_{k-n}$$

Which comes from taking the product of the two series $C(x)=A(x)B(x)$. What then, in terms of $A(x)$ and $B(x)$, is this series? $$Y(x) = \sum_{k \ge 0} a_k b_k x^k$$

-
I think you have a typo in C(x), your coefficients should be c_k. – BBischof Sep 16 '10 at 2:14
@ BBischof - fixed, thank you! – Hooked Sep 16 '10 at 2:28

It is known as the Hadamard product $\rm\; f \star g\;$. There is no closed form for general hadamard products, but some classes of functions are known to be closed under such products, e.g. rational power series. However, algebraic series are not generally closed under Hadamard products, the standard example being $\rm\quad f = g = (1-4x)^{-1/2} \;=\; \sum \binom{2n}{n}\ x^n\:.\quad$ However, $\rm\: f\:$ rational, $\rm\: g\:$ algebraic $\rm\;\Rightarrow\; f\star g\;$ algebraic. Also D-finite power series are closed under Hadamard products, i.e. power series satisfying a linear differential equation with polynomial coefficients or, equivalently, series whose coefficients satisfy a linear recursive equation with polynomial coefficients.

Hadamard products can also be defined in terms of diagonals of multivariate series (and vice versa), e.g. see this paper, where you'll find some interesting connections with finite automata which, e.g. help one to easily observe that algebraic series over $\rm\mathbb{F}_p$ are closed under Hadamard product (which fails in characteristic 0)

-

$Y$ is known as the Hadamard product of $A$ and $B$, and there is no simple way to find it from $A$ and $B$ in general. (If you don't believe me, set $A = B = e^x$.) The closest thing I know to a formula is (with all the analytic caveats that makes everything converge)

$$Y(r) = \frac{1}{2\pi } \int_0^{2\pi} A(e^{i \theta}) B(re^{-i \theta}) d \theta$$

which follows by Parseval's theorem. If $A$ and $B$ are sufficiently simple (for example if they are rational functions) then it is possible to evaluate this integral, but in general there's not much you can do; $Y$ can be much more complicated than $A$ or $B$. (Another idea is to write the above as a contour integral, and if the integrand ends up being meromorphic you can try to use the residue theorem.)

Computing Hadamard products is a special case of computing the diagonal of a two-variable generating function, a problem which I describe with a few examples here using the residue theorem.

(Of course for very special $A$ it is possible to say more, e.g. when $a_k$ is a polynomial in $k$.)

-
Ah; actually if one of A or B is equal to e^x then there is a way to compute Y using a slightly modified Laplace transform. But I still don't think it gives a particularly nice answer if the other of A or B is also equal to e^x. – Qiaochu Yuan Sep 16 '10 at 3:57

For more on Hadamard Products or Hadamard Multiplication Theorem look for papers by Louis R. Bragg in American Mathematical Monthly, Jan. 1999, pp 36-42 or SIAM J. Math. Anal., Vol. 17, 1986, pp 220-230 for starters.

-

Stupid answer: $Y\left(x\right)=\delta_{ik}A\left(x\right)B\left(1\right)$, for $\delta_{ik}$ the Kronecker Delta, and $i$ being the index on $B\left(x\right)$.

-
I don't follow. – Qiaochu Yuan Sep 16 '10 at 3:01
Where do you get confused? Perhaps I am being more dumb than I intended. – BBischof Sep 16 '10 at 3:14
The Kronecker delta is not a generating function and B(1) need not exist. – Qiaochu Yuan Sep 16 '10 at 3:42