Numerical Methods Flashcards

1
Q

Triangle inequalities

A

|x + y| <= |x| + |y|
|x - y| >= | |x| - |y| |

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

Taylor series expansion

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

Jacobian matrix

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

Matrix inverse (2D)

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

Decomposition method for a matrix A

A

let A = LU
=> LUx = b
where Ux = y
Then solve Ly = b, Ux = y

L - lower triangular matrix
U - upper triangular matrix

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

Properties of a vector norm

A

A normed vector space over a field F, is a vector field V equipped with a map, the norm, ||-||: V -> F satisfying:
* for all x in V, ||x|| >= 0, and ||x|| = 0 if and only if x = 0 is in V
* for all a in F, x in V, ||a x|| = |a| ||x||
* for all x,y in V, ||x + y|| <= ||x|| + ||y|| (triangle inequality)

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

Properties of a matrix norm

A

Provides a measure of the size of a square (nxn) matrix. The norm, ||-|| satisfies:
* for all nxn A, ||A|| >= 0, and ||A|| = 0 if and only if A = 0
* for all scalar a, nxn A, ||a A|| = |a| ||A||
* for all nxn A, B, ||A + B|| <= ||A|| + ||B|| (triangle inequality 1)
* for all nxn A, B, ||A . B|| <= ||A|| . ||B|| (triangle inequality 2)

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

Matrix and Vector norm compatibility result

A

A matrix norm ||-||q is compatible with a vector norm ||-||p if:
* ||A x||p <= ||A||q . ||x||p
* for all n-vectors x, nxn matricies A

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

||-||1,n,inf for vectors x,y

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

||-||1,inf for matrix A

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

Jacobi’s method iteration scheme

A

A = I - (A_L + A_U)

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

Newton’s method iteration scheme

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

Gauss-Seidel method iteration scheme

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

Secant method iteration scheme

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

Newton’s method from Taylor series iteration scheme

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

Centred difference formulas for finite differencing
– for a linear problem

A
17
Q

First order difference formula for finite differencing

A
18
Q

Centred difference formulas for finite differencing
– for a PDE

A
19
Q

Define and provide the equations for FTCS and BTCS

A

FTCS - Forward Time Central Space
BTCS - Backward Time Central Space

20
Q

FTCS algorithm for the heat equation

A
21
Q

Explain how to use a shooting method to solve a BVP using an IVP

Given y'(1) = a

A
  • Create an IVP (using the given equation, y(0;z) = b, and y'(0;z) = z)
  • Determine y'(1)
  • Define an equation phi(z) = y'(1;z) - a
  • Use root finding routine to determine a root z_c s.t. phi(z_c) = 0
  • The solution of the IVP is the solution to the original BVP
22
Q

Explain the application of the contraction mapping theorem to a mapping function g(x), differentiable inside the interval I

A
  • If g(x) is a contraction mapping in I, then there is a unique fixed point x = g(x) in I,
  • and the continuous map x_n+1 = g(x_n) converges to the fixed point if:
  • g(I) c= I and |g'(x)| < 1 for all x in I
23
Q

Define the convergence matrix M, and how to compute it

A
  • M = N^(-1) . P
  • let A = N - P
  • N = coefficient for x^(n+1)
  • P = coefficient for x^(n)
24
Q

Explain “explicit” and “implicit” in the context of finite difference schemes to solve linear partial differential equations

A
  • explicit: FD schemes give an explicit formula for U^(n+1)_i at each new time step
  • implicit: discretisation results in a system of equations for U^(n+1)_i, which need to be solved to find each of the U^(n+1)_i
25
Q

Explain “consistency”, “stability”, and “convergence” in the context of finite difference algorithms to solve partial differential equations

A
  • A scheme is consistent if local error tends to zero as grid spacing tends to zero
  • A scheme is stable if errors in solution decay in time
  • A scheme is convergent if in limit of zero grid spacing it converges to an exact solution of the PDE
26
Q

State the Lax theorem, in the context of finite difference algorithms to solve partial differential equations

A

It is necessary and sufficient for a well-posed linear IVP to be stable and consistent, in order for it to be convergent