Professional Documents
Culture Documents
2 Beamerchapitre 1
2 Beamerchapitre 1
a1 x1 + a2 x2 + a3 x3 + ... + an xn = b.
x = 4 − 2s + 3t.
Definition
A system of m linear equations in n variables is a set of m equations,
each of which is linear in the same n variables:
a11 x1 + a12 x2 + a13 x3 + ... + a1n xn = b1
a21 x1 + a22 x2 + a23 x3 + ... + a2n xn = b2
..
.
am1 x1 + am2 x2 + am3 x3 + ... + amn xn = bm
.
Chapter 1: Systems of Linear Equations February 12, 2024 8 / 56
x +y =3
2x + 2y = 6
Figure: No solution
z = 2,
y = 5 − 3 (2) = −1,
x = 9 + 2 (−1) − 3 (2) = 1.
Definition (Matrix)
If m and n are positive integers, then an m × n (read “m by n”) matrix is
a rectangular array
Row 1 a11 a12 a13 · · · a1n
Row 2 a21 a22 a23 · · · a2n
Row 3 a31 a32 a33 · · · a3n
.. .. .. .. ..
. . . . .
Row m am1 am2 am3 · · · amn
1 −2 3 9
Augmented Matrix: [A | b] = −1 3 0 −4
2 −5 5 17
1 −2 3
Cofficient Matrix: A = −1 3 0
2 −5 5
The matrices in (1), (2), (5), and (6) are in row-echelon form. The
matrices in (5) and (6) are in reduced row-echelon form because every
column that has a leading 1 has zeros in every position above and
below its leading 1. The matrix in (4) is not in row-echelon form
because the row of all zeros does not occur at the bottom of the
matrix. The matrix in (3) is not in row-echelon form because the first
nonzero entry in Row 2 is not1:1.
Chapter Systems of Linear Equations February 12, 2024 32 / 56
Gaussian Elimination with Back-substitution
1 Write the augmented matrix of the system of linear equations.
2 Use elementary row operations to rewrite the matrix in
row-echelon form.
3 Write the system of linear equations corresponding to the
matrix in row-echelon form, and use back-substitution to find
the solution.
Example
Use Gauss-Jordan elimination to solve the system
x − 2y + 3z = 9 2x1 + 4x2 − 2x3 = 0
2
1 −x + 3y = −4 3x1 + 5x2 =1
2x − 5y + 5z = 17
Remark
In expressions like (OH)2 and (PO4 )2 , the number immediately
following the parentheses indicates that every term in the unit should
be considered toappear that many times. Hence, (PO4 )2 is equivalent
to PO4 PO4 for our purposes.
balances the number of hydrogen (H), phosphorus (P), oxygen (O), and
calcium (Ca) atoms on both sides. Considering each element in turn,
we get
3a + 2b = 2d (H)
a = 2c (P)
4a + 2b = 8c + d (O)
b = 3c (Ca)
0 − 13
1 0 0
0
1 0 − 12 0
0 0 1 − 16 0
0 0 0 0 0
In a network model, you assume that the total flow into a junction is
equal to the total flow out of the junction.
I1 + I3 = I2 Junction 1 or Junction 2
I1 + I3 = I2 Junction 1 or Junction 2
I1 + I3 = I2 Junction 1 or Junction 2
I1 + I3 = I2 Junction 1 or Junction 2
I1 + I3 = I2 Junction 1 or Junction 2
I1 −I2 +I3 = 0
3I1 +2I2 = 7
2I2 +4I3 = 8