Solution:
Considering the polynomials p(x)=xm−1+xm−2+⋯+x+1 and q(x)=xm−1+xm−2+⋯+x+a, a=1, shows that the desired minimal number does not exceed 2m−2 (one has that f(u,v)=(a−1)(um−1+um−2+⋯+u)+(1−a)(vm−1+vm−2+⋯+v)). We shall prove by induction on m that the number of the non-zero coefficients is at least 2m−2.
If p(x) or q(x) contains a monomial which does not appear in the other polynomial, then the non-zero coefficients in f(u,v) are at least 2m. So we may assume that p(x) and q(x) contain the same monomials. Note also that multiplying some of p(x) and q(x) by a non-zero number does not change the non-zero coefficients of f(u,v).
For m=2 one has that p(x)=axn+bxk, q(x)=cxn+dxk and ad−bc=0. Then f(u,v)=(ad−bc)unvk+(bc−ad)ukvn has exactly two non-zero coefficients.
Let m=3 and let p(x)=xk+axn+bxℓ, q(x)=xk+cxn+dxℓ and ad−bc=0. Then
f(u,v)=(ad−bc)uℓvk+(bc−ad)uℓvn+(c−a)ukvn+(a−c)unvk+(d−b)ukvℓ+(b−d)uℓvk
The first two coefficients are non-zero. Since the equalities a=c and b=d do not hold simultaneously, then at least two of the last four coefficients are also non-zero.
Let now m≥4 and let p(x)=p1(x)+axn+bxk, q(x)=q1(x)+cxn+dxk, ad−bc=0 and any of the polynomials p1(x) and q1(x) has m−2≥2 non-zero coefficients. Then f(u,v)=f1(u,v)+f2(u,v)+f3(u,v), where
f1(u,v)=f2(u,v)=f3(u,v)=p1(u)q1(v)−p1(v)q1(u)(aun+buk)q1(v)+(cvn+dvk)p1(u)−(avn+bvk)q1(u)−(cun+duk)p1(v)(ad−bc)unvk+(bc−ad)ukvn
and the different polynomials have no similar monomials. If p1(x)=αq1(x), then, by the induction hypothesis, f1(u,v) has at least 2(m−2)−2=2m−6
non-zero coefficients. Moreover, f2(u,v) has at least two non-zero coefficients and f3(u,v) has two non-zero coefficients.
If p1(x)=αq1(x), α=0, then
f2(u,v)=q1(v)[(a−cα)un+(b−dα)uk]+q1(u)[(cα−a)vn+(dα−b)vk].
Since the equalities a−cα=0 and b−dα=0 do not hold simultaneously, the polynomial f2(u,v) has at least 2m−2 non-zero coefficients (two times more than those of q1(x)). Counting the two non-zero coefficients of f3(u,v), we get the desired result.