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
Matrix multiplication
(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!
===Powers of a matrix=== One may raise a square matrix to any [[exponentiation|nonnegative integer power]] multiplying it by itself repeatedly in the same way as for ordinary numbers. That is, :<math>\mathbf{A}^0 = \mathbf{I},</math> :<math>\mathbf{A}^1 = \mathbf{A},</math> :<math>\mathbf{A}^k = \underbrace{\mathbf{A}\mathbf{A}\cdots\mathbf{A}}_{k\text{ times}}.</math> Computing the {{mvar|k}}th power of a matrix needs {{math|''k'' β 1}} times the time of a single matrix multiplication, if it is done with the trivial algorithm (repeated multiplication). As this may be very time consuming, one generally prefers using [[exponentiation by squaring]], which requires less than {{math|2 log<sub>2</sub> ''k''}} matrix multiplications, and is therefore much more efficient. An easy case for exponentiation is that of a [[diagonal matrix]]. Since the product of diagonal matrices amounts to simply multiplying corresponding diagonal elements together, the {{mvar|k}}th power of a diagonal matrix is obtained by raising the entries to the power {{mvar|k}}: :<math> \begin{bmatrix} a_{11} & 0 & \cdots & 0 \\ 0 & a_{22} & \cdots & 0 \\ \vdots & \vdots & \ddots & \vdots \\ 0 & 0 & \cdots & a_{nn} \end{bmatrix}^k = \begin{bmatrix} a_{11}^k & 0 & \cdots & 0 \\ 0 & a_{22}^k & \cdots & 0 \\ \vdots & \vdots & \ddots & \vdots \\ 0 & 0 & \cdots & a_{nn}^k \end{bmatrix}. </math>
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)