Can AB = BA? Solving for Matrix A and B

  • Thread starter Thread starter soopo
  • Start date Start date
  • Tags Tags
    Matrix
soopo
Messages
222
Reaction score
0

Homework Statement


Let A, B \epsilon Rn x n.

Homework Equations



A. Show that if AB = BA, then
(A + B)2 = A2 + 2AB + B2.

B. Give an example of 2 x 2 matrices A and B such that
(A + B)2 \neq A2 + 2AB + B2.

The Attempt at a Solution


I have tried to find such a matrices A and B such that the requirements applies. Perhaps, this allows to show the equations.
 
Last edited:
Physics news on Phys.org
For part (a), just expand (A+B)^2...what do you get when you do that?
 
gabbagabbahey said:
For part (a), just expand (A+B)^2...what do you get when you do that?
A^2 +2AB + B^2. Do you suggest that this is enough for A?

I accidentally managed to solve B: an example is A= <1, 0; 1, 1> and B= <1, 1; 0, 1>.
 
Last edited:
soopo said:
A^2 +2AB + B^2.

this is only true when AB=BA, since

(A+B)^2=(A+B)(A+B)=AA+AB+BA+BB=A^2+AB+BA+B^2

...do you follow?
 
gabbagabbahey said:
this is only true when AB=BA, since

(A+B)^2=(A+B)(A+B)=AA+AB+BA+BB=A^2+AB+BA+B^2

...do you follow?
Good Point! This must be enough for A. Thanks!
 
Prove $$\int\limits_0^{\sqrt2/4}\frac{1}{\sqrt{x-x^2}}\arcsin\sqrt{\frac{(x-1)\left(x-1+x\sqrt{9-16x}\right)}{1-2x}} \, \mathrm dx = \frac{\pi^2}{8}.$$ Let $$I = \int\limits_0^{\sqrt 2 / 4}\frac{1}{\sqrt{x-x^2}}\arcsin\sqrt{\frac{(x-1)\left(x-1+x\sqrt{9-16x}\right)}{1-2x}} \, \mathrm dx. \tag{1}$$ The representation integral of ##\arcsin## is $$\arcsin u = \int\limits_{0}^{1} \frac{\mathrm dt}{\sqrt{1-t^2}}, \qquad 0 \leqslant u \leqslant 1.$$ Plugging identity above into ##(1)## with ##u...
Back
Top