Transcript Chapter 1

Chapter 1
Section 1.1
Introduction to Matrices and Systems
of Linear Equations
Linear Combinations
A linear combination of the n
variables đ‘Ĩ1 , đ‘Ĩ2 , đ‘Ĩ3 , ⋯ , đ‘Ĩ𝑛 is an
expression of the form given to the
right where 𝑎1 , 𝑎2 , 𝑎3 , ⋯ , 𝑎𝑛 are
known constants (numbers)
𝑎1 đ‘Ĩ1 + 𝑎2 đ‘Ĩ2 + 𝑎3 đ‘Ĩ3 + ⋯ + 𝑎𝑛 đ‘Ĩ𝑛
This is called a linear combination of the variables
đ‘Ĩ1 , đ‘Ĩ2 , đ‘Ĩ3 , ⋯ , đ‘Ĩ𝑛 .
2đ‘Ĩ + 3đ‘Ļ Is a linear combination of x and y
2đ‘Ĩ1 + 4đ‘Ĩ4 + 5đ‘Ĩ6 Is a linear combination of đ‘Ĩ1 , đ‘Ĩ4 , đ‘Ĩ6
Linear Equations
An equation with n different variables đ‘Ĩ1 , đ‘Ĩ2 , đ‘Ĩ3 , ⋯ , đ‘Ĩ𝑛 is called a linear equation if it is
possible it write the equation (maybe using some equivalent algebraic rearrangement) as
a linear combination where 𝑎1 , 𝑎2 , 𝑎3 , ⋯ , 𝑎𝑛 are called the coefficients of the equation
being set equal to a constant b.
𝑎1 đ‘Ĩ1 + 𝑎2 đ‘Ĩ2 + 𝑎3 đ‘Ĩ3 + ⋯ + 𝑎𝑛 đ‘Ĩ𝑛 = 𝑏
7đ‘Ĩ + 2đ‘Ļ − 3𝑧 = 9
Linear Equation
4đ‘Ĩ1 − 2đ‘Ĩ4 = 3 2 − đ‘Ĩ2 + 5đ‘Ĩ4
Or 4đ‘Ĩ1 + 3đ‘Ĩ2 − 17đ‘Ĩ4 = 6
Linear Equation
đ‘Ĩ2 đ‘Ĩ5 + đ‘Ĩ1 = 6
3 cos đ›ŧ − 2 sin đ›Ŋ = 8
Nonlinear Equations
If the equation (maybe after some algebra) is anything other than a number times a
variable being added or subtracted it is nonlinear. No powers, roots, variables in the
denominator, products of variables, trig functions etc.
Systems of linear equations and their solution
A 𝑚 × đ‘› system of linear equations is a set of m linear equations with n variables.
The numbers 𝑎𝑖𝑗 represent the coefficient of the jth variable in the ith equation. Such
a system can be expressed in a form given to the below.
𝑎11 đ‘Ĩ1
𝑎21 đ‘Ĩ1
⋮
𝑎𝑚1 đ‘Ĩ1
+
+
+
𝑎12 đ‘Ĩ2
𝑎22 đ‘Ĩ2
⋮
𝑎𝑚2 đ‘Ĩ2
+
+
⋯
⋯
+
+
+
⋯
+
𝑎1𝑛 đ‘Ĩ𝑛
𝑎2𝑛 đ‘Ĩ𝑛
⋮
𝑎𝑚𝑛 đ‘Ĩ𝑛
=
=
=
𝑏1
𝑏2
⋮
𝑏𝑚
A 𝑚 × đ‘› system of linear equations.
A solution to a system of equations (sometimes called a simultaneous solution) with n
variables is a set of numbers 𝑠1 , 𝑠2 , 𝑠3 , ⋯ , 𝑠𝑛 such that all the numbers satisfy all of the
m equations in the system.
𝑎11 𝑠1
𝑎21 𝑠1
⋮
𝑎𝑚1 𝑠1
+
+
+
𝑎12 𝑠2
𝑎22 𝑠2
⋮
𝑎𝑚2 𝑠2
+
+
⋯
⋯
+
+
+
⋯
+
𝑎1𝑛 𝑠𝑛
𝑎2𝑛 𝑠𝑛
⋮
𝑎𝑚𝑛 𝑠𝑛
=
=
=
𝑏1
𝑏2
⋮
𝑏𝑚
A solution to a 𝑚 × đ‘› system of linear equations.
Linear Combinations of functions
Let 𝑓1 đ‘Ĩ , 𝑓2 đ‘Ĩ , ⋯ , 𝑓𝑛 đ‘Ĩ be a set of
n functions (not necessarily linear)
and 𝑐1 , 𝑐2 , ⋯ , 𝑐𝑛 a set of constants we
can form a linear combination of
functions as shown to the right.
𝑐1 𝑓1 đ‘Ĩ + 𝑐2 𝑓2 đ‘Ĩ + ⋯ + 𝑐𝑛 𝑓𝑛 đ‘Ĩ
A linear combination of functions
𝑓1 đ‘Ĩ , 𝑓2 đ‘Ĩ , ⋯ , 𝑓𝑛 đ‘Ĩ
2đ‘Ĩ 2 + 3 cos đ‘Ĩ + 5 đ‘Ĩ
A linear combination of the functions
đ‘Ĩ 2 , cos đ‘Ĩ , đ‘Ĩ
Substitution to a Linear System
If all of the equations in a nonlinear system are linear combinations of the same functions
a substitution can be done to transform the nonlinear system into a linear system.
System:
đ‘Ĩ + 4 sin đ‘Ļ = 5
3 đ‘Ĩ − 2 sin đ‘Ļ = 8
Nonlinear System
Substitute:
đ‘Ĩ1 = đ‘Ĩ
đ‘Ĩ2 = sin đ‘Ļ
New System:
đ‘Ĩ1 + 4đ‘Ĩ2 = 5
3đ‘Ĩ1 − 2đ‘Ĩ2 = 8
Linear System
Solving by Graphing
As the name would imply the graphs of linear equations are lines. The idea is to
graph both lines on the same graph carefully. Look at the point where the two lines
cross (or try to estimate it as best as you can) the x and y coordinates are the
simultaneous solutions to the system of equations.
īƒŦī€­ 3x ī€Ģ 2 y ī€Ŋ 4
Look at the previous example: īƒ­
īƒŽ 4 x ī€Ģ y ī€Ŋ 13
15
14
13
12
ī€­ 3x ī€Ģ 2 y ī€Ŋ 4
2 y ī€Ŋ 3x ī€Ģ 4
11
4 x ī€Ģ y ī€Ŋ 13
10
9
y ī€Ŋ ī€­4 x ī€Ģ 13
8
7
y ī€Ŋ xī€Ģ2
3
2
6
The coordinates of the point
the lines cross are (2,5)
5
4
slope is 3/2
slope is -4
3
2
y-intercept is 2
y-intercept is 13
1
-1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
-1
The problem that you run into with graphing to find the solutions is that it can be
very imprecise. When the solutions involve fractions or more than 2 or 3
variables this is very imprecise and not practical. This is why we will look at
other algebraic methods that tell you the simultaneous solutions.
15
īƒŦ x ī€Ŋ ī€­3
īƒ­
īƒŽy ī€Ŋ 2
More graphing examples:
5
4
3
2
Solution (-3,2)
x = -3
Vertical line
at -3
y=2
-5
-4
1
-3
-2
-1
1
2
3
4
5
1
2
3
4
5
-1
-2
Horizontal
line at 2
-3
-4
-5
5
īƒŦī€­ 6 x ī€Ģ 2 y ī€Ŋ ī€­8
īƒŽ 3x ī€­ y ī€Ŋ 1
4
More graphing examples: īƒ­
ī€­ 6 x ī€Ģ 2 y ī€Ŋ ī€­8
2 y ī€Ŋ 6x ī€­ 8
y ī€Ŋ 3x ī€­ 4
3x ī€­ y ī€Ŋ 1
ī€­ y ī€Ŋ ī€­3x ī€Ģ 1
slope is 3
slope is 3
y-intercept is -4
y-intercept is -1
y ī€Ŋ 3x ī€­ 1
3
2
1
-5
-4
-3
-2
-1
-1
-2
-3
-4
-5
These lines are parallel which means they do not intersect. This means there is no
simultaneous solution to the system of equations. A system of equations that has
no simultaneous solution we call inconsistent.
Systems of Equations and Augmented Matrices
Systems of equations can be represented with matrices in a certain way.
1. Each row corresponds to an equation.
2. Each column to a variable and the last column to the constants.
We write the variables on one side of the equation and the constants on the other. In
the matrix separate the variables from the constants with a line (sometimes dashed).
The entries of the matrix are the coefficients of the variables. It is important that if a
variable does not show up in an equation that means the coefficient is 0 and that
entry in the matrix is 0. The entries on the other side of the line are the constants.
īƒŦ3x ī€­ 4 y ī€Ŋ 7
īƒ­
īƒŽ9 x ī€Ģ y ī€Ŋ 8
system of
equations
Sometimes algebra
might be needed to
change the equations
to a matrix.
īƒŠ3 ī€­ 4 7 īƒš
īƒĒ
īƒē
9
1
8
īƒĢ
īƒģ
īƒŦx ī€Ģ 3 y ī€­ 5z ī€Ŋ 8
īƒ¯
īƒ­ xī€­z ī€Ŋ9
īƒ¯ 4 y ī€Ģ 3z ī€Ŋ 1
īƒŽ
Augmented
Matrix
īƒŦ y ī€Ŋ 3x ī€­ 2
īƒ­
īƒŽ2( x ī€Ģ 3) ī€Ŋ 5 y ī€­ 10
īƒŦī€­ 3x ī€Ģ y ī€Ŋ ī€­2
īƒ­
īƒŽ2 x ī€Ģ 6 ī€Ŋ 5 y ī€­ 10
system of
equations
īƒŦī€­ 3x ī€Ģ y ī€Ŋ ī€­2
īƒ­
īƒŽ2 x ī€­ 5 y ī€Ŋ ī€­16
īƒŠ1 3 ī€­ 5 8 īƒš
īƒĒ
īƒē
1
0
ī€­
1
9
īƒĒ
īƒē
īƒĒīƒĢ0 4 3 1īƒēīƒģ
Augmented
Matrix
īƒŠī€­ 3 1 ī€­ 2 īƒš
īƒĒ
īƒē
2
ī€­
5
ī€­
16
īƒĢ
īƒģ
Matrix Representation and Notation
The augmented matrix is one matrix
associated with the system of
equations. There is another matrix
which we refer to as the coefficient
matrix.
𝐴 = 𝑎𝑖𝑗
𝑎11
𝑎12
= ⋮
𝑎𝑚1
𝑎12
𝑎22
⋮
𝑎𝑚2
⋯
⋯
⋯
𝑎11 đ‘Ĩ1
𝑎21 đ‘Ĩ1
⋮
𝑎𝑚1 đ‘Ĩ1
𝑎1𝑛
𝑎2𝑛
⋮
𝑎𝑚𝑛
The coefficient matrix for the system
The matrix B is the coefficient matrix A
"augmented" with the column of
constants. This is sometimes written as:
𝐴𝑏
Where b is the matrix to the right.
+
+
+
𝑎12 đ‘Ĩ2
𝑎22 đ‘Ĩ2
⋮
𝑎𝑚2 đ‘Ĩ2
+
+
⋯
⋯
+
+
+
⋯
+
𝑎1𝑛 đ‘Ĩ𝑛
𝑎2𝑛 đ‘Ĩ𝑛
⋮
𝑎𝑚𝑛 đ‘Ĩ𝑛
=
=
=
A 𝑚 × đ‘› system of linear equations.
𝑎11
𝑎12
đĩ= ⋮
𝑎𝑚1
𝑎12
𝑎22
⋮
𝑎𝑚2
⋯
⋯
⋯
𝑎1𝑛 𝑏1
𝑎2𝑛 𝑏2
⋮
⋮
𝑎𝑚𝑛 𝑏𝑚
The augmented matrix for the system
𝑏1
𝑏
𝑏= 2
⋮
𝑏𝑚
𝑏1
𝑏2
⋮
𝑏𝑚