Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Homework Help: Matrix Products

  1. Oct 17, 2012 #1
    1. The problem statement, all variables and given/known data
    What do we know about the sizes of the matrices A and
    B if both of the products AB and BA are defined?


    2. Relevant equations



    3. The attempt at a solution
    I determined the sizes, of which were correct; but I was wondering if A and B would always be squares. Well, would they always be squares?
     
  2. jcsd
  3. Oct 17, 2012 #2
    Well, when is the product AB defined? How about BA?
     
  4. Oct 17, 2012 #3

    Mark44

    Staff: Mentor

    Suppose A is m X n (m rows and n columns), and B is r X s. For AB to be defined, what relationship must there be between A's rows or columns and B's rows or columns? How many rows and columns will AB have?

    For BA to be defined, what relationship must there be between B's rows or columns and A's rows or columns? How many rows and columns will BA have?
     
  5. Oct 17, 2012 #4
    For AB to be defined, n = r. For BA to be defined, s = m. Right?
     
  6. Oct 17, 2012 #5

    Mark44

    Staff: Mentor

    Right.
     
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook