Differentiation Flashcards

1
Q

What is the main idea of numerical differentiation?

A

Approximate f by an interpolating polynomial and differentiate that

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

If we use a linear Lagrange polynomial, differentiate and evaluate at x = x0 what formual do we get?

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

What is the forward difference equation?

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

What is the truncation error for our forward difference approximation?

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

What is another way to estiamte the truncation error of finite difference formula?

A

Use Taylors theorem and

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

What do we say if the truncation error if it is proportional to h?

A

We say the approximation is linear or first order

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

What three nodes do we use for central difference?

A

x0, x1 = x0 + h, x2 = x0 + 2h

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

What are the two types of finite differences?

A

Forward and Backward

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

What do you have to set x equal to get the forward difference?

A

x0

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

What do you have to set x equal to to get the backward difference?

A

x1

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

Prove that the central difference approximation of f’(x1) is the following

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

What is another way to write the central difference in the following?

A

f(x2) - f(x1) / 2h

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

What is a proboem with numerical differentiation?

A

It involes subtraction of nearly equal numbers - which leads to rounding errors.

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

Suppse for th central difference methof we have the following rounded versions of f(x1 ± h), show what the upper bound of the followinf is.

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

What are the two errors called in the following upper bound?

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

In central differences how does the truncation and error change as h ➝ 0?

A
  • Truncation ➝ 0
  • Rounding ➝ ∞
17
Q

Differentiating Lagrange polynomialsis tedious, what other formula to we use instead to find higher-order formulae?

A

Richardson extrapolation.

18
Q

What is the equation for Dh using the central-difference formula?

A
19
Q

What is the equation if we use Taylor’s theorem to expand the truncation erros in f(x ± h).

A
20
Q

If we substiute the following equation into the following equation for Dh what equation do we get.

A
21
Q

Once we have found Dh what is the main idea of Richardson extrapolation.

A

To repreat with step size h/2.

22
Q

What is the final formula for Dh/2?

A
23
Q

What equation do you get if you do the following?

A
24
Q

Why do we the following calcualtion?

A

To eliminate the h2 term.

25
Q

What is the formula for Dh(1)?

A
26
Q

How accurate is the following?

A

4th order accurate

27
Q

What is the general n-order approximation for equation for Dh?

A
28
Q

What do we get by evaluating the folloiwng at h/2?

A
29
Q

Eliminate the hn term in the following two equations, what do you get?

A
30
Q

What is the formula for Richardson extrapolation?

A
31
Q

Why did you choose h/2 for richardson extrapolation?

A

It is convenient, there is nothing special about it. Could have picked h/3 or even 2h

32
Q
A