0af(x)qx=a(1-q)j=0f(aqj)qj.