SlideShare a Scribd company logo
1 of 31
Matrix Inverses and Solving Systems
                Warm Up
                Lesson Presentation
                Lesson Quiz
Warm Up
Multiple the matrices.

1.


Find the determinant.

2.      –1               3.   0
Objectives
Determine whether a matrix has an
inverse.
Solve systems of equations using
inverse matrices.
Vocabulary
multiplicative inverse matrix
matrix equation
variable matrix
constant matrix
A matrix can have an inverse only if it is a square
matrix. But not all square matrices have inverses. If
the product of the square matrix A and the square
matrix A–1 is the identity matrix I, then AA–1 = A–1 A =
I, and A–1 is the multiplicative inverse matrix of
A, or just the inverse of A.
Remember!
The identity matrix I has 1’s on the main
diagonal and 0’s everywhere else.
Example 1A: Determining Whether Two Matrices Are Inverses
Determine whether the two given matrices are inverses.


                    The product is the identity matrix I, so
                    the matrices are inverses.




    Example 1B: Determining Whether Two Matrices Are Inverses

Determine whether the two given matrices are inverses.



                       Neither product is I, so the matrices are
                       not inverses.
Check It Out! Example 1

Determine whether the given matrices are
inverses.




                         The product is the
                         identity matrix I, so the
                         matrices are inverses.
If the determinant is 0,          is undefined. So a matrix with a determinant of 0


has no inverse. It is called a singular matrix.

                   Example 2A: Finding the Inverse of a Matrix


                   Find the inverse of the matrix if it is defined.


First, check that the determinant is nonzero.
4(1) – 2(3) = 4 – 6 = –2. The determinant is –2, so the matrix has an
inverse.

The inverse of              is
Example 2A: Finding the Inverse of a Matrix


 Find the inverse of the matrix if it is defined.




 First, check that the determinant is nonzero.
 4(1) – 2(3) = 4 – 6 = –2. The determinant is –2, so the matrix has an
 inverse.




The inverse of             is
Example 2B: Finding the Inverse of a Matrix

Find the inverse of the matrix if it is defined.




The determinant is,                  , so B has
no inverse.
Check It Out! Example 2

Find the inverse of           , if it is defined.

First, check that the determinant is nonzero.
3(–2) – 3(2) = –6 – 6 = –12
The determinant is –12, so the matrix has an inverse.
You can use the inverse of a matrix to solve a system
of equations. This process is similar to solving an
equation such as 5x = 20 by multiplying
each side by   , the multiplicative inverse of 5.


To solve systems of equations with the inverse, you
first write the matrix equation AX = B, where A is
the coefficient matrix, X is the variable matrix,
and B is the constant matrix.
The matrix equation representing   is shown.
To solve AX = B, multiply both sides by the inverse A-1.

           A-1AX = A-1B
               IX = A-1B   The product of A-1 and A is I.
                X = A-1B
Caution!
Matrix multiplication is not commutative, so it is
important to multiply by the inverse in the same
order on both sides of the equation. A–1 comes
first on each side.
Example 3: Solving Systems Using Inverse Matrices

Write the matrix equation for the system and solve.




Step 1 Set up the matrix equation.

     A     X =   B
                     Write: coefficient matrix  variable
                     matrix = constant matrix.

Step 2 Find the determinant.
The determinant of A is –6 – 25 = –31.
Example 3 Continued
Step 3 Find A–1.




      X =     A-1       B

                              Multiply.
                    .




                            The solution is (5, –2).
Check It Out! Example 3

Write the matrix equation for           and solve.

Step 1 Set up the matrix equation.

             A   X = B




Step 2 Find the determinant.
The determinant of A is 3 – 2 = 1.
Check It Out! Example 3 Continued

Step 3 Find A-1.




           X =     A-1   B

                             Multiply.



                             The solution is (3, 1).
Example 4: Problem-Solving Application


Using the encoding matrix          ,


decode the message
1   Understand the Problem

The answer will be the words of the
message, uncoded.
List the important information:
• The encoding matrix is E.
• The encoder used M as the message matrix, with
  letters written as the integers 0 to 26, and then
  used EM to create the two-row code matrix C.
2   Make a Plan

Because EM = C, you can use M = E-1C to
decode the message into numbers and then
convert the numbers to letters.
• Multiply E-1 by C to get M, the message
  written as numbers.
• Use the letter equivalents for the numbers
  in order to write the message as words so
  that you can read it.
3   Solve

Use a calculator to find E-1.

Multiply E-1 by C.
13 = M, and so on

                 M    A   T     H   _   I



                  S   _   B     E   S   T

The message in words is “Math is best.”
4   Look Back

You can verify by multiplying E by M to see
that the decoding was correct. If the math
had been done incorrectly, getting a
different message that made sense would
have been very unlikely.
Check It Out! Example 4

Use the encoding matrix            to decode


this message                             .
1   Understand the Problem

The answer will be the words of the
message, uncoded.
List the important information:
• The encoding matrix is E.
• The encoder used M as the message
matrix, with letters written as the integers 0 to
26, and then used EM to create the two-row
code matrix C.
2   Make a Plan

Because EM = C, you can use M = E-1C to
decode the message into numbers and then
convert the numbers to letters.
• Multiply E-1 by C to get M, the message
written as numbers.
• Use the letter equivalents for the numbers in
order to write the message as words so that
you can read it.
3   Solve

   Use a calculator to find E-1.


   Multiply E-1 by C.
18 = S, and so on
                 S      M   A   R   T   Y


                   _    P   A   N   T   S

   The message in words is “smarty pants.”
Lesson Quiz: Part I


1. Determine whether           and           are
   inverses.
   yes


2. Find the inverse of     , if it exists.
Lesson Quiz: Part II

Write the matrix equation and solve.

3.



4. Decode using            .




     "Find the inverse."

More Related Content

What's hot

System Of Linear Equations
System Of Linear EquationsSystem Of Linear Equations
System Of Linear Equationssaahil kshatriya
 
Sequences and Series
Sequences and SeriesSequences and Series
Sequences and Seriessujathavvv
 
Gaussian Elimination Method
Gaussian Elimination MethodGaussian Elimination Method
Gaussian Elimination MethodAndi Firdaus
 
Set Theory
Set TheorySet Theory
Set Theoryitutor
 
Math lecture 10 (Introduction to Integration)
Math lecture 10 (Introduction to Integration)Math lecture 10 (Introduction to Integration)
Math lecture 10 (Introduction to Integration)Osama Zahid
 
Matrix and its applications by mohammad imran
Matrix and its applications by mohammad imranMatrix and its applications by mohammad imran
Matrix and its applications by mohammad imranMohammad Imran
 
Numerical integration
Numerical integrationNumerical integration
Numerical integrationSunny Chauhan
 
Introduction to Matrices
Introduction to MatricesIntroduction to Matrices
Introduction to Matricesholmsted
 
system linear equations and matrices
 system linear equations and matrices system linear equations and matrices
system linear equations and matricesAditya Vaishampayan
 
Number theory
Number theory Number theory
Number theory tes31
 
Solving linear & quadratic equations
Solving linear & quadratic equationsSolving linear & quadratic equations
Solving linear & quadratic equationsErlyn Geronimo
 
Linear algebra-Basis & Dimension
Linear algebra-Basis & DimensionLinear algebra-Basis & Dimension
Linear algebra-Basis & DimensionManikanta satyala
 

What's hot (20)

Matrices ppt
Matrices pptMatrices ppt
Matrices ppt
 
System Of Linear Equations
System Of Linear EquationsSystem Of Linear Equations
System Of Linear Equations
 
Sequences and Series
Sequences and SeriesSequences and Series
Sequences and Series
 
Gaussian Elimination Method
Gaussian Elimination MethodGaussian Elimination Method
Gaussian Elimination Method
 
Set Theory
Set TheorySet Theory
Set Theory
 
Math lecture 10 (Introduction to Integration)
Math lecture 10 (Introduction to Integration)Math lecture 10 (Introduction to Integration)
Math lecture 10 (Introduction to Integration)
 
Matrix and its applications by mohammad imran
Matrix and its applications by mohammad imranMatrix and its applications by mohammad imran
Matrix and its applications by mohammad imran
 
Matrix algebra
Matrix algebraMatrix algebra
Matrix algebra
 
Numerical integration
Numerical integrationNumerical integration
Numerical integration
 
Introduction to Matrices
Introduction to MatricesIntroduction to Matrices
Introduction to Matrices
 
rank of matrix
rank of matrixrank of matrix
rank of matrix
 
Matrix Algebra seminar ppt
Matrix Algebra seminar pptMatrix Algebra seminar ppt
Matrix Algebra seminar ppt
 
Matrix.
Matrix.Matrix.
Matrix.
 
system linear equations and matrices
 system linear equations and matrices system linear equations and matrices
system linear equations and matrices
 
Group Theory
Group TheoryGroup Theory
Group Theory
 
Presentation on matrix
Presentation on matrixPresentation on matrix
Presentation on matrix
 
Number theory
Number theory Number theory
Number theory
 
Matrices
Matrices Matrices
Matrices
 
Solving linear & quadratic equations
Solving linear & quadratic equationsSolving linear & quadratic equations
Solving linear & quadratic equations
 
Linear algebra-Basis & Dimension
Linear algebra-Basis & DimensionLinear algebra-Basis & Dimension
Linear algebra-Basis & Dimension
 

Similar to Matrix inverse

Linear Functions And Matrices
Linear Functions And MatricesLinear Functions And Matrices
Linear Functions And Matricesandrewhickson
 
Matrix and Determinants
Matrix and DeterminantsMatrix and Determinants
Matrix and DeterminantsAarjavPinara
 
Multiplication of matrices and its application in biology
Multiplication of matrices and its application in biologyMultiplication of matrices and its application in biology
Multiplication of matrices and its application in biologynayanika bhalla
 
Matrices y determinants
Matrices y determinantsMatrices y determinants
Matrices y determinantsJeannie
 
0.3.e,ine,det.
0.3.e,ine,det.0.3.e,ine,det.
0.3.e,ine,det.m2699
 
Matrices and Determinants
Matrices and DeterminantsMatrices and Determinants
Matrices and DeterminantsSOMASUNDARAM T
 
introduction-MATRIX-algebramathematics .pptx
introduction-MATRIX-algebramathematics .pptxintroduction-MATRIX-algebramathematics .pptx
introduction-MATRIX-algebramathematics .pptxAngeliqueVicente3
 
Lecture 01 - Linear Equations.ppt
Lecture 01 - Linear Equations.pptLecture 01 - Linear Equations.ppt
Lecture 01 - Linear Equations.pptAdeelIftikhar8
 
Contextualized Lesson Plan in Math 7 Linear Equation in One Variable
Contextualized Lesson Plan in Math 7 Linear Equation in One VariableContextualized Lesson Plan in Math 7 Linear Equation in One Variable
Contextualized Lesson Plan in Math 7 Linear Equation in One VariableDepartment of Education - Philippines
 

Similar to Matrix inverse (20)

Ma3bfet par 10.5 31 julie 2014
Ma3bfet par 10.5 31 julie 2014Ma3bfet par 10.5 31 julie 2014
Ma3bfet par 10.5 31 julie 2014
 
Math Algebra
Math AlgebraMath Algebra
Math Algebra
 
Determinants3
Determinants3Determinants3
Determinants3
 
Linear Functions And Matrices
Linear Functions And MatricesLinear Functions And Matrices
Linear Functions And Matrices
 
7 4
7 47 4
7 4
 
Solution 3.
Solution 3.Solution 3.
Solution 3.
 
Matrix and Determinants
Matrix and DeterminantsMatrix and Determinants
Matrix and Determinants
 
Eigen value and vectors
Eigen value and vectorsEigen value and vectors
Eigen value and vectors
 
Multiplication of matrices and its application in biology
Multiplication of matrices and its application in biologyMultiplication of matrices and its application in biology
Multiplication of matrices and its application in biology
 
Matrixprop
MatrixpropMatrixprop
Matrixprop
 
Matrices y determinants
Matrices y determinantsMatrices y determinants
Matrices y determinants
 
0.3.e,ine,det.
0.3.e,ine,det.0.3.e,ine,det.
0.3.e,ine,det.
 
Dif calc10week1
Dif calc10week1Dif calc10week1
Dif calc10week1
 
Equations
EquationsEquations
Equations
 
Matrices and Determinants
Matrices and DeterminantsMatrices and Determinants
Matrices and Determinants
 
introduction-MATRIX-algebramathematics .pptx
introduction-MATRIX-algebramathematics .pptxintroduction-MATRIX-algebramathematics .pptx
introduction-MATRIX-algebramathematics .pptx
 
Lecture 01 - Linear Equations.ppt
Lecture 01 - Linear Equations.pptLecture 01 - Linear Equations.ppt
Lecture 01 - Linear Equations.ppt
 
Matrices 1
Matrices 1Matrices 1
Matrices 1
 
5 6
5 65 6
5 6
 
Contextualized Lesson Plan in Math 7 Linear Equation in One Variable
Contextualized Lesson Plan in Math 7 Linear Equation in One VariableContextualized Lesson Plan in Math 7 Linear Equation in One Variable
Contextualized Lesson Plan in Math 7 Linear Equation in One Variable
 

More from mstf mstf

Trigonometry by mstfdemirdag
Trigonometry by mstfdemirdagTrigonometry by mstfdemirdag
Trigonometry by mstfdemirdagmstf mstf
 
Functions by mstfdemirdag
Functions by mstfdemirdagFunctions by mstfdemirdag
Functions by mstfdemirdagmstf mstf
 
Trigonometric functions
Trigonometric functionsTrigonometric functions
Trigonometric functionsmstf mstf
 
Quadratic functions
Quadratic functionsQuadratic functions
Quadratic functionsmstf mstf
 
Sequences and series
Sequences and seriesSequences and series
Sequences and seriesmstf mstf
 
Pre geometry
Pre geometryPre geometry
Pre geometrymstf mstf
 
Solving linear equations in two
Solving linear equations in twoSolving linear equations in two
Solving linear equations in twomstf mstf
 
Natural numbers
Natural numbersNatural numbers
Natural numbersmstf mstf
 
Divisibility
DivisibilityDivisibility
Divisibilitymstf mstf
 
Prime numbers and factorization
Prime numbers and factorizationPrime numbers and factorization
Prime numbers and factorizationmstf mstf
 
Motion in two dimensions
Motion in two dimensionsMotion in two dimensions
Motion in two dimensionsmstf mstf
 

More from mstf mstf (20)

Trigonometry by mstfdemirdag
Trigonometry by mstfdemirdagTrigonometry by mstfdemirdag
Trigonometry by mstfdemirdag
 
Functions by mstfdemirdag
Functions by mstfdemirdagFunctions by mstfdemirdag
Functions by mstfdemirdag
 
Trigonometric functions
Trigonometric functionsTrigonometric functions
Trigonometric functions
 
Quadratic functions
Quadratic functionsQuadratic functions
Quadratic functions
 
Sequences and series
Sequences and seriesSequences and series
Sequences and series
 
Functions
FunctionsFunctions
Functions
 
Pre geometry
Pre geometryPre geometry
Pre geometry
 
Solving linear equations in two
Solving linear equations in twoSolving linear equations in two
Solving linear equations in two
 
Natural numbers
Natural numbersNatural numbers
Natural numbers
 
Logic
LogicLogic
Logic
 
Density
DensityDensity
Density
 
Mechanics
MechanicsMechanics
Mechanics
 
Divisibility
DivisibilityDivisibility
Divisibility
 
Free fall
Free fallFree fall
Free fall
 
Prime numbers and factorization
Prime numbers and factorizationPrime numbers and factorization
Prime numbers and factorization
 
Exponents
ExponentsExponents
Exponents
 
Motion in two dimensions
Motion in two dimensionsMotion in two dimensions
Motion in two dimensions
 
Force
ForceForce
Force
 
Radicals
RadicalsRadicals
Radicals
 
Fractions
FractionsFractions
Fractions
 

Recently uploaded

SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxNavinnSomaal
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxLoriGlavin3
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfLoriGlavin3
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESSALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESmohitsingh558521
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfPrecisely
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersRaghuram Pandurangan
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 

Recently uploaded (20)

SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESSALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information Developers
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 

Matrix inverse

  • 1. Matrix Inverses and Solving Systems Warm Up Lesson Presentation Lesson Quiz
  • 2. Warm Up Multiple the matrices. 1. Find the determinant. 2. –1 3. 0
  • 3. Objectives Determine whether a matrix has an inverse. Solve systems of equations using inverse matrices.
  • 4. Vocabulary multiplicative inverse matrix matrix equation variable matrix constant matrix
  • 5. A matrix can have an inverse only if it is a square matrix. But not all square matrices have inverses. If the product of the square matrix A and the square matrix A–1 is the identity matrix I, then AA–1 = A–1 A = I, and A–1 is the multiplicative inverse matrix of A, or just the inverse of A.
  • 6. Remember! The identity matrix I has 1’s on the main diagonal and 0’s everywhere else.
  • 7. Example 1A: Determining Whether Two Matrices Are Inverses Determine whether the two given matrices are inverses. The product is the identity matrix I, so the matrices are inverses. Example 1B: Determining Whether Two Matrices Are Inverses Determine whether the two given matrices are inverses. Neither product is I, so the matrices are not inverses.
  • 8. Check It Out! Example 1 Determine whether the given matrices are inverses. The product is the identity matrix I, so the matrices are inverses.
  • 9. If the determinant is 0, is undefined. So a matrix with a determinant of 0 has no inverse. It is called a singular matrix. Example 2A: Finding the Inverse of a Matrix Find the inverse of the matrix if it is defined. First, check that the determinant is nonzero. 4(1) – 2(3) = 4 – 6 = –2. The determinant is –2, so the matrix has an inverse. The inverse of is
  • 10. Example 2A: Finding the Inverse of a Matrix Find the inverse of the matrix if it is defined. First, check that the determinant is nonzero. 4(1) – 2(3) = 4 – 6 = –2. The determinant is –2, so the matrix has an inverse. The inverse of is
  • 11. Example 2B: Finding the Inverse of a Matrix Find the inverse of the matrix if it is defined. The determinant is, , so B has no inverse.
  • 12. Check It Out! Example 2 Find the inverse of , if it is defined. First, check that the determinant is nonzero. 3(–2) – 3(2) = –6 – 6 = –12 The determinant is –12, so the matrix has an inverse.
  • 13. You can use the inverse of a matrix to solve a system of equations. This process is similar to solving an equation such as 5x = 20 by multiplying each side by , the multiplicative inverse of 5. To solve systems of equations with the inverse, you first write the matrix equation AX = B, where A is the coefficient matrix, X is the variable matrix, and B is the constant matrix.
  • 14. The matrix equation representing is shown.
  • 15. To solve AX = B, multiply both sides by the inverse A-1. A-1AX = A-1B IX = A-1B The product of A-1 and A is I. X = A-1B
  • 16. Caution! Matrix multiplication is not commutative, so it is important to multiply by the inverse in the same order on both sides of the equation. A–1 comes first on each side.
  • 17. Example 3: Solving Systems Using Inverse Matrices Write the matrix equation for the system and solve. Step 1 Set up the matrix equation. A X = B Write: coefficient matrix  variable matrix = constant matrix. Step 2 Find the determinant. The determinant of A is –6 – 25 = –31.
  • 18. Example 3 Continued Step 3 Find A–1. X = A-1 B Multiply. . The solution is (5, –2).
  • 19. Check It Out! Example 3 Write the matrix equation for and solve. Step 1 Set up the matrix equation. A X = B Step 2 Find the determinant. The determinant of A is 3 – 2 = 1.
  • 20. Check It Out! Example 3 Continued Step 3 Find A-1. X = A-1 B Multiply. The solution is (3, 1).
  • 21. Example 4: Problem-Solving Application Using the encoding matrix , decode the message
  • 22. 1 Understand the Problem The answer will be the words of the message, uncoded. List the important information: • The encoding matrix is E. • The encoder used M as the message matrix, with letters written as the integers 0 to 26, and then used EM to create the two-row code matrix C.
  • 23. 2 Make a Plan Because EM = C, you can use M = E-1C to decode the message into numbers and then convert the numbers to letters. • Multiply E-1 by C to get M, the message written as numbers. • Use the letter equivalents for the numbers in order to write the message as words so that you can read it.
  • 24. 3 Solve Use a calculator to find E-1. Multiply E-1 by C. 13 = M, and so on M A T H _ I S _ B E S T The message in words is “Math is best.”
  • 25. 4 Look Back You can verify by multiplying E by M to see that the decoding was correct. If the math had been done incorrectly, getting a different message that made sense would have been very unlikely.
  • 26. Check It Out! Example 4 Use the encoding matrix to decode this message .
  • 27. 1 Understand the Problem The answer will be the words of the message, uncoded. List the important information: • The encoding matrix is E. • The encoder used M as the message matrix, with letters written as the integers 0 to 26, and then used EM to create the two-row code matrix C.
  • 28. 2 Make a Plan Because EM = C, you can use M = E-1C to decode the message into numbers and then convert the numbers to letters. • Multiply E-1 by C to get M, the message written as numbers. • Use the letter equivalents for the numbers in order to write the message as words so that you can read it.
  • 29. 3 Solve Use a calculator to find E-1. Multiply E-1 by C. 18 = S, and so on S M A R T Y _ P A N T S The message in words is “smarty pants.”
  • 30. Lesson Quiz: Part I 1. Determine whether and are inverses. yes 2. Find the inverse of , if it exists.
  • 31. Lesson Quiz: Part II Write the matrix equation and solve. 3. 4. Decode using . "Find the inverse."