I would like to Calculate Q. The transpose of U matrix is a 2x5 matrix and U is a 5x2 matrix. Therefore, I was expecting a 5*5 Matrix, which wasn't the case. Can someone please help me to solve Q enter image description here

Thank you in advance!


1 Answer 1


Your numbers are right. You are just confused about matrix multiplication. See https://en.wikipedia.org/wiki/Matrix_multiplication (or any linear algebra textbook):

For matrix multiplication, the number of columns in the first matrix must be equal to the number of rows in the second matrix. The result matrix has the number of rows of the first and the number of columns of the second matrix.

(emphasis mine)

If you really want a 5x5 matrix, you need to compute $U U^T$

  • $\begingroup$ Thank you for you answer $\endgroup$
    – Rayleigh
    Commented May 9, 2023 at 11:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.