Algebra 2 01-Systems of Linear Equations and Matrices (RW 2022)
Algebra 2 01-Systems of Linear Equations and Matrices (RW 2022)
1
• This Slideshow was developed to accompany the textbook
• Big Ideas Algebra 2
• By Larson, R., Boswell
• 2022 K12 (National Geographic/Cengage)
• Some examples and diagrams are taken from the textbook.
Slides created by
Richard Wright, Andrews Academy
[email protected]
1-01 Solve Linear Systems
of Equations and
Inequalities by Graphing
Objectives:
• Solve a system of equations by graphing.
• Solve a system of inequalities by graphing.
3
1-01 Solve Linear Systems of Equations
and Inequalities by Graphing
• System of equations
• More than one equation that share the same solution.
• Often they involve more than one variable.
• In order to solve them, you need as many equations as there are variables.
1-01 Solve Linear Systems of Equations
and Inequalities by Graphing
• Solutions to systems
• An ordered pair that works in both equations.
• If the ordered pair works in both equations, then both graphs have to go
through that point.
• Solutions are where the graphs cross.
• Solve by graphing
1. Graph both equations on the same graph.
2. Where they cross is the solution.
1-01 Solve Linear Systems of Equations
and Inequalities by Graphing
• Solve by graphing
1-01 Solve Linear Systems of Equations
and Inequalities by Graphing
• Solve by graphing
1-01 Solve Linear Systems of Equations
and Inequalities by Graphing
• To solve systems of inequalities
1. Graph them all on one graph.
2. Solution is where all graphs overlap
1-01 Solve Linear Systems of Equations
and Inequalities by Graphing
• Solve the system of inequalities
1-01 Solve Linear Systems of Equations
and Inequalities by Graphing
• Solve the system of inequalities
1-02 Solve Linear Systems
Algebraically
Objectives:
• Solve a system of equations by substitution.
• Solve a system of equations by elimination.
11
1-02 Solve Linear Systems Algebraically
• Graphing to solve systems of equations has some problems.
𝑥+ 2
1-02 Solve Linear Systems Algebraically
x i lve
s b fo
So
(− 2)
yi ri
ts t .
el
(− 4 𝑦 − 4 )
f.
1-02 Solve Linear Systems Algebraically
• Elimination
1. Line up the equations into columns
2. Multiply one or both equations by numbers so that one variable has the
same coefficient, but opposite sign
3. Add the equations
4. Solve the resulting equation
5. Substitute the value into one original equation and solve
1-02 Solve Linear Systems Algebraically
(−1)
( −3 ) ( 3 𝑥 − 𝑦 )=−7 (− 3)
1-02 Solve Linear Systems Algebraically
21
1-03 Solve Linear Systems in Three
Variables
• We have now worked with 2 variables and 2 dimensions, but sometimes there
are more
One Solution
Infinitely Many
Solutions
No Solutions
1-03 Solve Linear Systems in Three
Variables
• Elimination Method
• Like two variables, you just do it more than once.
1. Combine first and second to eliminate a variable
2. Combine second and third to eliminate the same variable as before
3. Combine these new equations to find the two variables
4. Substitute those two variables into one of the original equations to get
the third variable
{
2 𝑥 +3∧ 𝑦 +7∧𝑧∧¿ −∧3
𝑥 − 6∧𝑦 +¿ 𝑧∧¿ −∧4
− 𝑥 −3∧ 𝑦 +8∧𝑧∧¿∧1
1-03 Solve Linear Systems in Three
Variables
{
− 𝑥 +2∧𝑦 +¿ 𝑧∧¿∧3
2 𝑥+2∧ 𝑦 +¿ 𝑧∧¿∧5
4 𝑥 +4∧ 𝑦 +2∧𝑧∧¿∧6
1-03 Solve Linear Systems in Three
Variables
{
𝑥∧+¿ 𝑦 ∧+¿ 𝑧∧¿ 6
𝑥 ∧−∧𝑦 ∧+¿ 𝑧∧¿ 6
4 𝑥 ∧+¿ 𝑦 ∧+4∧𝑧∧¿ 24
1-03 Solve Linear Systems in Three
Variables
• If there are infinitely many solutions
1. Let z = a (Use x, y, or z based on what is convenient)
2. Solve for y in terms of a
3. Substitute those to find x in terms of a
4. Sample answer (2a, a + 4, a)
1-03 Solve Linear Systems in Three
Variables
• You have $1.42 in quarters, nickels, and pennies. You have twice as many
nickels as quarters. You have 14 coins total. How many of each coin do you
have?
1-04 Perform Basic
Matrix Operations
(12.1)
Objectives:
• Solve for variables in matrices given equal matrices.
• Add and subtract matrices.
• Multiply a scalar number with a matrix.
31
1-04 Perform Basic Matrix Operations
(12.1)
• Dimensions
• Rows by columns
• 3×4 for the above matrix
1-04 Perform Basic Matrix Operations
(12.1)
• In order for two matrices to be equal, they must be the same dimensions and
corresponding elements must be the same
• Use matrix operations to find the total weather stats of each city
1-05 Multiply Matrices
(12.2)
Objectives:
• Multiply matrices.
• Use matrix multiplication to solve real-life problems.
.
39
1-05 Multiply Matrices (12.2)
• Yesterday we learned all about matrices and how to add and subtract them.
But how do you multiply or divide matrices?
[ 1
0
2
−3][
⋅
−2
4
1
3 ]
¿ 1 ⋅ −2+2 ⋅ 4 1 ⋅ 1+2 ⋅ 3
¿
0 ⋅− 2+−3 ⋅ 4 0 ⋅ 1+− 3 ⋅ 3
¿ 6 7
−12 − 9 ¿
1-05 Multiply Matrices (12.2)
][ ]
−1
[ 1
−2
0
3
4
2
∙ 3
¿ ¿
5
1 ∙− 1+ 0 ∙ 3+ 4 ∙ 5
−2 ∙ −1+3 ∙ 3+ 2∙ 5
¿¿
19
21
1-05 Multiply Matrices (12.2)
• Use the given matrices to evaluate 2(AC) + B
44
1-05 Multiply Matrices (12.2)
• The members of two bowling leagues submit meal choices for an upcoming
banquet as shown. Each pizza meal costs $16, each spaghetti meal costs $22,
and each Sam’s chicken meal costs $18. Use matrix multiplication to find the
total cost of the meals for each league.
Pizza Spaghetti Sam’s
Chicken
League A 18 35 7
League B 6 40 9
45
1-06 Evaluate
Determinants (12.3)
After this lesson…
• I can find the determinant of a square matrix.
• I can use determinants to find areas of triangles.
• I can use determinants to solve systems of equations.
46
1-06 Evaluate Determinants (12.3)
• You had to know that all this matrix stuff must have some purpose.
• Symbolized by det A or | A |
• Vertical lines mean determinant
• I won’t answer that question on the test for you!
1-06 Evaluate Determinants (12.3)
• Determinant of 2×2 matrix
• Multiply along the down diagonal and subtract the product of the up
diagonal.
1-06 Evaluate Determinants (12.3)
• Determinant of 3×3 Matrix
• Copy the first 2 columns behind the matrix and then add the products of
the down diagonals and subtract the product of the up diagonals.
1 2
•
4 5
7 8
1-06 Evaluate Determinants (12.3)
• Area of a Triangle
|𝑐 |
𝑎 𝑏
𝑑 |
𝑎
𝑐 |
𝑏
𝑑
1-06 Evaluate Determinants (12.3)
2𝑥∧+¿ 𝑦∧¿∧1
3 𝑥∧−2∧𝑦∧¿−2∧3
1-06 Evaluate Determinants (12.3)
• Cramer’s Rule on a 3×3 System
• Same as 2×2 system
• The denominator is the determinant of the coefficient matrix and the
numerator is the same only with the column of the variable you are solving
for replaced with the = column.
1-06 Evaluate Determinants (12.3)
2 𝑥 − 𝑦 +6 𝑧 =− 4
6 𝑥 +4 𝑦 −5 𝑧 =−7
− 4 𝑥 − 2 𝑦 +5 𝑧 =9
1-07 Use Inverse
Matrices to Solve
Linear Systems (12.4)
After this lesson…
• I can find the inverse of a matrix.
• I can solve linear systems using inverse matrices.
• I can solve real-life problems using inverse matrices.
57
1-07 Use Inverse Matrices to Solve
Linear Systems (12.4)
• You can use matrices to solve linear systems in ways different from Cramer’s
Rule.
• We will learn how, but it requires that we know how to find inverse matrices.
1-07 Use Inverse Matrices to Solve
Linear Systems (12.4)
• The Identity Matrix multiplied with any matrix of the same dimension equals
the original matrix.
• A∙I=I∙A=A
• This is the matrix equivalent of 1
[ ] [ ]
1 0 1 0 0
0 1 0 1 0
0 0 1
1-07 Use Inverse Matrices to Solve
Linear Systems (12.4)
• You cannot divide by a matrix!
• So we multiply by the inverse of a matrix.
• A·A-1 = [1] = I
• Just like = = 1
• If A, B, and X are matrices, and
• A·X = B
• A-1·A·X = A-1·B
• I·X = A-1·B
• X = A-1·B
1-07 Use Inverse Matrices to Solve
Linear Systems (12.4)
• The Rule for 2×2 (Memorize)
• If
•
1-07 Use Inverse Matrices to Solve
Linear Systems (12.4)
[ ] |1 |[ ]
−1
1 2 1 4 −2
¿
3 4 2 −3 1
3 4
¿
1
[ 4
1 ( 4 ) − 3(2) −3
−2
1 ]
[ ]
−2 1
¿
1
[4
−2 −3
−2
1 ] 3
−
1
2 2
1-07 Use Inverse Matrices to Solve
Linear Systems (12.4)
[ ]| [ ]
−1
−2 −1 ¿ 1 0 1
4 0
4 0 |
− 2 −1 − 4 −2
¿
1 0
−2 ( 0 ) − 4 (−1) − 4[ 1
−2 ]
[ ]
1
0
4
¿
[
1 0
4 −4
1
−2 ] −1 −
1
2
1-07 Use Inverse Matrices to Solve
Linear Systems (12.4)
• Solve a matrix equation
• AX = B
• Find A-1
1-07 Use Inverse Matrices to Solve
Linear Systems (12.4)
• A-1AX = A-1B
¿ ¿
−7 ( 3 ) +− 4 (2) −7 ( 8 ) +− 4 (− 2)
−5 ( 3 ) +−3 (2) −5 ( 8 ) +− 3(− 2)
𝑋=
− 29
− 21 [ − 48
− 34 ]
1-07 Use Inverse Matrices to Solve
Linear Systems (12.4)
• Solve a system of linear equations