AH Matrices.notebook November 28, 2016

Similar documents
0_PreCNotes17 18.notebook May 16, Chapter 12

x = 12 x = 12 1x = 16

Lecture 5: Matrices. Dheeraj Kumar Singh 07CS1004 Teacher: Prof. Niloy Ganguly Department of Computer Science and Engineering IIT Kharagpur

Finite Math - J-term Homework. Section Inverse of a Square Matrix

Homework 5: Transformations in geometry

Homework 5: Transformations in geometry

Matrix Inverse 2 ( 2) 1 = 2 1 2

CALCULATING TRANSFORMATIONS OF KINEMATIC CHAINS USING HOMOGENEOUS COORDINATES

Teachers Teaching with Technology (Scotland) Teachers Teaching with Technology. Scotland T 3. Matrices. Teachers Teaching with Technology (Scotland)

Matrices. A Matrix (This one has 2 Rows and 3 Columns) To add two matrices: add the numbers in the matching positions:

Monday, 12 November 12. Matrices

Therefore, after becoming familiar with the Matrix Method, you will be able to solve a system of two linear equations in four different ways.

2D transformations: An introduction to the maths behind computer graphics

Chapter 2 and Supplements MATRICES

UNIT 2 2D TRANSFORMATIONS

PetShop (BYU Students, SIGGRAPH 2006)

MATRIX REVIEW PROBLEMS: Our matrix test will be on Friday May 23rd. Here are some problems to help you review.

Today. Today. Introduction. Matrices. Matrices. Computergrafik. Transformations & matrices Introduction Matrices

Name Hr. Honors Geometry Lesson 9-1: Translate Figures and Use Vectors

Interlude: Solving systems of Equations

FreeMat Tutorial. 3x + 4y 2z = 5 2x 5y + z = 8 x x + 3y = -1 xx

Arrays, Matrices and Determinants

Chapter 1: Number and Operations

Learning Log Title: CHAPTER 6: TRANSFORMATIONS AND SIMILARITY. Date: Lesson: Chapter 6: Transformations and Similarity

Matrices. Chapter Matrix A Mathematical Definition Matrix Dimensions and Notation

Linear transformations Affine transformations Transformations in 3D. Graphics 2009/2010, period 1. Lecture 5: linear and affine transformations

SCIE 4101, Spring Math Review Packet #4 Algebra II (Part 1) Notes

Vector: A series of scalars contained in a column or row. Dimensions: How many rows and columns a vector or matrix has.

Answers to practice questions for Midterm 1

Mathematics 4330/5344 #1 Matlab and Numerical Approximation

Exercises for Chapter Three You know you've got to exercise your brain just like your muscles. Will Rogers ( )

Linear Transformations

Matrices. Matrices. A matrix is a 2D array of numbers, arranged in rows that go across and columns that go down: 4 columns. Mike Bailey.

Section III: TRANSFORMATIONS

Caltech Harvey Mudd Mathematics Competition March 3, 2012

Multiple View Geometry in Computer Vision

Junior Circle Meeting 9 Commutativity and Inverses. May 30, We are going to examine different ways to transform the square below:

CT5510: Computer Graphics. Transformation BOCHANG MOON

Computer Packet 1 Row Operations + Freemat

Matrices. Mike Bailey. matrices.pptx. Matrices

Homogeneous Coordinates and Transformations of the Plane

Honors Advanced Math More on Determinants, Transformations and Systems 14 May 2013

For example, the system. 22 may be represented by the augmented matrix

MATH 423 Linear Algebra II Lecture 17: Reduced row echelon form (continued). Determinant of a matrix.

Problem 2. Problem 3. Perform, if possible, each matrix-vector multiplication. Answer. 3. Not defined. Solve this matrix equation.

Identity Matrix: >> eye(3) ans = Matrix of Ones: >> ones(2,3) ans =

Answers. Chapter 2. 1) Give the coordinates of the following points:

Hello, welcome to the video lecture series on Digital Image Processing. So in today's lecture

2D TRANSFORMATIONS AND MATRICES

Math background. 2D Geometric Transformations. Implicit representations. Explicit representations. Read: CS 4620 Lecture 6

Quaternion Rotations AUI Course Denbigh Starkey

Lesson 28: When Can We Reverse a Transformation?

Lesson 3.3. Multiplication of Matrices, Part 2

Visualizing Quaternions

Chapter 18 out of 37 from Discrete Mathematics for Neophytes: Number Theory, Probability, Algorithms, and Other Stuff by J. M. Cargal.

Computer Graphics. Chapter 5 Geometric Transformations. Somsak Walairacht, Computer Engineering, KMITL

Graphics and Interaction Transformation geometry and homogeneous coordinates

COMP30019 Graphics and Interaction Transformation geometry and homogeneous coordinates

Vector Algebra Transformations. Lecture 4

and n is an even positive integer, then A n is a

a a= a a =a a 1 =1 Division turned out to be equivalent to multiplication: a b= a b =a 1 b

Reflection (M): Reflect simple plane figures in horizontal or vertical lines;

Quaternions and Exponentials

Maths for Signals and Systems Linear Algebra in Engineering. Some problems by Gilbert Strang

What You ll See in This Chapter. Word Cloud. Definitions. Matrix Components. Ian Parberry University of North Texas. Fletcher Dunn

CHAPTER 5 SYSTEMS OF EQUATIONS. x y

TUTORIAL 1 Introduction to Matrix Calculation using MATLAB TUTORIAL 1 INTRODUCTION TO MATRIX CALCULATION USING MATLAB

S56 (5.3) Higher Straight Line.notebook June 22, 2015

10/26/ Solving Systems of Linear Equations Using Matrices. Objectives. Matrices

Rotations (and other transformations) Rotation as rotation matrix. Storage. Apply to vector matrix vector multiply (15 flops)

Lecture 2: Variables, Vectors and Matrices in MATLAB

Name Date Class. When the bases are the same and you multiply, you add exponents. When the bases are the same and you divide, you subtract exponents.

Lecture Note 3: Rotational Motion

Introduction to MatLab. Introduction to MatLab K. Craig 1

CCM6+/7+ - Unit 13 - Page 1 UNIT 13. Transformations CCM6+/7+ Name: Math Teacher: Projected Test Date:

Unit 6: Connecting Algebra and Geometry Through Coordinates

Combining Isometries- The Symmetry Group of a Square

COMP30019 Graphics and Interaction Three-dimensional transformation geometry and perspective

CV: 3D sensing and calibration

COMP 558 lecture 19 Nov. 17, 2010

Geometric Transformations

Computer Graphics with OpenGL ES (J. Han) Chapter IV Spaces and Transforms

2.4 Multiplication and Division of Integers

Computer Science 336 Fall 2017 Homework 2

Unit 14: Transformations (Geometry) Date Topic Page

Matlab and Octave: Quick Introduction and Examples 1 Basics

6-2 Matrix Multiplication, Inverses and Determinants

Section 10.1 Polar Coordinates

Chapter 2: Transformations. Chapter 2 Transformations Page 1

Transformation. Jane Li Assistant Professor Mechanical Engineering & Robotics Engineering

Transformations with Matrices Moved by Matrices

Math Analysis Chapter 1 Notes: Functions and Graphs

Chapter 18. Geometric Operations

AQA GCSE Further Maths Topic Areas

XPM 2D Transformations Week 2, Lecture 3

Introduction to MATLAB

Matrix Operations with Applications in Computer Graphics

Mathematical Operations with Arrays and Matrices

Exercise Set Decide whether each matrix below is an elementary matrix. (a) (b) (c) (d) Answer:

If three points A (h, 0), P (a, b) and B (0, k) lie on a line, show that: a b 1.

Transcription:

Matrices Numbers are put into arrays to help with multiplication, division etc. A Matrix (matrices pl.) is a rectangular array of numbers arranged in rows and columns. Matrices If there are m rows and n columns in a matrix, then it is an m x n matrix or has order m x n. is a 2 x 2 matrix is a 3 x 1 matrix Each number in a matrix is known as an entry or element. They were first introduced to help solve sets of linear equations and are now useful for many applications of Maths including computer generated imaging, electronics, probability & statistics. The entry in row i and column j of the matrix A is denoted a ij E.g. A = a 12 = 5 A 'Column Matrix' is one that has only one column and a 'Row Matrix' is one that only has one row. Matrices An n x n matrix is known as a Square Matrix. A Zero Matrix is one in which every element is zero. Equal Matrices Two matrices are equal if (i) They are of the same order (ii) Their corresponding entries are equal. E.g. A = B but A C Example: Given that, find the values of x and y. Addition and Subtraction of Matrices If matrices are of the same order they can be added and subtracted. You can add and subtract the corresponding elements. Scalar Multiplication A scalar is a real number. If k is a real number and A is a matrix, then ka is the matrix obtained by multiplying each entry of A by k. 1. If and find 4A - 2B 1. 2. Given that, find the values of x, y, z and r. 2.

Matrices- Transpose A Transpose of a matrix A' or A T, is obtained by interchanging the rows and columns of matrix A. Symmetric & Skew-Symmetric Matrices A matrix is said to be symmetric if A' = A. E.g. If A = then A T = E. g. then The Matrix has been reflected in its main diagonal (down from left to right). The transpose has the following properties: A matrix is skew - symmetric if A' = -A. 1. (A')' = A 2. (A + B)' = A' + B' 3. (ka)' = ka' E. g. A matrix can then be skew-symmetric if the leading diagonal consists of zeros. Two matrices A and B may only be multiplied if the number of columns in A is equal to the number of rows in B. Order is very important in. AB BA except in rare cases. Therefore in general, matrix multiplication is not commutative. E.g. works but doesn't. Matrices are always multipled row by column. 1. Given A = and B = Find the value of AB

2. Given A = and B = 3. Given P = and Q = Find the value of AB Find the value of PQ Pg. 236 Starter 2.11.2016 Properties of 1. A(BC) = AB(C) Associative provided the order isn't changed. Multiply out 2. A(B + C) = AB + AC Distributive over addition 3. ab = 0 => a = 0 or b = 0 in real numbers, this is not the case for Matrices. We can find powers of Matrices too. Example: Given M = Identity Matrices The Identity Matrix is represented by I = all the entries along Find M 2, M 3 and M 4 the main diagonal are 1's and the rest zeros (It's a square matrix). I = Same Idea What happens when you multiply a matrix by I? Given the matrix A, IA = AI = A A Matrix is said to be if A'A = I = AA'

Using Identity Matrices 1. Given A = and A 2 = pa + qi where p, q E Z Using Identity Matrices 2. Given A = and B = Find the values of p and q. Hence find the value of A 3 in the form xa + Iy where x, y E Z Show that AB = ki for some real number k. Hence obtain the matrix A 2 B Determinant of a Square Matrix The determinant of a matrix is a number associated with the matrix and has many important properties and applications. It is represented by det A or A Determinant of a 2x2 Matrix Determinant of a 2x2 Matrix Given A =, det A = ad - bc 3. Find the values of x such that or this can be written 1. 2.

Inverse of a 2x2 Matrix Given two matrices A and B, if AB = I, we say that B is the inverse of A. Inverse of a 2x2 Matrix Not all Matrices have an inverse. How do you think you could tell? The inverse of a square matrix A is A -1 which has the property AA -1 = A -1 A = I where I = If det A = 0, then the inverse doesn't exist. If det A 0, then the inverse does exist. Given A =, the inverse is calculated by where If a matrix has an inverse, it is known as invertible (or non-singular), if it doesn't have an inverse then it is non-invertible (or singular). is known as the Adjoint of A or adj.(a) Inverse of a 2x2 Matrix 1. A =, find A -1 Starter 9.11.2016 Determine the value of p which would make this matrix singular 2. P =, find P -1 Using the inverse to solve equations Multiplying by the inverse can help solve equations. E.g. To find X AX = Y Today we will be learning how to use the inverse of a matrix to solve equations. This is known as Premultiplying. To find A This is known as Postmultiplying.

Using the inverse to solve equations 1. (From book): Given A = (a) Show that A 2 = 13A - I (b) Hence show that A 3 = 168A - 13I and that A -1 = 13I - A Using the inverse to solve equations 2. Use matrices to solve the set of equations 3x + y = -1 and 4x + 3y = 2 Properties of the Inverse and Determinant Given that A = and B =, show that Properties of the Inverse and Determinant Given that A = and B =, show that b Properties of the Inverse and Determinant Given that A = and B =, show that Determinant of a 3x3 Matrix Given the matrix A =, the determinant can be found by c det(ab) = det A det B or AB = A B A = a(ei - fh) - b(di - fg) + c(dh - eg) I remember this as right, outsides, left and + - +

Determinant of a 3x3 Matrix Calculate the determinant of the following (i) Determinant of a 3x3 Matrix 3. Find the values of k for which the det A = 0 (ii) * Starter 16.11.2016 Calculate the determinant of A given A = Inverse of a 3x3 Matrix We can get the inverse of a 3 x 3 matrix by carrying out row operations. Row operations can include interchanging rows, multiplying by a scaler and adding/sutracting rows from each other. We know that A x A -1 = I, so we use the row operations to convert A into I and record the result to get A -1. Start at the top left entry and work under the diagonal to begin with. Inverse of a 3x3 Matrix 1. Find A -1, given A = Inverse of a 3x3 Matrix 2. Find B -1, given B =

Inverse of a 3x3 Matrix 3. Find C -1, given C = Matrices can be used to transform coordinates and objects on a Plane. The coordinates can be written in matrix form and then can be multiplied by a matrix or scalar for Rotation, Reflection or Dilation (Scaling). If under a transformation a point is its own image, it is then called invariant. Reflection in the y - axis Reflection in the x - axis P'(-x, y) P(x, y) P(x, y) P'(x, -y) We write P in matrix form. What can we multiply P by to get? is the matrix associated with reflection in the y - axis. What can we multiply P by to get? is the matrix associated with reflection in the x - axis. Reflection in the origin Reflection in the line y = x P(x, y) P(x, y) P'(y, x) P'(-x, -y) What can we multiply P by to get? What can we multiply P by to get? is the matrix associated with reflection in the origin. is the matrix associated with reflection in the line y = x.

Points can be rotated by an angle around the origin. P'(-y, x) What could we multiply P by? Example: Calculate the coordinates of the image of the point (3, 1) under a 60 0 rotation about the origin 90 0 P(x, y) The matrix associated with rotation is R = where points are rotated anti-clockwise around the origin. If we use R to rotate a point anti-clockwise by θ, then we rotate the point back in a clockwise direction using R -1. Starter 23.11.2016 Write down the 2 x 2 matrix associated with a clockwise rotation of 30 0 about the origin. R -1 = We can see that R -1 = R T, therefore R x R T = I which means R is orthogonal. The Reflection Matrix The Reflection Matrix Example: Find the coordinates of the point (-3, 1) when reflected in the line y = 3x

Composite Transformations A composite transformation is a matrix that undergoes more than one transformation. Composite Transformations Example: The point P(x, y) is given an anticlockwise rotation of radians about the origin and the image is reflected in the x - axis Let's say we want to reflect P(x, y) in the x - axis and then reflect it in the line y = x. (a) Find the matrix associated with this composite function (b) Find the coordinates of the image of P(x, y) under this composite transformation Dilation (Scaling) Think about what matrix you could multiply a point (x, y) by to scale it. Dilation (Scaling) 1. The point (-6, 8) is scaled to give (4, 24). Find the scaling matrix premultiplies by the column matrix The point (x, y) will scale x by λand y by µ 2. Find the effect of (-3, -9) using the scaling matrix General Linear transformation of a line can transform sets of points on a line b, c 0 Example: Find the 2 x 2 matrix which would transform (-3, 2) to (-8, -13) and (5, 4) to (6, 7)