Row and column vectors

From Wikipedia, the free encyclopedia
(Redirected from Row vector)

Template:Short description Template:More footnotes

In linear algebra, a column vector with m elements is an mร—1 matrix[1] consisting of a single column of m entries. Similarly, a row vector is a 1ร—n matrix, consisting of a single row of n entries. For example, ๐’™ is a column vector and ๐’‚ is a row vector:

๐’™=[x1x2โ‹ฎxm],๐’‚=[a1a2an]. (Throughout this article, boldface is used for both row and column vectors.)

The transpose (indicated by TScript error: No such module "Check for unknown parameters".) of any row vector is a column vector, and the transpose of any column vector is a row vector: [x1x2xm]T=[x1x2โ‹ฎxm],[x1x2โ‹ฎxm]T=[x1x2xm]. Taking the transpose twice returns the original (row or column) vector: (๐’™T))T=๐’™.

The set of all row vectors with n entries in a given field (such as the real numbers) forms an n-dimensional vector space; similarly, the set of all column vectors with m entries forms an m-dimensional vector space.

The space of row vectors with n entries can be regarded as the dual space of the space of column vectors with n entries, since any linear functional on the space of column vectors can be represented as the left-multiplication of a unique row vector.

Notation

To simplify writing column vectors in-line with other text, sometimes they are written as row vectors with the transpose operation applied to them.

๐’™=[x1x2xm]T

or

๐’™=[x1,x2,,xm]T

Some authors also use the convention of writing both column vectors and row vectors as rows, but separating row vector elements with commas and column vector elements with semicolons (see alternative notation 2 in the table below).Lua error in package.lua at line 80: module 'Module:Category handler/data' not found.[citation needed]Script error: No such module "Check for unknown parameters".Script error: No such module "Check for unknown parameters".

Row vector Column vector
Standard matrix notation
(array spaces, no commas, transpose signs)
[x1x2xm] [x1x2โ‹ฎxm] or [x1x2xm]T
Alternative notation 1
(commas, transpose signs)
[x1,x2,,xm] [x1,x2,,xm]T
Alternative notation 2
(commas and semicolons, no transpose signs)
[x1,x2,,xm] [x1;x2;;xm]

Operations

Matrix multiplication involves the action of multiplying each row vector of one matrix by each column vector of another matrix.

The dot product of two column vectors a, bScript error: No such module "Check for unknown parameters"., considered as elements of a coordinate space, is equal to the matrix product of the transpose of aScript error: No such module "Check for unknown parameters". with bScript error: No such module "Check for unknown parameters".,

๐šโ‹…๐›=๐šT๐›=[a1โ‹ฏan][b1โ‹ฎbn]=a1b1+โ‹ฏ+anbn,

By the symmetry of the dot product, the dot product of two column vectors a, bScript error: No such module "Check for unknown parameters". is also equal to the matrix product of the transpose of bScript error: No such module "Check for unknown parameters". with aScript error: No such module "Check for unknown parameters".,

๐›โ‹…๐š=๐›T๐š=[b1โ‹ฏbn][a1โ‹ฎan]=a1b1+โ‹ฏ+anbn.

The matrix product of a column and a row vector gives the outer product of two vectors a, bScript error: No such module "Check for unknown parameters"., an example of the more general tensor product. The matrix product of the column vector representation of aScript error: No such module "Check for unknown parameters". and the row vector representation of bScript error: No such module "Check for unknown parameters". gives the components of their dyadic product,

๐šโŠ—๐›=๐š๐›T=[a1a2a3][b1b2b3]=[a1b1a1b2a1b3a2b1a2b2a2b3a3b1a3b2a3b3],

which is the transpose of the matrix product of the column vector representation of bScript error: No such module "Check for unknown parameters". and the row vector representation of aScript error: No such module "Check for unknown parameters".,

๐›โŠ—๐š=๐›๐šT=[b1b2b3][a1a2a3]=[b1a1b1a2b1a3b2a1b2a2b2a3b3a1b3a2b3a3].

Matrix transformations

Script error: No such module "Labelled list hatnote". An n ร— nScript error: No such module "Check for unknown parameters". matrix M can represent a linear map and act on row and column vectors as the linear map's transformation matrix. For a row vector vScript error: No such module "Check for unknown parameters"., the product vMScript error: No such module "Check for unknown parameters". is another row vector pScript error: No such module "Check for unknown parameters".:

๐ฏM=๐ฉ.

Another n ร— nScript error: No such module "Check for unknown parameters". matrix Q can act on pScript error: No such module "Check for unknown parameters".,

๐ฉQ=๐ญ.

Then one can write t = pQ = vMQScript error: No such module "Check for unknown parameters"., so the matrix product transformation MQ maps vScript error: No such module "Check for unknown parameters". directly to tScript error: No such module "Check for unknown parameters".. Continuing with row vectors, matrix transformations further reconfiguring n-space can be applied to the right of previous outputs.

When a column vector is transformed to another column vector under an n ร— nScript error: No such module "Check for unknown parameters". matrix action, the operation occurs to the left,

๐ฉT=M๐ฏT,๐ญT=Q๐ฉT,

leading to the algebraic expression QM vTScript error: No such module "Check for unknown parameters". for the composed output from vTScript error: No such module "Check for unknown parameters". input. The matrix transformations mount up to the left in this use of a column vector for input to matrix transformation.

See also

Notes

Page Template:Reflist/styles.css has no content.

  1. ^ Lua error in package.lua at line 80: module 'Module:Citation/CS1/Utilities' not found.

Script error: No such module "Check for unknown parameters".

References

Script error: No such module "Labelled list hatnote".

  • Lua error in package.lua at line 80: module 'Module:Citation/CS1/Utilities' not found.
  • Lua error in package.lua at line 80: module 'Module:Citation/CS1/Utilities' not found.
  • Lua error in package.lua at line 80: module 'Module:Citation/CS1/Utilities' not found.
  • Lua error in package.lua at line 80: module 'Module:Citation/CS1/Utilities' not found.
  • Lua error in package.lua at line 80: module 'Module:Citation/CS1/Utilities' not found.
  • Lua error in package.lua at line 80: module 'Module:Citation/CS1/Utilities' not found.

Lua error in package.lua at line 80: module 'Module:Navbox/configuration' not found.