Linear Algebra- Diagonal Matrix

Click For Summary
The discussion focuses on proving that a diagonal matrix D, with diagonal entries of 0 or 1, is idempotent, meaning D² = D. One participant confirms their proof works for a specific 3x3 matrix but seeks validation for a general proof. Additionally, the conversation touches on the properties of matrix multiplication, clarifying that (AB)² equals ABAB and does not equal A²B² or B²A². The discussion concludes with a participant expressing gratitude for the assistance received.
Roni1985
Messages
200
Reaction score
0

Homework Statement



Let D be an n x n diagonal matrix whose diagonal entries are either 0 or 1

a) Show that D is idempotent

b) Show that if X is a nonsingular matrix and A=XD(X)-1 , then A is idempotent

Homework Equations


The Attempt at a Solution



a) I tried it, and it works for a specific matrix, say 3x3... but I don't know if it's really a proof.
I need to show that

D2=D

b) I solved this part

Also,
is (AB)2= A2*B2
or
(AB)2=B2*A2
?
 
Last edited:
Physics news on Phys.org
You just need to make up some notation. Let diag(a1,a2,...an) be the matrix whose diagonal entries are a1, a2... Now what diag(a1,a2,...an)*diag(b1,b2,...bn)? (AB)^2 generally isn't equal to either A^2*B^2 or B^2*A^2. It's just ABAB.
 
Dick said:
You just need to make up some notation. Let diag(a1,a2,...an) be the matrix whose diagonal entries are a1, a2... Now what diag(a1,a2,...an)*diag(b1,b2,...bn)? (AB)^2 generally isn't equal to either A^2*B^2 or B^2*A^2. It's just ABAB.

oh, right , it works ...
thanks a lot for the help ...
 
Question: A clock's minute hand has length 4 and its hour hand has length 3. What is the distance between the tips at the moment when it is increasing most rapidly?(Putnam Exam Question) Answer: Making assumption that both the hands moves at constant angular velocities, the answer is ## \sqrt{7} .## But don't you think this assumption is somewhat doubtful and wrong?

Similar threads

  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 8 ·
Replies
8
Views
2K
Replies
9
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
Replies
9
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
Replies
2
Views
1K
  • · Replies 12 ·
Replies
12
Views
2K
  • · Replies 10 ·
Replies
10
Views
2K