Issac O. answered 09/28/22
M.S. in mathematics, and four years in a Ph.D. in mathematics.
First, if z = Bx, then zi = biTx for i = 1,2,...,n since biT are the rows of B.
Second, Az = z1a1 + ... + znan since ai are the columns of A.
Therefore, w = ABx = (b1Tx)a1 + ... + (bnTx)an.