Matrix

Matrix . It is a two-dimensional table of numbers consisting of abstract quantities with which different operations can be performed, such as adding , multiplying, and decomposing them in various ways, which also makes them a key concept in the field of linear algebra. Matrices are used to describe a system of linear equations, keep track of the coefficients of a linear application, and record data that depends on various parameters.

Summary

[ hide ]

  • 1 Definitions and notations
  • 2 Basic operations
    • 1 Addition or addition
      • 1.1 Properties
    • 2 Product by a scalar
      • 2.1 Properties
    • 3 Product
      • 3.1 Properties
    • 4 Linear applications
    • 5 Range
    • 6 Square matrices and related definitions
    • 7 Matrices in Computing
    • 8 External links
    • 9 Source

Definitions and notations

An array is a square or rectangular table of data (called array elements or entries) arranged in rows and columns, where one row is each of the horizontal lines in the array and one column is each of the vertical lines. A matrix with m rows and n columns is called an m-by-n matrix (written m × n), yam and dimensions of the matrix. The dimensions of an array are always given with the number of rows first and the number of columns after. An m-by-n matrix is ​​commonly said to have an order of m × n (“order” has the meaning of size).

Two matrices are said to be the same if they are of the same order and have the same elements. The element of a matrix found in the i-th row and the j-th column is called element i, jo element (i, j) -th of the matrix. The rows are put back first and then the columns.

Almost always, matrices are denoted by uppercase letters while corresponding lowercase letters are used to denote their elements. For example, the element of a matrix A found in the i-th row and the j-th column is denoted as ai, joa [i, j]. Alternative notations are A [i, j] or Ai, j.

In addition to using capital letters to represent matrices, many authors represent matrices with bold fonts to distinguish them from other types of variables. Thus A is a matrix, while A is a scalar. It is normally written to define a matrix A m × n with each entry in matrix A [i, j] called aij for all 1 ≤ i ≤ m and 1 ≤ j ≤ n. However, the convention of starting indices i and j at 1 is not universal: some programming languages ​​start at zero, in which case you have 0 ≤ i ≤ m – 1 and 0 ≤ j ≤ n – 1. A matrix with a a single column or a single row is often called Vector , and is interpreted as an element of Euclidean space.

A 1 × n matrix (one row and n columns) is called a row vector, and an m × 1 matrix (one column and m rows) is called a column vector. Example: Matrix A: is a 4×3 matrix. Element A [2,3] or a2,3 is 7. Matrix B: is a 1 × 5 matrix, or a row vector with 5 elements.

Basic operations

Sum or addition

Given the matrices A and B of dimension mxn , their sum A + B is the matrix of dimension mxn that results from adding the elements that have the same position. Is, the element of row i and column j of the matrix A + B is the result of the sum of the elements of row i and column j of the matrices A and B . Mathematically said,

(A + B) (i, j) = A (i, j) + B (i, j)

Example:

Properties

  • AssociativeGiven the matrices A , B and C of the same dimension, then

A + (B + C) = (A + B) + C

  • CommutativeGiven the matrices A , B and C of the same dimension, then

A + B = B + A

  • There is neutral for the sum:

A + 0 = 0 + A = A

where 0 is the matrix of the same dimension as A formed only by zeros.

  • There is an opposite element:

A + (- A) = -A + A

It is -A the resulting matrix to the sign change to all elements of A .

Product by a scalar

Given a matrix A and a scalar c , its product c · A is calculated by multiplying each element of A by the scalar c . This is,

(c · A) (i, j) = c · (A (i, j))

Example:

Properties

Let A and B be two matrices of the same dimension and let c and d be two scalars. So,

  • Closing: c · Ais a matrix of the same dimension as A .
  • Associativity:

(c · d) · A = c · (d · A)

  • Neutral Element:

1 · A = A

  • Distributivity:

c · (A + B) = c · A + c · B , (c + d) · A = c · A + d · A

Product

The product of two matrices can be defined only if the number of columns in the left matrix is ​​the same as the number of rows in the right matrix.

If A is an m × n matrix and B is an n × p matrix , then its matrix product A · B is the m × p matrix given by: the element in row i and column j of A · B is the result of multiplying the row vector i of a by the column vector j of B . Mathematically,

(A · B) (i, j) = A (i,:) · B (:, j)

Examples:

Properties

If the elements of the matrix belong to a body, and the product can be defined, the product of matrices has the following properties:

  • Associative property: (A · B) · C = A · (B · C).
  • Distributive property on the right: (A + B) · C = A · C + B · C.
  • Distributive property on the left: C · (A + B) = C · A + C · B.
  • In general, the matrix product has divisors of zero: If A · B = 0 , not necessarily A = 0 or B = 0 .
  • The product does not check matrices property simplification: If A · B = A · C, not necessarily B = C .
  • The product of two matrices generally notis commutative, ie, in general, A · B ≠ A · B .
  • The division between matrices, that is, the operation that could produce the A / Bratio , is not defined. However, there is the concept of inverse matrix , only applicable to square matrices.

Linear applications

Matrices can conveniently represent linear applications (also known as “linear transformations”) between two finite-dimensional vector spaces. Thus, if ℝn is the n-dimensional Euclidean space whose vectors can be represented as column vectors (n-by-1 matrices), for each linear application f: ℝn → ℝm there exists a single matrix A m by n such that for each vector x of ,,n ,, matrix A is said to “represent” the linear application f, or A is the coordinate matrix of f.

The matrix product clearly corresponds to the composition of the applications. If the matrix k by m B represents another linear application g: →m → ℝk, then the composition g or f is represented by BA: This follows from the aforementioned associative property of the matrix product. More generally, a linear application of one n-dimensional vector space to another m-dimensional vector space (not necessarily ℝn) is represented by an m by n matrix, provided that a base has been chosen for each of them.

Rank

The range of a matrix A is the dimension of the linear application image represented by A, which coincides with the dimension of the vector spaces generated by the rows or columns of A. It can also be defined without reference to the linear algebra of the following way: the range of a matrix m by n A is the smallest number k such that A can be written as a product BC where B is a matrix m by k and C is a matrix k by n (although this is not a way practice of calculating range).

The transpose of an m-by-n matrix A is the n-by-m matrix AT (sometimes denoted by At) formed by swapping the rows and columns, ie The matrix transposition has the following properties: If A describes an application linear with respect to two bases, then the AT matrix describes the transposition of a linear application with respect to the bases of the dual space.

Square matrices and related definitions

A square matrix is ​​a matrix that has the same number of rows as columns. The set of all n-by-n square matrices, along with the addition and multiplication of matrices, is a ring that is generally not commutative. M (n, R), the ring of real square matrices, is a unit real associative algebra . M (n, C), the ring of complex square matrices, is a complex associative algebra.

The identity matrix In of order n is the n by n matrix in which all the elements of the main diagonal are equal to 1 and all the other elements are equal to 0. The identity matrix is ​​so named because it satisfies the equations MIn = M and InN = N for any matrix M m for n and N n for k. For example, if n = 3: The identity matrix is ​​the unit element in the ring of square matrices.

The invertible elements of this ring are called invertible matrices or non-singular matrices. A matrix A n by n is invertible if and only if there exists a matrix B such that AB = In = BA. In this case, B is the inverse matrix of A, identified by A-1. The set of all invertible matrices n by n forms a group (specifically a Lie group) under matrix multiplication, the general linear group. If λ is a number and v is not a null vector such that Av = λv, then v is said to be an eigenvector of A and λ is its associated eigenvalue. The number λ is an eigenvalue of A if and only if A − λIn is not invertible, what happens if and only if pA (λ) = 0, where pA (x) is the characteristic polynomial of A. pA (x) it is a polynomial of degree n and therefore it has n complex roots multiple roots if they are counted according to their multiplicity.

The determinant of a square matrix A is the product of its n eigenvalues, but it can also be defined by Leibniz’s formula. Invertible matrices are precisely matrices whose determinant is other than zero. The Gaussian elimination algorithm can be used to calculate the determinant, range, and inverse of a matrix and to solve a system of equations. The trace of a square matrix is ​​the sum of the elements of the diagonal, which is equivalent to the sum of its n eigenvalues.

Matrices in Computing

Commonly in computing, due to its ease and lightness to manipulate information. In this context, they are the best way to represent [graphs], and they are widely used in numerical computation. The origin of the matrices is very old. A magic square , 3 by 3, is recorded in Chinese literature around 650 BC. C. There is a long history of the use of matrices to solve linear equations . An important Chinese mathematical text that comes from the year 300 a. C. to 200 a. C., Nine Chapters on the Art of Mathematics ( Jiu Zhang Suan Shu ), is the first known example of using the matrix method to solve a system of simultaneous equations.

 

Leave a Comment

Scroll to Top