L5 matrix.

Slides:



Advertisements
Similar presentations
4.1 Introduction to Matrices
Advertisements

Applied Informatics Štefan BEREŽNÝ
Matrix Algebra Matrix algebra is a means of expressing large numbers of calculations made upon ordered sets of numbers. Often referred to as Linear Algebra.
Matrix Algebra Matrix algebra is a means of expressing large numbers of calculations made upon ordered sets of numbers. Often referred to as Linear Algebra.
Matrix Definition: An array of numbers in m rows and n colums is called an mxn matrix A square matrix of order n, is an (nxn) matrix.
3_3 An Useful Overview of Matrix Algebra
ECIV 301 Programming & Graphics Numerical Methods for Engineers Lecture 12 System of Linear Equations.
CSci 6971: Image Registration Lecture 2: Vectors and Matrices January 16, 2004 Prof. Chuck Stewart, RPI Dr. Luis Ibanez, Kitware Prof. Chuck Stewart, RPI.
MOHAMMAD IMRAN DEPARTMENT OF APPLIED SCIENCES JAHANGIRABAD EDUCATIONAL GROUP OF INSTITUTES.
Matrix Definition A Matrix is an ordered set of numbers, variables or parameters. An example of a matrix can be represented by: The matrix is an ordered.
Intro to Matrices Don’t be scared….
CE 311 K - Introduction to Computer Methods Daene C. McKinney
A matrix having a single row is called a row matrix. e.g.,
Chapter 1: Matrices Definition 1: A matrix is a rectangular array of numbers arranged in horizontal rows and vertical columns. EXAMPLE:
Presentation on Matrices and some special matrices In partial fulfillment of the subject Vector calculus and linear algebra ( ) Submitted by: Agarwal.
A rectangular array of numbers (we will concentrate on real numbers). A nxm matrix has ‘n’ rows and ‘m’ columns What is a matrix? First column First row.
Matrices & Determinants Chapter: 1 Matrices & Determinants.
Unit 3: Matrices.
Lecture 7 Matrices CSCI – 1900 Mathematics for Computer Science Fall 2014 Bill Pine.
Matrices. Definitions  A matrix is an m x n array of scalars, arranged conceptually as m rows and n columns.  m is referred to as the row dimension.
Linear algebra: matrix Eigen-value Problems Eng. Hassan S. Migdadi Part 1.
Prepared by Deluar Jahan Moloy Lecturer Northern University Bangladesh
CALCULUS – III Matrix Operation by Dr. Eman Saad & Dr. Shorouk Ossama.
Chapter 2 … part1 Matrices Linear Algebra S 1. Ch2_2 2.1 Addition, Scalar Multiplication, and Multiplication of Matrices Definition A matrix is a rectangular.
Unit 3 Matrix Arithmetic IT Disicipline ITD 1111 Discrete Mathematics & Statistics STDTLP 1 Unit 3 Matrix Arithmetic.
Matrices and Determinants
Matrices and Matrix Operations. Matrices An m×n matrix A is a rectangular array of mn real numbers arranged in m horizontal rows and n vertical columns.
Linear System of Simultaneous Equations Warm UP First precinct: 6 arrests last week equally divided between felonies and misdemeanors. Second precinct:
Unit 3: Matrices. Matrix: A rectangular arrangement of data into rows and columns, identified by capital letters. Matrix Dimensions: Number of rows, m,
Matrix Algebra Definitions Operations Matrix algebra is a means of making calculations upon arrays of numbers (or data). Most data sets are matrix-type.
Matrices, Vectors, Determinants.
Matrices. Variety of engineering problems lead to the need to solve systems of linear equations matrixcolumn vectors.
Introduction Types of Matrices Operations
MATRICES A rectangular arrangement of elements is called matrix. Types of matrices: Null matrix: A matrix whose all elements are zero is called a null.
Linear Algebra by Dr. Shorouk Ossama.
Matrices Introduction.
MTH108 Business Math I Lecture 20.
Mathematics-I J.Baskar Babujee Department of Mathematics
2. Matrix Methods
MAT 322: LINEAR ALGEBRA.
MATH 1046 Introduction to Matrices (Sections 3.1 and 3.2)
Matrices and Vector Concepts
7.1 Matrices, Vectors: Addition and Scalar Multiplication
CSNB 143 Discrete Mathematical Structures
Linear Algebraic Equations and Matrices
Boyce/DiPrima 10th ed, Ch 7.2: Review of Matrices Elementary Differential Equations and Boundary Value Problems, 10th edition, by William E. Boyce and.
Matrices.
Discrete Structures – CNS2300
MATHEMATICS Matrix Algebra
Linear Algebraic Equations and Matrices
Linear independence and matrix rank
Systems of First Order Linear Equations
Sequences and Summations
Matrix Algebra - Overview
Introduction to Matrices
2. Matrix Algebra 2.1 Matrix Operations.
Everything you would want to know about the matrix and then some…
CSE 541 – Numerical Methods
2.2 Introduction to Matrices
Matrices Introduction.
CS100: Discrete structures
Matrices and Matrix Operations
Presented By Farheen Sultana Ist Year I SEM
Matrices Introduction.
Matrices.
Matrices - Operations TRANSPOSE OF A MATRIX If :
Matrices and Determinants
3.8 Matrices L Al-zaid Math1101.
Applied Discrete Mathematics Week 4: Functions
Matrices and Determinants
Presentation transcript:

L5 matrix

Matrix Algebra Definitions Operations

What is it? Matrix algebra is a means of making calculations upon arrays of numbers (or data). Most data sets are matrix-type

Why use it? Matrix algebra makes mathematical expression and computation easier. It allows you to get rid of cumbersome notation, concentrate on the concepts involved and understand where your results come from.

1.1 Matrices Both A and B are examples of matrix. A matrix is a rectangular array of numbers enclosed by a pair of bracket. Why matrix?

1.1 Matrices Matrices can help… Consider the following set of equations: It is easy to show that x = 3 and y = 4. How about solving Matrices can help…

1.1 Matrices In the matrix numbers aij are called elements. First subscript indicates the row; second subscript indicates the column. The matrix consists of mn elements It is called “the m  n matrix A = [aij]” or simply “the matrix A ” if number of rows and columns are understood.

1.1 Matrices Square matrices When m = n, i.e., A is called a “square matrix of order n” or “n-square matrix” elements a11, a22, a33,…, ann called diagonal elements. is called the trace of A.

1.1 Matrices Equal matrices Two matrices A = [aij] and B = [bij] are said to be equal (A = B) iff each element of A is equal to the corresponding element of B, i.e., aij = bij for 1  i  m, 1  j  n. iff pronouns “if and only if” if A = B, it implies aij = bij for 1  i  m, 1  j  n; if aij = bij for 1  i  m, 1  j  n, it implies A = B.

1.1 Matrices Equal matrices Example: and Given that A = B, find a, b, c and d. if A = B, then a = 1, b = 0, c = -4 and d = 2.

1.1 Matrices Zero matrices Every element of a matrix is zero, it is called a zero matrix, i.e.,

Definitions - scalar a scalar is a number (denoted with regular type: 1 or 22)

Vectors and Matrices Matrix is an array of numbers with dimensions M (rows) by N (columns) 3 by 6 matrix element 2,3 is (3) Vector can be considered a 1 x M matrix

Definitions - vector Vector: a single row or column of numbers denoted with bold small letters row vector a = column vector b =

Definitions - Matrix A matrix is an array of numbers A = Denoted with a bold Capital letter All matrices have an order (or dimension): that is, the number of rows  the number of columns. So, A is 2 by 3 or (2  3).

What is a matrix? A Matrix is just rectangular arrays of items A typical matrix is a rectangular array of numbers arranged in rows and columns.

Sizing a matrix By convention matrices are “sized” using the number of rows (m) by number of columns (n).

“Special” Matrices Square matrix: a square matrix is an mxn matrix in which m = n. Vector: a vector is an mxn matrix where either m OR n = 1 (but not both).

“Special” Matrices Scalar: a scalar is an mxn matrix where BOTH m and n = 1. Zero matrix: an mxn matrix of zeros. Identity Matrix: a square (mxm) matrix with 1s on the diagonal and zeros everywhere else.

Types of Matrix Identity matrices - I Diagonal Symmetric Diagonal matrices are (of course) symmetric Identity matrices are (of course) diagonal

Identity matrix A square matrix whose elements aij = 0, for i > j is called upper triangular, i.e., A square matrix whose elements aij = 0, for i < j is called lower triangular, i.e.,

1.3 Types of matrices Identity matrix Both upper and lower triangular, i.e., aij = 0, for i  j , i.e., is called a diagonal matrix, simply

1.3 Types of matrices Identity matrix In particular, a11 = a22 = … = ann = 1, the matrix is called identity matrix. Properties: AI = IA = A Examples of identity matrices: and

1.3 Types of matrices Symmetric matrix A matrix A such that AT = A is called symmetric, i.e., aji = aij for all i and j. A + AT must be symmetric. Why? Example: is symmetric. A matrix A such that AT = -A is called skew-symmetric, i.e., aji = -aij for all i and j. A - AT must be skew-symmetric. Why?

We’ll see that orthogonal matrix represents a rotation in fact! 1.3 Types of matrices Orthogonal matrix A matrix A is called orthogonal if AAT = ATA = I, i.e., AT = A-1 Example: prove that is orthogonal. Since, . Hence, AAT = ATA = I. Can you show the details? We’ll see that orthogonal matrix represents a rotation in fact!

1.4 Properties of matrix (AB)-1 = B-1A-1 (AT)T = A and (lA)T = l AT (A + B)T = AT + BT (AB)T = BT AT

Definitions A square matrix is a matrix that has the same number of rows and columns (n  n)

Matrix Equality Two matrices are equal if and only if they both have the same number of rows and the same number of columns their corresponding elements are equal

Matrix Rank Matrix Rank: the rank of a matrix is the maximum number of linearly independent vectors (either row or column) in a matrix Full Rank: A matrix is considered full rank when all vectors are linearly independent

Transposing a Matrix Matrix Transpose: is the mxn matrix obtained by interchanging the rows and columns of a matrix (converting it to an nxm matrix)