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

Similar documents
x = 12 x = 12 1x = 16

Solve the matrix equation AX B for X by using A.(1-3) Use the Inverse Matrix Calculator Link to check your work

Matrix Inverse 2 ( 2) 1 = 2 1 2

WEEK 4 REVIEW. Graphing Systems of Linear Inequalities (3.1)

AH Matrices.notebook November 28, 2016

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

Unit 2: Accentuate the Negative Name:

Systems of Inequalities and Linear Programming 5.7 Properties of Matrices 5.8 Matrix Inverses

Math 13 Chapter 3 Handout Helene Payne. Name: 1. Assign the value to the variables so that a matrix equality results.

Review for Mastery Using Graphs and Tables to Solve Linear Systems

Chapter 1. Linear Equations and Straight Lines. 2 of 71. Copyright 2014, 2010, 2007 Pearson Education, Inc.

Course Number 432/433 Title Algebra II (A & B) H Grade # of Days 120

Vertical Line Test a relationship is a function, if NO vertical line intersects the graph more than once

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

Precalculus Notes: Unit 7 Systems of Equations and Matrices

6-2 Matrix Multiplication, Inverses and Determinants

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

Math 1313 Prerequisites/Test 1 Review

Provide a drawing. Mark any line with three points in blue color.

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

Chapter 1: Number and Operations

9.1 Linear Inequalities in Two Variables Date: 2. Decide whether to use a solid line or dotted line:

Algebra Unit 2: Linear Functions Notes. Slope Notes. 4 Types of Slope. Slope from a Formula

Mathematics for Business and Economics - I. Chapter7 Linear Inequality Systems and Linear Programming (Lecture11)

STATISTICS MEAN Know the TOTAL # of points MEDIAN MIDDLE ($) Arrange the scores in order MODE most frequent. RANGE DIFFERENCE in high and low scores

Math 1B03/1ZC3 - Tutorial 3. Jan. 24th/28th, 2014

Page 1. Kobrin/Losquadro Math 8. Unit 10 - Types of Numbers Test Review. Questions 1 and 2 refer to the following:

Math 355: Linear Algebra: Midterm 1 Colin Carroll June 25, 2011

MAT 003 Brian Killough s Instructor Notes Saint Leo University

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

To add or subtract, just add or subtract the numbers in the same column and row and place answer accordingly.

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

Name Class Date. subtract 3 from each side. w 5z z 5 2 w p - 9 = = 15 + k = 10m. 10. n =

LINEAR PROGRAMMING: A GEOMETRIC APPROACH. Copyright Cengage Learning. All rights reserved.

Math 414 Lecture 30. The greedy algorithm provides the initial transportation matrix.

The Further Mathematics Support Programme

The inverse of a matrix

0_PreCNotes17 18.notebook May 16, Chapter 12

LAB 2: Linear Equations and Matrix Algebra. Preliminaries

SYNERGY INSTITUTE OF ENGINEERING & TECHNOLOGY,DHENKANAL LECTURE NOTES ON DIGITAL ELECTRONICS CIRCUIT(SUBJECT CODE:PCEC4202)

Practice Test - Chapter 6

2 Geometry Solutions

Summary. Boolean Addition

CS6015 / LARP ACK : Linear Algebra and Its Applications - Gilbert Strang

Advanced Operations Research Techniques IE316. Quiz 1 Review. Dr. Ted Ralphs

Applications of Matrices

Bulgarian Math Olympiads with a Challenge Twist

4&5 Binary Operations and Relations. The Integers. (part I)

Experiment 4 Boolean Functions Implementation

MA 162: Finite Mathematics - Sections 2.6

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

NAME UNIT 4 ALGEBRA II. NOTES PACKET ON RADICALS, RATIONALS d COMPLEX NUMBERS

Math 2 Coordinate Geometry Part 3 Inequalities & Quadratics

Chapter 1 Section 1 Solving Linear Equations in One Variable

3-8 Solving Systems of Equations Using Inverse Matrices. Determine whether each pair of matrices are inverses of each other. 13.

Question 2: How do you solve a linear programming problem with a graph?

Algebra 2 Semester 2 Final Exam Study Outline Semester 2 Final Exam Study Tips and Information

Put the following equations to slope-intercept form then use 2 points to graph

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

Caltech Harvey Mudd Mathematics Competition March 3, 2012

Encryption à la Mod Name

A.1 Numbers, Sets and Arithmetic

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

More About Factoring Trinomials

GRADE 7 MATH LEARNING GUIDE

LSN 4 Boolean Algebra & Logic Simplification. ECT 224 Digital Computer Fundamentals. Department of Engineering Technology

2.6: Solving Systems of Linear Inequalities

Quadratic Equations over Matrices over the Quaternions. By Diana Oliff Mentor: Professor Robert Wilson

We have already studied equations of the line. There are several forms:

notes13.1inclass May 01, 2015

Pre-Calculus Calendar Chapter 1: Linear Relations and Functions Chapter 2: Systems of Linear Equations and Inequalities

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

Object Oriented Programming Using C++ Mathematics & Computing IET, Katunayake

Mathematics Scope & Sequence Algebra I

CS/COE 0447 Example Problems for Exam 2 Spring 2011

MATH 890 HOMEWORK 2 DAVID MEREDITH

Independent systems consist of x

CHAPTER 5 SYSTEMS OF EQUATIONS. x y

We have already studied equations of the line. There are several forms:

Matrices and Systems of Equations

CALCULATING TRANSFORMATIONS OF KINEMATIC CHAINS USING HOMOGENEOUS COORDINATES

Cambridge International Examinations CambridgeOrdinaryLevel

Lecture 5. If, as shown in figure, we form a right triangle With P1 and P2 as vertices, then length of the horizontal

ALGEBRA 2 W/ TRIGONOMETRY MIDTERM REVIEW

1 Introduction to Matlab

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

Introduction to the new AES Standard: Rijndael

Finite Math Linear Programming 1 May / 7

LESSON 6 ADD A GRAPH TO A QUESTION

6.7. Graph Linear Inequalities in Two Variables. Warm Up Lesson Presentation Lesson Quiz

CONSTRUCTIONS Introduction Division of a Line Segment

Solving Systems of Equations Using Matrices With the TI-83 or TI-84

Algebra 1 Review. Properties of Real Numbers. Algebraic Expressions

INEQUALITIES Graphing Linear Inequalities Common Core Standard

Algebra 2 Common Core Summer Skills Packet

Note: Definitions are always reversible (converse is true) but postulates and theorems are not necessarily reversible.

Linear Transformations

Rational Numbers CHAPTER Introduction

D-Optimal Designs. Chapter 888. Introduction. D-Optimal Design Overview

Math 414 Lecture 2 Everyone have a laptop?

Transcription:

Section.5-77, 78, 79, 80 Finite Math - J-term 017 Lecture Notes - 1/19/017 Homework Section.6-9, 1, 1, 15, 17, 18, 1, 6, 9, 3, 37, 39, 1,, 5, 6, 55 Section 5.1-9, 11, 1, 13, 1, 17, 9, 30 Section.5 - Inverse of a Square Matrix Cryptography. Suppose we represent letters by numbers as follows Blank 0 I 9 R 18 A 1 J 10 S 19 B K 11 T 0 C 3 L 1 U 1 D M 13 V E 5 N 1 W 3 F 6 O 15 X G 7 P 16 Y 5 H 8 Q 17 Z 6 Then, for example, the message SECRET CODE would correspond to the sequence 19 5 3 18 5 0 0 3 15 5 The goal of Cryptography is to encode messages in a different sequence which can only be translated back to the message using a decoder. Definition 1 (Encoding matrix/decoding matrix). Any matrix with positive integer elements whose inverse exists can be used as an encoding matrix. The inverse of an encoding matrix is a decoding matrix. To encode a message, we must first decide on a encoding matrix A. If A is a n n matrix, then we create another matrix n p matrix B by entering the message going down columns and taking as many columns as necessary to fit the whole message. Note that the number of rows of B MUST MATCH the size of A. If there are extra entries in B after fitting the whole message, just fill them with 0 s. Example 1. Encode the message SECRET CODE using the encoding matrix [ ] 3 A =. 1 1 1

Solution. We first make the matrix B [ ] 19 3 5 0 15 5 B = 5 18 0 3 0 Then to encode the message we find the product [ ] [ ] 3 19 3 5 0 15 5 AB = 1 1 5 18 0 3 0 [ 38 + 15 6 + 5 10 + 60 0 + 9 30 + 1 10 + 0 = 19 + 5 3 + 18 5 + 0 0 + 3 15 + 5 + 0 [ ] 53 60 70 9 10 = 1 5 3 19 5 ] So the coded message is 53 60 1 70 5 9 3 19 10 5 Example. A message was encoded with A from the previous example. Decode the sequence 9 1 69 8 70 5 111 3 Solution. First we have to invert the encoding matrix to get the decoding matrix A 1 = 1 [ ] 1 3 1 1 Make a matrix out of the coded message in the same way as above [ ] 9 69 70 111 C = 1 8 5 3 and find the product A 1 C = = = [ ] [ ] 1 3 9 69 70 111 1 1 8 5 3 [ 9 + 36 69 + 8 70 + 75 111 + 19 9 69 56 70 50 111 86 [ ] 7 15 5 18 5 13 0 5 ]

Example 3. Use the encoding matrix [ ] 1 1 1 E = 1 3 1. 3 (a) Encode the message MATH IS FUN using E. (b) Decode the sequence 39 60 91 65 110 15 6 7 16 63 113 37 53 87

Section.6 - Matrix Equations and Systems of Linear Equations Matrix Equations. Theorem 1. Assume that all products and sums are defined for the indicated matrices A, B, C, I, and 0 (where 0 stands for the zero matrix). Then Addition Properties (1) Associative (A + B) + C = A + (B + C) () Commutative A + B = B + A (3) Additive Identity A + 0 = 0 + A = A () Additive Inverse Multiplication Properties (1) Associative Property () Multiplicative Identity A + ( A) = ( A) + A = 0 A(BC) = (AB)C AI = IA = A (3) Multiplicative Inverse If A is a square matrix and A 1 exists, then AA 1 = A 1 A = I Combined Properties (1) Left Distributive () Right Distributive A(B + C) = AB + AC (B + C)A = BA + CA

5 Equality (1) Addition If A = B, then A + C = B + C () Left Multiplication If A = B, then CA = CB (3) Right Multiplication If A = B, then AC = BC We can use the rules above to solve various matrix equations. In the next 3 examples, we will assume all necessary inverses exists. Example. Suppose A is an n n matrix and B and X are n 1 column matrices. Solve the matrix equation for X AX = B. Solution. If we multiply both sides of this equation ON THE LEFT by A 1 we find A 1 (AX) = A 1 B = (A 1 A)X = IX = X = A 1 B Example 5. Suppose A is an n n matrix and B, C, and X are n 1 matrices. Solve the matrix equation for X AX + C = B. Solution. Begin by subtracting C to the other side and now multiply on the left by A 1 AX + C = B = AX = B C A 1 (AX) = A 1 (B C) = (A 1 A)X = IX = X = A 1 (B C) = A 1 B A 1 C Example 6. Suppose A and B are n n matrices and C is an n 1 matrix. Solve the matrix equation for X AX BX = C. What size matrix is X?

6 Matrix Equations and Systems of Linear Equations. We can also solve systems of equations using the above ideas. These apply in the case that the system has the same number of variables as equations and the coefficient matrix of the system is invertible. If that is the case, for the system We can create the matrix equation where a 11 x 1 + a 1 x + + a 1n x n = b 1 a 1 x 1 + a x + + a n x n = b. +. +... + a 1n x n =. a n1 x 1 + a n x + + a nn x n = b n a 11 a 1 a 1n A = a 1 a a n...... a n1 a n a 1n AX = B, X = x 1 x. x n, and B = Then, if A is invertible (as is the case when the system is consistent and independent, i.e., exactly one solution), we have X = A 1 B. Example 7. Solve the system of equations using matrix methods x + y = 1 x + 3y = 3 Solution. Begin by writing this system as a matrix equation [ ] [ ] [ ] 1 x 1 AX = = = B 1 3 y 3 Our goal is to find A 1 B, so first find A 1 : A 1 = 1 [ 3 3 1 1 Then X = A 1 B = So we have x = 3 and y =. [ 3 1 1 ] = ] [ 1 3 [ 3 1 1 ] = [ 3 Example 8. Solve the system of equations using matrix methods Solution. x =, y = 7 x + y = 1 5x + 3y = 1 ] ]. b 1 b. b n

Section 5.1 - Linear Inequalities in Two Variables Graphing Linear Inequalities in Two Variables. There are types of linear inequalities 7 Ax + By C Ax + By > C Ax + By C Ax + By < C There is a simple procedure to graphing any of these. If equality is not allowed in an inequality, we call it a strict inequality, otherwise we simply call it an inequality. Procedure. (1) Graph the line Ax + By = C as a dashed line if the inequality is strict. Otherwise, graph it as a solid line. () Choose a test point anywhere in the plane, as long as it is not the line. (The origin, (0, 0) is often an easy choice here, but if it is on the line, (1, 0) or (0, 1) are also easy points to check.) (3) Plug the point from step () into the inequality. Is the inequality true? Shade in the side of the line with that point. If the inequality is false, shade in the other side. Example 9. Graph the inequality Solution. The line we want to graph is 6x 3y 1 6x 3y = 1 or y = x. Since the inequality is not strict, we graph it with a solid line. - - - -

8 The point (0, 0) is not on the line, so we check that point in the inequality 6(0) 3(0) = 0 1 This is false, so we shade in the side of the line without the origin. - - - - Example 10. Graph the inequality x + 8y < 3 Solution. The line we want to graph is x + 8y = 3 or y = 1 x +. Since the inequality is strict, we graph it with a dashed line. - - - - The point (0, 0) is not on the line, so we check that point in the inequality (0) + 8(0) = 0 < 3 This is true, so we shade in the side of the line with the origin.

9 - - - - Example 11. Graph the inequality y 10 - - - -

10 Example 1. Graph the inequality x 5y > 10 - - - - Example 13. Consider the graphed region below. - - - -

(a) Find an equation for the boundary of the region in the form Ax + By = C. (b) Find a linear equality which describes this region. Solution. (a) Observing the graph, we see that the boundary line passes through (0, 0) and (, 1). Using the point-slope form, we get 11 which simplifies to y 0 = 1 0 (x 0) 0 y = 1 x Putting this in the required form gives x y = 0. (b) Because the boundary line is solid, we are going to replace = with either or. To figure out which one, we pick a test point which is not on the line and choose the inequality appropriately. If the test point comes from the shaded region, then we pick the inequality which makes the statement true. If the test point comes from outside the shaded region, pick the inequality which makes the statement false. Since (0, 0) actually is on this line, we will pick (1, 0) as our test point. Notice that (1, 0) is outside the shaded region. Plugging (1, 0) into the equation gives x y = 1 (0) = 1? 0. Since (1, 0) is not in the shaded region, we need to pick the one of and to replace? which makes the statement false. This means we choose giving that the inequality for this picture is x y 0.

1 Example 1. Consider the graphed region below. - - - - (a) Find an equation for the boundary of the region in the form Ax + By = C. (b) Find a linear equality which describes this region.