1. Limited time only! Sign up for a free 30min personal tutor trial with Chegg Tutors
    Dismiss Notice
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 Distributive Law

  1. Apr 11, 2015 #1
    1. The problem statement, all variables and given/known data
    Not really a homework question. Something that I've been wondering about.

    The distributive law holds for matrices. Let A and B be n x n matrices.
    Why is the following true for all A&B?


    I don't undrestand that middle term (2AB) and why there's a factor of 2 there, since matrices aren't always commutative (i.e., AB doesn't always equal BA).

    Shouldn't it be ##(A+B)^2=A^2+AB+BA+B^2## instead?

    2. Relevant equations

    3. The attempt at a solution
  2. jcsd
  3. Apr 11, 2015 #2


    User Avatar
    Science Advisor
    Homework Helper
    Gold Member

    As you say, AB doesn't always equal BA.
    So, as you say, ##(A+B)^2=A^2+AB+BA+B^2##

    But what you wrote isn't really the distributive law.
  4. Apr 11, 2015 #3
    Yes, so it should be what you just stated right and not the first expression I had?
  5. Apr 11, 2015 #4


    User Avatar
    Staff Emeritus
    Science Advisor

  6. Apr 11, 2015 #5
    It was from an example from a course I took. I did miss something however, the example had also stated that BA=0 in the problem statement....but that would still not yield the former equation. I do make mistakes sometimes when I copy down notes, so maybe I wrote the 2 in their by accident or my professor did....that would be my only explanation as the answer would be ##A^2+AB+B^2## if BA=0.
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook

Have something to add?
Draft saved Draft deleted