Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

Matrices and Matrix Operations Math149 Skills Objectives, Lecture notes of Engineering Mathematics

An introduction to matrices and matrix operations. It covers topics such as matrix addition, subtraction, scalar multiplication, multiplication, transpose, trace, and submatrices. It also explains the types of matrices, including row, column, vector, diagonal, scalar, upper triangular, zero, null, unit, and lower triangular matrices. The document also includes examples of matrix operations and their applications in linear systems and equations. The document concludes with answers to sample questions related to matrix operations.

Typology: Lecture notes

2018/2019

Available from 08/29/2022

ggegegege
ggegegege ๐Ÿ‡ต๐Ÿ‡ญ

45 documents

1 / 26

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
MATRICES AND MATRIX
OPERATIONS
MATH149
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a

Partial preview of the text

Download Matrices and Matrix Operations Math149 Skills Objectives and more Lecture notes Engineering Mathematics in PDF only on Docsity!

MATRICES AND MATRIX

OPERATIONS

MATH

SKILLS OBJECTIVES

At the end of this lesson, you are expected to demonstrate the following:

  1. Perform the arithmetic operations of matrix addition, subtraction, scalar multiplication and multiplication.
  2. Compute the transpose of the matrix.
  3. Compute the trace of the matrix.
  4. Determine whether the product of two given matrices is defined.
  5. Compute matrix products using row-column method, the column method and the row method.
  6. Express the product of a matrix and a column vector as a linear combination of the columns of the matrix.
  7. Express a linear system as a matrix equation and identify the coefficient matrix.

Matrix Definition For example, a 3x4 matrix has entries written as A=

Transpose of a matrix If ๐ด is any ๐‘š ร— ๐‘› matrix, then the transpose of ๐‘จ, denoted by ๐ด ๐‘‡ , is defined to be the ๐‘› ร— ๐‘š matrix that results from interchanging the rows and columns of ๐ด; that is, the first column of ๐ด ๐‘‡ is the first row of ๐ด, the second column of ๐ด ๐‘‡ is the second row of ๐ด, and so forth.

  • Examples:
  • Symmetric Matrix A special kind of square matrix that is equal to its transpose. (๐ด = ๐ด ๐‘‡ ) Example: A=

๐‘‡ = =

  • If A is a square matrix, then the trace of A , denoted by tr(A) is defined to be the sum of the entries on the main diagonal of A. The trace of A is undefined if A is not a square matrix.
  • Example. Find the trace of A in the previous example. tr(A) = 1 + 4 + 6= 11

Matrix Addition and Subtraction

If A and B are matrices of the same size , then the sum A+B is the matrix obtained by adding the entries of B to the corresponding entries of A, and the difference A-B i s the matrix obtained by subtracting the entries of B from the corresponding entries of A. Matrices of different sizes cannot be added or subtracted. In matrix notation, If A = ๐‘Ž๐‘–๐‘— and B= ๐‘๐‘–๐‘— have the same size, then ๐ด + ๐ต (^) ๐‘–๐‘— = ๐ด (^) ๐‘–๐‘— + ๐ต (^) ๐‘–๐‘— = ๐‘Ž๐‘–๐‘— + ๐‘๐‘–๐‘— and ๐ด โˆ’ ๐ต (^) ๐‘–๐‘— = ๐ด (^) ๐‘–๐‘— โˆ’ ๐ต (^) ๐‘–๐‘— = ๐‘Ž๐‘–๐‘— โˆ’ ๐‘๐‘–๐‘— Ex: Let A = 1 2 3 4 and B = 5 6 7 8 then A-B = 1 โˆ’ 5 2 โˆ’ 6 3 โˆ’ 7 4 โˆ’ 8 = โˆ’ 4 โˆ’ 4 โˆ’ 4 โˆ’ 4

Scalar Multiplication

If A is any matrix and c is any scalar, then the product cA is the matrix obtained by multiplying each entry of the matrix A by c. The matrix cA is said to be a scalar multiple of A. If A = ๐‘Ž๐‘–๐‘— , then ๐‘๐ด (^) ๐‘–๐‘—= c ๐ด (^) ๐‘–๐‘— =c๐‘Ž๐‘–๐‘—. Let A=

then 3A =

Example: no.3 p. Consider the matrices A =

, B =

, C =

D =

E =

In each part, compute the given expression (where possible). (a) D+E (b) D-E (c) 5A (d) - 9D (e) 2B-C (f) 7E-3D (g) 2(D+5E) (h) 2๐ด ๐‘‡ +C (i) (๐ท โˆ’ ๐ธ) ๐‘‡ (j)(2๐ธ ๐‘‡

  • 3 ๐ท ๐‘‡ ) (k) tr(D) (l) tr(D-E) (m) 2tr(4B)

Matrix Multiplication The definition of matrix multiplication requires that the number of columns of the first factor ๐ด be the same as the number of rows of the second factor ๐ต in order to form the product ๐ด๐ต. If this condition is not satisfied, the product is undefined. A convenient way to determine whether a product of two matrices is defined is to write down the size of the first factor and, to the right of it, write down the size of the second factor. If the inside numbers are the same, then the product is defined. The outside numbers then give the size of the product.

Matrix Multiplication

  • If ๐ด is an ๐‘š ร— ๐‘Ÿ matrix and ๐ต is an ๐‘Ÿ ร— ๐‘› matrix, then the product ๐ด๐ต is the ๐‘š ร— ๐‘› matrix whose entries are determined as follows. To find the entry in row ๐‘– and column ๐‘— of ๐ด๐ต, single out row ๐‘– from the matrix ๐ด and column ๐‘— from the matrix ๐ต. Multiplying the corresponding entries from the row and column together, and then add up the resulting products. ๐‘จ๐‘ฉ (^) ๐’Š๐’‹ = ๐’‚๐’Š๐Ÿ๐’ƒ๐’Š๐’‹ + ๐’‚๐’Š๐Ÿ๐’ƒ๐Ÿ๐’‹ + ๐’‚๐’Š๐Ÿ‘๐’ƒ๐Ÿ‘๐’‹ + โ€ฆ + ๐’‚๐’Š๐’“๐’ƒ๐’“๐’‹

Example

  • The entry in row 1 and column 4 of ๐ด๐ต is computed as follows:
  • The computations for the remaining entries are
  • Matrix Products as Linear Combinations
  • If ๐ด 1 , ๐ด, 2 โ€ฆ,๐ด๐‘› are matrices of the same size, and if ๐‘ 1 , ๐‘ 2 ,โ€ฆ,๐‘ 3 are scalars, then the expression of the form ๐‘ 1 ๐ด 1 + ๐‘ 2 ๐ด 2 + โ‹ฏ + ๐‘๐‘Ÿ๐ด๐‘Ÿ is called a linear combination of ๐ด 1 , ๐ด, 2 โ€ฆ,๐ด๐‘› , with coefficients ๐‘ 1 , ๐‘ 2 ,โ€ฆ,๐‘ 3..

Theorem: If A is an mxn matrix, and if x is an nx1 column vector, then the product Ax can be expressed as a linear combination of the column vectors of A in which the coefficients are the entries of x. Example: Matrix Product as Linear Combinations

  • The matrix product โˆ’ 1 3 2 1 2 โˆ’ 3 2 1 โˆ’ 2

can be written as the following linear combination of column vectors 2