Example: bachelor of science

Jeffrey R. Chasnov - Hong Kong University of Science and ...

Matrix Algebra for EngineersLecture Notes forJeffrey R. ChasnovThe hong kong University of Science and TechnologyDepartment of MathematicsClear Water Bay, KowloonHong KongCopyrightc 2018, 2019 by Jeffrey Robert ChasnovThis work is licensed under the Creative Commons Attribution hong kong License. To view a copy of thislicense, visit or send a letter to Creative Commons, 171 SecondStreet, Suite 300, San Francisco, California, 94105, the promotional video on YouTubeThese are my lecture notes for my online Coursera course, Matrix Algebra for Engineers. I havedivided these notes into chapters called Lectures, with each Lecture corresponding to a video onCoursera. I have also uploaded all my Coursera videos to YouTube, and links are placed at the top ofeach are problems at the end of each lecture chapter and I have tried to choose problems thatexemplify the main idea of the lecture.

Hong Kong July 2018. iv. Contents I Matrices1 1 Definition of a matrix 5 2 Addition and multiplication of matrices7 3 Special matrices 9 Practice quiz: Matrix definitions11 4 Transpose matrix 13 5 Inner and outer products15 6 Inverse matrix 17 Practice quiz: Transpose and inverses19 7 Orthogonal matrices 21

Tags:

  Special, Hong, Kong, Hong kong

Information

Domain:

Source:

Link to this page:

Please notify us if you found a problem with this document:

Other abuse

Transcription of Jeffrey R. Chasnov - Hong Kong University of Science and ...

1 Matrix Algebra for EngineersLecture Notes forJeffrey R. ChasnovThe hong kong University of Science and TechnologyDepartment of MathematicsClear Water Bay, KowloonHong KongCopyrightc 2018, 2019 by Jeffrey Robert ChasnovThis work is licensed under the Creative Commons Attribution hong kong License. To view a copy of thislicense, visit or send a letter to Creative Commons, 171 SecondStreet, Suite 300, San Francisco, California, 94105, the promotional video on YouTubeThese are my lecture notes for my online Coursera course, Matrix Algebra for Engineers. I havedivided these notes into chapters called Lectures, with each Lecture corresponding to a video onCoursera. I have also uploaded all my Coursera videos to YouTube, and links are placed at the top ofeach are problems at the end of each lecture chapter and I have tried to choose problems thatexemplify the main idea of the lecture.

2 Students taking a formal University course in matrix or linearalgebra will usually be assigned many more additional problems, but here I follow the philosophythat less is more. I give enough problems for students to solidify their understanding of the material,but not too many problems that students feel overwhelmed and drop out. I do encourage students toattempt the given problems, but if they get stuck, full solutions can be found in the are also additional problems at the end of coherent sections that are given as practice quizzeson the Coursera platform. Again, students should attempt these quizzes on the platform, but if astudent has trouble obtaining a correct answer, full solutions are also found in the mathematics in this matrix algebra course is at the level of an advanced high school student, buttypically students would take this course after completing a University -level single variable calculuscourse.

3 There are no derivatives and integrals in this course, but student s are expected to have acertain level of mathematical maturity. Nevertheless, anyone who wants to learn the basics of matrixalgebra is welcome to ChasnovHong KongJuly 2018ivContentsI Matrices11 Definition of a matrix52 Addition and multiplication of matrices73 special matrices9 Practice quiz: Matrix definitions114 Transpose matrix135 Inner and outer products156 Inverse matrix17 Practice quiz: Transpose and inverses197 Orthogonal matrices218 Rotation matrices239 Permutation matrices25 Practice quiz: Orthogonal matrices27II Systems of Linear Equations2910 Gaussian elimination3311 Reduced row echelon form3712 Computing inverses39 Practice quiz: Gaussian elimination4113 Elementary matrices4314 LU decomposition45vviCONTENTS15 Solving (LU)x = b47 Practice quiz.

4 LU decomposition51 III Vector Spaces5316 Vector spaces5717 Linear independence5918 Span, basis and dimension61 Practice quiz: Vector space definitions6319 Gram-Schmidt process6520 Gram-Schmidt process example67 Practice quiz: Gram-Schmidt process6921 Null space7122 Application of the null space7523 Column space7724 Row space, left null space and rank79 Practice quiz: Fundamental subspaces8125 Orthogonal projections8326 The least-squares problem8527 Solution of the least-squares problem87 Practice quiz: Orthogonal projections91IV Eigenvalues and Eigenvectors9328 Two-by-two and three-by-three determinants9729 Laplace expansion9930 Leibniz formula10331 Properties of a determinant105 Practice quiz: Determinants10732 The eigenvalue problem10933 Finding eigenvalues and eigenvectors (1)111 CONTENTSvii34 Finding eigenvalues and eigenvectors (2)113 Practice quiz: The eigenvalue problem11535 Matrix diagonalization11736 Matrix diagonalization example11937 Powers of a matrix12138 Powers of a matrix example123 Practice quiz: Matrix diagonalization125 Appendix127A Problem and practice quiz solutions129viiiCONTENTSWeek IMatrices13In this week s lectures, we learn about matrices.

5 Matrices are rectangular arrays of numbers orother mathematical objects and are fundamental to engineering mathematics. We will define matricesand how to add and multiply them, discuss some special matrices such as the identity and zero matrix,learn about transposes and inverses, and define orthogonal and permutation 1 Definition of a matrixView this lecture on YouTubeAnm-by-nmatrix is a rectangular array of numbers (or other mathematical objects) withmrowsandncolumns. For example, a two-by-two matrix A, with two rows and two columns, looks likeA=(a bc d).The first row has elementsaandb, the second row has elementscandd. The first column has elementsaandc; the second column has elementsbandd. As further examples, two-by-three and three-by-twomatrices look likeB=(a b cd e f),C= a db ec f.

6 Of special importance are column matrices and row matrices. These matrices are also called column vector is in generaln-by-one and the row vector is one-by-n. For example, whenn=3,we would write a column vector asx= abc ,and a row vector asy=(a b c).A useful notation for writing a generalm-by-nmatrix A isA= a11a12 a1na21a22 amn .Here, the matrix element of A in theith row and thejth column is denoted 1. DEFINITION OF A MATRIXP roblems for Lecture diagonal of a matrix A are the entriesaijwherei= ) Write down the three-by-three matrix with ones on the diagonal and zeros ) Write down the three-by-four matrix with ones on the diagonal and zeros ) Write down the four-by-three matrix with ones on the diagonal and zeros to the ProblemsLecture 2 Addition and multiplication ofmatricesView this lecture on YouTubeMatrices can be added only if they have the same dimension.

7 Addition proceeds element by example,(a bc d)+(e fg h)=(a+e b+fc+g d+h).Matrices can also be multiplied by a scalar. The rule is to just multiply every element of the example,k(a bc d)=(ka kbkc kd).Matrices (other than the scalar) can be multiplied only if the number of columns of the left matrixequals the number of rows of the right matrix. In other words, anm-by-nmatrix on the left can onlybe multiplied by ann-by-kmatrix on the right. The resulting matrix will bem-by-k. Evidently, matrixmultiplication is generally not commutative. We illustrate multiplication using two 2-by-2 matrices:(a bc d)(e fg h)=(ae+bg a f+bhce+dg c f+dh),(e fg h)(a bc d)=(ae+c f be+d fag+ch bg+dh).First, the first row of the left matrix is multiplied against and summed with the first column of the rightmatrix to obtain the element in the first row and first column of the product matrix.

8 Second, the firstrow is multiplied against and summed with the second column. Third, the second row is multipliedagainst and summed with the first column. And fourth, the second row is multiplied against andsummed with the second general, an element in the resulting product matrix, say in rowiand columnj, is obtained bymultiplying and summing the elements in rowiof the left matrix with the elements in columnjofthe right matrix. We can formally write matrix multiplication in terms of the matrix elements. Let Abe anm-by-nmatrix with matrix elementsaijand let B be ann-by-pmatrix with matrix is anm-by-pmatrix, and its ij matrix element can be written ascij=n k= that the second index ofaand the first index ofbare summed 2. ADDITION AND MULTIPLICATION OF MATRICESP roblems for Lecture the matricesA=(21 11 11), B=(4 212 4 2),C=(1 22 1),D=(3 44 3),E=(12).

9 Compute if defined:B 2A,3C E,AC,CD, A=(1 22 4), B=(2 11 3)and C=(4 30 2). Verify that AB=AC and yet B = A= 1 1 11 2 31 3 4 and D= 2 0 00 3 00 0 4 . Compute AD and the associative law for matrix multiplication. That is, let A be anm-by-nmatrix, B ann-by-pmatrix, and C ap-by-qmatrix. Then prove that A(BC) = (AB) to the ProblemsLecture 3 special matricesView this lecture on YouTubeThe zero matrix, denoted by 0, can be any size and is a matrix consisting of all zero elements. Multi-plication by a zero matrix results in a zero matrix. The identity matrix, denoted by I, is a square matrix(number of rows equals number of columns) with ones down the main diagonal. If A and I are thesame sized square matrices, thenAI=IA=A,and multiplication by the identity matrix leaves the matrix unchanged.

10 The zero and identity matricesplay the role of the numbers zero and one in matrix multiplication. For example, the two-by-two zeroand identity matrices are given by0=(0 00 0),I=(1 00 1).A diagonal matrix has its only nonzero elements on the diagonal. For example, a two-by-two diagonalmatrix is given byD=(d100d2).Usually, diagonal matrices refer to square matrices, but they can also be band (or banded) matrix has nonzero elements only on diagonal bands. For example, a three-by-three band matrix with nonzero diagonals one above and one below a nonzero main diagonal (calleda tridiagonal matrix) is given byB= d1a10b1d2a20b2d3 .An upper or lower triangular matrix is a square matrix that has zero elements below or above thediagonal. For example, three-by-three upper and lower triangular matrices are given byU= a b c0d e00f ,L= a00b d0c e f.


Related search queries