Docsity

Linear Algebra Study Notes: Matrices, Systems of Equations, Determinants, and Eigenvalues, Schemes and Mind Maps of Linear Algebra

Toggle sidebar
bg1
Part 1 >> Linear algebra
Chapter l - matrices
Chapter 2 - system of linear equation
Chapter 3 - determinant and inverse of a square matrix
Chapter 4 - matrix eigenvalue problems
Tex t b o o k
> Anton and Forres
> kreyszig
> O'Neil
1.1 matrices
Matrix: entries, row, column, size
Matrix: rectangular array of numbers or functions enclosed in brackets;
for examples:
> The numbers or functions in the array are called entries (or elements)
of the matrix
> First matrix has two rows, three columns; so, its size is a two (rows)
by three (columns), written 2x3
A Matrix: entry's position
> matrices are denoted by capital (boldfaced) letters.
> for a matrix say A, we'll use aij to denote the entry in row i and j.
A general m x n matrix (m rows, n columns) A is written:
So, for e.g., a21: entry in row 2 ; Column l
Row and column vectors
> A matrix with one row or one column is called vector.
> A matrix with one row is called a row vector and a matrix
with one column is called column vector.
> vectors are denoted by lowercase
(Boldfaced) letters.
For example:
> its entries are called the components of the vectors
> for convenience, we can also white a clump vector such as
as . Note that:
Zero matrix
A matrix whose entries are all zero is called a zero
matrix, denoted by O.
Some examples:
Chapter l: matrices
&
0-3
I
-
5
O
-
j-N
222-
2
8
-0
-
2
16
.
-
en
42
2x2
2x3
-
a
b
c
)
;
4
[5]
i
=
abj
=
=
4)
:
-
I
I
IX3
IX
I
xi
n
.
=
16
-
2
1
=
:
=
I
-
4
,
+
A
=
[9jc)
:
an
912
...
Ain
o
-00
0 o
:
88
.
A21
A26
..
dan
-
U
↳
↑
C
G
g
-am
,
am
...
amn
T
100
.
:
.
00
.
pf3
pf4
pf5

Partial preview of the text

Download Linear Algebra Study Notes: Matrices, Systems of Equations, Determinants, and Eigenvalues and more Schemes and Mind Maps Linear Algebra in PDF only on Docsity!

Part 1 >> Linear algebra Chapter l - matrices Chapter 2 - system of linear equation Chapter 3 - determinant and inverse of a square matrix Chapter 4 - matrix eigenvalue problems Textbook

Anton and Forres kreyszig O'Neil 1.1 matrices Matrix: entries, row, column, size Matrix: rectangular array of numbers or functions enclosed in brackets; for examples: The numbers or functions in the array are called entries (or elements) of the matrix First matrix has two rows, three columns; so, its size is a two (rows) by three (columns), written 2x A Matrix: entry's position matrices are denoted by capital (boldfaced) letters.

> for a matrix say A, we'll use aij to denote the entry in row i and j.

A general m x n matrix (m rows, n columns) A is written: So, for e.g., a21: entry in row 2 ; Column l Row and column vectors

A matrix with one row or one column is called vector. A matrix with one row is called a row vector and a matrix with one column is called column vector. vectors are denoted by lowercase (Boldfaced) letters. For example: its entries are called the components of the vectors for convenience, we can also white a clump vector such as as. Note that: Zero matrix A matrix whose entries are all zero is called a zero matrix, denoted by O. Some examples: Chapter l: matrices

0-3 I -^5 O^ - j-N (^) 222- 2 8 -^

  • (^2 )

. -^ en^42

2x3^ 2x

  • a
b c ) ; 4 [5]

i (^) = abj = =

  • I : IX3 I IX (^) I xi

n.^ = 16 - 2 1 = : =I

  • 4

A = [9jc) :^ an 912 ... Ain

o

-000 o (^) : 88 . A21 (^) A26 (^) .. dan

  • U ↑ C G g -am,^ am (^) ... amn T

: .

Square matrix A matrix with n rows and n columns that is an n x n matrix is called a square matrix of order n. The entries of a square matrix are said to be on main diagonal. For example, a 3 x 3 matrix: The trace of a square matrix A is defined as the sum of entries on the main diagonal of A: 1.2 matrix operations. Equality of matrices Two matrices A = and B = are equal, written A = B, if and only if ( iff ):

  • they have the same size, and
  • corresponding entries are equal: For example: Matrices that are not equal are called different. Thus, matrices of different sizes are always different. Solve the given matrix equation for a, b, c, d: Solution Equate corresponding entries to have: From these equations, solve for a, b, c, d to obtain: matrix operation Addition
  • The two matrices A and B must be of the same size.
  • Sum is written A + B and the entries are obtained by adding the corresponding entries of A and B
  • Matrices of different sizes cannot be added. Scalar Multiplication
  • The product of any m x n matrix A and any scalar c is written cA
  • The entries of cA are obtained by multiplying each entry of A by c Difference
  • we define: A - B = A + ( -B ) = A + ( -1 ) B
  • Note: subtract the corresponding entries of A and B T 3 A =^ D^ c -^ 2d S a + (^) D C (^) + 2d (^) g All (^) ,^ &C^ , ..., an &^ - > a. A2^1 & A =^ &^21 A23 A23 b^ =^3 ; c - 2d = a ; c + 2 =^1 ; a + (^) b =^0
93 ,^932 A33^ ~

b = (^3) ; a = - b (^) = 4d = 1 - a (^) ; d = (^1) ; c = (^1) -ad tr (^) (A) = (^9) , 1 + 922 + 000 + ann --

  • ajk^ -^ - Djk

     - 2 & 

d = 4 ↑ =- I

All = bil (^) , a,2 = (^) Diz I (^5)

  • S . I 2x 2

Given: A = (^) B = C = Compute the following, where possible: (a) AC (b) BC (c) (CA) B Solution a) AC is undefined since: (2x2) (3x2) b) BC is defined: (2x3) (3x2) = (2x2) c) (CA) B = ?, CA is defined: (3x2) (2X2) = > (3X2) Another example: But: Where AB BA, so order matter in matrix products i.e. matrix multiplication is NOT commutative. And, here, alt hough AB = O this does not necessarily imply that BA = O or A = O or B = 0 Matrix multiplication satisfies these rules: a) (kA) B = k(AB) = A (kB) written k A B or AkB b)A(BC) = (AB) C written ABC c) (A+ B) C = AC + BC d) C(A+B) = CA+ CB Provided A, B, C are such that expressions on the left are defined;k is any scalar. b) is called the associative law c) and (d) are called the distributive laws. Transpose The transpose of an m x n matrix A, denoted , is defined to be the n x m matrix that has the first row of A as its first column, the second row of A as its second column, and so on i.e. interchange rows with columns (or columns with rows). For example, if: then And if: (^) then ; O (^2) I 1 -^1 =^ O^ g 4 " 108 108 I^!^ IO^ O 3 O

  • I (^) G - I (^1) I I (^) = 9999 I I^ I -^ I^ - ad BC =^ I^4 L^3 O (2 x^ 3)(3^ x^ 2) =^ (2x2) 3 I^5.^ -^ I^2 I ↓ -- = 3 -^4 +^2 8 +^2 = 1 18 CA (^) =^ - 12 02 - 4 1 + 4 =^ -^4

I

I F I 100 100- 9 - 1 + 52 + (^5 13 ) 3 O 12 -^ >^12 -^3 4 -^1 = AT

I I^4 + + 2 4 I

((A)B =^12

  • 4 34 4 I - T 3 0 At = (^3) + I = 12 - 9 48 - 324-15 (^) A = - I (^2) -^2 I 4 + 15 - 16 + 5 - 8 + 25 4 +^3 16 +^18 +^5
= 3 45 A^ B^ =^31 BT^ =^3

I - (^11 17) -^ I

F^ (3x^ c)(2x^ 3)^ =>^ (3xb)

1713-

CAUTION! Note that in (d) the transposed matrices are in reversed order Practice exercise 1.

  1. Given: Compute the following, where possible: a. 2B-C b. (2E - 3D ) c. tr (C A + 2 E )
  2. Given that: Evaluate, if possible: AB + AC
  3. Given: Show the details in calculating: Where Provided this is possible.
  4. If: Compute, if possible: Answer Undefined, (a) (AT )^ =^ A^ A = -2^3 and B =^0 S
(b) (A +^ B)
  • = (^) At + BT I^ I^ -^51 ~
(c)(cA)
  • = (^) cAT

(d) (AB)T^ =^ BT^ AT^ A3^ -^ B

A3 =^ AAA ; B"^ =^ BB^ ,

  • (^21) S G (^30) A =^3 O^2 and B =^ -^5

-4 -^6 3

A =

  • (^30) B = 4 - I - -
  • I (^2) , 02 tr (A - C (^) B) I (^) I & c = 14 2 - 12 = = 6 13 9 - 130 O / - I I^2 I 2 , 28 ; C = 2 - I -ja 2 -^ I^1.

I

10

  • 1 - 4 - 6

4 =!^3 T TT T T T

A =^1 -^1 G I ,

30 ,,

B =

I S

  • I (^3) O (^) G

Symmetric matrix A square matrix is a symmetric matrix if its transpose equals the matrix itself I that is: For example: Is symmetric Note that: Skew-symmetric matrix Skew-symmetric matrix: For example: Is skew-symmetric Note: Practice exercise 1. Solve for a and b for the matrix equation 2A - B = if: Answer (^) a = -3 ; b = 4

At =^ A^ (thus 9 j = 9jp)

A =

  • I (^) I and B^ =^ A^2
2 3 - b 5

20120200 A =^120 18 (^200 ) 20120200

AT = 120 10 150 = A

  • 208 158 38 - A =^ -^ A^ (thus (^) j = - ajk (^) , heuse (^) ajj = 0) T G
  • 2 8 &
  • 3 S

I

  • I g 1 - 3 B =^ -1^ - 2

3 2 g .

..

g - (^13) B =^ I^ O^ ; -^ B^ =^ I^ J^2 i s