Revision sheet 1 Flashcards

1
Q

What is the difference between computational and propagated error

A

Computional error is the result of the model and algorithm approximations including truncation and rounding (computer problem).

Propagated data error is the error caused by inputing data

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

What is Truncation error?

A

difference between true result and result that would’ve been produced by given algorithm

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

What is rounding error?

A

when a numerical value is approximated to a certain number of decimal places.

The discrepancy between exact and rounding value

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

What is a condition number of computational problem?

A

the measure of how sensitive an output of a problem is of an input

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

If a conditional number is 10^6 is this good or bad?

A

Bad, problem is sensitive to small changes in input

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

estimate the condition number of evaluating function f(x)

A

cond ≈ |(x* f’(x))/f(x)|

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

describe the structure of a floating point system

A

(-1)^sign x fraction x base^exponent

a floating-point number xˆ has the form ±d0.d1d2 ···dp−1 × βE, where d0.d1d2 · · · dp−1 is called mantissa (or significand) and E is called exponent.

x^= +/- (d0+d1/β+d2/β^2+ d3/β^3 +…. d(p-1)/β^(p-1))xβ^E

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

what is machine precision?

A

determines the maximum possible relative error in representing an non-zero real number x in a floating point system.

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

what is a floating point system?

A

a way to represent a number on a computer

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

Explain why a divergent series (sum 1/n from n to infinity) can have a finite sum in floating point arithmetic.

At what point will the partial sum cease to change when computed using floating-point arithmetic with machine precision.

A

If we sum this series directly, then at some point the partial sum, Sn = sum(1/k) from k = 1 to n , will become bigger than 1/(n+1) by more than E^-1 mach, where E mach is machine prescision.

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

when is a matrix non singular?

A

ANY of the following properties applies

  • inverse of matrix exists
  • non zero determinate exists
  • the rank is n for n x n matrix (number of LI rows/columns)
  • fi=or any vector not equal to zero, the product of the matrix by the vector is not equal to 0
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Define a transpose matrix

A

transpose of a mxn matrix is a mxn matrix with entries (A^T)ij = Aji

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

show that (AB)^T = B^T A^T

A

C = AB and Cij = sum AikBkj
(C^T)ij = Cij = sum AjkBkj = sum Akj^T Bik^T = sum Bik^T Akj^T = (b^tA^T)ij

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

Let A be a nonsingular matrix. Show that C = A^T A is symmetric and positive definite

A

symmetric (A^T = A)

C^T = (A^TA)^T = A^TA^TT = A^TA = C

PD = symmetric all eigenvalues positive
For all x not equal to 0, x^T C x >0,
X^T A^T A X = (AX)^T (AX) = ||AX||2^2 >= 0

since A is nonsingular, Ax =/ 0 for any x =/ 0 for ||AX||2^2 = 0

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

prove that ||Ax||<= ||A||||x||

A

look at notes

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

prove that ||AB||<= ||A||||B||

A

look at notes