Lecture 11 Flashcards

1
Q

Undo a linear operation

A
Ax = y, then
x = A^-1.y
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Solve lower triangular systems

A

Forward substitution:
Lx = b
xi = (bi - sum(j=1>{i-1}) Lij xj) / Lii (derivate…)
If any Lii=0, singular and cannot be solved, otherwise unique solution

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Solve upper triangular systems

A

Backward substitution:
Ux = b
xi = (bi - sum(j=i+1 > n) Uij Xj) / Uii

If any Uii=0, singular and cannot be solved, otherwise unique solution

Derivation: x1 [U11 0 … 0] + … + xi [U1i U2i … Uii 0 … 0] + … + xn [U1n … Unn] = [b1 .. bn]
so xn = bn/Unn and
xn-1 = (b{n-1} - xn U{n-1,n}) / U{n-1,n-1}
xi Uii = bi - sum… xj Uij

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Complexity Forward/backward substitution?

A

n^2

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Solve Ax=b when A non triangular?

A
A=LU factorization, with L diagonal = 1 (because unicity –we could have chosen U diagonal = 1 instead). If the LU decomposition exists then it is unique (factorization does not always exist).
Ax = b > LUx = b
2 problems:
 - solve Ly = b (forward)
 - solve Ux = y (backward)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

2x2 example
A11 A12
A21 A22
find L, U

A

L =
1 0
A21/A11 1

U =
A11 A12
0 A22-(A21/A11)A12

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

A in invertible, U?

A

U is invertible

How well did you know this?
1
Not at all
2
3
4
5
Perfectly