Given:
Matrix A=[123] is a row matrix (1×3 matrix)
Matrix B=123 is a column matrix (3×1 matrix)
For matrix multiplication BA, the number of columns in B equals the number of rows in A (both are 1).
The multiplication is valid and results in a 3×3 matrix.
BA=123×[123]
Each element in B multiplies with the entire row A:
Row 1: 1×[123]=[123]
Row 2: 2×[123]=[246]
Row 3: 3×[123]=[369]
BA=123246369