请输入您要查询的字词:

 

单词 MatrixOperations
释义

matrix operations


A matrix is an array, or a rectangular grid, of numbers. An m×n matrix is one which has m rows and n columns. Examples ofmatrices include:

  • The 2×3 matrix

    A=(1-22102)
  • The 3×3 matrix

    B=(1013-15420)
  • The 3×1 matrix

    C=(772)
  • The 1×2 matrix

    D=(122)

All of our example matrices (except the last one) have entries which areintegers. In general, matrices are allowed to have their entries takenfrom any ring R. The set of all m×n matrices with entries ina ring R is denoted Mm×n(R). If a matrix has exactly asmany rows as it has columns, we say it is a square matrixMathworldPlanetmath.

AdditionPlanetmathPlanetmath of two matrices is allowed provided that both matrices have thesame number of rows and the same number of columns. The sum of two suchmatrices is obtained by adding their respective entries. For example,

(772)+(-14.50)=(7+(-1)7+4.52+0)=(611.52)

Multiplication of two matrices is allowed provided that the number ofcolumns of the first matrix equals the number of rows of the secondmatrix. (For example, multiplication of a 2×3 matrix with a 3×3 is allowed, but multiplication of a 3×3 matrix with a2×3 matrix is not allowed, since the first matrix has 3columns, and the second matrix has 2 rows, and 3 doesn’t equal 2.)In this case the matrix multiplicationMathworldPlanetmath is defined by

(AB)ij=k(A)ik(B)kj.

We will describe how matrix multiplication works is with anexample. Let

A=(1-22102),B=(1013-15420)

be the two matrices that we used above as our very first two examples ofmatrices. Since A is a 2×3 matrix, and B is a 3×3matrix, it is legal to multiply A and B, but it is not legal tomultiply B and A. The method for computing the product AB is toplace A below and to the left of B, as follows:

(1013-15420)(1-22102)(XY)

A is always in the bottom left corner, B is in the top right corner,and the product, AB, is always in the bottom right corner. We see fromthe picture that AB will be a 2×3 matrix. (In general, ABhas as many rows as A, and as many columns as B.)

Let us compute the top left entry of AB, denoted by X in the abovepicture. The way to calculate this entry of AB (or any other entry) isto take the dot productMathworldPlanetmath of the stuff above it [which is (1,3,4)] andthe stuff to the left of it [which is (1,-2,2)]. In this case, we have

X=11+3(-2)+42=3.

Similarly, the top middle entry of AB (where the Y is in the abovepicture) is gotten by taking the dot product of the stuff above it:(0,-1,2), and the stuff to the left of it: (1,-2,2), which gives

Y=01+(-1)(-2)+22=6

Continuing in this way, we can compute every entry of AB one by one toget

(1013-15420)(1-22102)(36-9941)

and so

AB=(36-9941).

If one tries to compute the illegal product BA using thisprocedure, one winds up with

(1-22102)(1013-15420)(?)

The top left entry of this illegal product (marked with a ? above)would have to be the dot product of the stuff above it: (1,1), and thestuff to the left of it: (1,0,1), but these vectors do not have the samelength, so it is impossible to take their dot product, and consequentlyit is impossible to take the product of the matrices BA.

Under the correspondence of matrices and linear transformations, one canshow that matrix multiplication is equivalentMathworldPlanetmathPlanetmathPlanetmathPlanetmath to compositionMathworldPlanetmathPlanetmath of lineartransformations, which explains why matrix multiplication isdefined in a manner which is so odd at first sight, and why this strangemanner of multiplication is so useful in mathematics.

随便看

 

数学辞典收录了18232条数学词条,基本涵盖了常用数学知识及数学英语单词词组的翻译及用法,是数学学习的有利工具。

 

Copyright © 2000-2023 Newdu.com.com All Rights Reserved
更新时间:2025/5/4 17:06:26