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
âŽ
đđ