Is the Distributive Law for Matrices Always True?

  • Thread starter Thread starter pyroknife
  • Start date Start date
  • Tags Tags
    Law Matrix
Click For Summary

Homework Help Overview

The discussion revolves around the distributive law for matrices, specifically examining the expression \((A+B)^2 = A^2 + 2AB + B^2\) and questioning the validity of the middle term \(2AB\) in the context of non-commutative matrix multiplication.

Discussion Character

  • Conceptual clarification, Assumption checking

Approaches and Questions Raised

  • Participants explore the implications of matrix non-commutativity on the distributive law, questioning the correctness of the expression and suggesting alternatives. They discuss whether the factor of 2 in \(2AB\) is justified and consider the conditions under which the original expression might hold true.

Discussion Status

The discussion is active, with participants providing insights and questioning assumptions about the distributive law. Some participants clarify that the expression with \(2AB\) is only valid under specific conditions, while others express confusion regarding the source of the original equation.

Contextual Notes

There is mention of a specific example from a course that may have included additional conditions, such as \(BA = 0\), which could affect the interpretation of the expressions discussed. Participants acknowledge the potential for errors in note-taking and the need for careful consideration of matrix properties.

pyroknife
Messages
611
Reaction score
4

Homework Statement


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?

##(A+B)^2=A^2+2AB+B^2##

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?

Homework Equations

The Attempt at a Solution

 
Physics news on Phys.org
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.
##C(A+B)=CA+CB##
 
robphy said:
As you say, AB doesn't always equal BA.
So, as you say, ##(A+B)^2=A^2+AB+BA+B^2##
Yes, so it should be what you just stated right and not the first expression I had?
 
Astronuc said:
##(A+B)^2=A^2+AB+BA+B^2## is correct.

Only special cases can be ##(A+B)^2=A^2+2AB+B^2##. Only if AB = BA
See slide 10 of http://www.math.tamu.edu/~yvorobet/MATH304-503/Lect1-06web.pdf

Where did one find the former equation?
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.
 

Similar threads

  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 25 ·
Replies
25
Views
2K
  • · Replies 5 ·
Replies
5
Views
1K
Replies
5
Views
11K
  • · Replies 26 ·
Replies
26
Views
3K
  • · Replies 5 ·
Replies
5
Views
5K
  • · Replies 1 ·
Replies
1
Views
1K
Replies
0
Views
992
Replies
6
Views
5K
Replies
9
Views
13K