Linear equations Flashcards
What is the general question for linear equations?
How do we solve Ax = b
What do we assume about A in this chapter?
A is square, non singular and therefore there is a unique solution.
Why is solving linear equations non-trivial?
- May be unstable to rounding error - pivoting
- n may be very large - iterative algorithms
What are five basic facts for linear algebra you need to know?
What are lower triangualr matrices?
All zeros above the diagonal
What are upper triangular matrices?
All zeros below diagonal
How can you tell if a lower triangular matrix is non-singular?
All diagonal elements are non-zero
What type of substitution can any lower triangular system by solved by?
Forward substitution.
What is the formula for forward substitution?
What is the formula for backward substitution?
What is the number of operations required for forward substituion?
n2
Prove that the number of operations for forward substitution is n2.
What is another way to say how many operations something takes?
Computational complexity of the algorithm
What process can you use to transform a system to upper triangular?
Gaussian elimination
What does Gaussian elimination use to transform a system to upper triangular?
Elementary row operations
What is the algorithm for Gaussian elimination?
Show what the computational cost of Gaussian elimination is?
What equation shows how the sequence of row operations that transform A to U is equivalent to left-multiplying by a matrix F.
Prove that the sequence of row operations that transforms A to U is equivalent to left-multiplying by a matrix F such that
What is the theorem about LU decompostion?
What does unit lower triangular mean?
All 1’s on the diagonal and 0’s above
What two systems do we have to solve in LU decomposition?
Why is it better to use LU decomposition over Gaussian elimination?
Requires fewer operations
When will Gaussian elimination and LU factorisation fail?
When there is a zero on the diagonal
What process can you do to stop there being zeros on the diagonal?
Pivotting
What is pivoting?
Swapping rows and columns
What is partial pivoting?
Interchange a pair of rows at each stgae k of the G.E. to being the largest element aik(k) (for k ≤ i ≤ n) to the diagonal position akk(k).
What is the purpose of partial pivoting?
To avoid large multipliers, to dramatically improve the stability of Gaussian elimination
How do you attain ultimate accuray in G.E. ?
If pivoting is applied, what equation shows the modified factorisation form?
What does P stand for in the following?
Permuation matrix - every row and column has exactly one non-zero element, which is 1.