Linear equations Flashcards

(78 cards)

1
Q

What is the general question for linear equations?

A

How do we solve Ax = b

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

What do we assume about A in this chapter?

A

A is square, non singular and therefore there is a unique solution.

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

Why is solving linear equations non-trivial?

A
  1. May be unstable to rounding error - pivoting
  2. n may be very large - iterative algorithms
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What are five basic facts for linear algebra you need to know?

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

What are lower triangualr matrices?

A

All zeros above the diagonal

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

What are upper triangular matrices?

A

All zeros below diagonal

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

How can you tell if a lower triangular matrix is non-singular?

A

All diagonal elements are non-zero

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

What type of substitution can any lower triangular system by solved by?

A

Forward substitution.

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

What is the formula for forward substitution?

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

What is the formula for backward substitution?

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

What is the number of operations required for forward substituion?

A

n2

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

Prove that the number of operations for forward substitution is n2.

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

What is another way to say how many operations something takes?

A

Computational complexity of the algorithm

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

What process can you use to transform a system to upper triangular?

A

Gaussian elimination

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

What does Gaussian elimination use to transform a system to upper triangular?

A

Elementary row operations

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

What is the algorithm for Gaussian elimination?

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

Show what the computational cost of Gaussian elimination is?

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

What equation shows how the sequence of row operations that transform A to U is equivalent to left-multiplying by a matrix F.

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

Prove that the sequence of row operations that transforms A to U is equivalent to left-multiplying by a matrix F such that

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

What is the theorem about LU decompostion?

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

What does unit lower triangular mean?

A

All 1’s on the diagonal and 0’s above

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

What two systems do we have to solve in LU decomposition?

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

Why is it better to use LU decomposition over Gaussian elimination?

A

Requires fewer operations

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

When will Gaussian elimination and LU factorisation fail?

A

When there is a zero on the diagonal

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
What process can you do to stop there being zeros on the diagonal?
Pivotting
26
What is pivoting?
Swapping rows and columns
27
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).
28
What is the purpose of partial pivoting?
To avoid large multipliers, to dramatically improve the stability of Gaussian elimination
29
How do you attain ultimate accuray in G.E. ?
30
If pivoting is applied, what equation shows the modified factorisation form?
31
What does P stand for in the following?
Permuation matrix - every row and column has exactly one non-zero element, which is 1.
32
What two systems do we solve when we have used a permuation matrix in G.E.?
33
Define a **vector norm.**
34
Define the **l2-norm.**
35
Define the **l1 norm**.
36
Define the **l-nrom.**
37
Define the **lp norm**.
38
What do the unit circles look like for the l1, l2 and lnorm?
39
What to do use to measure the size of matrices?
Matrix norms.
40
What do we use to measure the error when the solution is a vector?
A norm
41
Define a **matrix norm.**
42
What is the most important matrix norm?
Induced or operator norms
43
What do induced/operator norms measure?
How much A**x** stretches **x** in some vector norm.
44
Define an induced norm.
45
What is the theorem about the inequality between vector and matrix norm?
46
Prove the following theorem.
47
Finish the following theorm.
48
Prove the following theorem.
49
Finish the following theorem.
50
What is the matrix norm induced by the l2 norm also known as?
The spectral norm.
51
What is p(A)?
The spectral radius of A - the maximum |λ| over all eigenvalues λ of A.
52
Prove the following theorem.
53
When do you call a solution well-conditioned?
When the solution is within rounding error of the true solution.
54
When do a call a solution ill-conditioned?
When a system is very sensitive to errors in **b**
55
When measuring the conditioning of a linear system, what inquality can you produce to measure the relative error in **x** compared to **b**.
56
Define the **condition number.**
57
What does a large value of κ٭(a) mean?
* The solution will be sensitive to errors in **b** * The matrix is close to being non-invertible
58
When is a matrix A called symmetric positive definite (or SPD)?
59
What value do the eigenvalues of a matrix A have to take so that the matrix is positive definite?
Positive
60
What is the minimizing function we look at to solve A**x** = **b**?
61
What is the main type of optimsiation we look at?
Line search methods
62
What is the general equation for a line search method?
63
What does **d**k and αk stand for in the following?
* **d**k is the search direction * αk is the step size
64
How is αk chosen in line search methods?
65
What is the residual vector **r**k?
66
What is the formula for step size, αk?
67
What are the two methods for the search direction?
1. Method of steepest descent 2. Conjugate gradient method
68
What is the formula for the search direction, **d**k, in the method of steeoest descent?
69
Which search direciton method is slower to converge?
The method of steepest descent
70
What is **d**0 in the conjugate gradient method?
-**r**0
71
What is the formula for the search direction using the conjugate gradient method?
72
What is the equation for βk in the following formula for the search direction in the conjugate gradient method?
73
What is the algorithm for the conjugate gradient method?
74
How many iterations does the conjuaget gradient method need to give the exact answer? And why?
n, because
75
What is the theorem about the residuals in the conjugate gradient method.
76
Prove the following theorem.
See problem sheet
77
Give three reasons why conjugate gradients methods are not as good as a direct method in practice.
1. Computationally intensive 2. Rounding erros can destroy orthogonality 3. Meaning you may need more than n iterations
78
When is the conjuagte gradient method mainly used?
For large sparse systems