numerical analysis Flashcards

1
Q

Prove ∃pn ∈ Πn such that pn(xi) = fi
for i = 0, 1, . . . , n.

A
  • Write down L_n,k
  • L_n,k(xi) = δ_i,k
  • p_n(x) = sum from k=0 to n[f_k * L_n,k(x)]
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Prove that the interpolating polynomial of degree <=n is unique

A
  • Suppose p_n, q_n are both interpolating polynomials
  • Let d_n = p_n - q_n
  • So d has at most degree n
  • Then d_n(x_i) = 0 for i = 0,…,n
  • So d has at least n+1 roots
  • So d = 0, i.e. p_n = q_n
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is the error function for an interpolating polynomial?

A

e(x) = f(x) - p_n(x)

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

What is the Lagrange interpolating polynomial and when is it used?

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

What is the Hermite interpolating polynomial and when is it used?

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

What is the error theorem for a Hermite interpolating polynomial?

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

What is the error theorem for a Lagrange interpolating polynomial?

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

What is a lower triangular matrix?

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

What is an upper triangular matrix?

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

How do lower triangular matrices help to solve linear systems and what is the procedure called?

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

How do upper triangular matrices help to solve linear systems and what is the procedure called?

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

How do we reduce Ax=b to Ux=c, where U is upper triangular?

A

Gauss elimination

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

What is a multiplier in Gaussian elimination?

A

aij/ajj, what we multiply the row we are adding/subtracting by to get 0

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

What is a pivot in Gaussian elimination?

A

ajj

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

How do we obtain a LU factorisation of a matrix?

A
  • Perform Gaussian Elimination
  • The matrices we multiply by to perform the row operations are lower triangular, and products of lower triangular matrices remain lower triangular.
  • The matrix we end up with after GE is upper triangular
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

How do we use LU factorisation to solve linear systems?

A
  • Factorise A = LU
  • Solve Ly = b
  • Then solve Ux = y
17
Q

When does LU fail and how can we solve it?

A
  • When a pivot ajj is 0
  • Can swap the rows before performing GE
18
Q

What is partial pivoting?

A
  • When creating the zeros in the jth column, find:
    |ak,j| = max(|aj,j|, |aj+1,j|, . . . , |an,j|),
    then swap rows j and k.
19
Q

Prove that GE with partial pivoting cannot fail if A is non-singular

A
20
Q

What is a permutation matrix?

A

A matrix P with the same rows as the identity, but in a different order.

21
Q

What is an orthogonal matrix?

A

Q^T = Q^−1

22
Q

Prove that the product of orthogonal matrices is orthogonal

A

(ST)^T (ST)
= T^T S^T S T
= T^T (S^T S) T
= T^T T
= I

23
Q

What does it mean for two vectors to be orthogonal?

A

x.y = x^T y = 0

24
Q

Prove that The columns of an orthogonal matrix Q form an orthogonal set, which is an orthonormal basis for R

A
25
Q

Prove that If u ∈ R^n, P is n-by-n orthogonal matrix and v = Pu, then
u^T u = v^T v.

A
26
Q

What is the outer product of two vectors x and y?

A

xy^t

27
Q

What is a householder reflector matrix?

A
28
Q
A