Syllabus MN Math
Syllabus MN Math
7th Edition
UT Austin
www.ma.utexas.edu/CNA/NMC6
Ax = b
Ax = b
A = LU
In these equations, aij and bi are prescribed real numbers (data), and
the unknowns xj are to be determined.
Subscripts on the letter a are separated by a comma only if necessary
for clarityfor example, in a32,75 , but not in aij .
Note that the first equation was not altered in this process, although
it was used to produce the 0 coefficients in the other equations.
In this context, it is called the pivot equation.
Notice also that Systems (2) and (3) are equivalent in the following
technical sense:
Any solution of System (2) is also a solution of System (3), and vice
versa.
This follows at once from the fact that if equal quantities are added
to equal quantities, the resulting quantities are equal.
The final step consists in subtracting 2 times the third equation from
the fourth.
The result is
6x1 2x2 + 2x3 + 4x4 = 16
4x2 + 2x3 + 2x4 = 6
(5)
2x3 5x4 = 9
3x4 = 3
x4 = 3/(3) = 1
2x3 5 = 9
x3 = 4/2 = 2
and so on.
The solution is
x1 = 3, x2 = 1, x3 = 2, x4 = 1
So
Ax = b
Operations between equations correspond to operations between
rows in this notation.
We shall use these two words interchangeably.
Obviously, we must assume that all the divisors in this algorithm are
nonzero.
Here the aij s and bi s are not the original ones from (6), but instead
are the ones that have been altered by the elimination process.
xn = bn /ann
for k
for i
for j
aij aij (aik /akk )akj
end do
end do
end do
Here, we have used the formula for the sum of a geometric series on
the right-hand side; that is,
n
X
(1 + i)j1 = (1 + i)n 1/(1 + i) 1 = (1 + i)n 1 i
p(1 + i) =
j=1
(9)
i)j1 i)n
Letting aij = (1 + and bi = [(1 + 1] i, we have a linear
system.
xx
e=e (error vector)
xb
r = Ae (residual vector)
xb
er = Ae
xb
br = Ab
xx
e=e
e
xx
e=b
b
Now the computed solution that produces the smaller error vector
would most assuredly be the better answer.