Data Science in Theory and Practice. Maria Cristina Mariani

Чтение книги онлайн.

Читать онлайн книгу Data Science in Theory and Practice - Maria Cristina Mariani страница 15

Data Science in Theory and Practice - Maria Cristina Mariani

Скачать книгу

is said to be a square matrix if the number of rows is the same as the number of columns.

      Definition 2.10 (Symmetric matrix) A square matrix

is said to be symmetric if
or in matrix notation
all
and
.

       Example 2.4

      The matrix

is symmetric; the matrix
is not symmetric.

      Definition 2.11 (Trace) For any square matrix

, the trace of
denoted by
is defined as the sum of the diagonal elements, i.e.

       Example 2.5

      Let

be a matrix with

      Then

      We remark that trace are only defined for square matrices.

      Definition 2.12 (Determinant of a matrix) Suppose

is an
‐by‐
matrix,

      The determinant of

, denoted det
or
, is defined by

      where

are referred to as the “cofactors” and are computed from

      The term

is known as the “minor matrix” and is the matrix you get if you eliminate row
and column
from matrix
.

; determinants only exist for square matrices.

       Example 2.6

      For a 2 by 2 matrix

      we have

       Example 2.7

      For a 3 by 3 matrix

      we have

StartLayout 1st Row 1st Column det upper A equals StartAbsoluteValue upper A EndAbsoluteValue 2nd Column equals Start 3 By 3 Determinant 1st Row 1st Column a 11 2nd Column a 12 3rd Column a 13 2nd Row 1st Column a 21 2nd Column a 22 3rd Column a 23 3rd Row 1st Column a 31 2nd Column a 32 3rd Column a 33 EndDeterminant 2nd Row 1st Column Blank 2nd Column equals a 11 left-parenthesis a 22 a 33 minus a 23 a 33 right-parenthesis minus a 12 left-parenthesis a 21 a 33 minus a 23 a 31 right-parenthesis 3rd Row 1st Column Blank 
						<noindex><p style= Скачать книгу