How can a column vector be transformed into a diagonal matrix?

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
3 replies · 4K views
MehranMo
Messages
1
Reaction score
0
I think this is a pretty simple question. I need a transformation that will take a Column vector e.g.: <a,b,c> and turn it into a 3x3 matrix where a is in position 1,1 and b in position 2,2 and c in position 3,3. i.e.: a diagonal matrix.

Any help?
 
Physics news on Phys.org
What kind of transformation? You can define the function by saying that for each i,j we define [itex]X_{ij}=\delta_{ij}x_i[/itex]. (There's no summation over the repeated indices). Do you need to define the function by matrix multiplication alone, or is it OK to use addition too?
 
You could pick a 3 dimensional matrix (a 3x3x3 cube) with 1's on the main diagonal.
 
There is a linear isomorphism [itex]\alpha[/itex] such that for any vector [itex](a, b, c)[/itex] [itex]\alpha[/itex] will take [itex](a,b,c)[/itex] to the 3 by 3 matrix, whose main-diagonal entries are a, b, and c, with all other entries being 0.