Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Diagonal matrix
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Matrix operations == The operations of matrix addition and [[matrix multiplication]] are especially simple for diagonal matrices. Write {{math|diag(''a''<sub>1</sub>, ..., ''a<sub>n</sub>'')}} for a diagonal matrix whose diagonal entries starting in the upper left corner are {{math|''a''<sub>1</sub>, ..., ''a<sub>n</sub>''}}. Then, for [[matrix addition|addition]], we have <math display=block> \operatorname{diag}(a_1,\, \ldots,\, a_n) + \operatorname{diag}(b_1,\, \ldots,\, b_n) = \operatorname{diag}(a_1 + b_1,\, \ldots,\, a_n + b_n)</math> and for [[matrix multiplication]], <math display=block>\operatorname{diag}(a_1,\, \ldots,\, a_n) \operatorname{diag}(b_1,\, \ldots,\, b_n) = \operatorname{diag}(a_1 b_1,\, \ldots,\, a_n b_n).</math> The diagonal matrix {{math|diag(''a''<sub>1</sub>, ..., ''a<sub>n</sub>'')}} is [[invertible matrix|invertible]] [[if and only if]] the entries {{math|''a''<sub>1</sub>, ..., ''a<sub>n</sub>''}} are all nonzero. In this case, we have <math display=block>\operatorname{diag}(a_1,\, \ldots,\, a_n)^{-1} = \operatorname{diag}(a_1^{-1},\, \ldots,\, a_n^{-1}).</math> In particular, the diagonal matrices form a [[subring]] of the ring of all {{mvar|n}}-by-{{mvar|n}} matrices. Multiplying an {{mvar|n}}-by-{{mvar|n}} matrix {{math|'''A'''}} from the ''left'' with {{math|diag(''a''<sub>1</sub>, ..., ''a<sub>n</sub>'')}} amounts to multiplying the {{mvar|i}}-th ''row'' of {{math|'''A'''}} by {{mvar|a<sub>i</sub>}} for all {{mvar|i}}; multiplying the matrix {{math|'''A'''}} from the ''right'' with {{math|diag(''a''<sub>1</sub>, ..., ''a<sub>n</sub>'')}} amounts to multiplying the {{mvar|i}}-th ''column'' of {{math|'''A'''}} by {{mvar|a<sub>i</sub>}} for all {{mvar|i}}.
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)