The product of a square matrix A and a column vector v is a new column vector. The new vector will normally…