Add [[3],[5],[1],[7]]*[[3,5,1,7]]
Problem
Solution
Identify the operation as the outer product of a
4×1 column vector and a1×4 row vector.Determine the dimensions of the resulting matrix, which will be a
4×4 matrix where each element(a_i*j) is the product of thei th element of the first vector and thej th element of the second vector.Calculate the first row by multiplying the first element of the column vector (3) by each element of the row vector.
Calculate the second row by multiplying the second element of the column vector (5) by each element of the row vector.
Calculate the third row by multiplying the third element of the column vector (1) by each element of the row vector.
Calculate the fourth row by multiplying the fourth element of the column vector (7) by each element of the row vector.
Assemble the rows into the final
4×4 matrix.
Final Answer
Want more problems? Check here!